]>
Commit | Line | Data |
---|---|---|
bedfa57b AC |
1 | 2002-05-04 Andrew Cagney <[email protected]> |
2 | ||
3 | * stack.c (select_and_print_frame): Make static. Delete the | |
4 | parameter `level'. | |
5 | (func_command): Update call. | |
6 | (select_frame_command): Delete code computing the frame level. | |
7 | * frame.h (select_and_print_frame): Delete declaration. | |
8 | ||
f621c63e AC |
9 | 2002-05-04 Andrew Cagney <[email protected]> |
10 | ||
11 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
12 | get_prev_frame call is safe. | |
13 | ||
0f7d239c AC |
14 | 2002-05-04 Andrew Cagney <[email protected]> |
15 | ||
16 | * frame.h (select_frame): Delete level parameter. | |
17 | * stack.c (select_frame): Update. Use frame_relative_level to | |
18 | obtain the frame's level. | |
19 | (select_and_print_frame): Update call. | |
20 | (select_frame_command): Ditto. | |
21 | (up_silently_base): Ditto. | |
22 | (down_silently_base): Ditto. | |
23 | * ocd.c (ocd_start_remote): Ditto. | |
24 | * remote-rdp.c (remote_rdp_open): Ditto. | |
25 | * remote-mips.c (mips_initialize): Ditto. | |
26 | (common_open): Ditto. | |
27 | * remote-e7000.c (e7000_start_remote): Ditto. | |
28 | * m3-nat.c (select_thread): Ditto. | |
29 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
30 | (child_get_current_exception_event): Ditto. | |
31 | * varobj.c (varobj_create): Ditto. | |
32 | (varobj_update): Ditto. | |
33 | (c_value_of_root): Ditto. | |
34 | * tracepoint.c (finish_tfind_command): Ditto. | |
35 | * corelow.c (core_open): Ditto. | |
36 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
37 | * thread.c (info_threads_command): Ditto. | |
38 | (switch_to_thread): Ditto. | |
39 | * infrun.c (normal_stop): Ditto. | |
40 | (restore_selected_frame): Ditto. | |
41 | (restore_inferior_status): Ditto. | |
42 | * breakpoint.c (insert_breakpoints): Ditto. | |
43 | (watchpoint_check): Ditto. | |
44 | (bpstat_stop_status): Ditto. | |
45 | (do_enable_breakpoint): Ditto. | |
46 | * blockframe.c (flush_cached_frames): Ditto. | |
47 | (reinit_frame_cache): Ditto. | |
48 | ||
71d6c7b1 AC |
49 | 2002-05-04 Andrew Cagney <[email protected]> |
50 | ||
51 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
52 | maintainer. | |
53 | ||
cda6c68a JB |
54 | 2002-05-04 Jim Blandy <[email protected]> |
55 | ||
56 | * gdbtypes.c (replace_type): Doc fix. | |
57 | ||
5c1c87f0 AC |
58 | 2002-05-04 Andrew Cagney <[email protected]> |
59 | ||
60 | * valprint.c (strcat_longest): Delete commented out function. | |
61 | Update copyright. | |
62 | ||
cd9bfe15 AC |
63 | 2002-05-04 Andrew Cagney <[email protected]> |
64 | ||
65 | * MAINTAINERS: Mark a29k as deleted. | |
66 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
67 | Move new configurations to the top. | |
68 | * configure.tgt: Remove a29k. | |
69 | * config/a29k/tm-vx29k.h: Delete. | |
70 | * config/a29k/vx29k.mt: Delete. | |
71 | * config/a29k/tm-a29k.h: Delete. | |
72 | * config/a29k/a29k-udi.mt: Delete. | |
73 | * config/a29k/a29k.mt: Delete. | |
74 | * a29k-tdep.c: Delete. | |
75 | * remote-udi.c: Delete. | |
76 | * remote-mm.c: Delete. | |
77 | * remote-eb.c: Delete. | |
78 | * remote-adapt.c: Delete. | |
79 | * Makefile.in: Remove obsolete code. | |
80 | * gdbserver/Makefile.in: Ditto. | |
81 | * config/s390/s390x.mt: Ditto. | |
82 | * config/s390/s390.mt: Ditto. | |
83 | * config/sparc/sparclynx.mh: Ditto. | |
84 | * config/sparc/linux.mh: Ditto. | |
85 | * config/pa/hppaosf.mh: Ditto. | |
86 | * config/pa/hppabsd.mh: Ditto. | |
87 | * config/ns32k/nbsd.mt: Ditto. | |
88 | * config/mips/vr5000.mt: Ditto. | |
89 | * config/m68k/sun3os4.mh: Ditto. | |
90 | * config/m68k/nbsd.mt: Ditto. | |
91 | * config/m68k/m68klynx.mh: Ditto. | |
92 | * config/m32r/m32r.mt: Ditto. | |
93 | * config/i386/x86-64linux.mt: Ditto. | |
94 | * config/i386/nbsdelf.mt: Ditto. | |
95 | * config/i386/nbsd.mt: Ditto. | |
96 | * config/i386/i386lynx.mh: Ditto. | |
97 | ||
bf0c5130 AC |
98 | 2002-05-04 Andrew Cagney <[email protected]> |
99 | ||
100 | * target.c (debug_print_register): New function. Handle oversize | |
101 | registers. | |
102 | (debug_to_fetch_registers): Call. | |
103 | (debug_to_store_registers): Call. | |
104 | ||
2ae1c2d2 JB |
105 | 2002-05-03 Jim Blandy <[email protected]> |
106 | ||
13a393b0 JB |
107 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
108 | (read_type): Doc fix. | |
109 | * gdbtypes.c (replace_type): Doc fix. | |
110 | ||
2ae1c2d2 JB |
111 | * stabsread.c (multiply_defined_struct): New complaint. |
112 | (read_struct_type): If the type we were passed isn't empty, or | |
113 | incomplete, don't read the new struct type into it; complain, | |
114 | and return the original type unchanged. Take a new `type_code' | |
115 | argument, which is the type code for the new type. | |
116 | (read_type): Rather than storing the type's type code here, pass | |
117 | it as an argument to read_struct_type, and let that take care of | |
118 | storing it. That way, we don't overwrite the original type code, | |
119 | so read_struct_type can use it to decide whether we're overwriting | |
120 | something we shouldn't. | |
121 | (complain_about_struct_wipeout): New function. | |
122 | ||
8de9bdc4 AC |
123 | 2002-05-03 Andrew Cagney <[email protected]> |
124 | ||
125 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
126 | * gdbarch.c: Regenerate. | |
127 | ||
f773fdbb JM |
128 | 2002-05-03 Jason Merrill <[email protected]> |
129 | ||
130 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
131 | and return NULL. | |
132 | ||
0e04a514 ML |
133 | 2002-05-03 Michal Ludvig <[email protected]> |
134 | ||
135 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
136 | (x86_64_dwarf2gdb_regno_map_length), | |
137 | (x86_64_dwarf2_reg_to_regnum): Added. | |
138 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
139 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
140 | (_initialize_x86_64_tdep): Synced with the change above. | |
141 | (x86_64_skip_prologue): Reformulated message. | |
142 | ||
065432a8 PM |
143 | 2002-05-03 Pierre Muller <[email protected]> |
144 | ||
145 | * f-exp.y: Also use new prev_lexptr variable | |
146 | to improve error reporting. Based on Michael Snyder | |
147 | 2002-04-24 dated patch to c-exp.y. | |
148 | * jv-exp.y: Likewise. | |
149 | * m2-exp.y: Likewise. | |
150 | ||
a3162708 EZ |
151 | 2002-05-02 Elena Zannoni <[email protected]> |
152 | ||
153 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
154 | we are dealing with vectors. | |
155 | ||
03620c38 PM |
156 | 2002-05-02 Pierre Muller <[email protected]> |
157 | ||
158 | * config/m68k/tm-nbsd.h: Obvious fix, | |
159 | correct machine name. | |
160 | ||
6604db2e PM |
161 | 2002-05-02 Pierre Muller <[email protected]> |
162 | ||
163 | * p-typeprint.c (pascal_type_print_base): Add support | |
164 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
165 | ||
0906b739 PM |
166 | 2002-05-02 Pierre Muller <[email protected]> |
167 | ||
168 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
169 | for fondamental pascal 'char' type. | |
170 | ||
e2625b33 PM |
171 | 2002-05-02 Pierre Muller <[email protected]> |
172 | ||
173 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
174 | new sixth argument of type char ** added. | |
175 | * p-lang.c (is_pascal_string_type): Implementation | |
176 | changed. Args length_pos, length_size, string_pos, char_size | |
177 | can now be NULL. New argument arrayname set to the field | |
178 | name of the char array. Return value set to char array | |
179 | field index plus one. | |
180 | * p-valprint.c (pascal_val_print): Adapt to new declaration of | |
181 | is_pascal_string_type function. | |
182 | ||
cf17c188 AC |
183 | 2002-05-02 Andrew Cagney <[email protected]> |
184 | ||
185 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
186 | <[email protected]> change. | |
187 | * gdbarch.c: Regenerate. | |
188 | ||
52bca491 AC |
189 | 2002-05-02 Andrew Cagney <[email protected]> |
190 | ||
191 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
192 | before probing for a new one. Detect errorenous gdbarch_init | |
193 | functions. | |
194 | * gdbarch.c: Regenerate. | |
195 | ||
d5e72505 AC |
196 | 2002-05-01 Andrew Cagney <[email protected]> |
197 | ||
198 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
199 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
200 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
201 | ||
af566d9f AC |
202 | 2002-04-30 Andrew Cagney <[email protected]> |
203 | ||
204 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
205 | current_gdbarch. | |
206 | ||
880d85fa MS |
207 | 2002-04-30 Michael Snyder <[email protected]> |
208 | ||
94c30b78 MS |
209 | * arm-tdep.c: Whitespace clean-ups. |
210 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
211 | should have been removed as part of 4/24 change. |
212 | ||
6f5987a6 KB |
213 | 2002-04-30 Kevin Buettner <[email protected]> |
214 | ||
215 | * rs6000-tdep.c: Added comment describing how fpscr register | |
216 | numbers were chosen. | |
217 | ||
1a113c93 MS |
218 | 2002-04-30 Michael Snyder <[email protected]> |
219 | ||
220 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
221 | ||
9a6f53fe EZ |
222 | 2002-04-29 Elena Zannoni <[email protected]> |
223 | ||
224 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
225 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
226 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
227 | ||
11ed25ac KB |
228 | 2002-04-29 Kevin Buettner <[email protected]> |
229 | ||
230 | From Louis Hamilton <[email protected]>: | |
231 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
232 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
233 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
234 | not bfd-private xcoff data, to determine wordsize. | |
235 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
236 | ||
ae232405 AC |
237 | 2002-04-29 Andrew Cagney <[email protected]> |
238 | ||
239 | GDB 5.2 released from 5.2 branch. | |
240 | ||
91fd20f7 ML |
241 | 2002-04-29 Michal Ludvig <[email protected]> |
242 | ||
243 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
244 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
245 | (x86_64_register_info_table): Added comments with register numbers. | |
246 | ||
2dc5091b EZ |
247 | 2002-04-29 Elena Zannoni <[email protected]> |
248 | ||
249 | * rs6000-tdep.c (rs6000_extract_return_value, | |
250 | rs6000_store_return_value): Handle returning vectors. | |
251 | (rs6000_gdbarch_init): Use | |
252 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
253 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
254 | New function. | |
255 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
256 | vectors. | |
257 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
258 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
259 | ||
2b9848d8 PM |
260 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
261 | ||
262 | * hpread.c (hpread_psymtab_to_symtab_1, | |
263 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
264 | with fprintf_unfiltered (gdb_stderr,...). | |
265 | ||
f8d17dc5 PM |
266 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
267 | ||
268 | * remote-array.c (printf_monitor, write_monitor, | |
269 | array_insert_breakpoint, array_remove_breakpoint ): | |
270 | Replace fprintf (stderr,... | |
271 | with fprintf_unfiltered (gdb_stderr,.... | |
272 | * remote-es.c: Likewise. | |
273 | * remote-os9k.c: Likewise. | |
274 | * remote-st.c: Likewise. | |
275 | ||
2f2f1ad1 AS |
276 | 2002-04-28 Andreas Schwab <[email protected]> |
277 | ||
278 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
279 | linux-proc.o and gcore.o. | |
280 | ||
b6779aa2 AC |
281 | 2002-04-26 Michal Ludvig <[email protected]> |
282 | ||
283 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
284 | code without frame pointers. | |
285 | ||
7e57f5f4 AC |
286 | 2002-04-26 Andrew Cagney <[email protected]> |
287 | ||
288 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
289 | ON_STACK is needed. | |
290 | ||
2ceb85d0 BE |
291 | 2002-04-26 Ben Elliston <[email protected]> |
292 | ||
293 | * target.c (do_xfer_memory): Correct reference to the new option | |
294 | "trust-readonly-sections". | |
295 | ||
f5f8a009 EZ |
296 | 2002-04-26 Elena Zannoni <[email protected]> |
297 | ||
298 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
299 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
300 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
301 | vectors. | |
302 | (read_array_type): Record the fact that this array type is really a | |
303 | vector (i.e. are passed in by value). | |
304 | ||
5868c862 JT |
305 | 2002-04-26 Jason Thorpe <[email protected]> |
306 | ||
307 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
308 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
309 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
310 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
311 | * alpha-linux-tdep.c: Include frame.h. | |
312 | (alpha_linux_sigcontext_addr): New function. | |
313 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
314 | alpha_linux_sigcontext_addr. | |
315 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
316 | (alpha_osf1_sigcontext_addr): New function. | |
317 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
318 | alpha_osf1_sigcontext_addr. | |
319 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
320 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
321 | ||
bfb01f37 AC |
322 | 2002-04-26 Andrew Cagney <[email protected]> |
323 | ||
324 | * stack.c (selected_frame_level): | |
325 | (select_frame): Do not set selected_frame_level. | |
326 | * frame.h (selected_frame_level): Delete declaration. | |
327 | ||
15813d3f AC |
328 | 2002-04-26 Andrew Cagney <[email protected]> |
329 | ||
330 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
331 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
332 | ||
6096c27a AC |
333 | 2002-04-25 Andrew Cagney <[email protected]> |
334 | ||
335 | * valops.c (hand_function_call): Call | |
336 | generic_save_call_dummy_addr. | |
337 | * frame.h (generic_save_call_dummy_addr): Declare. | |
338 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
339 | call_hi. | |
340 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
341 | call_hi instead of entry_point_address. | |
342 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
343 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
344 | (generic_save_call_dummy_addr): New function. | |
345 | ||
f510d44e DM |
346 | 2002-04-24 David S. Miller <[email protected]> |
347 | ||
348 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
349 | sparc_skip_prologue. | |
350 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
351 | information to find prologue when possible. | |
352 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
353 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
354 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
355 | second argument. | |
356 | (SKIP_PROLOGUE): Likewise. | |
357 | ||
15d72a92 JT |
358 | 2002-04-25 Jason Thorpe <[email protected]> |
359 | ||
360 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
361 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
362 | indicate that the condition it was testing is always true. | |
363 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
364 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
365 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
366 | ||
accc6d1f JT |
367 | 2002-04-25 Jason Thorpe <[email protected]> |
368 | ||
369 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
370 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
371 | tdep->jb_pc and tdep->jb_elt_size. | |
372 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
373 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
374 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
375 | * alpha-nat.c (get_longjmp_target): Remove. | |
376 | (JB_ELEMENT_SIZE): Ditto. | |
377 | (JB_PC): Ditto. | |
378 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
379 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
380 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
381 | to alpha_get_longjmp_target. | |
382 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
383 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
384 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
385 | ||
1bfdc549 AC |
386 | 2002-04-25 Andrew Cagney <[email protected]> |
387 | ||
388 | * README: Update to GDB 5.2. | |
389 | ||
1bd316f0 AC |
390 | 2002-04-25 Andrew Cagney <[email protected]> |
391 | ||
392 | * gdbarch.sh (LC_ALL): Set to `c'. | |
393 | ||
2e5ff58c TR |
394 | 2002-04-25 Theodore A. Roth <[email protected]> |
395 | ||
396 | * avr-tdep.c: Ran through gdb_indent.sh. | |
397 | ||
e33ce519 TR |
398 | 2002-04-25 Theodore A. Roth <[email protected]> |
399 | ||
400 | * MAINTAINERS: Add myself as AVR maintainer. | |
401 | * NEWS: Note new target avr. | |
402 | ||
8818c391 TR |
403 | 2002-04-25 Theodore A. Roth <[email protected]> |
404 | ||
405 | * Makefile.in: Add support for AVR target. | |
406 | * configure.tgt: Add support for AVR target. | |
407 | * avr-tdep.c: New file | |
408 | * config/avr/avr.mt: New file. | |
409 | ||
79509c2d TR |
410 | 2002-04-25 Theodore A. Roth <[email protected]> |
411 | ||
412 | * MAINTAINERS: Add myself to write-after-approval. | |
413 | ||
dac8068e PM |
414 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
415 | ||
416 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
417 | with fprintf_unfiltered (gdb_stderr,.... | |
418 | ||
25bf3106 PM |
419 | 2002-04-25 Pierre Muller <[email protected]> |
420 | ||
421 | Fix PR gdb/508. | |
422 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
423 | ||
24467a86 PM |
424 | 2002-04-25 Pierre Muller <[email protected]> |
425 | ||
426 | * p-exp.y: Also use new prev_lexptr variable | |
427 | to improve error reporting. Based on Michael Snyder | |
428 | 2002-04-24 dated patch to c-exp.y. | |
429 | ||
95b80706 JT |
430 | 2002-04-25 Jason Thorpe <[email protected]> |
431 | ||
432 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
433 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
434 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
435 | to 0. | |
436 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
437 | and struct value. | |
438 | (FUNCTION_START_OFFSET): Remove. | |
439 | (BREAKPOINT): Ditto. | |
440 | ||
e90cc612 JT |
441 | 2002-04-25 Jason Thorpe <[email protected]> |
442 | ||
443 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
444 | * NEWS: Ditto. | |
445 | ||
6c72f9f9 JT |
446 | 2002-04-24 Jason Thorpe <[email protected]> |
447 | ||
448 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
449 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
450 | alpha_linux_pc_in_sigtramp. | |
451 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
452 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
453 | alpha_osf1_pc_in_sigtramp. | |
454 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
455 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
456 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
457 | alphafbsd_pc_in_sigtramp. | |
458 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
459 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
460 | alphanbsd_pc_in_sigtramp. | |
461 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
462 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
463 | ||
5e4f3379 JT |
464 | 2002-04-24 Jason Thorpe <[email protected]> |
465 | ||
466 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
467 | ||
da8ca43d JT |
468 | 2002-04-24 Jason Thorpe <[email protected]> |
469 | ||
470 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
471 | alphanbsd-tdep.c. | |
472 | (alphanbsd-nat.o): New dependency list. | |
473 | (alphanbsd-tdep.o): Ditto. | |
474 | * NEWS: Note new native NetBSD/alpha configuration. | |
475 | * alphanbsd-nat.c: New file. | |
476 | * alphanbsd-tdep.c: Ditto. | |
477 | * configure.host (alpha*-*-netbsd*): New host. | |
478 | * configure.tgt (alpha*-*-netbsd*): New target. | |
479 | * config/alpha/nbsd.mh: New file. | |
480 | * config/alpha/nbsd.mt: Ditto. | |
481 | * config/alpha/nm-nbsd.h: Ditto. | |
482 | * config/alpha/tm-nbsd.h: Ditto. | |
483 | ||
36a6271d JT |
484 | 2002-04-24 Jason Thorpe <[email protected]> |
485 | ||
486 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
487 | (alpha-osf1-tdep.o): New dependency list. | |
488 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
489 | and skip_sigtramp_frame members. | |
490 | * alpha-linux-tdep.c: Include gdbcore.h. | |
491 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
492 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
493 | * alpha-osf1-tdep.c: New file. | |
494 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
495 | alpha-osf1-dep.c. | |
496 | (alpha_frame_past_sigtramp_frame): New function. | |
497 | (alpha_dynamic_sigtramp_offset): Ditto. | |
498 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
499 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
500 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
501 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
502 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
503 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
504 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
505 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
506 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
507 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
508 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
509 | to find_solib_trampoline_target. | |
510 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
511 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
512 | (SKIP_TRAMPOLINE_CODE): Remove. | |
513 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
514 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
515 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
516 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
517 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
518 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
519 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
520 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
521 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
522 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
523 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
524 | ||
2f4bc57b JT |
525 | 2002-04-24 Jason Thorpe <[email protected]> |
526 | ||
527 | * NEWS: Note that Alpha targets are now multi-arch. | |
528 | ||
665132f9 MS |
529 | 2002-04-24 Michael Snyder <[email protected]> |
530 | ||
531 | * parser-defs.h (prev_lexptr): New external variable. | |
532 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
533 | calling the language-specific parser. | |
534 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
535 | (yyerror): Use prev_lexptr in error reporting. | |
536 | ||
32872fa7 DJ |
537 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
538 | ||
539 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
540 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
541 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
542 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
543 | is defined, call fill_fpxregset. | |
544 | ||
57e76fac MS |
545 | 2002-04-24 Roland McGrath <[email protected]> |
546 | ||
547 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
548 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
549 | (supply_gregset, supply_fpregset): New functions. | |
550 | ||
551 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
552 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
553 | (gnu_xfer_memory): Add a cast. | |
554 | ||
f43845b3 MS |
555 | 2002-04-24 Michael Snyder <[email protected]> |
556 | ||
557 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the | |
558 | loop. Add handling for "str lr, [sp, #-4]!" and for saves | |
559 | of argument regs ("str r(0123), [r11, #-nn"]). | |
560 | (arm_skip_prologue): Better handling for frameless functions. | |
561 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". | |
562 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
563 | ||
a0abec03 AC |
564 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
565 | ||
566 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
567 | NUM_PSEUDO_REGS can be used. | |
568 | ||
d7bd68ca AC |
569 | 2002-04-24 Andrew Cagney <[email protected]> |
570 | ||
571 | * arch-utils.h: Update copyright. | |
572 | ||
573 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
574 | * gdbarch.h, gdbarch.c: Re-generate. | |
575 | ||
576 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
577 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
578 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
579 | ||
580 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
581 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
582 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
583 | (find_proc_framesize): Ditto. | |
584 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
585 | (alpha_init_extra_frame_info): Ditto. | |
586 | * infrun.c (handle_inferior_event): Ditto. | |
587 | (handle_inferior_event): Ditto. | |
588 | (check_sigtramp2): Ditto. | |
589 | * blockframe.c (create_new_frame): Ditto. | |
590 | (get_prev_frame): Ditto. | |
591 | * ppc-linux-tdep.c: Update comments. | |
592 | * i386-linux-tdep.c: Update comments. | |
593 | * breakpoint.c (bpstat_what): Update comment. | |
594 | ||
d06f167a ML |
595 | 2002-04-24 Michal Ludvig <[email protected]> |
596 | ||
597 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
598 | (regsets_store_inferior_registers): Removed cast to int from | |
599 | ptrace() calls. | |
600 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
601 | ||
4867e41e DM |
602 | 2002-04-24 David S. Miller <[email protected]> |
603 | ||
21d83aa5 DM |
604 | * i960-tdep.c (register_in_window_p): New function. |
605 | (i960_find_saved_register): Use it instead of | |
606 | REGISTER_IN_WINDOW_P. | |
607 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
608 | ||
4867e41e DM |
609 | * symtab.h (find_stab_function_addr): Kill extern. |
610 | * minsyms.c (find_stab_function_addr): Remove from here... | |
611 | * dbxread.c: ... to here, and mark it static. | |
612 | ||
69cdf6a2 DM |
613 | 2002-04-20 David S. Miller <[email protected]> |
614 | ||
615 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
616 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
617 | ||
5a595886 DM |
618 | 2002-04-21 David S. Miller <[email protected]> |
619 | ||
620 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
621 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
622 | (vx_write_register): Likewise. | |
623 | ||
1da1a192 JB |
624 | 2002-04-23 J. Brobecker <[email protected]> |
625 | ||
626 | * source.c (is_regular_file): New function. | |
627 | (openp): Check wether file to open is a regular file | |
628 | to avoid opening directories. | |
629 | ||
baa6f10b JT |
630 | 2002-04-22 Jason Thorpe <[email protected]> |
631 | ||
632 | * findvar.c (extract_signed_integer): Cast printf argument | |
633 | to suppress format warning. | |
634 | (extract_unsigned_integer): Likewise. | |
635 | * infcmd.c (registers_info): Likewise. | |
636 | * top.c (get_prompt_1): Likewise. | |
637 | * valops.c (value_assign): Likewise. | |
638 | * valprint.c (print_decimal): Likewise. | |
639 | ||
b2c4da81 L |
640 | 2002-04-22 H.J. Lu ([email protected]) |
641 | ||
642 | * c-exp.y (typebase): Support | |
643 | ||
644 | [long|long long|short] [signed|unsigned] [int|] | |
645 | ||
646 | and | |
647 | ||
648 | signed [long|long long|short] int | |
649 | ||
f267bd6a JT |
650 | 2002-04-22 Jason Thorpe <[email protected]> |
651 | ||
652 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
653 | and vax-tdep.h. | |
654 | * vax-tdep.h: New file. | |
655 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
656 | Make several routines static. | |
657 | (vax_get_saved_register): New function. | |
658 | (vax_gdbarch_init): New function. | |
659 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
660 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
661 | Remove macros now under the control of gdbarch. | |
662 | ||
da3c6d4a MS |
663 | 2002-04-22 Michael Snyder <[email protected]> |
664 | ||
11d3b27d MS |
665 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
666 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 667 | |
a33f7558 JT |
668 | 2002-04-22 Jason Thorpe <[email protected]> |
669 | ||
670 | * vax-tdep.c: Include regcache.h. | |
671 | (vax_call_dummy_words): New. | |
672 | (sizeof_vax_call_dummy_words): New. | |
673 | (vax_fix_call_dummy): New function. | |
674 | (vax_saved_pc_after_call): Ditto. | |
675 | * config/vax/tm-vax.h: Don't include regcache.h. | |
676 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
677 | (CALL_DUMMY): Remove. | |
678 | (CALL_DUMMY_WORDS): Define. | |
679 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
680 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
681 | ||
47a73475 MS |
682 | 2002-04-18 Michael Snyder <[email protected]> |
683 | ||
684 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
685 | ||
52efde73 JT |
686 | 2002-04-22 Jason Thorpe <[email protected]> |
687 | ||
688 | * vax-tdep.c (vax_frame_chain): New function. | |
689 | (vax_push_dummy_frame): Ditto. | |
690 | (vax_pop_frame): Ditto. | |
691 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
692 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
693 | generic_frameless_function_invocation_not. | |
694 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
695 | (POP_FRAME): Use vax_pop_frame. | |
696 | ||
ea74468c JT |
697 | 2002-04-22 Jason Thorpe <[email protected]> |
698 | ||
699 | * vax-tdep.c (vax_store_struct_return): New function. | |
700 | (vax_extract_return_value): Ditto. | |
701 | (vax_store_return_value): Ditto. | |
702 | (vax_extract_struct_value_address): Ditto. | |
703 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
704 | vax_store_struct_return. | |
705 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
706 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
707 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
708 | ||
5516aa92 JT |
709 | 2002-04-22 Jason Thorpe <[email protected]> |
710 | ||
711 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
712 | (vax_frame_args_address_correct): Ditto. | |
713 | (vax_frame_args_address): Ditto. | |
714 | (vax_frame_locals_address): Ditto. | |
715 | (vax_frame_num_args): Move code to be in proximity to | |
716 | other frame-related functions. | |
717 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
718 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
719 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
720 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
721 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
722 | ||
36af0b35 L |
723 | 2002-04-22 H.J. Lu ([email protected]) |
724 | ||
725 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
726 | includedir. | |
727 | ||
ab62c900 JT |
728 | 2002-04-22 Jason Thorpe <[email protected]> |
729 | ||
730 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
731 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
732 | (FRAME_INIT_SAVED_REGS): New macro. | |
733 | ||
7232b100 JT |
734 | 2002-04-22 Jason Thorpe <[email protected]> |
735 | ||
736 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
737 | ||
b70d2aee JT |
738 | 2002-04-22 Jason Thorpe <[email protected]> |
739 | ||
740 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
741 | where needed. | |
742 | (fetch_osf_core_registers): Likewise. | |
743 | (supply_gregset): Likewise. | |
744 | ||
a0e8a2d1 JB |
745 | 2002-04-22 J. Brobecker <[email protected]> |
746 | ||
747 | * symfile.h (get_section_index): Define. | |
748 | * symfile.c (get_section_index): New function. | |
749 | * mdebugread.c (SC_IS_SBSS): New macro. | |
750 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
751 | the scSBss storage class refers to the .sbss section. | |
752 | (parse_partial_symbols): Discard the symbols which associated | |
753 | section does not exist. | |
754 | Make sure to use the .sbss section index for symbols which | |
755 | storage class is scBss, rather than using the .bss section index. | |
756 | ||
51eb8b08 JT |
757 | 2002-04-22 Jason Thorpe <[email protected]> |
758 | ||
759 | * vax-tdep.c: Update copyright years. | |
760 | (vax_register_name): New function. | |
761 | (vax_register_byte): Ditto. | |
762 | (vax_register_raw_size): Ditto. | |
763 | (vax_register_virtual_size): Ditto. | |
764 | (vax_register_virtual_type): Ditto. | |
765 | * config/vax/tm-vax.h: Update copyright years. | |
766 | (REGISTER_NAMES): Remove. | |
767 | (REGISTER_NAME): Define. | |
768 | (REGISTER_BYTE): Use vax_register_byte. | |
769 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
770 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
771 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
772 | ||
6cc1c0a8 AC |
773 | 2002-04-21 Andrew Cagney <[email protected]> |
774 | ||
775 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
776 | declaration | |
777 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
778 | ||
9319a2fe DM |
779 | 2002-04-21 David S. Miller <[email protected]> |
780 | ||
781 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
782 | SKIP_PROLOGUE_FRAMELESS_P code. | |
783 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
784 | references. | |
785 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
786 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
787 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
788 | references. | |
789 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
790 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
791 | (sparc_gdbarch_init): Pass it to | |
792 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 793 | |
e9ed6d01 JT |
794 | 2002-04-21 Jason Thorpe <[email protected]> |
795 | ||
796 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
797 | (alphabsd-nat.o): New dependency list. | |
798 | ||
36012033 JT |
799 | 2002-04-21 Jason Thorpe <[email protected]> |
800 | ||
801 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
802 | alphafbsd-tdep.c. | |
803 | (alpha-linux-tdep.o): New dependency list. | |
804 | (alphafbsd-tdep.o): Likewise. | |
805 | ||
3379287a JT |
806 | 2002-04-21 Jason Thorpe <[email protected]> |
807 | ||
808 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
809 | to here... | |
810 | * alpha-tdep.c: ...from here. | |
811 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
812 | ||
4bcbd6cb JT |
813 | 2002-04-21 Jason Thorpe <[email protected]> |
814 | ||
815 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
816 | prototype from here... | |
817 | * alpha-tdep.h: ...to here. | |
818 | ||
b31da25e AC |
819 | 2002-04-21 Andrew Cagney <[email protected]> |
820 | ||
821 | * frame.h (selected_frame_level): Document as deprecated. | |
822 | (frame_relative_level): Declare. | |
823 | * stack.c (frame_relative_level): New function. | |
824 | (selected_frame_level): Document as deprecated. | |
825 | (select_frame): Do not set the selected_frame_level. | |
826 | ||
827 | * stack.c (frame_info, record_selected_frame): Update. | |
828 | (frame_command, current_frame_command): Update. | |
829 | (up_silently_base, up_command, down_silently_base): Update. | |
830 | (down_command): Update. | |
831 | * inflow.c (kill_command): Update. | |
832 | * tracepoint.c (finish_tfind_command): Update. | |
833 | * corelow.c (core_open): Update. | |
834 | * thread.c (info_threads_command): Update. | |
835 | (do_captured_thread_select): Update. | |
836 | * infcmd.c (finish_command): Update. | |
837 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
838 | ||
9c1d6fe5 JT |
839 | 2002-04-21 Jason Thorpe <[email protected]> |
840 | ||
841 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
842 | ||
ab89facf AC |
843 | 2002-04-21 Andrew Cagney <[email protected]> |
844 | ||
845 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
846 | type const. | |
847 | ||
82a4efa1 JT |
848 | 2002-04-21 Jason Thorpe <[email protected]> |
849 | ||
850 | * alphafbsd-tdep.c: Update copyright years. Include | |
851 | alpha-tdep.h. | |
852 | (alphafbsd_use_struct_convention): Make static. | |
853 | (alphafbsd_init_abi): New function. | |
854 | (_initialize_alphafbsd_tdep): New function. | |
855 | * config/alpha/tm-fbsd.h: Update copyright years. | |
856 | (USE_STRUCT_CONVENTION): Remove. | |
857 | ||
44dffaac JT |
858 | 2002-04-21 Jason Thorpe <[email protected]> |
859 | ||
860 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
861 | an Alpha ABI variant. | |
862 | (alpha_abi_handler_list): Declare. | |
863 | (alpha_gdbarch_register_os_abi): New function. | |
864 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
865 | chance to tweak the gdbarch once we have set up defaults. | |
866 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
867 | ||
65585be4 JT |
868 | 2002-04-21 Jason Thorpe <[email protected]> |
869 | ||
870 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
871 | to standard_coerce_float_to_double. | |
872 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
873 | ||
d9b023cc JT |
874 | 2002-04-21 Jason Thorpe <[email protected]> |
875 | ||
876 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
877 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
878 | from gdbarch_tdep rather than a constant. | |
879 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
880 | the default text address for all Alpha Unix ABIs. | |
881 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
882 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
883 | ||
dc129d82 JT |
884 | 2002-04-21 Jason Thorpe <[email protected]> |
885 | ||
886 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
887 | taken from... | |
888 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
889 | let gdbarch deal with. | |
890 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
891 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
892 | to dependency list. | |
893 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
894 | Alpha target register names. | |
895 | * alphabsd-nat.c: Likewise. | |
896 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
897 | Alpha target register names. Make serveral routines static. | |
898 | (alpha_get_saved_register): New function. | |
899 | (alpha_abi_names): New. | |
900 | (process_note_abi_tag_sections): New function. | |
901 | (get_elfosabi): New function. | |
902 | (alpha_gdbarch_init): New function. | |
903 | (alpha_dump_tdep): New function. | |
904 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
905 | ||
d49d1e0a AC |
906 | 2002-04-21 Andrew Cagney <[email protected]> |
907 | ||
908 | * frame.c (find_saved_register): Delete #ifdef | |
909 | HAVE_REGISTER_WINDOWS code. | |
910 | * config/sparc/tm-sparc.h: Update comments. | |
911 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
912 | ||
92e8c9ed AC |
913 | 2002-04-21 Andrew Cagney <[email protected]> |
914 | ||
915 | * i960-tdep.c (i960_find_saved_register): New function. | |
916 | (i960_get_saved_register): New function. | |
917 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
918 | (i960_get_saved_register): Declare. | |
919 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
920 | ||
e1925118 DM |
921 | 2002-04-20 David S. Miller <[email protected]> |
922 | ||
923 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
924 | ||
29673b29 AC |
925 | 2002-04-20 Andrew Cagney <[email protected]> |
926 | ||
927 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
928 | instead of NUM_PSEUDO_REGS. | |
929 | ||
6c86dcd5 DM |
930 | 2002-04-20 David S. Miller <[email protected]> |
931 | ||
932 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
933 | GDB_MULTI_ARCH_PARTIAL | |
934 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
935 | define, let tm-sp64.h do it. | |
936 | ||
aa40ec90 JT |
937 | 2002-04-20 Jason Thorpe <[email protected]> |
938 | ||
939 | * frame.c (find_saved_register): Avoid a NULL pointer | |
940 | dereference and actually walk the frame list. | |
941 | ||
0f79675b AC |
942 | 2002-04-20 Andrew Cagney <[email protected]> |
943 | ||
944 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
945 | sorted in most most-recent-used order. Document. | |
946 | * gdbarch.h, gdbarch.c: Regenerate. | |
947 | ||
c04a1aa8 DJ |
948 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
949 | ||
950 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
951 | (add_inferior): Call create_register_cache. | |
952 | (clear_inferiors): Call free_register_cache. | |
953 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
954 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
955 | (registers): Remove. | |
956 | (get_regcache): New function. | |
957 | (create_register_cache, free_register_cache): New functions. | |
958 | (set_register_cache): Don't initialize the register cache here. | |
959 | (registers_to_string, registers_from_string, register_data): Call | |
960 | get_regcache. | |
961 | * gdbserver/regcache.h: Add prototypes. | |
962 | * gdbserver/server.h: Likewise. | |
963 | ||
611cb4a5 DJ |
964 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
965 | ||
966 | * gdbserver/mem-break.c: New file. | |
967 | * gdbserver/mem-break.h: New file. | |
968 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
969 | dependencies. | |
970 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
971 | member. | |
972 | (clear_inferiors): Free target_data member if set. | |
973 | (inferior_target_data, set_inferior_target_data): New functions. | |
974 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
975 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
976 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
977 | (struct inferior_linux_data): New. | |
978 | (linux_create_inferior): Use set_inferior_target_data. | |
979 | (linux_attach): Likewise. Call add_inferior. | |
980 | (linux_wait_for_one_inferior): New function. | |
981 | (linux_wait): Call it. | |
982 | (linux_write_memory): Add const. | |
983 | (initialize_low): Call set_breakpoint_data. | |
984 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
985 | handling members. | |
986 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
987 | call. | |
988 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
989 | prototypes. | |
990 | * gdbserver/target.c (read_inferior_memory) | |
991 | (write_inferior_memory): New functions. | |
992 | * gdbserver/target.h (read_inferior_memory) | |
993 | (write_inferior_memory): Change macros to prototypes. | |
994 | (struct target_ops): Update comments. Add const to write_memory | |
995 | definition. | |
996 | ||
f91305dd | 997 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
998 | |
999 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
1000 | instead of ->prev. | |
1001 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
1002 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
1003 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
1004 | instead of ->prev. | |
1005 | ||
73d322b1 EZ |
1006 | 2002-04-19 Elena Zannoni <[email protected]> |
1007 | ||
1008 | Fix PR gdb/471. | |
1009 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
1010 | (build_builtin_type_vec128): Ditto. | |
1011 | (append_composite_type_field): Fix calculation of type length in | |
1012 | union case. | |
1013 | ||
ccd9a834 EZ |
1014 | 2002-04-19 Eli Zaretskii <[email protected]> |
1015 | ||
1016 | * config/djgpp/README: Update. | |
1017 | ||
1018 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
1019 | compiler warnings. | |
1020 | ||
a57f9e49 JT |
1021 | 2002-04-19 Jason Thorpe <[email protected]> |
1022 | ||
1023 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
1024 | (alpha_setup_arbitrary_frame): ...to this. | |
1025 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
1026 | for alpha_setup_arbitrary_frame. | |
1027 | ||
f4f9705a AC |
1028 | 2002-04-18 Andrew Cagney <[email protected]> |
1029 | ||
1030 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
1031 | * gdbarch.h, gdbarch.c: Regenerate. | |
1032 | ||
1033 | * defs.h (breakpoint_from_pc_fn): Delete type definition. | |
1034 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
1035 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
1036 | ||
1037 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
1038 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
1039 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
1040 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
1041 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
1042 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
1043 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
1044 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
1045 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
1046 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
1047 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
1048 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
1049 | ||
1050 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
1051 | const pointer. | |
1052 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
1053 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
1054 | ||
1055 | * config/mcore/tm-mcore.h: Update copyright. | |
1056 | * mem-break.c: Ditto. | |
1057 | * xstormy16-tdep.c: Ditto. | |
1058 | ||
29f319b8 PM |
1059 | 2002-04-18 Pierre Muller <[email protected]> |
1060 | ||
1061 | * p-exp.y: Add precedence rule for '^' token. | |
1062 | This removes the shift/reduce conflicts. | |
1063 | Remove the comment concerning these shift/reduce conflicts. | |
1064 | ||
ebeac11a EZ |
1065 | 2002-04-18 Elena Zannoni <[email protected]> |
1066 | ||
1067 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
1068 | (registers_powerpc_nofp): New register set for processors | |
1069 | without floating point unit. | |
1070 | ||
27c31547 DM |
1071 | 2002-04-18 David S. Miller <[email protected]> |
1072 | ||
1073 | * MAINTAINERS: Add myself to write-after-approval. | |
1074 | ||
47a73475 MS |
1075 | 2002-04-17 Michael Snyder <[email protected]> |
1076 | ||
1077 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
1078 | ||
953836b2 AC |
1079 | 2002-04-17 Andrew Cagney <[email protected]> |
1080 | ||
1081 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
1082 | frame_register_read to read the alloca_reg. | |
1083 | ||
8b0d4340 AC |
1084 | 2002-04-17 Andrew Cagney <[email protected]> |
1085 | ||
1086 | * frame.c (find_saved_register): Find saved registers in the next | |
1087 | not prev frame. | |
1088 | Fix PR gdb/365. | |
1089 | ||
d8864532 AC |
1090 | 2002-04-17 Andrew Cagney <[email protected]> |
1091 | ||
1092 | * gdbarch.sh (LANG): Set to ``c''. | |
1093 | ||
36cc83a3 AC |
1094 | 2002-04-15 Andrew Cagney <[email protected]> |
1095 | ||
1096 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. | |
1097 | ||
2f4150cc | 1098 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
1099 | |
1100 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
1101 | Update copyright. | |
1102 | ||
628703c6 | 1103 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc AC |
1104 | Also fix PR gdb/391. |
1105 | ||
56157b4a AC |
1106 | 2002-04-14 Andrew Cagney <[email protected]> |
1107 | ||
1108 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
1109 | * aclocal.m4, configure: Re-generate. | |
1110 | Fix PR gdb/391. | |
1111 | ||
6d1e3329 EZ |
1112 | 2002-04-14 Elena Zannoni <[email protected]> |
1113 | ||
1114 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
1115 | instead of tm_print_insn. | |
1116 | ||
cb06fa07 EZ |
1117 | 2002-04-14 Elena Zannoni <[email protected]> |
1118 | ||
1119 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
1120 | ||
f208ba17 AC |
1121 | 2002-04-14 Andrew Cagney <[email protected]> |
1122 | ||
1123 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
1124 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
1125 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
1126 | ||
20f01a46 DH |
1127 | 2002-04-12 Don Howard <[email protected]> |
1128 | ||
1129 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
1130 | max_user_call_depth. | |
1131 | (init_cmd_lists): Initialize the new value; | |
1132 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
1133 | user defined commands. This avoids a core-dump when user commands | |
1134 | are infinitly recursive. | |
1135 | ||
a88376a3 KB |
1136 | 2002-04-12 Kevin Buettner <[email protected]> |
1137 | ||
1138 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
1139 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
1140 | from tdep struct instead of DEFAULT_LR_SAVE. | |
1141 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
1142 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
1143 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
1144 | ||
f2172603 MS |
1145 | 2002-04-12 Michael Snyder <[email protected]> |
1146 | ||
694f61fb | 1147 | * Remote.c: Spelling fix. |
20fe79c8 MS |
1148 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
1149 | If no symbol found for "sbrk", try "_sbrk". | |
1150 | (make_output_phdrs): Use bfd_section_name. | |
1151 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 1152 | * eval.c: Indentation fix-ups. |
169a7369 MS |
1153 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
1154 | in case it gets applied to an address that is already | |
1155 | in the instruction space. | |
de74f71f MS |
1156 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
1157 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
1158 | * source.c: White space fix-up. |
1159 | ||
cda5a58a AC |
1160 | 2002-04-12 Andrew Cagney <[email protected]> |
1161 | ||
1162 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
1163 | * frame.c (frame_register_read): New function. Return non-zero on | |
1164 | success. | |
1165 | (read_relative_register_raw_bytes_for_frame): Delete. | |
1166 | (read_relative_register_raw_bytes): Delete. | |
1167 | * frame.h (frame_register_read): Declare. | |
1168 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
1169 | * sh-tdep.c: Ditto. | |
1170 | * infcmd.c (do_registers_info): Ditto. | |
1171 | * hppa-tdep.c: Ditto. | |
1172 | * rs6000-tdep.c: Ditto. | |
1173 | * h8500-tdep.c: Ditto. | |
1174 | * mips-tdep.c: Ditto. | |
1175 | * h8300-tdep.c: Ditto. | |
1176 | * z8k-tdep.c: Ditto. | |
1177 | ||
2ea5f656 KB |
1178 | 2002-04-12 Kevin Buettner <[email protected]> |
1179 | ||
1180 | From Jimi X <[email protected]>: | |
1181 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
1182 | 64-bit SysV ABI. | |
1183 | ||
27b15785 KB |
1184 | 2002-04-12 Kevin Buettner <[email protected]> |
1185 | ||
1186 | From Jimi X <[email protected]>: | |
1187 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
1188 | bfd info. | |
1189 | ||
5d57ee30 KB |
1190 | 2002-04-12 Kevin Buettner <[email protected]> |
1191 | ||
1192 | From Jimi X <[email protected]>: | |
1193 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
1194 | register sets for these processor variants. | |
1195 | ||
bc1e36ca DJ |
1196 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
1197 | ||
1198 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
1199 | registers which are allowed to fail to store. | |
1200 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
1201 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
1202 | (ppc_cannot_store_register): FPSCR may not be storable. | |
1203 | * regformats/reg-ppc.dat: Support FPSCR. | |
1204 | ||
e3f36dbd KB |
1205 | 2002-04-11 Kevin Buettner <[email protected]> |
1206 | ||
1207 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
1208 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
1209 | Add fpscr as an invalid/unfetchable register. | |
1210 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
1211 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
1212 | (fill_fpregset): Add support for register fpscr. | |
1213 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
1214 | (fill_gregset): Account for the fact that register ``mq'' might | |
1215 | not exist. | |
1216 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
1217 | (registers_power): Add fpscr to register set at slot 71. | |
1218 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
1219 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
1220 | ||
943c9c25 MS |
1221 | 2002-04-11 Michael Snyder <[email protected]> |
1222 | ||
1223 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
1224 | * configure: Regenerate. | |
1225 | * config.in: Regenerate. | |
1226 | * acconfig.h: Add define for _SYSCALL32. | |
1227 | * core-sol2.c: Remove #define _SYSCALL32. | |
1228 | * solib-legacy.c: Remove #define _SYSCALL32. | |
1229 | ||
d8c0a2e7 AC |
1230 | 2002-04-10 Andrew Cagney <[email protected]> |
1231 | ||
1232 | * stack.c (select_frame): Cleanup internal error message, do not | |
1233 | use %p. | |
1234 | ||
7cc19214 AC |
1235 | 2002-04-10 Andrew Cagney <[email protected]> |
1236 | ||
1237 | * stack.c (select_frame): Check that selected_frame and the | |
1238 | specified level are as expected. | |
1239 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
1240 | Update copyright. | |
1241 | * frame.h (struct frame_info): Add field `level'. Update | |
1242 | copyright. | |
1243 | Work-in-progress PR gdb/464. | |
1244 | ||
67a2b77e AC |
1245 | 2002-04-10 Andrew Cagney <[email protected]> |
1246 | ||
1247 | * maint.c (maint_print_section_info): Rename print_section_info. | |
1248 | (print_bfd_section_info, print_objfile_section_info): Update. | |
1249 | * inferior.h (struct gdbarch): Add opaque declaration. | |
1250 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
1251 | * gdbarch.h: Regenerate. | |
1252 | ||
8cfda98c ML |
1253 | 2002-04-10 Michal Ludvig <[email protected]> |
1254 | ||
1255 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
1256 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
1257 | (kernel_u_size): Added. | |
1258 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
1259 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
1260 | ||
ca439ad2 JI |
1261 | 2002-04-04 Jim Ingham <[email protected]> |
1262 | ||
1263 | * valarith.c (find_size_for_pointer_math): New function, either returns | |
1264 | the size for a pointer's target, returns 1 for void *, or errors for | |
1265 | incomplete types. | |
1266 | (value_add, value_sub): use find_size_for_pointer_math. | |
1267 | ||
2f2893d9 DJ |
1268 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1269 | ||
1270 | * linux-low.c (linux_look_up_symbols): New hook. | |
1271 | (linux_target_ops): Add linux_look_up_symbols. | |
1272 | * remote-utils.c (decode_address): New function. | |
1273 | (look_up_one_symbol): New function. | |
1274 | * server.c (handle_query): Call target look_up_symbols hook. | |
1275 | * server.h (look_up_one_symbol): Add prototype. | |
1276 | * target.h (struct target_ops): Add look_up_symbols hook. | |
1277 | ||
2ec06d2e DJ |
1278 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1279 | ||
d64b8841 DJ |
1280 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
1281 | * ChangeLog: Correct paths in last ChangeLog entry. | |
1282 | ||
1283 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
1284 | ||
1285 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
1286 | (struct linux_target_ops): New. |
1287 | (extern the_low_target): New. | |
d64b8841 | 1288 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
1289 | (register_addr): Use the_low_target explicitly. |
1290 | (fetch_register): Likewise. | |
1291 | (usr_fetch_inferior_registers): Likewise. | |
1292 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 1293 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
1294 | (arm_num_regs): Define. |
1295 | (arm_regmap): Renamed from regmap, made static. | |
1296 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1297 | made static. | |
1298 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
1299 | made static. | |
1300 | (the_low_target): New. | |
d64b8841 | 1301 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
1302 | (i386_num_regs): Define. |
1303 | (i386_regmap): Renamed from regmap, made static. | |
1304 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1305 | made static. | |
1306 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
1307 | made static. | |
1308 | (the_low_target): New. | |
d64b8841 | 1309 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
1310 | (ia64_num_regs): Define. |
1311 | (ia64_regmap): Renamed from regmap, made static. | |
1312 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1313 | made static. | |
1314 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
1315 | made static. | |
1316 | (the_low_target): New. | |
d64b8841 | 1317 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
1318 | (m68k_num_regs): Define. |
1319 | (m68k_regmap): Renamed from regmap, made static. | |
1320 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1321 | made static. | |
1322 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
1323 | made static. | |
1324 | (the_low_target): New. | |
d64b8841 | 1325 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
1326 | (mips_num_regs): Define. |
1327 | (mips_regmap): Renamed from regmap, made static. | |
1328 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1329 | made static. | |
1330 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
1331 | made static. | |
1332 | (the_low_target): New. | |
d64b8841 | 1333 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
1334 | (ppc_num_regs): Define. |
1335 | (ppc_regmap): Renamed from regmap, made static. | |
1336 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1337 | made static. | |
1338 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
1339 | made static. | |
1340 | (the_low_target): New. | |
d64b8841 | 1341 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
1342 | (s390_num_regs): Define. |
1343 | (s390_regmap): Renamed from regmap, made static. | |
1344 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1345 | made static. | |
1346 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
1347 | made static. | |
1348 | (the_low_target): New. | |
d64b8841 | 1349 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
1350 | (sh_num_regs): Define. |
1351 | (sh_regmap): Renamed from regmap, made static. | |
1352 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1353 | made static. | |
1354 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
1355 | made static. | |
1356 | (the_low_target): New. | |
d64b8841 | 1357 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
1358 | (the_low_target): New. |
1359 | ||
96cb11df AC |
1360 | 2002-04-09 Andrew Cagney <[email protected]> |
1361 | ||
1362 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
1363 | override FP_REGNUM with frame->fp. Update copyright. | |
1364 | * parse.c (num_std_regs, std_regs): Delete. | |
1365 | (target_map_name_to_register): Do not search std_regs. Update | |
1366 | function description. | |
1367 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
1368 | declarations. Update copyright. | |
1369 | Fix PR gdb/251. | |
1370 | ||
c3a3ccc7 DJ |
1371 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1372 | ||
1373 | * gdbserver/Makefile.in: Add stamp-h target. | |
1374 | * gdbserver/configure.in: Create stamp-h. | |
1375 | * gdbserver/configure: Regenerated. | |
1376 | ||
ce3a066d DJ |
1377 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1378 | ||
1379 | * gdbserver/inferiors.c: New file. | |
1380 | * gdbserver/target.c: New file. | |
1381 | * gdbserver/target.h: New file. | |
1382 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
1383 | dependencies. | |
1384 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
1385 | moved from server.c. | |
1386 | (linux_create_inferior): Renamed from create_inferior. | |
1387 | Call add_inferior. Return 0 on success instead of a PID. | |
1388 | (linux_attach): Renamed from myattach. | |
1389 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
1390 | (linux_thread_alive): Renamed from mythread_alive. | |
1391 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
1392 | child dies. | |
1393 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
1394 | (regsets_store_inferior_registers): Correct error message. | |
1395 | Add missing ``return 0''. | |
1396 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
1397 | (linux_store_registers): Renamed from store_inferior_registers. | |
1398 | (linux_read_memory): Renamed from read_inferior_memory. | |
1399 | (linux_write_memory): Renamed from write_inferior_memory. | |
1400 | (linux_target_ops): New structure. | |
1401 | (initialize_low): Call set_target_ops (). | |
1402 | * gdbserver/remote-utils.c (unhexify): New function. | |
1403 | (hexify): New function. | |
1404 | (input_interrupt): Send signals to ``signal_pid''. | |
1405 | * gdbserver/server.c (inferior_pid): Remove. | |
1406 | (start_inferior): Update create_inferior call. | |
1407 | (attach_inferior): Call add_inferior. | |
1408 | (handle_query): New function. | |
1409 | (main): Call handle_query for `q' packets. | |
1410 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
1411 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
1412 | ||
0729219d DJ |
1413 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1414 | ||
1415 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
1416 | dependencies. | |
1417 | * gdbserver/configure.in: Check for <string.h> | |
1418 | * gdbserver/configure: Regenerate. | |
1419 | * gdbserver/config.in: Regenerate. | |
1420 | * gdbserver/gdbreplay.c: Include needed system headers. | |
1421 | (remote_open): Remove strchr prototype. | |
1422 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
1423 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
1424 | (supply_register_by_name): Likewise. | |
1425 | (collect_register): Change buf argument to void *. | |
1426 | (collect_register_by_name): Likewise. | |
1427 | * gdbserver/regcache.h: Add missing prototypes. | |
1428 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
1429 | * gdbserver/server.c (handle_query): New function. | |
1430 | (attached): New static variable, moved out of main. | |
1431 | (main): Quiet longjmp clobber warnings. | |
1432 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
1433 | * gdbserver/utils.c (error): Remove NORETURN. | |
1434 | (fatal): Likewise. | |
1435 | ||
97658e92 DJ |
1436 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1437 | ||
1438 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
1439 | after the last symbol in a block. | |
1440 | ||
6044e3eb PM |
1441 | 2002-04-09 Pierre Muller <[email protected]> |
1442 | ||
1443 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
1444 | is non zero as a found symbol. | |
1445 | ||
0406ec40 AC |
1446 | 2002-04-08 Andrew Cagney <[email protected]> |
1447 | ||
1448 | * findvar.c: Include "builtin-regs.h". | |
1449 | (value_of_register): Call value_of_builtin_reg when applicable. | |
1450 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
1451 | (target_map_name_to_register): Call | |
1452 | builtin_reg_map_name_to_regnum. | |
1453 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
1454 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
1455 | (builtin_regs_h): Define. | |
1456 | (builtin-regs.o): New target. | |
1457 | (findvar.o): Add $(builtin_regs_h). | |
1458 | * builtin-regs.c, builtin-regs.h: New files. | |
1459 | * std-regs.c: New file. | |
1460 | Partial fix for PR gdb/251. | |
1461 | ||
56a6dfb9 KB |
1462 | 2002-04-08 Kevin Buettner <[email protected]> |
1463 | ||
1464 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
1465 | it's no longer required. | |
1466 | ||
3a808432 AC |
1467 | 2002-04-08 Andrew Cagney <[email protected]> |
1468 | ||
1469 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
1470 | ||
7c40d541 KB |
1471 | 2002-04-08 Kevin Buettner <[email protected]> |
1472 | ||
1473 | From Jimi X <[email protected]>: | |
1474 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
1475 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
1476 | and size. Use target_insert_breakpoint() and | |
1477 | target_remove_breakpoint() to insert and remove breakpoints | |
1478 | instead of explicit memory reads and writes. | |
1479 | ||
cc9836a8 KB |
1480 | 2002-04-08 Kevin Buettner <[email protected]> |
1481 | ||
1482 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
1483 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
1484 | ELF_OBJECT_FORMAT ifdef. | |
1485 | ||
7495d1dc KB |
1486 | 2002-04-08 Kevin Buettner <[email protected]> |
1487 | ||
1488 | From Jimi X <[email protected]>: | |
1489 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
1490 | ||
4288e836 KB |
1491 | 2002-04-08 Kevin Buettner <[email protected]> |
1492 | ||
1493 | From Jimi X <[email protected]>: | |
1494 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
1495 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
1496 | ||
a4e4e501 MK |
1497 | 2002-04-07 Mark Kettenis <[email protected]> |
1498 | ||
1499 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
1500 | s/asprintf/xasprintf/. | |
1501 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
1502 | ||
006defba AC |
1503 | 2002-04-07 Andrew Cagney <[email protected]> |
1504 | ||
1505 | I believe Jeff Law denies responsability for this one: | |
1506 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
1507 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
1508 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
1509 | Work-around for PR gdb/366. | |
1510 | ||
7aa83cac EZ |
1511 | 2002-04-07 Elena Zannoni <[email protected]> |
1512 | ||
1513 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
1514 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
1515 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
1516 | ||
cf1fcca1 EZ |
1517 | 2002-04-07 Elena Zannoni <[email protected]> |
1518 | ||
1519 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
1520 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
1521 | information. | |
1522 | ||
3f289e6f AC |
1523 | 2002-04-07 Andrew Cagney <[email protected]> |
1524 | ||
1525 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
1526 | maintainer. | |
1527 | ||
129188f6 AC |
1528 | 2002-04-07 Andrew Cagney <[email protected]> |
1529 | ||
1530 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
1531 | prefered way of submitting bugs. | |
1532 | Fix PR gdb/402. | |
1533 | ||
1200cd6e AC |
1534 | 2002-04-06 Andrew Cagney <[email protected]> |
1535 | ||
1536 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
1537 | -1. Update comment. | |
1538 | * gdbarch.h, gdbarch.c: Re-generate. | |
1539 | ||
2853c33c AS |
1540 | 2002-04-07 Andreas Schwab <[email protected]> |
1541 | ||
1542 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
1543 | buffer to regcache_collect. | |
1544 | ||
c2169756 AC |
1545 | 2002-04-06 Andrew Cagney <[email protected]> |
1546 | ||
1547 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
1548 | * gdbarch.c, gdbarch.h: Re-generate. | |
1549 | ||
25f1b008 AC |
1550 | 2002-04-06 Andrew Cagney <[email protected]> |
1551 | ||
1552 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
1553 | declaration. Fix -Werror. | |
1554 | ||
59263426 DJ |
1555 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
1556 | ||
1557 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
1558 | * gdbarch.c: Regenerate. | |
1559 | ||
f5db4da3 MS |
1560 | 2002-04-05 Michael Snyder <[email protected]> |
1561 | ||
80f8a6eb MS |
1562 | * breakpoint.c (clear_command): Rewrite middle section to |
1563 | combine two loops with identical control conditions. | |
1564 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
1565 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
1566 | ||
ad3dcc5c L |
1567 | 2002-04-05 H.J. Lu ([email protected]) |
1568 | ||
1569 | * solib-svr4.c (bkpt_names): Add "__start". | |
1570 | ||
f32e7a74 AC |
1571 | 2002-04-04 Andrew Cagney <[email protected]> |
1572 | ||
1573 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
1574 | as test for 64 bit target. | |
1575 | ||
8227c0ff AC |
1576 | 2002-04-05 Andrew Cagney <[email protected]> |
1577 | ||
1578 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
1579 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
1580 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
1581 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
1582 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
1583 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
1584 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
1585 | (s390_write_fp): | |
1586 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
1587 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
1588 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
1589 | (d10v_write_fp): Delete function. | |
1590 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
1591 | declarations. | |
1592 | * regcache.c (generic_target_write_fp): Delete function. | |
1593 | (write_fp): Delete function. | |
1594 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
1595 | * gdbarch.h, gdbarch.c: Regenerate. | |
1596 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
1597 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
1598 | (sparc64_write_fp): Delete declaration. | |
1599 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
1600 | (h8500_write_fp): Delete declaration. | |
1601 | ||
2757dd86 AC |
1602 | 2002-04-04 Andrew Cagney <[email protected]> |
1603 | ||
1604 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
1605 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
1606 | the FP directly. | |
1607 | (sparc_gdbarch_init): Do not initialize write_fp. | |
1608 | ||
c69255e1 KB |
1609 | 2002-04-05 Kevin Buettner <[email protected]> |
1610 | ||
1611 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
1612 | clause. | |
1613 | ||
ae767bfb JB |
1614 | 2002-03-29 Jim Blandy <[email protected]> |
1615 | ||
1616 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
1617 | used to return the exact code address we used to select the block, | |
1618 | not just the block. | |
1619 | * blockframe.c (get_frame_block, get_current_block): Same. | |
1620 | * frame.h (get_frame_block, get_current_block, | |
1621 | get_selected_block): Update declarations. | |
1622 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
1623 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
1624 | ||
84d2ac95 MS |
1625 | 2002-04-05 Michael Snyder <[email protected]> |
1626 | ||
1627 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
1628 | warning message. | |
1629 | ||
596aa3bf JB |
1630 | 2002-04-05 J. Brobecker <[email protected]> |
1631 | ||
1632 | * utils.c (xfullpath): New function. | |
1633 | * defs.h (xfullpath): Add declaration. | |
1634 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
1635 | avoid resolving the basename part of filenames when the | |
1636 | associated file is a symbolic link. This fixes a potential | |
1637 | inconsistency between the filenames known to GDB and the | |
1638 | filenames it prints in the annotations. | |
1639 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
1640 | to be able to match a filename with either the real filename, or | |
1641 | the name of any symbolic link to this file. | |
1642 | (lookup_partial_symtab): Ditto. | |
1643 | ||
c02f5703 MS |
1644 | 2002-04-04 Michael Snyder <[email protected]> |
1645 | ||
1646 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
1647 | (overlay_events_enabled): New state variable. | |
1648 | (insert_breakpoints): Use overlay_events_enabled to decide | |
1649 | whether to attempt to set a breakpoint at the overlay load addr. | |
1650 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
1651 | (remove_breakpoint): Use overlay_events_enabled to decide | |
1652 | whether breakpoints need to be removed from overlay load addr. | |
1653 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
1654 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
1655 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, | |
1656 | disable_overlay_breakpoints): Update overlay_events_enabled. | |
1657 | ||
5fb290d7 DJ |
1658 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
1659 | ||
1660 | * dwarf2read.c (struct function_range): New. | |
1661 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
1662 | (check_cu_functions): New. | |
1663 | (read_file_scope): Initialize global function lists. | |
1664 | Call dwarf_decode_line after processing children. | |
1665 | (read_func_scope): Add to global function list. | |
1666 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
1667 | record_line is called. Call record_line with a linenumber | |
1668 | of 0 to mark sequence ends. | |
1669 | ||
7b3fabf0 ML |
1670 | 2002-04-04 Michal Ludvig <[email protected]> |
1671 | ||
1672 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI | |
1673 | change sync with glibc. | |
1674 | ||
bce58c09 JB |
1675 | 2002-04-03 Jim Blandy <[email protected]> |
1676 | ||
1677 | * configure.in: Call AC_C_INLINE. | |
1678 | * configure: Regenerated. | |
1679 | ||
2fccf04a DJ |
1680 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
1681 | ||
1682 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
1683 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
1684 | ||
2d1bfe2e MK |
1685 | 2002-03-31 Mark Kettenis <[email protected]> |
1686 | ||
a5941fbf MK |
1687 | * NEWS: Mention gcore support on FreeBSD/i386. |
1688 | ||
a90cd31d MK |
1689 | * fbsd-proc.c: New file. |
1690 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
1691 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
1692 | ||
2d1bfe2e MK |
1693 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
1694 | while statement. | |
1695 | ||
9eb6e5a1 JB |
1696 | 2002-03-29 Jim Blandy <[email protected]> |
1697 | ||
1698 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
1699 | unescaped newlines in string literals, but newer ones don't. So | |
1700 | escape them. | |
1701 | ||
f02df580 MS |
1702 | 2002-03-26 Michael Snyder <[email protected]> |
1703 | Andrew Cagney <[email protected]> | |
1704 | ||
1705 | * cli/cli-dump.c: New file. Dump memory to file, | |
1706 | restore file to memory. | |
1707 | * cli/cli-dump.h: New file. | |
1708 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 1709 | * NEWS: Mention new commands. |
f02df580 | 1710 | |
109f874e MS |
1711 | 2002-03-28 Michael Snyder <[email protected]> |
1712 | ||
1713 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
1714 | ||
520f6ade AC |
1715 | 2002-03-27 Andrew Cagney <[email protected]> |
1716 | ||
1717 | From veksler at il.ibm.com: | |
1718 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
1719 | the xstrduped original path. | |
1720 | Fix PR gdb/417. | |
1721 | ||
d4654627 MS |
1722 | 2002-03-27 Michael Snyder <[email protected]> |
1723 | ||
1724 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
1725 | * infcmd.c (_initialize_infcmd): Ditto. | |
1726 | * language.c (_initialize_language): Ditto. | |
1727 | * symfile.c (_initialize_symfile): Ditto. | |
1728 | * top.c (_init_main): Ditto. | |
1729 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
1730 | ||
6be8bc0c EZ |
1731 | 2002-03-27 Elena Zannoni <[email protected]> |
1732 | ||
1733 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
1734 | vector registers handling. | |
1735 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
1736 | fields of frame data. | |
1737 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
1738 | ||
12af6855 JB |
1739 | 2002-03-27 Jim Blandy <[email protected]> |
1740 | ||
1741 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
1742 | a function; leave this macro here to invoke that function. | |
1743 | (symbol_init_mangled_name): Declaration for that function. | |
1744 | * symtab.c (symbol_init_mangled_name): New function. | |
1745 | ||
dc672865 AC |
1746 | 2002-03-27 Andrew Cagney <[email protected]> |
1747 | ||
1748 | * valarith.c: Replace strerror with safe_strerror. | |
1749 | * tracepoint.c: Ditto. | |
1750 | * lin-lwp.c: Ditto. | |
1751 | * go32-nat.c: Ditto. | |
1752 | * inflow.c: Ditto. | |
1753 | * gnu-nat.c: Ditto. | |
1754 | ||
d96429cd AS |
1755 | 2002-03-27 Andreas Schwab <[email protected]> |
1756 | ||
1757 | * event-top.c (command_line_handler): Remove useless if. | |
1758 | ||
7e336ba1 AJ |
1759 | 2002-03-27 Andreas Jaeger <[email protected]> |
1760 | ||
1761 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
1762 | comment. | |
1763 | ||
de220d0f ML |
1764 | 2002-03-27 Michal Ludvig <[email protected]> |
1765 | ||
1766 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
1767 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
1768 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
1769 | (x86_64_linux_dr_get_status, supply_gregset), | |
1770 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
1771 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
1772 | (x86_64_register_info_table): Add. | |
1773 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
1774 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
1775 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
1776 | general x86_64_register_info_table. | |
1777 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
1778 | dynamicaly during initialization. | |
1779 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
1780 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 1781 | |
0e98d0a7 DJ |
1782 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
1783 | ||
1784 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
1785 | and target_signal_to_host on signals received from the remote. | |
1786 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
1787 | target_signal_from_host on signals sent to the remote. | |
1788 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
1789 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
1790 | ||
3130066b DJ |
1791 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
1792 | ||
1793 | * signals/signals.c: Include "server.h" in gdbserver build. | |
1794 | (target_signal_from_name): Don't use STREQ. | |
1795 | (_initialize_signals): Likewise. Don't include function in | |
1796 | gdbserver build. | |
1797 | ||
9aedf4f4 DJ |
1798 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
1799 | ||
1800 | * signals.c: Moved to... | |
1801 | * signals/signals.c: Here. | |
7e336ba1 | 1802 | * Makefile (signals.o): Update. |
9aedf4f4 | 1803 | |
3fa41cdb JL |
1804 | 2002-03-26 Jeff Law ([email protected]) |
1805 | ||
1806 | * somread.c (som_symtab_read): Remove some commented out code and | |
1807 | updated related comments. Do not set the minimal symbol table to | |
1808 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
1809 | in a dynamic executable. | |
1810 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
1811 | where we are unable to find the minimal symbol for the given | |
1812 | PC value. | |
1813 | ||
ee677e8d MS |
1814 | 2002-03-25 Jeff Law ([email protected]) |
1815 | ||
1816 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
1817 | ||
e76e1718 ML |
1818 | 2002-03-25 Michal Ludvig <[email protected]> |
1819 | ||
1820 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
1821 | ||
18a642a1 AC |
1822 | 2002-03-23 Andrew Cagney <[email protected]> |
1823 | ||
1824 | * command.h: Update copyright. | |
1825 | (struct cmd_list_element): Replace definition with opaque | |
1826 | declaration. | |
1827 | (enum cmd_types): Document that it will eventually be moved to | |
1828 | cli/cli-decode.h | |
1829 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
1830 | (MALLOCED_REPLACEMENT): Delete macro. | |
1831 | * Makefile.in (cli_decode_h): Add $(command_h). | |
1832 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 1833 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
1834 | * completer.c: Include "cli/cli-decode.h". |
1835 | * maint.c: Include "cli/cli-decode.h". | |
1836 | * cli/cli-decode.h: Include "command.h". | |
1837 | (enum command_class): Delete. | |
1838 | (enum cmd_types): Comment out. | |
1839 | (enum cmd_auto_boolean): Delete. | |
1840 | (enum var_types): Delete. | |
1841 | ||
b2875cc0 AC |
1842 | 2002-03-23 Andrew Cagney <[email protected]> |
1843 | ||
1844 | * cli/cli-decode.c: Include "gdb_assert.h". | |
1845 | (add_set_or_show_cmd): New static function. | |
1846 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
1847 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
1848 | all fields, such as func, from the set command. | |
1849 | ||
3b45974e AC |
1850 | 2002-03-23 Andrew Cagney <[email protected]> |
1851 | ||
1852 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
1853 | ||
823ca731 AC |
1854 | 2002-03-23 Andrew Cagney <[email protected]> |
1855 | ||
1856 | * defs.h (error): Add printf format attribute. | |
1857 | * thread-db.c (thread_from_lwp): Fix error format string. | |
1858 | * stack.c (parse_frame_specification): Ditto. | |
1859 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
1860 | * scm-lang.c (scm_lookup_name): Ditto. | |
1861 | * tracepoint.c (trace_error): Ditto. | |
1862 | * remote-utils.c (usage): Ditto. | |
1863 | * remote.c (compare_sections_command): Ditto. | |
1864 | Fix PR gdb/328. | |
1865 | ||
0e101458 AC |
1866 | 2002-03-22 Andrew Cagney <[email protected]> |
1867 | ||
1868 | * gdbtypes.c (append_composite_type_field): New function. | |
1869 | (init_composite_type): New function. | |
1870 | * gdbtypes.h (append_composite_type_field): Declare. | |
1871 | (init_composite_type): Ditto. | |
1872 | ||
8e0662df EZ |
1873 | 2002-03-22 Elena Zannoni <[email protected]> |
1874 | ||
1875 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 1876 | function. |
8e0662df EZ |
1877 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
1878 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
1879 | structure returning convention for SYSV ABI case, but not | |
1880 | for GNU/Linux, FreeBSD, or NetBSD. | |
1881 | ||
3121eff0 DJ |
1882 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
1883 | ||
1884 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
1885 | to prototype. | |
1886 | ||
1887 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
1888 | with new mangled_name argument. | |
1889 | * linespec.c (decode_line_1): Likewise. | |
1890 | * valops (value_of_this): Likewise. | |
1891 | * symtab.c (lookup_transparent_type): Likewise. | |
1892 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
1893 | (lookup_symbol): If we are given a mangled name, pass it down | |
1894 | to lookup_symbol_aux. | |
1895 | (lookup_block_symbol): If we are given a mangled name to check | |
1896 | against, only return symbols which match it. | |
1897 | ||
349b409f CF |
1898 | 2002-03-22 Christopher Faylor <[email protected]> |
1899 | ||
1900 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
1901 | here, in case the user changes it on the fly. | |
1902 | (_initialize_inftarg): Remove shell path considerations. | |
1903 | ||
2a873819 EZ |
1904 | 2002-03-21 Elena Zannoni <[email protected]> |
1905 | ||
1906 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
1907 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
1908 | Adjust copyright year. | |
1909 | ||
a1b9830c DJ |
1910 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
1911 | ||
1912 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
1913 | in a function to cover the entire beginning of the function | |
1914 | as well if it does not already. | |
1915 | ||
8b5790f2 TR |
1916 | 2002-03-21 Tom Rix <[email protected]> |
1917 | ||
1918 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
1919 | (rs6000_ptrace64): Renamed from ptrace64. | |
1920 | ||
bdbe5747 MH |
1921 | 2002-03-20 Martin M. Hunt <[email protected]> |
1922 | ||
1923 | * gdbserver/remote-utils.c (remote_open): Don't call | |
1924 | getprotobyname, we're all using TCP here so just use | |
1925 | IPPROTO_TCP. | |
7e336ba1 | 1926 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
1927 | |
1928 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 1929 | |
bdbe5747 MH |
1930 | * regcache.c (_initialize_regcache): No need to call |
1931 | build_regcache() at this time; it gets called whenever | |
1932 | the gdbarch changes. | |
1933 | ||
7781cd62 DB |
1934 | 2002-03-20 David O'Brien <[email protected]> |
1935 | ||
1936 | * sparc-nat.c: Include sys/param.h where possible. | |
1937 | ||
f65ca430 DJ |
1938 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
1939 | ||
1940 | Fix PR gdb/422. | |
1941 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
1942 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
1943 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
1944 | complex types. | |
1945 | * stabsread.c (rs6000_builtin_type): Likewise. | |
1946 | (read_sun_floating_type): Likewise. | |
1947 | ||
0c867556 PS |
1948 | 2002-03-19 Peter Schauer <[email protected]> |
1949 | ||
1950 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
1951 | constructor/destructor methods. Use standard parsing for these | |
1952 | methods and just do not chain them to the list of methods after | |
1953 | parsing. | |
1954 | ||
12b9c64f AO |
1955 | 2002-03-19 Alexandre Oliva <[email protected]> |
1956 | ||
1957 | * coffread.c: Remove redundant static declarations. Replace | |
1958 | occurrences of `PTR' with `void *'. | |
1959 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
1960 | * top.h (quit_cover): Likewise. | |
1961 | * defs.h (catch_errors): Likewise. | |
1962 | ||
349c5d5f AC |
1963 | 2002-03-18 Andrew Cagney <[email protected]> |
1964 | ||
1965 | * defs.h (XMALLOC): Define. | |
1966 | * gdb-events.sh (XMALLOC): Delete macro. | |
1967 | * gdb-events.c, gdb-events.h: Regenerate. | |
1968 | * gdbarch.sh (XMALLOC): Delete macro. | |
1969 | * gdbarch.c: Regenerate. | |
1970 | * serial.c (XMALLOC): Delete macro. | |
1971 | * ui-file.c (XMALLOC): Ditto. | |
1972 | * ser-unix.h (XMALLOC): Ditto. | |
1973 | * sh-tdep.c (XMALLOC): Ditto. | |
1974 | * ui-out.c (XMALLOC): Ditto. | |
1975 | * utils.c (XMALLOC): Ditto. | |
1976 | * i386-tdep.c (XMALLOC): Ditto. | |
1977 | * gdb-events.c (XMALLOC): Ditto. | |
1978 | * d10v-tdep.c (XMALLOC): Ditto. | |
1979 | * cli-out.c (XMALLOC): Ditto. | |
1980 | ||
1981 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
1982 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
1983 | * ui-file.c, ui-out.c: Ditto. | |
1984 | ||
7d0766f3 AC |
1985 | 2002-03-18 Andrew Cagney <[email protected]> |
1986 | ||
1987 | * command.h (struct cmd_list_element): Add field context. | |
1988 | (set_cmd_context, get_cmd_context): Declare. | |
1989 | * cli/cli-decode.h: Ditto. | |
1990 | * cli/cli-decode.c (get_cmd_context): New function. | |
1991 | (set_cmd_context): New function. | |
1992 | (add_cmd): Initialize context. | |
1993 | Part of fixing PR gdb/145 and PR gdb/146. | |
1994 | ||
5913bcb0 AC |
1995 | 2002-03-17 Andrew Cagney <[email protected]> |
1996 | ||
1868c04e AC |
1997 | * cli/cli-decode.c (cmd_type): New function. |
1998 | * command.h (cmd_type): Declare. | |
1999 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
2000 | * kod.c (kod_set_os): Call cmd_type. | |
2001 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
2002 | (cris_mode_update, cris_abi_update): Ditto. | |
2003 | ||
5913bcb0 AC |
2004 | * command.h: (execute_cmd_post_hook): Declare. |
2005 | (execute_cmd_pre_hook): Declare. | |
2006 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
2007 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
2008 | functions. Execute pre/post hook while ensuring that afterwords | |
2009 | hook_in is cleared. | |
2010 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
2011 | execute_cmd_pre_hook to execute pre/post commands. | |
2012 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
2013 | hook_stop_stub. | |
2014 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
2015 | ||
b51450c9 AC |
2016 | 2002-03-17 Andrew Cagney <[email protected]> |
2017 | ||
2018 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
2019 | set'' and this leads to a core dump. Move xstrdup of | |
2020 | operating_system to after check that it is not NULL. | |
2021 | ||
f66c9f11 AC |
2022 | 2002-03-17 Andrew Cagney <[email protected]> |
2023 | ||
8e694ecf AC |
2024 | * kod.c (kod_set_os): Remove unnecessary check that |
2025 | ``command->type'' is set_cmd. | |
2026 | ||
f66c9f11 AC |
2027 | * valprint.c (set_input_radix): Use input_radix. |
2028 | (set_output_radix): Use output_radix. | |
2029 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
2030 | isn't reverted. | |
2031 | ||
9d01611c AC |
2032 | 2002-03-16 Andrew Cagney <[email protected]> |
2033 | ||
2034 | * value.h (struct value): Delete field ``substring_addr''. Change | |
2035 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
2036 | force_core_addr_align and force_pointer_aligh. |
2037 | ||
2038 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 2039 | |
4156bb53 PS |
2040 | 2002-03-16 Peter Schauer <[email protected]> |
2041 | ||
2042 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
2043 | to fix internal_error from ``maintenance print architecture''. | |
2044 | ||
0e5e3ea6 PS |
2045 | 2002-03-16 Peter Schauer <[email protected]> |
2046 | ||
2047 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
2048 | for gcc versions after gcc-2.8.1. | |
2049 | ||
9b013045 PS |
2050 | 2002-03-16 Peter Schauer <[email protected]> |
2051 | ||
2052 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
2053 | for method resolution. Restore adjustment of ``this'' pointer after | |
2054 | calling value_struct_elt, which was accidentally removed during the | |
2055 | HP merge. | |
2056 | ||
376c9600 AC |
2057 | 2002-03-15 Andrew Cagney <[email protected]> |
2058 | ||
2059 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
2060 | value_of_register. | |
2061 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
2062 | get_saved_register. | |
2063 | * value.h (value_of_register): Update. | |
2064 | ||
a4db0f07 RH |
2065 | 2002-03-14 Richard Henderson <[email protected]> |
2066 | ||
2067 | * configure.in: Detect declaration for canonicalize_file_name. | |
2068 | * utils.c (canonicalize_file_name): Declare, if needed. | |
2069 | (gdb_realpath): Prefer realpath if available and usable. | |
2070 | * config.in, configure: Rebuild. | |
2071 | ||
96383835 RH |
2072 | 2002-03-14 Richard Henderson <[email protected]> |
2073 | ||
2074 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
2075 | a constant array bound. | |
2076 | ||
2077 | * MAINTAINERS: Add myself to write-after-approval. | |
2078 | ||
75245b24 MS |
2079 | 2002-03-14 Michael Snyder <[email protected]> |
2080 | ||
2081 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
2082 | (symbol_file_add): Return immediately if no syms. | |
2083 | (find_sym_fns): Return immediately if no syms. | |
2084 | ||
e641a1ca ML |
2085 | 2002-03-13 Michal Ludvig <[email protected]> |
2086 | ||
2087 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
2088 | IP address when remote debugging over the network. | |
7e336ba1 | 2089 | |
df08bfec DB |
2090 | 2002-03-12 David O'Brien <[email protected]> |
2091 | ||
2092 | * config/sparc/fbsd.mh: Fix copyright. | |
2093 | * config/sparc/fbsd.mt: Likewise. | |
2094 | ||
9a57864f RE |
2095 | 2002-03-11 Richard Earnshaw <[email protected]> |
2096 | ||
2097 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
2098 | (x86-64): Fix formating so that this can be parsed by awk. | |
2099 | ||
dd7bf85e DJ |
2100 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
2101 | ||
2102 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
2103 | * defs.h: Include "gdb/signals.h". | |
2104 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
2105 | ||
33a0a2ac ML |
2106 | 2002-03-10 Michal Ludvig <[email protected]> |
2107 | ||
2108 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 2109 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
2110 | from x86-64-tdep.h |
2111 | ||
dd824b04 DJ |
2112 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
2113 | Don Howard <[email protected]> | |
2114 | ||
2115 | * mips-tdep.c (ST0_FR): Define. | |
2116 | (mips2_fp_compat): New function, temporarily disabled. | |
2117 | (mips_read_fp_register_single): New function. | |
2118 | (mips_read_fp_register_double): New function. | |
2119 | (mips_print_register): Use them. | |
2120 | (do_fp_register_row): Likewise. | |
2121 | ||
6a41ff59 AC |
2122 | 2002-03-09 Andrew Cagney <[email protected]> |
2123 | ||
2124 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
2125 | approval''. | |
2126 | ||
4ea09c10 PS |
2127 | 2002-03-08 Peter Schauer <[email protected]> |
2128 | ||
2129 | * stabsread.c (read_member_functions): Fix is_stub test for | |
2130 | static member functions, improve comment. | |
2131 | ||
6ccc741d RE |
2132 | 2002-03-07 Richard Earnshaw <[email protected]> |
2133 | ||
2134 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
2135 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
2136 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
2137 | commands that set boolean values. | |
2138 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
2139 | (arm_rdi_resume): Always initialize PC. | |
2140 | (arm_rdi_open): Don't use rslt as a boolean. | |
2141 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
2142 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
2143 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
2144 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
2145 | ||
438013df AO |
2146 | 2002-03-06 Alexandre Oliva <[email protected]> |
2147 | ||
2148 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
2149 | * configure: Rebuilt. | |
2150 | ||
70ed8774 SC |
2151 | 2002-03-06 Stephane Carrez <[email protected]> |
2152 | ||
2153 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
2154 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
2155 | ||
5ba2abeb AC |
2156 | 2002-03-06 Andrew Cagney <[email protected]> |
2157 | ||
2158 | * cli/cli-decode.c (set_cmd_completer): New function. | |
2159 | * command.h (set_cmd_completer): Declare. | |
2160 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
2161 | ||
2162 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
2163 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
2164 | * win32-nat.c (_initialize_inftarg): Ditto. | |
2165 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
2166 | * proc-api.c (_initialize_proc_api): Ditto. | |
2167 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
2168 | * source.c (_initialize_source): Ditto. | |
2169 | * exec.c (_initialize_exec): Ditto. | |
2170 | * solib.c (_initialize_solib): Ditto. | |
2171 | * top.c (init_main): Ditto. | |
2172 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
2173 | * symfile.c (_initialize_symfile): Ditto. | |
2174 | * printcmd.c (_initialize_printcmd): Ditto. | |
2175 | * infcmd.c (_initialize_infcmd): Ditto. | |
2176 | * corefile.c (_initialize_core): Ditto. | |
2177 | ||
f779ca99 AC |
2178 | 2002-03-05 Andrew Cagney <[email protected]> |
2179 | ||
2180 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
2181 | ||
01a3934b AC |
2182 | 2002-03-05 Andrew Cagney <[email protected]> |
2183 | ||
2184 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
2185 | ||
37057839 AC |
2186 | 2002-03-05 Andrew Cagney <[email protected]> |
2187 | ||
2188 | * NEWS: Update headings, 5.2 has branched. | |
2189 | ||
c6ecbae5 DJ |
2190 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
2191 | ||
2192 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
2193 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
2194 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
2195 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
2196 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
2197 | ||
e9f30c21 ML |
2198 | 2002-03-03 Michal Ludvig <[email protected]> |
2199 | ||
2200 | * MAINTAINERS (x86-64): Add myself. | |
2201 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
2202 | changed value_ptr -> struct value * | |
2203 | ||
54394ac3 DB |
2204 | 2002-03-01 David O'Brien <[email protected]> |
2205 | ||
2206 | * configure.host (sparc64-*-freebsd): Add. | |
2207 | * configure.tgt: Likewise. | |
2208 | * config/sparc/fbsd.mh: New file. | |
2209 | * config/sparc/fbsd.mt: Likewise. | |
2210 | * config/sparc/nm-fbsd.h: Likewise. | |
2211 | * config/sparc/tm-fbsd.h: Likewise. | |
2212 | ||
bfe95955 DJ |
2213 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
2214 | ||
2215 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
2216 | regformats/reg-s390x.dat. | |
2217 | ||
f33c6cbf AC |
2218 | 2002-03-01 Andrew Cagney <[email protected]> |
2219 | ||
2220 | * utils.c: Add FIXME explaining true/false problem. | |
2221 | ||
5ecaa7dd AC |
2222 | 2002-02-28 Andrew Cagney <[email protected]> |
2223 | ||
2224 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
2225 | ||
2a251cc2 MC |
2226 | 2002-02-28 Michael Chastain <[email protected]> |
2227 | ||
2228 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
2229 | ||
6a8031a3 | 2230 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
2231 | |
2232 | * gdbserver/linux-s390-low.c: New file. | |
2233 | * regformats/reg-s390.dat: New file. | |
2234 | * regformats/reg-s390x.dat: New file. | |
2235 | * gdbserver/configure.srv: Add S/390. | |
2236 | * gdbserver/Makefile.in: Add S/390. | |
2237 | * configure.tgt: Enable gdbserver for S/390. | |
2238 | ||
ac469903 EZ |
2239 | 2002-02-28 Eli Zaretskii <[email protected]> |
2240 | ||
2241 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
2242 | first line of the doc string for "info dos", except at the end of | |
2243 | the sentence, since the short help stops at the first period. | |
2244 | ||
985cb1a3 JM |
2245 | 2002-02-28 Jason Merrill <[email protected]> |
2246 | ||
2247 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
2248 | ||
c570663e FF |
2249 | 2002-02-27 Fred Fish <[email protected]> |
2250 | ||
2251 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
2252 | comment (dumy -> dummy). | |
2253 | ||
43630227 PS |
2254 | 2002-02-27 Peter Schauer <[email protected]> |
2255 | ||
2256 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
2257 | ||
b84911e8 RB |
2258 | 2002-02-27 Rodney Brown <[email protected]> |
2259 | ||
2260 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
2261 | ||
58caa3dc DJ |
2262 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
2263 | ||
2264 | * gdbserver/acconfig.h: New file. | |
2265 | * gdbserver/i387-fp.c: New file. | |
2266 | * gdbserver/i387-fp.h: New file. | |
2267 | * gdbserver/linux-x86-64.c: New file. | |
2268 | * regformats/reg-x86-64.dat: New file. | |
2269 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
2270 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
2271 | * gdbserver/configure.in: Add support for regsets. | |
2272 | * gdbserver/config.in: Regenerate. | |
2273 | * gdbserver/configure: Regenerate. | |
2274 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
2275 | * gdbserver/linux-low.h: New file. | |
2276 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
2277 | for regsets. | |
2278 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
2279 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
2280 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
2281 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
2282 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
2283 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
2284 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
2285 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
2286 | * gdbserver/regcache.c (supply_register): New function. | |
2287 | (supply_register_by_name): New function. | |
2288 | (collect_register): New function. | |
2289 | (collect_register_by_name): New function. | |
2290 | ||
93652174 DJ |
2291 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
2292 | ||
2293 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
2294 | (config.status): Add configure.srv dependency. | |
2295 | (server_h): Add config.h dependency. | |
2296 | ||
a02e4a61 DJ |
2297 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
2298 | ||
2299 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
2300 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
2301 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
2302 | reg-i386-linux.o. | |
2303 | ||
ce0eebec AC |
2304 | 2002-02-26 Andrew Cagney <[email protected]> |
2305 | ||
2306 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
2307 | ||
82dbc5f7 AC |
2308 | 2002-02-26 Andrew Cagney <[email protected]> |
2309 | ||
2310 | From Michal Ludvig <[email protected]>: | |
2311 | * x86-64-tdep.c (value.h): Delete. | |
2312 | (gdb_assert.h): Include. | |
2313 | (x86_64_register_convert_to_virtual, | |
2314 | x86_64_register_convert_to_raw ): Add check which lets only | |
2315 | floating-point values to be converted. | |
2316 | (value_push): Delete. | |
2317 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
2318 | (i386_gdbarch_init): Number of register_bytes fixed. | |
2319 | ||
e4621584 AC |
2320 | 2002-02-26 Andrew Cagney <[email protected]> |
2321 | ||
2322 | * MAINTAINERS: Add x86-64 target. | |
2323 | ||
81a9a963 AC |
2324 | 2002-02-26 Andrew Cagney <[email protected]> |
2325 | ||
2326 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
2327 | * osfsolib.c (solib_map_sections): Ditto. | |
2328 | * irix5-nat.c (solib_map_sections): Ditto. | |
2329 | * corelow.c (gdb_check_format): Ditto. | |
2330 | * symfile.c (symfile_bfd_open): Ditto. | |
2331 | * solib.c (solib_map_sections): Ditto. | |
2332 | Fix PR gdb/354. | |
7e336ba1 | 2333 | |
0f017ab9 AC |
2334 | 2002-02-26 Andrew Cagney <[email protected]> |
2335 | ||
2336 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
2337 | ``E'' step out-of-range packets. | |
2338 | ||
75738c29 AS |
2339 | 2002-02-26 Andreas Schwab <[email protected]> |
2340 | ||
2341 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
2342 | m68k_linux_frame_saved_pc. | |
2343 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
2344 | in_sigtramp. | |
2345 | (SIGCONTEXT_PC_OFFSET): Remove. | |
2346 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
2347 | m68k_linux_sigtramp_saved_pc): New functions. | |
2348 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
2349 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
2350 | (UCONTEXT_PC_OFFSET): Define. | |
2351 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
2352 | non-RT and RT signal trampolines. | |
2353 | ||
7e8ed687 RE |
2354 | 2002-02-26 Richard Earnshaw <[email protected]> |
2355 | ||
2356 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
2357 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
2358 | (VARIABLES_INSIDE_BLOCK): Delete. | |
2359 | ||
6972bc8b AC |
2360 | 2002-02-25 Andrew Cagney <[email protected]> |
2361 | ||
2362 | * utils.c (perror_with_name): Make string parameter constant. | |
2363 | (print_sys_errmsg): Ditto. | |
2364 | (query): Ditto. | |
2365 | * defs.h (perror_with_name): Update. | |
2366 | (print_sys_errmsg): Update. | |
2367 | (query): Update. | |
2368 | ||
aa32f823 DJ |
2369 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
2370 | ||
2371 | From Eliot Dresselhaus <[email protected]>: | |
2372 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
2373 | ||
19caaa45 PS |
2374 | 2002-02-25 Peter Schauer <[email protected]> |
2375 | ||
2376 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
2377 | if it already matches the current architecture from the exec file. | |
2378 | Include arch-utils.h for gdbarch_info_init prototype. | |
2379 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
2380 | ||
d951901f EZ |
2381 | 2002-02-25 Eli Zaretskii <[email protected]> |
2382 | ||
2383 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
2384 | list of exported variables. | |
2385 | ||
7ea81414 DJ |
2386 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
2387 | ||
2388 | * gdbserver/configure.srv: New file. | |
2389 | * gdbserver/configure.in: Use configure.srv instead | |
2390 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
2391 | from it. | |
2392 | * gdbserver/configure: Regenerated. | |
2393 | * gdbserver/terminal.h: New file. | |
2394 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
2395 | more unneeded include paths. | |
2396 | ||
080fe24b AC |
2397 | 2002-02-24 Andrew Cagney <[email protected]> |
2398 | ||
2399 | From wiz at danbala: | |
2400 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
2401 | Fix PR gdb/287. | |
2402 | ||
8605d56e AC |
2403 | 2002-02-24 Andrew Cagney <[email protected]> |
2404 | ||
2405 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
2406 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
2407 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
2408 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
2409 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
2410 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
2411 | * s390-tdep.c: Ditto. | |
92362027 AC |
2412 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
2413 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
2414 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
2415 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
2416 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
2417 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
2418 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
2419 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
2420 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
2421 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 2422 | Fix PR gdb/378. |
7e336ba1 | 2423 | |
8ed32cc0 AC |
2424 | 2002-02-23 Andrew Cagney <[email protected]> |
2425 | ||
a3007b6f AC |
2426 | * lin-thread.c: Delete file. |
2427 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
2428 | to gdb_proc_service.h. | |
2429 | * configure: Re-generate. | |
2430 | ||
50a9e2f1 AC |
2431 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
2432 | * serial.c (serial_open): Delete check for "ocd". | |
2433 | Fix PR gdb/349. | |
2434 | ||
8b6e7932 AC |
2435 | * Makefile.in (linux-thread.o): Delete target. |
2436 | * linux-thread.c: Delete file. | |
2437 | ||
d155c46b AC |
2438 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
2439 | renamed SH files to be consistent. | |
2440 | ||
8ed32cc0 AC |
2441 | * symtab.c (sort_search_symbols): Use xfree. |
2442 | ||
0e18d038 RE |
2443 | 2002-02-23 Richard Earnshaw <[email protected]> |
2444 | ||
2445 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
2446 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
2447 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
2448 | definition with undef, since we don't want the sysvr4 definition. | |
2449 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
2450 | ||
27aac7ff AC |
2451 | 2002-02-23 Andrew Cagney <[email protected]> |
2452 | ||
2453 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
2454 | ||
2455 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
2456 | canonicalize_file_name Regenerated. | |
2457 | * config.in, configure: Regenerated. | |
2458 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
2459 | defined use canonicalize_file_name. | |
7e336ba1 | 2460 | |
65a6e0ee MC |
2461 | 2002-02-23 Michael Chastain <[email protected]> |
2462 | ||
2463 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
2464 | ||
47b95330 AC |
2465 | 2002-02-23 Andrew Cagney <[email protected]> |
2466 | ||
2467 | * README: Remove references to cygnus.com. | |
2468 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
2469 | dot com'' form. Remove references to cygnus.com and sourceware. | |
2470 | ||
696f451b AC |
2471 | 2002-02-23 Andrew Cagney <[email protected]> |
2472 | ||
2473 | From 2002-02-19 Paul Eggert <[email protected]>: | |
2474 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
2475 | 1003.1-2001 no longer allows "head -1". | |
2476 | * gdb/Makefile.in (version.c): Likewise. | |
2477 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
2478 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
2479 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
2480 | ||
bbaca940 AC |
2481 | 2002-02-23 Andrew Cagney <[email protected]> |
2482 | ||
2483 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
2484 | * command.h (cmd_cfunc_eq): Declare. | |
2485 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
2486 | ||
2487 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
2488 | ``struct cmd_list_element *''. | |
2489 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
2490 | cmd_cfunc_eq. | |
2491 | * top.c (execute_command): Pass the command to | |
2492 | is_complete_command. | |
2493 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
2494 | ||
b8b8b047 AC |
2495 | 2002-02-23 Andrew Cagney <[email protected]> |
2496 | ||
2497 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
2498 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
2499 | architecture defines. | |
2500 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
2501 | ||
19d3fc80 RE |
2502 | 2002-02-23 Richard Earnshaw <[email protected]> |
2503 | ||
2504 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
2505 | (arm_linux_push_arguments): Likewise. | |
2506 | (arm_linux_init_abi): Register them. Also register linux-specific | |
2507 | call_dummy_words. | |
2508 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
2509 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
2510 | (arm_linux_call_dummy_words): Delete declaration. | |
2511 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
2512 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
2513 | declarations. | |
2514 | (LOWEST_PC): Delete. | |
2515 | ||
3ab13650 PS |
2516 | 2002-02-23 Peter Schauer <[email protected]> |
2517 | ||
2518 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
2519 | output, it will be handled by local_hex_string_custom. | |
2520 | ||
19d3fc80 | 2521 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
2522 | |
2523 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
2524 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
2525 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
2526 | ||
d85a5daf JB |
2527 | 2002-02-22 Jim Blandy <[email protected]> |
2528 | ||
2529 | Indicate that the bcache functions don't change the strings | |
2530 | they're passed. | |
2531 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
2532 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
2533 | ||
eeb25b8a PM |
2534 | 2002-02-22 Pierre Muller <[email protected]> |
2535 | ||
2536 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
2537 | ||
6badb179 CF |
2538 | 2002-02-21 Christopher Faylor <[email protected]> |
2539 | ||
2540 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
2541 | find the complete path to a loaded DLL. | |
2542 | ||
e8717518 FF |
2543 | 2002-02-21 Fred Fish <[email protected]> |
2544 | ||
2545 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
2546 | that marks the end of the range of a function, enter a line number | |
2547 | entry that has a line number of zero and a PC offset that matches | |
2548 | the end of the function. This starts a range of PC's for which no | |
2549 | line number information is known. | |
2550 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
2551 | PC's for which no line number info is found (line number is zero) | |
2552 | then we didn't find any valid line information. | |
2553 | * symtab.h: Document use of zero line number entry. | |
2554 | ||
9abe5450 EZ |
2555 | 2002-02-21 Elena Zannoni <[email protected]> |
2556 | ||
2557 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
2558 | (have_ptrace_getvrregs): Define for run time checks. | |
2559 | (gdb_vrregset_t): New type for Altivec register handling. | |
2560 | (fetch_register, store_register): Fetch/store altivec register | |
2561 | when needed. | |
2562 | (fetch_altivec_register, store_altivec_register): New functions. | |
2563 | (supply_vrregset, fill_vrregset): New functions. | |
2564 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
2565 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
2566 | registers as well. | |
2567 | ||
aaa38bb5 AJ |
2568 | 2002-02-21 Jiri Smid <[email protected]> |
2569 | ||
2570 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
2571 | ||
b34db576 RE |
2572 | 2002-02-21 Richard Earnshaw <[email protected]> |
2573 | ||
2574 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
2575 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
2576 | supply the integer register set. | |
2577 | (supply_fparegset): New function. Similar for FPA registers. | |
2578 | (fetch_regs, fetch_fp_regs): Use them. | |
2579 | (fetch_core_registers): Likewise. | |
2580 | (fetch_elfcore_registers): New function. | |
2581 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
2582 | (_initialize_arm_netbsd_nat): Register it. | |
2583 | ||
3e56fc4b RE |
2584 | 2002-02-21 Richard Earnshaw <[email protected]> |
2585 | ||
2586 | * armnbsd-nat.c: Include gdbcore.h. | |
2587 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
2588 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
2589 | 'void' to declaration, to shut up ARI. | |
2590 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
2591 | (arm_netbsd_core_fns): New core-file type specification. | |
2592 | (_initialize_arm_netbsd_nat): New function. | |
2593 | ||
097f6b0b CF |
2594 | 2002-02-21 Christopher Faylor <[email protected]> |
2595 | ||
2596 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
2597 | value. | |
2598 | ||
c914e0cc CF |
2599 | 2002-02-20 Christopher Faylor <[email protected]> |
2600 | ||
2601 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
2602 | fails. | |
2603 | ||
385fa495 DJ |
2604 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2605 | ||
2606 | * jv-exp.y (parse_number): Change type of implicit longs | |
2607 | to builtin_type_uint64. | |
2608 | ||
e5f1222d DJ |
2609 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2610 | ||
2611 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
2612 | to be an integer instead of a `union wait'. | |
2613 | ||
75c9abc6 DJ |
2614 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2615 | ||
2616 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
2617 | * mips-linux-tdep.c: Likewise. | |
2618 | * mips-tdep.c: Likewise. | |
2619 | ||
551792a5 DJ |
2620 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2621 | ||
2622 | Fix PR gdb/265. | |
2623 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
2624 | ||
ee6e2b82 DJ |
2625 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2626 | ||
2627 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
2628 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
2629 | * gdbserver/configure: Regenerated. | |
2630 | ||
a48442a0 RE |
2631 | 2002-02-20 Richard Earnshaw <[email protected]> |
2632 | ||
2633 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
2634 | is defined. | |
2635 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
2636 | ||
fe419ffc RE |
2637 | 2002-02-20 Richard Earnshaw <[email protected]> |
2638 | ||
2639 | * News: Add news about ARM and Multi-arch. Mention the new target | |
2640 | arm*-*-netbsd*. | |
2641 | ||
5832ed7e JB |
2642 | 2002-02-19 Jim Blandy <[email protected]> |
2643 | ||
2644 | * stabsread.c (error_type_complaint): Improve error message. | |
2645 | ||
84563040 DJ |
2646 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
2647 | ||
2648 | * gdbserver/README: Update documentation. | |
2649 | * gdbserver/configure.in: Update configury to match documentation. | |
2650 | * gdbserver/Makefile.in: Likewise. | |
2651 | * gdbserver/configure: Regenerated. | |
2652 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
2653 | * gdbserver/config.in: New file, generated by autoheader. | |
2654 | ||
375fd65b RE |
2655 | 2002-02-19 Richard Earnshaw <[email protected]> |
2656 | ||
2657 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
2658 | armnbsd-nat.c. | |
2659 | ||
08216dd7 RE |
2660 | 2002-02-19 Richard Earnshaw <[email protected]> |
2661 | ||
2662 | * arm-tdep.h (enum arm_float_model): New enum. | |
2663 | (struct gdbarch_tdep): Add fp_model. | |
2664 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
2665 | up floating-point conversions until we know the floating-point model | |
2666 | in use by the inferior. Don't complain about being unable to | |
2667 | determine the ABI of the inferior when we don't have one. | |
2668 | (arm_extract_return_value): Support different floating-point models. | |
2669 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 2670 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
2671 | ARM_FLOAT_SOFT. |
2672 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
2673 | ||
65d6d66a PS |
2674 | 2002-02-19 Peter Schauer <[email protected]> |
2675 | ||
2676 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
2677 | of ``current_gdbarch''. | |
2678 | ||
47221191 RE |
2679 | 2002-02-19 Richard Earnshaw <[email protected]> |
2680 | ||
2681 | * armnbsd-nat.c : ANSIfy all function declarations. | |
2682 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
2683 | (fetch_inferior_registers): Re-implement in terms of above. | |
2684 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
2685 | (store_inferior_registers): Re-implement in terms of above. | |
2686 | ||
fdf39c9a RE |
2687 | 2002-02-19 Richard Earnshaw <[email protected]> |
2688 | ||
aaa38bb5 | 2689 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
2690 | kernel. |
2691 | * arm-linux-tdep.c: Likewise. | |
2692 | * config/arm/tm-linux.h: Likewise. | |
2693 | ||
93247f88 RE |
2694 | 2002-02-19 Richard Earnshaw <[email protected]> |
2695 | ||
2696 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
2697 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
2698 | * config/arm/tm-nbsd.h: Delete. | |
2699 | ||
d7b486e7 RE |
2700 | 2002-02-19 Richard Earnshaw <[email protected]> |
2701 | ||
2702 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
2703 | Initialize CALL_DUMMY_LENGTH. | |
2704 | ||
41d39a95 RE |
2705 | 2002-02-19 Richard Earnshaw <[email protected]> |
2706 | ||
2707 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
2708 | function. | |
2709 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 2710 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
2711 | defines one thing and that is incorrect for this port. |
2712 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
2713 | ||
e1195560 PM |
2714 | 2002-02-18 Pierre Muller <[email protected]> |
2715 | ||
2716 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
2717 | ||
c1748f97 PM |
2718 | 2002-02-18 Pierre Muller <[email protected]> |
2719 | ||
2720 | * win32-nat.c (display_selector): New function. Displays information | |
2721 | about the information returned by GetThreadSelectorEntry API function. | |
2722 | (display_selectors): New function. Displays the infomation of | |
2723 | the selector given as argument, or of CS, DS ans FS selectors | |
2724 | if no argument is given. | |
2725 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
2726 | Add "info w32 selector" as command calling display_selectors. | |
2727 | ||
e41e6bbf PM |
2728 | 2002-02-19 Pierre Muller <[email protected]> |
2729 | ||
2730 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
2731 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
2732 | if not defined. | |
2733 | ||
0d3a9f48 RE |
2734 | 2002-02-18 Richard Earnshaw <[email protected]> |
2735 | ||
2736 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
2737 | ||
3fb4b924 RE |
2738 | 2002-02-18 Richard Earnshaw <[email protected]> |
2739 | ||
2740 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
2741 | (arm_fix_call_dummy): Call it. | |
2742 | (arm_call_dummy_breakpoint_offset): Delete. | |
2743 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
2744 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
2745 | ||
7f55af32 AC |
2746 | 2002-02-18 Andrew Cagney <[email protected]> |
2747 | ||
2748 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
2749 | Default to func_frame_chain_valid. | |
2750 | * gdbarch.h, gdbarch.c: Re-generate. | |
2751 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
2752 | ||
05f13b9c EZ |
2753 | 2002-02-18 Elena Zannoni <[email protected]> |
2754 | ||
2755 | * ppc-linux-nat.c: Update copyright. | |
2756 | (fetch_register, store_register): Add tid parameter, don't compute | |
2757 | tid here. | |
2758 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
2759 | parameter. Pass it along to callees. | |
2760 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
2761 | here, and pass it to calleed functions. | |
2762 | (fill_gregset, supply_fpregset): Clean up formatting. | |
2763 | ||
d7afb4c9 RE |
2764 | 2002-02-18 Richard Earnshaw <[email protected]> |
2765 | ||
2766 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
2767 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
2768 | ||
9df628e0 RE |
2769 | 2002-02-18 Richard Earnshaw <[email protected]> |
2770 | ||
2771 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
2772 | * gdbarch.c gdbarch.h: Regenerate. | |
2773 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
2774 | function. | |
2775 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
2776 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
2777 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
2778 | ||
2779 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
2780 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
2781 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
2782 | this to a positive value register arm_get_longjmp_target as the | |
2783 | longjmp handler. | |
2784 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
2785 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
2786 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
2787 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
2788 | description in tdep. | |
2789 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
2790 | (get_longjmp_target): Delete declaration. | |
2791 | (GET_LONGJMP_TARGET): Delete. | |
2792 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
2793 | (GET_LONGJMP_TARGET): Delete. | |
2794 | ||
57bc8964 KB |
2795 | 2002-02-17 Kevin Buettner <[email protected]> |
2796 | ||
2797 | From Peter Schauer <[email protected]>: | |
2798 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
2799 | of ``current_gdbarch''. | |
2800 | ||
83d31a92 TT |
2801 | 2002-02-17 Tom Tromey <[email protected]> |
2802 | ||
2803 | * cli/cli-cmds.c (compare_strings): New function. | |
2804 | (complete_command): Only print each unique item once. | |
2805 | * completer.h (complete_line): Declare. | |
2806 | * completer.c (complete_line): New function. | |
2807 | (line_completion_function): Use it. | |
2808 | ||
17ef5d92 AC |
2809 | 2002-02-16 Andrew Cagney <[email protected]> |
2810 | ||
2811 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
2812 | * gdbarch.h, gdbarch.c: Re-generate. | |
2813 | ||
491b8946 DJ |
2814 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
2815 | ||
2816 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
2817 | ||
2818 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
2819 | ||
2820 | From Peter Schauer <[email protected]>: | |
2821 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
2822 | to convert an argument to a reference. | |
2823 | ||
dfe7f3ac CF |
2824 | 2002-02-15 Christopher Faylor <[email protected]> |
2825 | ||
2826 | * win32-nat.c (get_image_name): New function. | |
2827 | (handle_load_dll): Use get_image_name function. | |
2828 | (get_child_debug_event): Avoid registering debug events until possibly | |
2829 | execed process is started. | |
2830 | (child_create_inferior): Allow invocation via shell so that command | |
2831 | line redirection, etc. works ok. | |
2832 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
2833 | a shell is used to start a process. | |
2834 | ||
1d33e73a DJ |
2835 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
2836 | ||
2837 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
2838 | instead of find_register_by_number. | |
2839 | (cannot_store_register): Likewise. | |
2840 | ||
48cd0caa PM |
2841 | 2002-02-14 Pierre Muller <[email protected]> |
2842 | ||
aaa38bb5 | 2843 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
2844 | fprintf_unfiltered (gdb_stderr, ...). |
2845 | ||
8656e7d8 DJ |
2846 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
2847 | ||
2848 | * gdbserver/gdbserver.1: Document --attach. | |
2849 | ||
66e810cd RE |
2850 | 2002-02-15 Richard Earnshaw <[email protected]> |
2851 | ||
2852 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
2853 | descriptions. | |
2854 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
2855 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
2856 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
2857 | traditional breakpoint defines. | |
2858 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
2859 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
2860 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
2861 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
2862 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
2863 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
2864 | code out to ... | |
2865 | (arm_netbsd_init_abi_common): ... here; new function. | |
2866 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
2867 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
2868 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
2869 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
2870 | ||
97e03143 RE |
2871 | 2002-02-15 Richard Earnshaw <[email protected]> |
2872 | ||
2873 | * arm-tdep.h (enum arm_abi): New enum. | |
2874 | (struct gdbarch_tdep): New structure. | |
2875 | (LOWEST_PC): Provide a default. | |
2876 | (arm_gdbarch_register_os_abi): Declare new function. | |
2877 | * arm-tdep.c (arm_abi_names): New array. | |
2878 | (process_note_abi_tag_sections): New function. | |
2879 | (get_elfosabi): New function. | |
2880 | (arm_gdbarch_register_os_abi): New function. | |
2881 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
2882 | support for that ABI has been built in, then call the appropriate | |
2883 | configuration routine. Use gdbarch_num_regs() to get the number | |
2884 | of registers. | |
2885 | (arm_dump_tdep): New function. | |
2886 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
2887 | place-holder functions. | |
2888 | (_initialize_arm_tdep): Register them. | |
2889 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
2890 | ||
2891 | * armnbsd-tdep.c: New file. | |
2892 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
2893 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
2894 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
2895 | ||
2896 | * armnbsd-nat.c: Include regcache.h. | |
2897 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
2898 | ||
2899 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
2900 | ||
ad68be46 DJ |
2901 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2902 | ||
2903 | * gdbserver/Makefile.in: Fix typos in target rules. | |
2904 | ||
003d6d1d DJ |
2905 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2906 | ||
aaa38bb5 | 2907 | Fix part of PR gdb/267. |
003d6d1d DJ |
2908 | * linespec.c (find_methods): Handle constructors specially for now. |
2909 | ||
6b230f1b CV |
2910 | 2002-02-14 Corinna Vinschen <[email protected]> |
2911 | ||
2912 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
2913 | handling. | |
2914 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
2915 | standard_coerce_float_to_double(). | |
2916 | ||
1ea98d12 CF |
2917 | 2002-02-14 Christopher Faylor <[email protected]> |
2918 | ||
2919 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
2920 | GDBINIT_FILENAME. | |
2921 | ||
dd47e6fd EZ |
2922 | 2002-02-14 Elena Zannoni <[email protected]> |
2923 | ||
2924 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
2925 | find_variant_by_name, because it confuses the multiarch | |
2926 | framework. Return NULL if there isn't an architecture with the | |
2927 | user supplied name, instead of forcing a different one without | |
2928 | recording the change with the multiarch machinery. | |
2929 | (find_variant_by_name): Delete. | |
2930 | ||
d7e39b9e PS |
2931 | 2002-02-14 Peter Schauer <[email protected]> |
2932 | ||
2933 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
2934 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
2935 | ||
76e42a4f MH |
2936 | 2002-02-13 Martin M. Hunt <[email protected]> |
2937 | ||
aaa38bb5 | 2938 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
2939 | print_frame_info_listing_hook, set current_source_symtab. |
2940 | ||
0a30fbc4 DJ |
2941 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2942 | ||
2943 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
2944 | and remove unused $(INCLUDE_DIR). | |
2945 | Add regcache.c to OBS. | |
2946 | Add generated register protocol files to clean target. | |
2947 | Update dependencies for new objects, obsolete old target code. | |
2948 | ||
2949 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
2950 | new files. Remove various dead code. Update to use regcache | |
2951 | functionality. | |
2952 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
2953 | to quiet warning. | |
2954 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
2955 | constant. | |
2956 | (input_interrupt): Add integer parameter to match prototype | |
2957 | of a signal handler. | |
2958 | (outreg): Use register_data (). | |
2959 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
2960 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
2961 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
2962 | registers_from_string (). | |
2963 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
2964 | for error (), fatal (), and warning (). Update definition of | |
2965 | PBUFSIZ to use regcache functionality. Add include guard. | |
2966 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
2967 | (warning): New function. | |
2968 | ||
2969 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
2970 | Provide init_registers () function. | |
2971 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
2972 | Add include guard. | |
2973 | ||
2974 | * gdbserver/linux-arm-low.c: New file. | |
2975 | * gdbserver/linux-i386-low.c: New file. | |
2976 | * gdbserver/linux-ia64-low.c: New file. | |
2977 | * gdbserver/linux-m68k-low.c: New file. | |
2978 | * gdbserver/linux-mips-low.c: New file. | |
2979 | * gdbserver/linux-ppc-low.c: New file. | |
2980 | * gdbserver/linux-sh-low.c: New file. | |
2981 | ||
2982 | * gdbserver/regcache.c: New file. | |
2983 | * gdbserver/regcache.h: New file. | |
2984 | ||
2985 | * gdbserver/low-linux.c: Removed obsolete file. | |
2986 | ||
4cc841d0 DJ |
2987 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2988 | ||
2989 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
2990 | * config/i386/linux.mt: Likewise. | |
2991 | * config/ia64/linux.mt: Likewise. | |
2992 | * config/m68k/linux.mh: Likewise. | |
2993 | * config/powerpc/linux.mh: Likewise. | |
2994 | * config/mips/linux.mt: Likewise. | |
2995 | ||
2996 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
2997 | ||
2998 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
2999 | as (currently) obsolete for this target. | |
3000 | * config/i386/nbsd.mt: Likewise. | |
3001 | * config/i386/nbsdelf.mt: Likewise. | |
3002 | * config/m32r/m32r.mt: Likewise. | |
3003 | * config/m68k/m68klynx.mh: Likewise. | |
3004 | * config/m68k/nbsd.mt: Likewise. | |
3005 | * config/m68k/sun3os4.mh: Likewise. | |
3006 | * config/mips/vr5000.mt: Likewise. | |
3007 | * config/ns32k/nbsd.mt: Likewise. | |
3008 | * config/pa/hppabsd.mh: Likewise. | |
3009 | * config/pa/hppaosf.mh: Likewise. | |
3010 | * config/powerpc/nbsd.mt: Likewise. | |
3011 | * config/rs6000/rs6000lynx.mh: Likewise. | |
3012 | * config/s390/s390.mt: Likewise. | |
3013 | * config/s390/s390x.mt: Likewise. | |
3014 | * config/sparc/sparclynx.mh: Likewise. | |
3015 | * config/sparc/sun4os4.mh: Likewise. | |
3016 | * config/i386/x86-64linux.mt: Likewise. | |
3017 | * config/sparc/linux.mh: Likewise. | |
3018 | ||
a85f51e7 DJ |
3019 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
3020 | ||
3021 | * configure.tgt: Configure gdbserver only for known working | |
3022 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
3023 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
3024 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
3025 | * configure: Regenerated. | |
3026 | ||
65554fef MS |
3027 | 2002-02-13 Michael Snyder <[email protected]> |
3028 | ||
670a52db MS |
3029 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
3030 | ||
6dbdc4a3 MS |
3031 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
3032 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
3033 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
3034 | (make_mem_sec): Use a cast, avoid a warning. | |
3035 | ||
3036 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 3037 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
3038 | sizeof (host pointer) != sizeof (target pointer)). |
3039 | (procfs_make_note_section): Avoid overflow in psargs string. | |
3040 | ||
aaa38bb5 | 3041 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
3042 | implementation return an error. |
3043 | ||
3044 | 2002-02-13 Rodney Brown <[email protected]> | |
3045 | ||
3046 | * procfs.c (procfs_make_note_section): Provide a default definition | |
3047 | (for alpha-dec-osf4.0f). Fix typos. | |
3048 | ||
1e4d76e7 EZ |
3049 | 2002-02-13 Elena Zannoni <[email protected]> |
3050 | ||
3051 | * linux-proc.c: Add include of regcache.h. | |
3052 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
3053 | ||
b6d1a1d5 AC |
3054 | 2002-02-13 Andrew Cagney <[email protected]> |
3055 | ||
3056 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
3057 | * memattr.c (create_mem_region): Disallow useless empty region. |
3058 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 3059 | non-overlapping. |
b6d1a1d5 | 3060 | |
6c6ea35e MC |
3061 | 2002-02-13 Michael Chastain <[email protected]> |
3062 | ||
3063 | * defs.h: Kill CONST_PTR. | |
3064 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
3065 | * c-lang.c (c_builtin_types): Likewise. | |
3066 | * ch-lang.c (ch_builtin_types): Likewise. | |
3067 | * f-lang.c (f_builtin_types): Likewise. | |
3068 | * language.c (unknown_builtin_types): Likewise. | |
3069 | * m2-lang.c (m2_builtin_types): Likewise. | |
3070 | * p-lang.c (pascal_builtin_types): Likewise. | |
3071 | * scm-lang.c (c_builtin_types): Likewise. | |
3072 | ||
3e0b0f48 KS |
3073 | 2002-02-13 Keith Seitz <[email protected]> |
3074 | ||
3075 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
3076 | ||
67255d04 RE |
3077 | 2002-02-13 Richard Earnshaw <[email protected]> |
3078 | ||
3079 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
3080 | with other related struct-returning functions. | |
3081 | (arm_extract_struct_value_address): New function. | |
3082 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
3083 | initialize float_format, double_format and long_double_format as | |
3084 | appropriate to the endianness of the target. | |
3085 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
3086 | (arm_use_struct_convention): Delete declaration. | |
3087 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
3088 | ||
079777f6 KS |
3089 | 2002-02-13 Keith Seitz <[email protected]> |
3090 | ||
3091 | * defs.h (core_addr_to_string_nz): New function. | |
3092 | ||
34588f23 MK |
3093 | 2002-02-13 Mark Kettenis <[email protected]> |
3094 | ||
3095 | Apply missing bits of 2002-01-15 patch. | |
3096 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
3097 | (fill_fpregset): Use i387_fill_fsave. | |
3098 | ||
49b563f9 KS |
3099 | 2002-02-12 Keith Seitz <[email protected]> |
3100 | ||
49b563f9 KS |
3101 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
3102 | (core_addr_to_string_nz): New function. | |
3103 | ||
aeb98c60 RE |
3104 | 2002-02-11 Richard Earnshaw <[email protected]> |
3105 | ||
3106 | * arm-linux-nat.c: Really include arm-tdep.h. | |
3107 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
3108 | ||
65554fef MS |
3109 | 2002-02-11 Michael Snyder <[email protected]> |
3110 | ||
3111 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
3112 | (gcore section): Ifdef for Solaris and Unixware only. | |
3113 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
3114 | per thread (not one prstatus or pstatus). | |
3115 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
3116 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
3117 | once before iterating over threads. | |
3118 | ||
34e8f22d RE |
3119 | 2002-02-11 Richard Earnshaw <[email protected]> |
3120 | ||
3121 | * arm-tdep.h: New file. | |
3122 | * arm-tdep.c: Include arm-tdep.h. | |
3123 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
3124 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
3125 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
3126 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
3127 | (arm_extract_return_value, arm_register_name): Make static. | |
3128 | (arm_software_single_step): Similarly. Fix types in declaration. | |
3129 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
3130 | (arm_store_return_value, arm_store_struct_return): New functions. | |
3131 | (arm_gdbarch_init): Register the above functions. Also register | |
3132 | call_dummy_start_offset, sizeof_call_dummy_words, | |
3133 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
3134 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 3135 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
3136 | prologue_cache.saved_regs here, rather than ... |
3137 | (_initialize_arm_tdep): ... here. | |
3138 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
3139 | declarations. | |
3140 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
3141 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
3142 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
3143 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
3144 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
3145 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
3146 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
3147 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
3148 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
3149 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
3150 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
3151 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
3152 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
3153 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
3154 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
3155 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
3156 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
3157 | interface. | |
3158 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
3159 | * remote-rdi.c remote-rdp.c: Likewise. | |
3160 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
3161 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
3162 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
3163 | definition. | |
3164 | ||
3165 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
3166 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
3167 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
3168 | from non-ARM_ prefixed definitions. | |
3169 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
3170 | all uses of above. | |
3171 | * remote-rdi.c remote-rdp.c: Likewise. | |
3172 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
3173 | ||
148754e5 RE |
3174 | 2002-02-11 Richard Earnshaw <[email protected]> |
3175 | ||
3176 | * arm-tdep.c (arm_frameless_function_invocation) | |
3177 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
3178 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
3179 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
3180 | (arm_pop_frame, arm_get_next_pc): Make static. | |
3181 | (arm_gdbarch_init): Register above in gdbarch structure. | |
3182 | (arm_read_fp): Renamed from arm_target_read_fp. | |
3183 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
3184 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
3185 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
3186 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
3187 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
3188 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
3189 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
3190 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
3191 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
3192 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
3193 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 3194 | |
434d2d4f DJ |
3195 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
3196 | ||
3197 | * symtab.c (compare_search_syms): New function. | |
3198 | (sort_search_symbols): New function. | |
3199 | (search_symbols): Sort symbols after searching rather than | |
3200 | before. | |
3201 | ||
55241689 AC |
3202 | 2002-02-10 Andrew Cagney <[email protected]> |
3203 | ||
3204 | * NEWS: Linux -> GNU/Linux. | |
3205 | ||
028c194b AC |
3206 | 2002-02-10 Andrew Cagney <[email protected]> |
3207 | ||
3208 | * gdbarch.sh: For for level one methods, disallow a definition | |
3209 | when partially multi-arched. Add comments explaining rationale. | |
3210 | * gdbarch.h: Re-generate. | |
3211 | ||
6acf50cd AC |
3212 | 2002-02-10 Andrew Cagney <[email protected]> |
3213 | ||
3214 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
3215 | multi-arch partial. | |
aaa38bb5 | 3216 | |
50248794 AC |
3217 | 2002-02-10 Andrew Cagney <[email protected]> |
3218 | ||
3219 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
3220 | field. Use diff -u. | |
3221 | * gdbarch.c: Re-generate. | |
3222 | ||
c30e0066 AC |
3223 | 2002-02-10 Andrew Cagney <[email protected]> |
3224 | ||
9b56c5f3 | 3225 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
3226 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
3227 | partial. | |
3228 | ||
6e6d6484 AC |
3229 | 2002-02-10 Andrew Cagney <[email protected]> |
3230 | ||
3231 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
3232 | multi-arch partial. | |
3233 | (PUSH_ARGUMENTS): Switch to using predefault. | |
3234 | * gdbarch.c: Regenerate. | |
3235 | ||
c203844d AC |
3236 | 2002-02-10 Andrew Cagney <[email protected]> |
3237 | ||
3238 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
3239 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
3240 | partial. Default to default_push_arguments. | |
3241 | * gdbarch.h, gdbarch.c: Regenerate. | |
3242 | ||
b5a2688f AC |
3243 | 2002-02-09 Andrew Cagney <[email protected]> |
3244 | ||
3245 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
3246 | comments. | |
3247 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
3248 | * top.c (throw_exception, catcher): Ditto. | |
3249 | * sparclet-rom.c (sparclet_load): Ditto. | |
3250 | * remote.c (interrupt_query, minitelnet): Ditto. | |
3251 | * remote-sds.c (interrupt_query): Ditto. | |
3252 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
3253 | * ocd.c (interrupt_query): Ditto. | |
3254 | * monitor.c (monitor_interrupt_query): Ditto. | |
3255 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
3256 | * target.h: Update comment. | |
aaa38bb5 | 3257 | |
b5a2688f | 3258 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 3259 | |
2fa5c1e0 AC |
3260 | 2002-02-09 Andrew Cagney <[email protected]> |
3261 | ||
3262 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
3263 | default_double_format. | |
3264 | * gdbarch.h, gdbarch.c: Re-generate. | |
3265 | * findvar.c (floatformat_unknown): Delete variable definition. | |
3266 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
3267 | ||
da966255 JB |
3268 | 2002-02-09 Jim Blandy <[email protected]> |
3269 | ||
3270 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
3271 | prototyped function types. | |
3272 | ||
123a4891 AC |
3273 | 2002-02-09 Andrew Cagney <[email protected]> |
3274 | ||
3275 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
3276 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
3277 | ||
fb39c8f3 PS |
3278 | 2002-02-09 Peter Schauer <[email protected]> |
3279 | ||
3280 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
3281 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
3282 | now _initialize_xcoffsolib gets called again and overrides the | |
3283 | commands from solib.c in a native configuration. | |
3284 | ||
0b87a11d MK |
3285 | 2002-02-09 Mark Kettenis <[email protected]> |
3286 | ||
3287 | * doublest.c (store_typed_floating): Don't try to return a value. | |
3288 | Fixes PR gdb/290. | |
3289 | ||
bdc2fc72 JB |
3290 | 2002-02-08 Jim Blandy <[email protected]> |
3291 | ||
3292 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
3293 | is prototyped and has no arguments, print its argument list as | |
3294 | `(void)'. | |
3295 | ||
da69bbcf CD |
3296 | 2002-02-08 Chris Demetriou <[email protected]> |
3297 | ||
3298 | * MAINTAINERS (write-after-approval): Add myself. | |
3299 | (paper-trail): I've escaped! | |
aaa38bb5 | 3300 | |
b69571f5 CF |
3301 | 2002-02-08 Christopher Faylor <[email protected]> |
3302 | ||
3303 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
3304 | changes. | |
3305 | (_initialize_check_for_gdb_ini): Ditto. | |
3306 | ||
f6871398 MH |
3307 | 2002-02-08 Martin M. Hunt <[email protected]> |
3308 | ||
3309 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
3310 | xaprintf -> xasprintf. | |
3311 | ||
4e52d31c PM |
3312 | 2002-02-08 Pierre Muller <[email protected]> |
3313 | ||
3314 | * win32-nat.c: Remove use of printf and sprintf functions. | |
3315 | ||
39bbf761 RE |
3316 | 2002-02-08 Richard Earnshaw <[email protected]> |
3317 | ||
3318 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
3319 | (arm_push_arguments): Likewise. | |
3320 | (arm_gdbarch_init): New function. | |
3321 | (_initialize_arm_tdep): Call it. | |
3322 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
3323 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
3324 | (FRAME_CHAIN_VALID): Delete. | |
3325 | (arm_frame_chain_valid): Delete declaration. | |
3326 | (PUSH_ARGUMENTS): Delete. | |
3327 | (arm_push_arguments): Delete declaration. | |
3328 | (CALL_DUMMY_P): Delete. | |
3329 | ||
9c9532c9 CV |
3330 | 2002-02-08 Andrew Cagney <[email protected]> |
3331 | Corinna Vinschen <[email protected]> | |
3332 | ||
3333 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
3334 | on builtin float types. | |
3335 | ||
4e8f7a8b DJ |
3336 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
3337 | ||
3338 | * utils.c: Include <curses.h> before "bfd.h". | |
3339 | * tui/tui-hooks.c: Likewise. | |
3340 | * tui/tui.c: Likewise. | |
3341 | * tui/tuiCommand.c: Likewise. | |
3342 | * tui/tuiData.c: Likewise. | |
3343 | * tui/tuiDataWin.c: Likewise. | |
3344 | * tui/tuiDisassem.c: Likewise. | |
3345 | * tui/tuiGeneralWin.c: Likewise. | |
3346 | * tui/tuiIO.c: Likewise. | |
3347 | * tui/tuiLayout.c: Likewise. | |
3348 | * tui/tuiRegs.c: Likewise. | |
3349 | * tui/tuiSource.c: Likewise. | |
3350 | * tui/tuiSourceWin.c: Likewise. | |
3351 | * tui/tuiStack.c: Likewise. | |
3352 | * tui/tuiWin.c: Likewise. | |
3353 | ||
cd4bffcf EZ |
3354 | 2002-02-07 Elena Zannoni <[email protected]> |
3355 | ||
3356 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
3357 | to include space for pseudoregs as well. Update loops accordingly. | |
3358 | (sh_fp_frame_init_saved_regs): Ditto. | |
3359 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
3360 | ||
26806ce2 AC |
3361 | 2002-02-07 Andrew Cagney <[email protected]> |
3362 | ||
3363 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
3364 | Add Richard Earnshaw to Arm maintainers. | |
3365 | ||
97fdab62 AC |
3366 | 2002-02-07 Andrew Cagney <[email protected]> |
3367 | ||
a6b98203 AC |
3368 | * defs.h (warning_begin): Delete declaration. |
3369 | ||
97fdab62 AC |
3370 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
3371 | Delete macro. | |
3372 | ||
78b29b40 MS |
3373 | 2002-02-07 Michael Snyder <[email protected]> |
3374 | ||
aaa38bb5 | 3375 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
3376 | Logic bug, remove misplaced else. |
3377 | ||
d8849953 KD |
3378 | 2002-02-07 Klee Dienes <[email protected]> |
3379 | ||
3380 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
3381 | characters that need to be quoted when building a string for the | |
3382 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
3383 | when trying to evaluate "str!str". | |
aaa38bb5 | 3384 | |
095778a0 NC |
3385 | 2002-02-06 Nick Clifton <[email protected]> |
3386 | ||
3387 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
3388 | defined. | |
3389 | ||
1900040c MS |
3390 | 2002-02-04 Michael Snyder <[email protected]> |
3391 | ||
3392 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
3393 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 3394 | |
1900040c MS |
3395 | * breakpoint.c (create_internal_breakpoint): New function. |
3396 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
3397 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
3398 | (create_thread_event_breakpoint): Ditto. | |
3399 | (create_solib_event_breakpoint): Ditto. | |
3400 | (create_overlay_event_breakpoint): New function. | |
3401 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
3402 | (update_breakpoints_after_exec): Delete and re-initialize | |
3403 | overlay event breakpoints after an exec. Add FIXME comment | |
3404 | about longjmp breakpoint. | |
3405 | (print_it_typical): Ignore overlay event breakpoints. | |
3406 | (print_one_breakpoint): Ditto. | |
3407 | (mention): Ditto. | |
3408 | (bpstat_what): Do not stop for overlay event breakpoints. | |
3409 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
3410 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
3411 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
3412 | ||
3413 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
3414 | (overlay_manual_command): Disable overlay breakpoints. | |
3415 | (overlay_off_command): Disable overlay breakpoints. | |
3416 | ||
082fc60d RE |
3417 | 2002-02-06 Richard Earnshaw <[email protected]> |
3418 | ||
3419 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
3420 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
3421 | to here from config/tm-arm.h. | |
3422 | (coff_sym_is_thumb): Make static. | |
3423 | (arm_elf_make_msymbol_special): New function. | |
3424 | (arm_coff_make_msymbol_special): New function. | |
3425 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
3426 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
3427 | (coff_sym_is_thumb): Delete declaration. | |
3428 | (arm_elf_make_msymbol_special): Declare. | |
3429 | (arm_coff_make_msymbol_special): Declare. | |
3430 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
3431 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
3432 | ||
039c5766 RE |
3433 | 2002-02-06 Richard Earnshaw <[email protected]> |
3434 | ||
3435 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
3436 | ||
3437 | 2002-02-06 Richard Earnshaw <[email protected]> | |
3438 | ||
3439 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
3440 | * gdbarch.c gdbarch.h: Regenerate. | |
3441 | * arch-utils.c (default_print_float_info): New function. | |
3442 | * arch-utils.h (default_print_float_info): Prototype it. | |
3443 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
3444 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
3445 | (PRINT_FLOAT_INFO): Document it. | |
3446 | ||
3447 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
3448 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
3449 | (PRINT_FLOAT_INFO): Define. | |
3450 | ||
58fa08f0 PM |
3451 | 2002-02-06 Pierre Muller <[email protected]> |
3452 | ||
aaa38bb5 | 3453 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
3454 | Add typecast to sprintf argument to suppress a warning. |
3455 | ||
7393af7c PM |
3456 | 2002-02-05 Pierre Muller <[email protected]> |
3457 | ||
58fa08f0 | 3458 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
3459 | to allow easier handling of pass state. |
3460 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
3461 | that gives exception name and address. | |
3462 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 3463 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 3464 | exceptions added. |
aaa38bb5 AJ |
3465 | (child_continue): Correctly report continue_status. |
3466 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 3467 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 3468 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
3469 | the exception should be passed to debuggee or not. |
3470 | ||
6af4589c MS |
3471 | 2002-02-05 Michael Snyder <[email protected]> |
3472 | ||
3473 | * regcache.c (fetch_register): Call target_fetch_register | |
3474 | only if we don't call FETCH_PSEUDO_REGISTER. | |
3475 | (store_register): Call target_store_register only if we | |
3476 | don't call STORE_PSEUDO_REGISTER. | |
3477 | ||
a2cf933a EZ |
3478 | 2002-02-05 Elena Zannoni <[email protected]> |
3479 | ||
3480 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
3481 | ELF_MAKE_MSYMBOL_SPECIAL. | |
3482 | * gdbarch.c, gdbarch.h: Regenerate. | |
3483 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 3484 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
3485 | * elfread.c (elf_symtab_read): Compile use of |
3486 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
3487 | multiarched. | |
3488 | * coffread.c (coff_symtab_read): Ditto, for | |
3489 | COFF_MAKE_MSYMBOL_SPECIAL. | |
3490 | ||
6bb7be43 JB |
3491 | 2002-02-05 Jim Blandy <[email protected]> |
3492 | ||
3493 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
3494 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
3495 | the appropriate truncation for target addresses, even when | |
3496 | CORE_ADDR is larger than a target address. | |
3497 | ||
e18651ec DJ |
3498 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3499 | ||
3500 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
3501 | to (int *). | |
3502 | ||
6b2725be DJ |
3503 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3504 | ||
3505 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
3506 | code. | |
3507 | ||
fca9e603 DJ |
3508 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3509 | ||
3510 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
3511 | ||
6c537a52 DJ |
3512 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3513 | ||
3514 | * gdbserver/linux-low.c: Remove unused include files. | |
3515 | ||
d844cde6 DJ |
3516 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3517 | ||
3518 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
3519 | (read_inferior_memory): Use it. | |
3520 | (write_inferior_memory): Likewise. | |
3521 | ||
d07c63e7 DJ |
3522 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3523 | ||
3524 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
3525 | grubbing through sys_errlist. | |
3526 | ||
da6d8c04 DJ |
3527 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3528 | ||
3529 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
3530 | ||
5b421780 PM |
3531 | 2002-02-04 Pierre Muller <[email protected]> |
3532 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
3533 | ||
9f60d481 AC |
3534 | 2002-02-04 Andrew Cagney <[email protected]> |
3535 | ||
3536 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
3537 | (do_sfunc, set_cmd_sfunc): New functions. | |
3538 | ||
3539 | * command.h (struct cmd_list_element): Add field func. | |
3540 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
3541 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
3542 | * cli/cli-decode.h: Ditto. | |
3543 | ||
3544 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
3545 | (help_all, help_cmd_list): Ditto. | |
3546 | (find_cmd, complete_on_cmdlist): Ditto. | |
3547 | * top.c (execute_command): Ditto. | |
3548 | ||
3549 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
3550 | function.sfunc. | |
3551 | ||
3552 | * infcmd.c (notice_args_read): Fix function signature. | |
3553 | ||
3554 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
3555 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
3556 | * utils.c (initialize_utils): Ditto. | |
3557 | * maint.c (_initialize_maint_cmds): Ditto. | |
3558 | * infrun.c (_initialize_infrun): Ditto. | |
3559 | * demangle.c (_initialize_demangler): Ditto. | |
3560 | * remote.c (add_packet_config_cmd): Ditto. | |
3561 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
3562 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
3563 | * proc-api.c (_initialize_proc_api): Ditto. | |
3564 | * kod.c (_initialize_kod): Ditto. | |
3565 | * valprint.c (_initialize_valprint): Ditto. | |
3566 | * top.c (init_main): Ditto. | |
3567 | * infcmd.c (_initialize_infcmd): Ditto. | |
3568 | * corefile.c (_initialize_core): Ditto. | |
3569 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
3570 | * arch-utils.c (initialize_current_architecture): Ditto. | |
3571 | (_initialize_gdbarch_utils): Ditto. | |
3572 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
3573 | ||
3574 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
3575 | * wince.c (_initialize_inftarg): Ditto. | |
3576 | * symfile.c (_initialize_symfile): Ditto. | |
3577 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
3578 | * language.c (_initialize_language): Ditto. | |
3579 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
3580 | ||
f9ba0717 MS |
3581 | 2002-02-04 Michael Snyder <[email protected]> |
3582 | ||
3583 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
3584 | ||
0c74b2a7 DJ |
3585 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
3586 | ||
3587 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
3588 | Add rules for building the register data files. | |
3589 | ||
c638789f DJ |
3590 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
3591 | ||
3592 | * regformats/regdat.sh: Add braces to the definition of | |
3593 | expedite_regs_${arch}. | |
3594 | ||
db253027 DJ |
3595 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
3596 | ||
3597 | * regformats/regdef.h (struct reg): Add comment describing the | |
3598 | requirements for offset and size fields. | |
3599 | ||
206be19c AS |
3600 | 2002-02-04 Andreas Schwab <[email protected]> |
3601 | ||
3602 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
3603 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
3604 | ||
181c1381 RE |
3605 | 2002-02-04 Richard Earnshaw <[email protected]> |
3606 | ||
3607 | * gdbarch.sh (copyright): Update years in generated header. | |
3608 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 3609 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
3610 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
3611 | * dbxread.c: Likewise. | |
3612 | * dwarfread.c: Likewise. | |
3613 | * elfread.c: Likewise. | |
3614 | * somread.c: Likewise. | |
3615 | ||
3616 | * arm-tdep.c (arm_smash_text_address): New function. | |
3617 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
3618 | ||
fa4ba8da PM |
3619 | 2002-02-04 Pierre Muller <[email protected]> |
3620 | ||
3621 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 3622 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 3623 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 3624 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
3625 | of debug registers. |
3626 | (debug_registers_changed): New variable. Reflects when debug registers | |
3627 | are changed and need to be written to inferior. | |
aaa38bb5 | 3628 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
3629 | was set, used when new threads are created. |
3630 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
3631 | i386-nat code. | |
3632 | (thread_rec): Set dr array if id is the thread of current_event . | |
3633 | (child_continue, child_resume): Change the debug registers for all | |
3634 | threads if debug_registers_changed. | |
3635 | (child_add_thread): Change the debug registers if debug_registers_used. | |
3636 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
3637 | Link nm.h to new nm-cygwin.h file. | |
3638 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
3639 | of hardware registers. | |
3640 | ||
a73c86fb AC |
3641 | 2002-02-03 Andrew Cagney <[email protected]> |
3642 | ||
3643 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
3644 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
3645 | <[email protected]> IEEE_FLOAT removal. | |
3646 | ||
acf5ed49 DJ |
3647 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3648 | ||
3649 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
3650 | cp_print_class_method. | |
3651 | * valops.c (search_struct_method): If there is only one method | |
3652 | and args is NULL, return that method. | |
3653 | ||
493d28d5 DJ |
3654 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3655 | ||
3656 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
3657 | accessing tag_name directly. | |
3658 | ||
7495dfdb DJ |
3659 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3660 | ||
3661 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
3662 | of accessing tag_name directly. | |
3663 | ||
dd6bda65 DJ |
3664 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3665 | ||
3666 | PR gdb/280 | |
3667 | * gdbtypes.c (replace_type): New function. | |
3668 | * gdbtypes.h (replace_type): Add prototype. | |
3669 | * stabsread.c (read_type): Use replace_type. | |
3670 | ||
88fe217c RE |
3671 | 2002-02-03 Richard Earnshaw <[email protected]> |
3672 | ||
3673 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
3674 | ||
e5d66720 PS |
3675 | 2002-02-03 Peter Schauer <[email protected]> |
3676 | ||
3677 | * breakpoint.c (break_at_finish_command): Really export. | |
3678 | (break_at_finish_at_depth_command): Ditto. | |
3679 | (tbreak_at_finish_command): Ditto. | |
3680 | * hppa-tdep.c: Include completer.h. | |
3681 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
3682 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
3683 | ||
fffee0be AC |
3684 | 2002-02-01 Andrew Cagney <[email protected]> |
3685 | ||
3686 | * utils.c (do_write): New function. | |
3687 | (error_stream): Rewrite combining the code from error_begin and | |
3688 | verror. | |
3689 | (verror): Rewrite using error_stream. | |
3690 | (error_begin): Delete function. | |
3691 | ||
255e7dbf AC |
3692 | 2002-02-01 Andrew Cagney <[email protected]> |
3693 | ||
3694 | * utils.c (error_begin): Make static. | |
3695 | * defs.h (error_begin): Delete declaration. | |
3696 | ||
3697 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
3698 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
3699 | cplusplus_hint and return_to_top_level. | |
3700 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
3701 | and return_to_top_level. | |
3702 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
3703 | ||
ddfe3c15 AC |
3704 | 2002-02-01 Andrew Cagney <[email protected]> |
3705 | ||
3706 | * language.h (type_error, range_error): Make string parameter | |
3707 | constant. | |
3708 | * language.c (warning_pre_print): Delete extern declaration. | |
3709 | * dwarfread.c (warning_pre_print): Ditto. | |
3710 | * language.c (type_error, range_error): Rewrite to use verror and | |
3711 | vwarning instead of warning_begin. | |
3712 | ||
03ac34d5 MS |
3713 | 2002-02-01 Michael Snyder <[email protected]> |
3714 | ||
261c4ca2 MS |
3715 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
3716 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 3717 | |
e00d1dc8 AC |
3718 | 2002-02-01 Andrew Cagney <[email protected]> |
3719 | ||
3720 | * command.h (NO_FUNCTION): Delete macro. | |
3721 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
3722 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
3723 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
3724 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
3725 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 3726 | |
76b79d6e DJ |
3727 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
3728 | ||
3729 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
3730 | Update ``this'' pointer when calling virtual functions. | |
3731 | ||
799f9e91 MS |
3732 | 2002-02-01 Michael Snyder <[email protected]> |
3733 | ||
c7bd442c | 3734 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
3735 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
3736 | ||
3cf384d4 DJ |
3737 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
3738 | ||
3739 | * regformats/reg-arm.dat: New file. | |
3740 | * regformats/reg-i386.dat: New file. | |
3741 | * regformats/reg-ia64.dat: New file. | |
3742 | * regformats/reg-m68k.dat: New file. | |
3743 | * regformats/reg-mips.dat: New file. | |
3744 | * regformats/reg-ppc.dat: New file. | |
3745 | * regformats/reg-sh.dat: New file. | |
3746 | * regformats/regdef.h: New file. | |
3747 | * regformats/regdat.sh: New file. | |
3748 | ||
0defa245 RE |
3749 | 2002-02-01 Richard Earnshaw <[email protected]> |
3750 | ||
3751 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
3752 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
3753 | (arm_frame_num_args): New function. | |
3754 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
3755 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
3756 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
3757 | ||
405f26e6 MS |
3758 | 2002-01-31 Michael Snyder <[email protected]> |
3759 | ||
502fd408 MS |
3760 | * breakpoint.c (break_at_finish_command): Export. |
3761 | (break_at_finish_at_depth_command): Export. | |
3762 | (tbreak_at_finish_command): Export. | |
3763 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
3764 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
3765 | "tbreak" commands, which are HPPA specific. | |
3766 | ||
7d35e135 MS |
3767 | * printcmd.c (disassemble_command): Remove an ancient |
3768 | artifact of an old merge. | |
3769 | ||
aaa38bb5 | 3770 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
3771 | Define enum constant values for overlay mode. |
3772 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
3773 | (overlay_is_mapped, overlay_auto_command, |
3774 | overlay_manual_command): Ditto. | |
d874f1e2 | 3775 | |
aaa38bb5 AJ |
3776 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
3777 | breakpoint_here_p, breakpoint_inserted_here_p, | |
3778 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
3779 | describe_other_breakpoints, check_duplicates, clear_command): |
3780 | Coding standard fixes. | |
3781 | ||
8add0441 | 3782 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 3783 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
3784 | code: check bfd SEC_READONLY flag for section. |
3785 | ||
e351066e AC |
3786 | 2002-01-31 Andrew Cagney <[email protected]> |
3787 | ||
7d35e135 | 3788 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 3789 | |
8a48e967 DJ |
3790 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
3791 | ||
3792 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
3793 | data symbols, since we search based on textlow and texthigh. | |
3794 | (find_pc_sect_symtab): Likewise. | |
3795 | ||
f5a96129 AC |
3796 | 2002-01-30 Andrew Cagney <[email protected]> |
3797 | ||
3798 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
3799 | * utils.c (vwarning): New function. |
3800 | (warning): Call vwarning. | |
3801 | (warning_begin): Delete function. | |
3802 | ||
3803 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
3804 | the warning message. | |
3805 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
3806 | warning_begin. | |
3807 | ||
cefd4ef5 MS |
3808 | 2002-01-30 Michael Snyder <[email protected]> |
3809 | ||
1a703748 MS |
3810 | * NEWS: Mention "set trust-readonly-sections" command. |
3811 | Mention generate-core-file command. | |
cefd4ef5 | 3812 | |
3a11626d MS |
3813 | 2002-01-15 Michael Snyder <[email protected]> |
3814 | ||
3815 | * target.c: New command, "set trust-readonly-sections on". | |
3816 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
3817 | by reading them from the object file instead of from the target. | |
3818 | (initialize_targets): Register command "set trust-readonly-sections". | |
3819 | ||
d1c7e53b AC |
3820 | 2002-01-29 Andrew Cagney <[email protected]> |
3821 | ||
3822 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
3823 | pseudo-regs using a single loop. | |
3824 | ||
e2c9a72c AC |
3825 | 2002-01-30 Andrew Cagney <[email protected]> |
3826 | ||
3827 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
3828 | ||
69824b4e MK |
3829 | 2002-01-15 Rodney Brown <[email protected]> |
3830 | ||
3831 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
3832 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
3833 | * i386v4-nat.c: Include i387-nat.h. | |
3834 | (supply_fpregset): Use i387_supply_fsave. | |
3835 | (fill_fpregset): Use i387_fill_fsave. | |
3836 | ||
6eb69eab RE |
3837 | 2002-01-30 Richard Earnshaw <[email protected]> |
3838 | ||
3839 | * arm-tdep.c (arm_call_dummy_words): Define. | |
3840 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
3841 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
3842 | (CALL_DUMMY_WORDS): Define. | |
3843 | (arm_call_dummy_words): Declare. | |
3844 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
3845 | (arm_linux_call_dummy_words): Declare. | |
3846 | ||
9852326a AS |
3847 | 2002-01-30 Andreas Schwab <[email protected]> |
3848 | ||
3849 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
3850 | instead of referencing registers[] directly. | |
3851 | ||
977a3030 AC |
3852 | 2002-01-29 Andrew Cagney <[email protected]> |
3853 | ||
3854 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
3855 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
3856 | ||
2076c72b MS |
3857 | 2002-01-28 Michael Snyder <[email protected]> |
3858 | ||
3859 | * regcache.c (legacy_read_register_gen): Need to be able to | |
3860 | read pseudo-register as well as real register. | |
3861 | (legacy_write_register_gen): Ditto. | |
3862 | ||
8fcc723b AC |
3863 | 2002-01-28 Andrew Cagney <[email protected]> |
3864 | ||
3865 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
3866 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
3867 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
3868 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
3869 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
3870 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
3871 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
3872 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
3873 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
3874 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
3875 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
3876 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
3877 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
3878 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
3879 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
3880 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
3881 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
3882 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
3883 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
3884 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
3885 | ||
afe64c1a AC |
3886 | 2002-01-28 Andrew Cagney <[email protected]> |
3887 | ||
3888 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
3889 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
3890 | (initialize_current_architecture): Update target_byte_order using | |
3891 | information from BFD. | |
aaa38bb5 | 3892 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
3893 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
3894 | ||
75bc7ddf AC |
3895 | 2002-01-28 Andrew Cagney <[email protected]> |
3896 | ||
3897 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
3898 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
3899 | ||
3900 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
3901 | #ifdef INVALID_FLOAT. | |
3902 | * infcmd.c (do_registers_info): Ditto. | |
3903 | * values.c (unpack_double): Ditto. Add comment. | |
3904 | ||
3905 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
3906 | already commented out. | |
3907 | ||
0280a90a AS |
3908 | 2002-01-26 Andreas Schwab <[email protected]> |
3909 | ||
3910 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
3911 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
3912 | registers and add support for PTRACE_GETREGS. | |
3913 | ||
7072a954 AC |
3914 | 2002-01-24 Andrew Cagney <[email protected]> |
3915 | ||
3916 | GDB 5.1.1 released from 5.1 branch. | |
3917 | * NEWS: Add 5.1.1 news. | |
3918 | * README: Sync with 5.1 branch. | |
3919 | ||
86f902e0 FF |
3920 | 2002-01-23 Fred Fish <[email protected]> |
3921 | ||
3922 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
3923 | stabstring on initial malloc. Reallocing will copy it for us, | |
3924 | if necessary. | |
3925 | ||
8af51c36 EZ |
3926 | 2002-01-23 Elena Zannoni <[email protected]> |
3927 | ||
aaa38bb5 | 3928 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
3929 | (HFILES_NO_SRCDIR): Remove hpread.h. |
3930 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
3931 | (hpread.o): Update dependencies. | |
3932 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
3933 | ||
3934 | * hp-psymtab-read.c: Remove file. | |
3935 | * hp-symtab-read.c: Remove file. | |
3936 | * hpread.h: Remove file. | |
3937 | ||
3938 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
3939 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
3940 | January 1999. | |
3941 | ||
3942 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 3943 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
3944 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
3945 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
3946 | ||
dc5cfeb6 EZ |
3947 | 2002-01-23 Elena Zannoni <[email protected]> |
3948 | ||
3949 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
3950 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
3951 | variable and use that, instead of calling the function several | |
3952 | times. | |
3953 | ||
ea87b71b AO |
3954 | 2002-01-24 Alexandre Oliva <[email protected]> |
3955 | ||
3956 | * configure.host: Accept sparcv9 as alias for sparc64. | |
3957 | * configure.tgt: Likewise. | |
3958 | ||
13fc0c2f KB |
3959 | 2002-01-22 Kevin Buettner <[email protected]> |
3960 | ||
3961 | * solib-aix5.c (build_so_list_from_mapfile) | |
3962 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
3963 | arguments is not reversed. | |
3964 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
3965 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 3966 | |
7bd872fe EZ |
3967 | 2002-01-22 Elena Zannoni <[email protected]> |
3968 | ||
3969 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
3970 | modified version of obsolete sh_fetch_pseudo_register. | |
3971 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
3972 | (sh4_register_read): New function. | |
3973 | (sh_pseudo_register_write): New function. Renamed and modified | |
3974 | version of obsolete sh_store_pseudo_register. | |
3975 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
3976 | (sh4_register_write): New function. | |
3977 | (sh_gdbarch_init): Remove setting of gdbarch function | |
3978 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
3979 | register_convert_to_raw, register_convert_to_virtual, | |
3980 | register_convertible. | |
3981 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
3982 | taken care by architecture specific functions | |
3983 | register_read/register_write. | |
3984 | (sh_sh4_register_convert_to_virtual): Make static. | |
3985 | (sh_sh4_register_convert_to_raw): Ditto. | |
3986 | ||
069e84fd AC |
3987 | 2002-01-22 Andrew Cagney <[email protected]> |
3988 | ||
3989 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
3990 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
3991 | ||
3992 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
3993 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
3994 | builtin_type_ieee_double_little, | |
3995 | builtin_type_ieee_double_littlebyte_bigword, | |
3996 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
3997 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
3998 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
3999 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
4000 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
4001 | ||
211a4f69 CV |
4002 | 2002-01-22 Corinna Vinschen <[email protected]> |
4003 | ||
4004 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
4005 | parameter. Set frameless flag if it exists and depended of | |
4006 | whether the scanned function is frameless or not. | |
4007 | (xstormy16_skip_prologue): If function is frameless, return | |
4008 | result of xstormy16_scan_prologue(). | |
4009 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
4010 | call. | |
4011 | ||
f81353e4 EZ |
4012 | 2002-01-21 Elena Zannoni <[email protected]> |
4013 | ||
4014 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
4015 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
4016 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
4017 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
4018 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
4019 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
4020 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
4021 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
4022 | gdbarch_tdep() just once, assign result to variable and use that, | |
4023 | instead of calling the function several times. | |
4024 | ||
63c73a17 MK |
4025 | 2002-01-20 Mark Kettenis <[email protected]> |
4026 | ||
4027 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
4028 | macros instead of LAST_FPU_CTRL_REGNUM. | |
4029 | (store_register): Likewise. | |
4030 | ||
39ad761d JB |
4031 | 2002-01-21 Jim Blandy <[email protected]> |
4032 | ||
4033 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
4034 | is up-to-date before running the program, not just when a program | |
4035 | exits. | |
4036 | ||
3d74b771 FF |
4037 | 2002-01-21 Fred Fish <[email protected]> |
4038 | ||
4039 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
4040 | when we have found all instructions we are looking for. | |
4041 | ||
966fbf70 RE |
4042 | 2002-01-21 Richard Earnshaw <[email protected]> |
4043 | ||
4044 | * arm-tdep.c (arm_register_name): New function. | |
4045 | (arm_registers_names): Make static. | |
4046 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
4047 | (arm_register_name): Declare. | |
4048 | (REGISTER_NAME): Use it. | |
4049 | ||
c3b4394c RE |
4050 | 2002-01-21 Richard Earnshaw <[email protected]> |
4051 | Kevin Buettner <[email protected]> | |
4052 | ||
4053 | Convert arm targets to new FRAME interface. | |
4054 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
4055 | (arm_frame_find_save_regs): Delete. | |
4056 | (arm_frame_init_saved_regs): New. | |
4057 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
4058 | Allocate extra_info as required. Convert all uses of fsr.regs | |
4059 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
4060 | to use extra_info. | |
4061 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
4062 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
4063 | (check_prologue_cache, save_prologue_cache): Likewise. | |
4064 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
4065 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
4066 | (FRAME_FIND_SAVED_REGS): Delete. | |
4067 | (arm_frame_find_saved_regs): Delete prototype. | |
4068 | (arm_frame_init_saved_regs): New prototype. | |
4069 | (FRAME_INIT_SAVED_REGS): Define. | |
4070 | ||
61d99182 AC |
4071 | 2002-01-20 Andrew Cagney <[email protected]> |
4072 | ||
4073 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
4074 | ||
6aaea291 AC |
4075 | 2002-01-20 Andrew Cagney <[email protected]> |
4076 | ||
4077 | From Jeff Law <[email protected]>: | |
4078 | * infttrace.c: Include <sys/pstat.h>. | |
4079 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
4080 | exec file if the ttrace equivalent fails. | |
4081 | ||
15f698d2 AC |
4082 | 2002-01-20 Andrew Cagney <[email protected]> |
4083 | ||
4084 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
4085 | (closeLogFile): Ditto. | |
4086 | ||
f86ddd7c MC |
4087 | 2002-01-20 Michael Chastain <[email protected]> |
4088 | ||
4089 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
4090 | ||
904507ce AC |
4091 | 2002-01-20 Andrew Cagney <[email protected]> |
4092 | ||
4093 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
4094 | Zannoni and Eli Zaretskii. | |
4095 | ||
d7f0b9ce DJ |
4096 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
4097 | ||
4098 | * buildsym.c: Update copyright years. | |
4099 | * c-typeprint.c: Likewise. | |
4100 | * dwarf2read.c: Likewise. | |
4101 | * f-typeprint.c: Likewise. | |
4102 | * gdbtypes.c: Likewise. | |
4103 | * gdbtypes.h: Likewise. | |
4104 | * hp-symtab-read.c: Likewise. | |
4105 | * hpread.c: Likewise. | |
4106 | * mdebugread.c: Likewise. | |
4107 | * p-typeprint.c: Likewise. | |
4108 | ||
3fd3d7d2 AC |
4109 | 2002-01-20 Andrew Cagney <[email protected]> |
4110 | ||
4111 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
4112 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
4113 | byte-order selectable. | |
4114 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
4115 | * arch-utils.c: Ditto. | |
4116 | (set_endian): Ditto. | |
4117 | (set_endian_from_file): Ditto. | |
4118 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
4119 | * gdbarch.sh: Ditto. | |
4120 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
4121 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
4122 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
4123 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
4124 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
4125 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
4126 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
4127 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
4128 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
4129 | macro definition. | |
4130 | * config/mips/tm-wince.h: Remove #undef of macro | |
4131 | TARGET_BYTE_ORDER_SELECTABLE. | |
4132 | * config/sh/tm-wince.h: Ditto. | |
4133 | ||
b02dede2 DJ |
4134 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
4135 | ||
4136 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
4137 | member function fields. Add accessor macro | |
4138 | TYPE_FN_FIELD_ARTIFICIAL. | |
4139 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
4140 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
4141 | functions. | |
4142 | ||
c3643761 DJ |
4143 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
4144 | ||
4145 | * f-typeprint.c: Delete unused function f_type_print_args. | |
4146 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
4147 | ||
8176bb6d DJ |
4148 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
4149 | ||
4150 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
4151 | comment. Add ``artificial'' to ``union field_location''. | |
4152 | ||
4153 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
4154 | ||
4155 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
4156 | * mdebugread.c (parse_symbol): Likewise. | |
4157 | * stabsread.c (define_symbol): Likewise. | |
4158 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
4159 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
4160 | (hpread_doc_function_type): Likewise. | |
4161 | * hpread.c (hpread_function_type): Likewise. | |
4162 | ||
7fd60527 AC |
4163 | 2002-01-20 Andrew Cagney <[email protected]> |
4164 | ||
4165 | * configure.in (host_makefile_frag): Only require a host makefile | |
4166 | fragment when a native build. | |
4167 | * configure: Re-generate. | |
4168 | ||
c2f05ac9 AC |
4169 | 2002-01-20 Andrew Cagney <[email protected]> |
4170 | ||
4171 | * doublest.h (floatformat_from_type): Declare. | |
4172 | * doublest.c (floatformat_from_type): New function. | |
4173 | (convert_typed_floating): Use. | |
4174 | ||
4175 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
4176 | call to function floatformat_from_type. | |
4177 | ||
4178 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
4179 | * gdbarch.h, gdbarch.c: Re-generate. | |
4180 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
4181 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
4182 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
4183 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
4184 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
4185 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
4186 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
4187 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
4188 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
4189 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
4190 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
4191 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
4192 | ||
4193 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
4194 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
4195 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4196 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4197 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4198 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4199 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4200 | ||
abf22e64 AJ |
4201 | 2002-01-20 Jiri Smid <[email protected]> |
4202 | ||
4203 | * configure.host, configure.tgt: Support x86-64. | |
4204 | * NEWS: Note new target x86-64. | |
4205 | ||
b7c4cbf8 AJ |
4206 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
4207 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
4208 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
4209 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
4210 | x86-64-linux-nat.o): Fix dependencies. | |
4211 | ||
82600034 AC |
4212 | 2002-01-19 Andrew Cagney <[email protected]> |
4213 | ||
4214 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
4215 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
4216 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
4217 | * config/sparc/xm-sun4os4.h: Delete file. | |
4218 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 4219 | |
bbe5c628 AC |
4220 | 2002-01-19 Andrew Cagney <[email protected]> |
4221 | ||
4222 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
4223 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
4224 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
4225 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
4226 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
4227 | * config/sparc/xm-sparclynx.h: Delete file. | |
4228 | * config/m68k/xm-m68klynx.h: Delete file. | |
4229 | * config/i386/xm-i386lynx.h: Delete file. | |
4230 | * config/xm-lynx.h: Delete file. | |
4231 | * config/djgpp/fnchange.lst: Update. | |
4232 | ||
f8453e34 JT |
4233 | 2002-01-19 Jason Thorpe <[email protected]> |
4234 | ||
4235 | * alpha-tdep.c (alpha_register_byte): New function. | |
4236 | (alpha_register_raw_size): Ditto. | |
4237 | (alpha_register_virtual_size): Ditto. | |
4238 | (alpha_skip_prologue_internal): Renamed from | |
4239 | alpha_skip_prologue. | |
4240 | (alpha_skip_prologue): New version that calls | |
4241 | alpha_skip_prologue_internal. | |
4242 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
4243 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
4244 | second argument from alpha_skip_prologue. | |
4245 | (REGISTER_BYTE): Use alpha_register_byte. | |
4246 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
4247 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
4248 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
4249 | generic_frameless_function_invocation_not. | |
4250 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
4251 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
4252 | ||
52d9e613 AC |
4253 | 2002-01-19 Andrew Cagney <[email protected]> |
4254 | ||
4255 | * config/mips/xm-news-mips.h: Delete file. | |
4256 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
4257 | ||
4258 | * config/m88k/xm-m88k.h: Delete file. | |
4259 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
4260 | * config/m88k/xm-delta88v4.h: Ditto. | |
4261 | * config/m88k/xm-delta88.h: Ditto. | |
4262 | ||
4263 | * config/alpha/xm-fbsd.h: Delete file. | |
4264 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
4265 | ||
4266 | * config/sparc/xm-sparc.h: Delete file. | |
4267 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
4268 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
4269 | * config/sparc/xm-sun4os4.h: Ditto. | |
4270 | * config/sparc/xm-linux.h: Ditto. | |
4271 | ||
4272 | * config/i386/xm-windows.h: Delete file. | |
4273 | ||
2d1b2124 AC |
4274 | 2002-01-19 Andrew Cagney <[email protected]> |
4275 | ||
4276 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
4277 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
4278 | ||
ee1f65f0 JT |
4279 | 2002-01-19 Jason Thorpe <[email protected]> |
4280 | ||
4281 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
4282 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
4283 | (CALL_DUMMY_P): Define. | |
4284 | (CALL_DUMMY_WORDS): Define. | |
4285 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
4286 | ||
98081e55 PB |
4287 | 2002-01-19 Per Bothner <[email protected]> |
4288 | ||
4289 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
4290 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
4291 | ||
0d056799 JT |
4292 | 2002-01-19 Jason Thorpe <[email protected]> |
4293 | ||
4294 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
4295 | (alpha_init_frame_pc_first): Ditto. | |
4296 | (alpha_fix_call_dummy): Ditto. | |
4297 | (alpha_store_struct_return): Ditto. | |
4298 | (alpha_extract_struct_value_address): Ditto. | |
4299 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
4300 | alpha_register_virtual_type. | |
4301 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
4302 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
4303 | alpha_extract_struct_value_address. | |
4304 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
4305 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
4306 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
4307 | ||
4604bcad MK |
4308 | 2002-01-19 Mark Kettenis <[email protected]> |
4309 | ||
4310 | * i386gnu-nat.c: Include "i386-tdep.h". | |
4311 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
4312 | point states such that it doesn't require FP7_REGNUM. | |
4313 | ||
140f9984 JT |
4314 | 2002-01-18 Jason Thorpe <[email protected]> |
4315 | ||
abf22e64 AJ |
4316 | * alpha-tdep.c (frame_extra_info): New. |
4317 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
4318 | frame->extra_info. |
4319 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
4320 | (alpha_frame_saved_pc): Use frame->extra_info. |
4321 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
4322 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
4323 | (init_extra_frame_info): Rename to... |
4324 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 4325 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
4326 | (alpha_frame_locals_address): Ditto. |
4327 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 4328 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
4329 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
4330 | alpha_frame_args_address. | |
abf22e64 | 4331 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 4332 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
4333 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
4334 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
4335 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
4336 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
4337 | ||
d734c450 JT |
4338 | 2002-01-18 Jason Thorpe <[email protected]> |
4339 | ||
4340 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
4341 | (alpha_cannot_fetch_register): Ditto. | |
4342 | (alpha_cannot_store_register): Ditto. | |
4343 | (alpha_register_convertible): Ditto. | |
4344 | (alpha_use_struct_convention): Ditto. | |
4345 | * config/alpha/tm-alpha.h: Update copyright years. | |
4346 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
4347 | (INNER_THAN): Use core_addr_lessthan. | |
4348 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
4349 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
4350 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
4351 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
4352 | (FRAME_CHAIN): Remove unnecessary cast. | |
4353 | ||
b4ceaee6 AC |
4354 | 2002-01-18 Andrew Cagney <[email protected]> |
4355 | ||
4356 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
4357 | obsolete. | |
4358 | ||
0a65a603 AC |
4359 | 2002-01-18 Andrew Cagney <[email protected]> |
4360 | ||
4361 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
4362 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
4363 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
4364 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
4365 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
4366 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
4367 | * x86-64-linux-nat.c: Ditto. | |
4368 | ||
636a6dfc JT |
4369 | 2002-01-18 Jason Thorpe <[email protected]> |
4370 | ||
abf22e64 | 4371 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
4372 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
4373 | (REGISTER_NAME): Define. | |
4374 | ||
acceddb6 JT |
4375 | 2002-01-18 Jason Thorpe <[email protected]> |
4376 | ||
4377 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
4378 | ||
ec32e4be JT |
4379 | 2002-01-18 Jason Thorpe <[email protected]> |
4380 | ||
4381 | * alpha-tdep.c: Update copyright years. | |
4382 | (alpha_next_pc): New function. | |
4383 | (alpha_software_single_step): Ditto. | |
4384 | * config/alpha/tm-alpha.h: Add prototype for | |
4385 | alpha_software_single_step. | |
4386 | ||
e771a871 JT |
4387 | 2002-01-18 Jason Thorpe <[email protected]> |
4388 | ||
4389 | * alphabsd-nat.c: Update copyright years. | |
4390 | (fill_gregset): Use regcache_collect. | |
4391 | (fill_fpregset): Likewise. | |
4392 | (fetch_inferior_registers): Only fetch integer registers | |
4393 | if requested to do so. | |
4394 | (store_inferior_registers): Only store integer registers | |
4395 | if requested to do so. | |
4396 | ||
7708fa01 AC |
4397 | 2002-01-17 Andrew Cagney <[email protected]> |
4398 | ||
4399 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
4400 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
4401 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
4402 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
4403 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
4404 | * config/arm/linux.mh (XDEPFILES): Delete. | |
4405 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
4406 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
4407 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
4408 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
4409 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
4410 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
4411 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
4412 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
4413 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
4414 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
4415 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
4416 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
4417 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
4418 | * config/i386/go32.mh (XDEPFILES): Delete. | |
4419 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
4420 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
4421 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
4422 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
4423 | * config/i386/linux.mh (XDEPFILES): Delete. | |
4424 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
4425 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
4426 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
4427 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
4428 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
4429 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
4430 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
4431 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
4432 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
4433 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
4434 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
4435 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
4436 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
4437 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
4438 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
4439 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
4440 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
4441 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
4442 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
4443 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
4444 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
4445 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
4446 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
4447 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
4448 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
4449 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
4450 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
4451 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
4452 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
4453 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
4454 | * config/mips/linux.mh (XDEPFILES): Delete. | |
4455 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
4456 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
4457 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
4458 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
4459 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
4460 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
4461 | (NATDEPFILES): Move core-aout.o to here. | |
4462 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
4463 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
4464 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
4465 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
4466 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
4467 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
4468 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
4469 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
4470 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
4471 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
4472 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
4473 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
4474 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
4475 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
4476 | * config/s390/s390.mh (XDEPFILES): Delete. | |
4477 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
4478 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
4479 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
4480 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
4481 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
4482 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
4483 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
4484 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
4485 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
4486 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
4487 | ||
375fc983 AC |
4488 | 2002-01-17 Andrew Cagney <[email protected]> |
4489 | ||
4490 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
4491 | Update queries to match. Default to quit and dump core. | |
4492 | ||
8926118c AC |
4493 | 2002-01-17 Andrew Cagney <[email protected]> |
4494 | ||
4495 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
4496 | copyright. | |
4497 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
4498 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
4499 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
4500 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
4501 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
4502 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
4503 | * mi/mi-main.c:Ditto. | |
4504 | ||
4505 | * stack.c, symfile.c: Update copyright. | |
4506 | ||
45b7b345 DJ |
4507 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
4508 | ||
db728ff7 DJ |
4509 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
4510 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
4511 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
4512 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 4513 | |
db728ff7 DJ |
4514 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
4515 | ||
4516 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
4517 | * gdbserver/low-lynx.c (myattach): Likewise. | |
4518 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
4519 | * gdbserver/low-sim.c (myattach): Likewise. | |
4520 | * gdbserver/low-sparc.c (myattach): Likewise. | |
4521 | * gdbserver/low-sun3.c (myattach): Likewise. | |
4522 | ||
4523 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 4524 | |
db728ff7 | 4525 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
4526 | (main): Handle "--attach". |
4527 | ||
8de3c354 AC |
4528 | 2002-01-16 Andrew Cagney <[email protected]> |
4529 | ||
4530 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
4531 | maintainer. | |
4532 | ||
b0129042 DJ |
4533 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
4534 | ||
4535 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
4536 | check for non-conversion operators. | |
4537 | ||
ba8679fb | 4538 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
4539 | |
4540 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
4541 | (read_mapping): New function, abstract and re-use code. | |
4542 | (linux_find_memory_regions): Use new func read_mapping. | |
4543 | (linux_info_proc_cmd): New function, implement "info proc". | |
4544 | (_initialize_linux_proc): Add new command "info proc". | |
4545 | ||
e4f9b4d5 MS |
4546 | 2002-01-15 Michael Snyder <[email protected]> |
4547 | ||
4548 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
4549 | instead of manipulating bfd structure members directly. | |
4550 | (add_section_size_callback): New function, bfd sections callback | |
4551 | used by generic_load. | |
4552 | (load_sections_callback): New function, bfd sections callback | |
4553 | used by generic_load. | |
4554 | ||
08cf96df EZ |
4555 | 2002-01-15 Elena Zannoni <[email protected]> |
4556 | ||
abf22e64 | 4557 | [Based on work by Jim Blandy] |
08cf96df EZ |
4558 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
4559 | (builtin_type_vec128): Export. | |
4560 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
4561 | types. | |
4562 | (builtin_type_vec128): New builtin type for 128 bit vector | |
4563 | registers. | |
4564 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
4565 | builtin_type_v8hi. Create the vec128 register builtin type | |
4566 | structure. | |
4567 | (build_builtin_type_vec128): New function. | |
abf22e64 | 4568 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
4569 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
4570 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
4571 | AltiVec register to new builtin type. | |
4572 | ||
d7242108 DJ |
4573 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
4574 | ||
4575 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
4576 | to make_cv_type. | |
4577 | ||
4ee3352d AC |
4578 | 2002-01-14 Andrew Cagney <[email protected]> |
4579 | ||
4580 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
4581 | CLEAN_UP_REGISTER_VALUE. | |
4582 | * regcache.c (supply_register): Update only call. | |
4583 | ||
f015b2e7 AC |
4584 | 2002-01-14 Andrew Cagney <[email protected]> |
4585 | ||
4586 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
4587 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
4588 | a29k-*-vxworks* targets as obsolete. | |
4589 | ||
356ae49d MS |
4590 | 2002-01-14 Michael Snyder <[email protected]> |
4591 | ||
4592 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
4593 | until we can resolve portability issues. | |
4594 | * gregset.h: Remove references to fpxregs. | |
4595 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
4596 | ||
ade8f45e AC |
4597 | 2002-01-13 Andrew Cagney <[email protected]> |
4598 | ||
4599 | * signals.c (target_signal_to_name): Rewrite. Only use | |
4600 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 4601 | |
89c49e7a AC |
4602 | 2002-01-13 Andrew Cagney <[email protected]> |
4603 | ||
4604 | From Petr Ledvina <[email protected]>: | |
4605 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
4606 | bounds of the signals array. | |
4607 | ||
4daa9f9f AC |
4608 | 2002-01-13 Andrew Cagney <[email protected]> |
4609 | ||
4610 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
4611 | ||
ba4bbdcb KS |
4612 | 2002-01-13 Keith Seitz <[email protected]> |
4613 | ||
4614 | * stack.c (print_frame_info_base): Print the frame's pc | |
4615 | only if when print_frame_info_listing_hook is not defined. | |
4616 | ||
575bbeb6 KS |
4617 | 2002-01-13 Keith Seitz <[email protected]> |
4618 | ||
4619 | * varobj.c (varobj_set_value): Make sure that there were no | |
4620 | errors evaluating the object before attempting to set its | |
4621 | value. | |
4622 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
4623 | so this offset adjustment is no longer necessary. | |
4624 | (create_child): Don't set the error flag if the child is | |
4625 | a CPLUS_FAKE_CHILD. | |
4626 | (value_of_child): If value_fetch_lazy fails, return NULL | |
4627 | so that callers will be notified that an error occurred. | |
4628 | (c_value_of_variable): Delay check of variable's validity | |
4629 | until later. We actually want all structs and unions to have | |
4630 | the value "{...}". | |
4631 | Do not return "???" for variables which could not be evaluated. | |
4632 | This error condition must be returned to the caller so that it | |
4633 | can get the error condition from gdb. | |
4634 | (cplus_name_of_child): Adjust index for vptr before figuring | |
4635 | out the name of the child. | |
4636 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
4637 | don't even bother trying to give a value for it. Just return | |
4638 | an error. Change all instances in this function. | |
4639 | (cplus_type_of_child): If our parent is one of the "fake" | |
4640 | parents, we need to get at the type of the real parent, and | |
4641 | derive the child's true type using this information. | |
4642 | ||
b76898ab AC |
4643 | 2002-01-13 Andrew Cagney <[email protected]> |
4644 | ||
4645 | From 2002-01-09 John Marshall <[email protected]>: | |
4646 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
4647 | sources.redhat.com, and tweak some related URLs which had | |
4648 | suffered from linkrot. | |
4649 | ||
b6649e88 AC |
4650 | 2002-01-13 Andrew Cagney <[email protected]> |
4651 | ||
4652 | From Jeff law: | |
4653 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
4654 | structures passed in registers. | |
4655 | ||
82cc5033 EZ |
4656 | 2002-01-13 Eli Zaretskii <[email protected]> |
4657 | ||
4658 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
4659 | white space which prevented compilation. Reported by DSK | |
4660 | <[email protected]>. | |
4661 | ||
ba5f2f8a MS |
4662 | 2002-01-11 Michael Snyder <[email protected]> |
4663 | ||
fbd35540 MS |
4664 | * symfile.c (build_section_addr_info_from_section_tab): |
4665 | Use bfd access method instead of manipulating bfd directly. | |
4666 | (syms_from_objfile): Ditto. | |
4667 | (simple_overlay_update_1): Ditto. | |
4668 | (simple_overlay_update): Ditto. | |
4669 | (generic_load): Ditto. | |
4670 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
4671 | (sections_overlap): FIXME comment, bfd access methods. | |
4672 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
4673 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
4674 | (section_is_mapped): FIXME comment, bfd access methods. | |
4675 | (section_is_overlay): FIXME comment, bfd access methods. | |
4676 | ||
ba5f2f8a MS |
4677 | * symfile.c (generic_load): Whitespace and long line cleanups. |
4678 | Remove duplicate variable, change several local variables to | |
4679 | more appropriate data types. | |
4680 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
4681 | ||
17df2af6 AC |
4682 | 2002-01-12 Andrew Cagney <[email protected]> |
4683 | ||
4684 | From Peter Schauer: | |
4685 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
4686 | convert NUM to a hex string. | |
4687 | ||
ec920329 EZ |
4688 | 2002-01-12 Elena Zannoni <[email protected]> |
4689 | ||
4690 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
4691 | the function. | |
538a76d6 | 4692 | Update Copyright year. |
ec920329 | 4693 | |
3abd2e01 AC |
4694 | 2002-01-12 Andrew Cagney <[email protected]> |
4695 | ||
4696 | * language.c (longest_raw_hex_string): Delete unused function. | |
4697 | ||
b21b22e0 PS |
4698 | 2002-01-11 Petr Sorfa <[email protected]> |
4699 | ||
4700 | * MAINTAINERS (write-after-approval): Add myself. | |
4701 | * dwarf2read.c (read_tag_string_type): Handling of | |
4702 | DW_AT_byte_size. | |
4703 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
4704 | first string size. | |
4705 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
4706 | ||
747fe712 RE |
4707 | 2002-01-11 Richard Earnshaw <[email protected]> |
4708 | ||
4709 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
4710 | GETPID(inferior_ptid). | |
4711 | (store_inferior_registers): Likewise. | |
4712 | ||
f1bea926 JM |
4713 | 2002-01-10 Jason Merrill <[email protected]> |
4714 | ||
4715 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
4716 | Fix DW_OP_minus. | |
4717 | ||
ae940673 AC |
4718 | 2002-01-10 Andrew Cagney <[email protected]> |
4719 | ||
4720 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
4721 | and bfd/elf32-sh-nbsd.c. | |
4722 | ||
00546b04 MS |
4723 | 2002-01-10 Michael Snyder <[email protected]> |
4724 | ||
352ed7b4 MS |
4725 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
4726 | ||
c18be923 MS |
4727 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
4728 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
4729 | ||
00546b04 MS |
4730 | * main.c (captured_main): Add new command line option "--pid". |
4731 | If the second command line argument (following the symbol-file) | |
4732 | begins with a digit, try to attach to it before trying to open | |
4733 | it as a corefile. | |
4734 | (print_gdb_help): Document the "--pid" argument. | |
4735 | ||
db60ec62 EZ |
4736 | 2002-01-10 Eli Zaretskii <[email protected]> |
4737 | ||
4738 | * completer.c (command_completer): New function. | |
4739 | ||
4740 | * completer.h <command_completer>: Add prototype. | |
4741 | ||
4742 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
4743 | completer for the "help" command. | |
4744 | ||
39c22d1a JM |
4745 | 2002-01-09 Jason Merrill <[email protected]> |
4746 | ||
4747 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
4748 | ||
c564377f MS |
4749 | 2002-01-09 Michael Snyder <[email protected]> |
4750 | ||
975aec09 MS |
4751 | * i386-linux-nat.c (fill_fpxregset): Make global. |
4752 | (store_fpxregset): Ditto. | |
4753 | ||
db4a10fa MS |
4754 | * gregset.h (gdb_fpxregset_t): Define. |
4755 | (supply_fpxregset): Prototype. | |
4756 | (fill_fpxregset): Prototype. | |
4757 | ||
c564377f MS |
4758 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
4759 | ||
c3d45d70 RE |
4760 | 2002-01-09 Richard Earnshaw <[email protected]> |
4761 | ||
4762 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
4763 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
4764 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
4765 | ||
fcc87af1 AC |
4766 | 2002-01-09 Andrew Cagney <[email protected]> |
4767 | ||
4768 | * MAINTAINERS: Update target maintainer rules so that any | |
4769 | Maintainer can approve a tested patch for a maintenance-only | |
4770 | target. | |
4771 | ||
dd96c05b RE |
4772 | 2002-01-09 Richard Earnshaw <[email protected]> |
4773 | ||
d4297db9 | 4774 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 4775 | |
d4297db9 | 4776 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
4777 | IN_SIGTRAMP. |
4778 | ||
145fdc6e MS |
4779 | 2002-01-08 Michael Snyder <[email protected]> |
4780 | ||
4781 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
4782 | real name of the executable, rather than the /proc name. | |
4783 | ||
be4d1333 MS |
4784 | 2002-01-03 Michael Snyder <[email protected]> |
4785 | ||
4786 | Implement a "generate-core-file" command in gdb, save target state. | |
4787 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
4788 | Save a corefile image of the current state of the inferior. | |
4789 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
4790 | * target.h (struct target_ops): Add new target vectors for saving | |
4791 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
4792 | (target_find_memory_regions): New macro. | |
4793 | (target_make_corefile_notes): New macro. | |
4794 | * target.c (update_current_target): Inherit new target methods. | |
4795 | (dummy_find_memory_regions): New place-holder method. | |
4796 | (dummy_make_corefile_notes): New place-holder method. | |
4797 | (init_dummy_target): Initialize new dummy target vectors. | |
4798 | * exec.c (exec_set_find_memory_regions): New function. | |
4799 | Allow the exec_ops vector for memory regions to be taken over. | |
4800 | (exec_make_note_section): New function, target vector method. | |
4801 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
4802 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
4803 | (procfs_make_note_section): New function, corefile method. | |
4804 | (init_procfs_ops): Set new target vector pointers. | |
4805 | (find_memory_regions_callback): New function. | |
4806 | (procfs_do_thread_registers): New function. | |
4807 | (procfs_corefile_thread_callback): New function. | |
4808 | * sol-thread.c (sol_find_memory_regions): New function. | |
4809 | (sol_make_note_section): New function. | |
4810 | (init_sol_thread_ops): Initialize new target vectors. | |
4811 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
4812 | Allow to_find_memory_regions vector to be taken over. | |
4813 | (inftarg_set_make_corefile_notes): New function. | |
4814 | Allow to_make_corefile_notes vector to be taken over. | |
4815 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
4816 | interface layer if not target_has_execution (may be a corefile). | |
4817 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
4818 | * config/sparc/sun4sol2.mh: Ditto. | |
4819 | * config/alpha/alpha-linux.mh: Ditto. | |
4820 | * config/arm/linux.mh: Ditto. | |
4821 | * config/i386/x86-64linux.mh: Ditto. | |
4822 | * config/ia64/linux.mh: Ditto. | |
4823 | * config/m68k/linux.mh: Ditto. | |
4824 | * config/mips/linux.mh: Ditto. | |
4825 | * config/powerpc/linux.mh: Ditto. | |
4826 | * config/sparc/linux.mh: Ditto. | |
4827 | ||
c6b92abd MS |
4828 | 2002-01-07 Michael Snyder <[email protected]> |
4829 | ||
4830 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
4831 | (registers[] and register_valid[]). | |
4832 | ||
4b09dc8c MS |
4833 | 2002-01-07 Michael Snyder <[email protected]> |
4834 | ||
abf22e64 AJ |
4835 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
4836 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
4837 | symbol file and shlibs. |
4838 | * Makefile.in: Add rule for linux-proc.o. | |
4839 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
4840 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
4841 | * config/arm/linux.mh: Ditto. | |
4842 | * config/i386/linux.mh: Ditto. | |
4843 | * config/i386/x86-64linux.mh: Ditto. | |
4844 | * config/ia64/linux.mh: Ditto. | |
4845 | * config/m68k/linux.mh: Ditto. | |
4846 | * config/mips/linux.mh: Ditto. | |
4847 | * config/powerpc/linux.mh: Ditto. | |
4848 | * config/sparc/linux.mh: Ditto. | |
4849 | ||
c25b74ac PM |
4850 | 2002-01-06 Pierre Muller <[email protected]> |
4851 | ||
4852 | * win32-nat.c: Add i386-tdep.h dependency. | |
4853 | ||
94cd915f MS |
4854 | 2002-01-07 Michael Snyder <[email protected]> |
4855 | ||
c7cccb76 MS |
4856 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
4857 | instead of bfd_get_arch_size. Don't bail out just because | |
4858 | there's no exec_bfd. | |
abf22e64 | 4859 | |
34c0bd93 MS |
4860 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
4861 | * p-valprint.c (pascal_object_print_value): Ditto. | |
4862 | * somread.c (som_symtab_read): Ditto. | |
4863 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
4864 | * valops.c (value_assign): Ditto. | |
4865 | ||
21c1c920 MS |
4866 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
4867 | use tilde_expand and strerror for opening save-tracepoints file. | |
4868 | ||
5bbd998e MS |
4869 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
4870 | ||
94cd915f MS |
4871 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
4872 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 4873 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
4874 | can be overridden with whatever value is appropriate to the host). |
4875 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
4876 | alloca to allocate potentially large buffer. | |
4877 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
4878 | * symm-nat.c (child_xfer_memory): Ditto. | |
4879 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
4880 | ||
494e8a93 JSC |
4881 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
4882 | ||
4883 | From Nick Clifton <[email protected]> | |
4884 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
4885 | ||
d0e1d48e MS |
4886 | 2002-01-07 Michael Snyder <[email protected]> |
4887 | ||
abf22e64 | 4888 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
4889 | Don't use exec_bfd if it's NULL. |
4890 | ||
290b2c7a MK |
4891 | 2002-01-06 Mark Kettenis <[email protected]> |
4892 | ||
abf22e64 | 4893 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 4894 | |
aef21287 AC |
4895 | 2002-01-06 Andrew Cagney <[email protected]> |
4896 | ||
4897 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
4898 | * gnu-nat.c: Ditto. | |
4899 | ||
30efa627 AC |
4900 | 2002-01-06 Andrew Cagney <[email protected]> |
4901 | ||
4902 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
4903 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
4904 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
4905 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
4906 | z8k-coff have not been multi-arched. Update z8k-coff build | |
4907 | status. | |
4908 | ||
9b4ff276 AC |
4909 | 2002-01-06 Andrew Cagney <[email protected]> |
4910 | ||
4911 | * MAINTAINERS: Mark a29k target as obsolete. | |
4912 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
4913 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
4914 | comments. | |
4915 | * NEWS: Note that a29k targets are obsolete. | |
4916 | * a29k-tdep.c: Mark as obsolete. | |
4917 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
4918 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
4919 | a29k-*-vxworks* targets as obsolete. | |
4920 | * remote-adapt.c: Obsolete. | |
4921 | * remote-eb.c: Obsolete. | |
4922 | * remote-mm.c: Obsolete. | |
4923 | * remote-udi.c: Obsolete. | |
4924 | * config/a29k/a29k-udi.mt: Obsolete. | |
4925 | * config/a29k/a29k.mt: Obsolete. | |
4926 | * config/a29k/tm-a29k.h: Obsolete. | |
4927 | * config/a29k/tm-vx29k.h: Obsolete. | |
4928 | * config/a29k/vx29k.mt: Obsolete. | |
4929 | ||
a9011d31 AC |
4930 | 2002-01-05 Andrew Cagney <[email protected]> |
4931 | ||
4932 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
4933 | with BFD_ENDIAN_BIG. | |
4934 | ||
9299404e AC |
4935 | 2002-01-05 Andrew Cagney <[email protected]> |
4936 | ||
4937 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
4938 | * configure, config.in: Re-generate. | |
4939 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
4940 | * defs.h: Do not include <endian.h>. | |
4941 | ||
7e89e357 JT |
4942 | 2002-01-05 Jason Thorpe <[email protected]> |
4943 | ||
4944 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
4945 | * config.in: Regenerate. | |
4946 | * configure.in: Update copyright years. | |
4947 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
4948 | * configure: Regenerate. | |
4949 | * i386bsd-nat.c: Update copyright years. | |
4950 | (fill_gregset): Use regcache_collect. | |
4951 | (fetch_inferior_registers): Only fetch integer registers | |
4952 | if requested to do so. Add support for XMM registers | |
4953 | using PT_GETXMMREGS. | |
4954 | (store_inferior_registers): Only store integer registers | |
4955 | if requested to do so. Add support for XMM registers | |
4956 | using PT_SETXMMREGS. | |
4957 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
4958 | (store_inferior_registers): Remove. | |
4959 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
4960 | (fetch_elfcore_registers): New function. | |
4961 | (i386nbsd_elfcore_fns): New. | |
4962 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
4963 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
4964 | i386bsd-nat.o. | |
4965 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
4966 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
4967 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
4968 | * config/i386/tm-nbsd.h: Update copyright years. | |
4969 | (HAVE_SSE_REGS): Define. | |
4970 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
4971 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
4972 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
4973 | (SIGCONTEXT_PC_OFFSET): Remove. | |
4974 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
4975 | ||
a752853e AC |
4976 | 2002-01-05 Andrew Cagney <[email protected]> |
4977 | ||
4978 | * configure.tgt: Remove powerpc-*-macos* target. | |
4979 | * config/m68k/xm-mpw.h: Delete file. | |
4980 | * config/xm-mpw.h: Delete file. | |
4981 | * ser-mac.c: Delete file. | |
4982 | * mpw-make.sed: Delete file. | |
4983 | * mpw-config.in: Delete file. | |
4984 | * mac-xdep.c: Delete file. | |
4985 | * mac-gdb.r: Delete file. | |
4986 | * mac-defs.h: Delete file. | |
4987 | * mac-nat.c: Delete file. | |
4988 | * config/powerpc/macos.mh: Delete file. | |
4989 | * config/powerpc/macos.mt: Delete file. | |
4990 | * config/powerpc/nm-macos.h: Delete file. | |
4991 | * config/powerpc/tm-macos.h: Delete file. | |
4992 | * source.c (openp, open_source_file): Remove obsolete code. | |
4993 | * top.c (gdb_readline): Ditto. | |
4994 | * utils.c (query): Ditto. | |
4995 | * event-top.c (display_gdb_prompt): Ditto. | |
4996 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
4997 | * NEWS: Update. | |
4998 | ||
d7449b42 AC |
4999 | 2002-01-04 Andrew Cagney <[email protected]> |
5000 | ||
5001 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
5002 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
5003 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
5004 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
5005 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
5006 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
5007 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
5008 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
5009 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
5010 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
5011 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
5012 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
5013 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
5014 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
5015 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
5016 | * gdbarch.c: Re-generate. | |
5017 | ||
356374e8 DJ |
5018 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
5019 | ||
5020 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
5021 | for core files. | |
5022 | ||
a2b8f8f8 JT |
5023 | 2002-01-04 Jason Thorpe <[email protected]> |
5024 | ||
5025 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
5026 | ||
12466af9 AC |
5027 | 2002-01-04 Andrew Cagney <[email protected]> |
5028 | ||
5029 | * value.h (value_ptr): Delete typedef. | |
5030 | ||
3549ab40 JT |
5031 | 2002-01-04 Jason Thorpe <[email protected]> |
5032 | ||
5033 | * i386nbsd-nat.c: Update copyright years. | |
5034 | Include i386-tdep.h. | |
5035 | ||
fedbd091 EZ |
5036 | 2002-01-04 Elena Zannoni <[email protected]> |
5037 | ||
5038 | * stabsread.c: Update copyright years. | |
5039 | ||
5040 | From Debashis Mahata <[email protected]>: | |
5041 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
5042 | output for structs and unions. | |
fec8b34f | 5043 | Fix PR gdb/269. |
fedbd091 | 5044 | |
eb43544b DJ |
5045 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
5046 | ||
5047 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
5048 | prototype. | |
5049 | ||
1514d34e DJ |
5050 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
5051 | ||
5052 | * cp-abi.c: Fix whitespace. | |
5053 | (baseclass_offset): New wrapper function. | |
5054 | * cp-abi.h (baseclass_offset): Add prototype. | |
5055 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
5056 | ||
5057 | * valops.c (vb_match): Move to... | |
5058 | * gnu-v2-abi.c (vb_match): here. | |
5059 | * valops.c (baseclass_offset): Move to... | |
5060 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
5061 | ||
5062 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
5063 | ||
5064 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
5065 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
5066 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
5067 | ||
7f8c9282 DJ |
5068 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
5069 | ||
5070 | * valops.c (find_overload_match): Accept obj as a | |
5071 | reference parameter. Update it before returning. | |
5072 | * value.h (find_overload_match): Update prototype. | |
5073 | * eval.c (evaluate_subexp_standard): Pass object to | |
5074 | find_overload_match by reference. | |
5075 | ||
f23631e4 AC |
5076 | 2002-01-03 Andrew Cagney <[email protected]> |
5077 | ||
5078 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
5079 | register attribute from value declarations. | |
5080 | * valops.c: Ditto. | |
5081 | * value.h: Ditto. | |
5082 | * scm-lang.c (scm_lookup_name): Ditto. | |
5083 | ||
79e10fab | 5084 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 5085 | |
79e10fab AC |
5086 | Abstract the functionality of iterating over mapped memory |
5087 | regions into a general purpose iterator function. | |
abf22e64 | 5088 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
5089 | iterator for memory sections. |
5090 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
5091 | (solib_mappings_callback): New function, callback for above. | |
5092 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
5093 | (info_mappings_callback): New function, callback for above. | |
5094 | ||
5095 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
5096 | ||
c5ad026a MK |
5097 | 2002-01-01 Mark Kettenis <[email protected]> |
5098 | ||
d2a7c97a MK |
5099 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
5100 | * i386-tdep.c: Include "elf-bfd.h". | |
5101 | (process_note_abi_tag_sections): New function. | |
5102 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
5103 | combinations. | |
5104 | ||
c5ad026a MK |
5105 | * maint.c (_initialize_maint_cmds): Add missing \ in |
5106 | string-literal. | |
5107 | ||
a1a5b71e | 5108 | For older changes see ChangeLog-2001 |
c906108c SS |
5109 | \f |
5110 | Local Variables: | |
5111 | mode: change-log | |
5112 | left-margin: 8 | |
5113 | fill-column: 74 | |
5114 | version-control: never | |
5115 | End: |