1 2002-05-04 Andrew Cagney <ac131313@redhat.com>
3 * sparc-tdep.c (sparc_get_saved_register): Comment why
4 get_prev_frame call is safe.
6 2002-05-04 Andrew Cagney <ac131313@redhat.com>
8 * frame.h (select_frame): Delete level parameter.
9 * stack.c (select_frame): Update. Use frame_relative_level to
10 obtain the frame's level.
11 (select_and_print_frame): Update call.
12 (select_frame_command): Ditto.
13 (up_silently_base): Ditto.
14 (down_silently_base): Ditto.
15 * ocd.c (ocd_start_remote): Ditto.
16 * remote-rdp.c (remote_rdp_open): Ditto.
17 * remote-mips.c (mips_initialize): Ditto.
19 * remote-e7000.c (e7000_start_remote): Ditto.
20 * m3-nat.c (select_thread): Ditto.
21 * hppa-tdep.c (child_get_current_exception_event): Ditto.
22 (child_get_current_exception_event): Ditto.
23 * varobj.c (varobj_create): Ditto.
24 (varobj_update): Ditto.
25 (c_value_of_root): Ditto.
26 * tracepoint.c (finish_tfind_command): Ditto.
27 * corelow.c (core_open): Ditto.
28 * arch-utils.c (generic_prepare_to_proceed): Ditto.
29 * thread.c (info_threads_command): Ditto.
30 (switch_to_thread): Ditto.
31 * infrun.c (normal_stop): Ditto.
32 (restore_selected_frame): Ditto.
33 (restore_inferior_status): Ditto.
34 * breakpoint.c (insert_breakpoints): Ditto.
35 (watchpoint_check): Ditto.
36 (bpstat_stop_status): Ditto.
37 (do_enable_breakpoint): Ditto.
38 * blockframe.c (flush_cached_frames): Ditto.
39 (reinit_frame_cache): Ditto.
41 2002-05-04 Andrew Cagney <ac131313@redhat.com>
43 * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD
46 2002-05-04 Jim Blandy <jimb@redhat.com>
48 * gdbtypes.c (replace_type): Doc fix.
50 2002-05-04 Andrew Cagney <ac131313@redhat.com>
52 * valprint.c (strcat_longest): Delete commented out function.
55 2002-05-04 Andrew Cagney <ac131313@redhat.com>
57 * MAINTAINERS: Mark a29k as deleted.
58 * NEWS: Mention that a29k was removed. Add OBSOLETE section.
59 Move new configurations to the top.
60 * configure.tgt: Remove a29k.
61 * config/a29k/tm-vx29k.h: Delete.
62 * config/a29k/vx29k.mt: Delete.
63 * config/a29k/tm-a29k.h: Delete.
64 * config/a29k/a29k-udi.mt: Delete.
65 * config/a29k/a29k.mt: Delete.
66 * a29k-tdep.c: Delete.
67 * remote-udi.c: Delete.
68 * remote-mm.c: Delete.
69 * remote-eb.c: Delete.
70 * remote-adapt.c: Delete.
71 * Makefile.in: Remove obsolete code.
72 * gdbserver/Makefile.in: Ditto.
73 * config/s390/s390x.mt: Ditto.
74 * config/s390/s390.mt: Ditto.
75 * config/sparc/sparclynx.mh: Ditto.
76 * config/sparc/linux.mh: Ditto.
77 * config/pa/hppaosf.mh: Ditto.
78 * config/pa/hppabsd.mh: Ditto.
79 * config/ns32k/nbsd.mt: Ditto.
80 * config/mips/vr5000.mt: Ditto.
81 * config/m68k/sun3os4.mh: Ditto.
82 * config/m68k/nbsd.mt: Ditto.
83 * config/m68k/m68klynx.mh: Ditto.
84 * config/m32r/m32r.mt: Ditto.
85 * config/i386/x86-64linux.mt: Ditto.
86 * config/i386/nbsdelf.mt: Ditto.
87 * config/i386/nbsd.mt: Ditto.
88 * config/i386/i386lynx.mh: Ditto.
90 2002-05-04 Andrew Cagney <ac131313@redhat.com>
92 * target.c (debug_print_register): New function. Handle oversize
94 (debug_to_fetch_registers): Call.
95 (debug_to_store_registers): Call.
97 2002-05-03 Jim Blandy <jimb@redhat.com>
99 * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.
100 (read_type): Doc fix.
101 * gdbtypes.c (replace_type): Doc fix.
103 * stabsread.c (multiply_defined_struct): New complaint.
104 (read_struct_type): If the type we were passed isn't empty, or
105 incomplete, don't read the new struct type into it; complain,
106 and return the original type unchanged. Take a new `type_code'
107 argument, which is the type code for the new type.
108 (read_type): Rather than storing the type's type code here, pass
109 it as an argument to read_struct_type, and let that take care of
110 storing it. That way, we don't overwrite the original type code,
111 so read_struct_type can use it to decide whether we're overwriting
112 something we shouldn't.
113 (complain_about_struct_wipeout): New function.
115 2002-05-03 Andrew Cagney <ac131313@redhat.com>
117 * gdbarch.sh: Assert that gdbarch is non-NULL.
118 * gdbarch.c: Regenerate.
120 2002-05-03 Jason Merrill <jason@redhat.com>
122 * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn
125 2002-05-03 Michal Ludvig <mludvig@suse.cz>
127 * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map),
128 (x86_64_dwarf2gdb_regno_map_length),
129 (x86_64_dwarf2_reg_to_regnum): Added.
130 (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum.
131 (x86_64_gdbarch_init): Renamed from i386_gdbarch_init.
132 (_initialize_x86_64_tdep): Synced with the change above.
133 (x86_64_skip_prologue): Reformulated message.
135 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr>
137 * f-exp.y: Also use new prev_lexptr variable
138 to improve error reporting. Based on Michael Snyder
139 2002-04-24 dated patch to c-exp.y.
140 * jv-exp.y: Likewise.
141 * m2-exp.y: Likewise.
143 2002-05-02 Elena Zannoni <ezannoni@redhat.com>
145 * valops.c (value_arg_coerce): Don't coerce arrays to pointers if
146 we are dealing with vectors.
148 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
150 * config/m68k/tm-nbsd.h: Obvious fix,
151 correct machine name.
153 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
155 * p-typeprint.c (pascal_type_print_base): Add support
156 for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
158 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
160 * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR
161 for fondamental pascal 'char' type.
163 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
165 * p-lang.h (is_pascal_string_type): Declaration changed,
166 new sixth argument of type char ** added.
167 * p-lang.c (is_pascal_string_type): Implementation
168 changed. Args length_pos, length_size, string_pos, char_size
169 can now be NULL. New argument arrayname set to the field
170 name of the char array. Return value set to char array
171 field index plus one.
172 * p-valprint.c (pascal_val_print): Adapt to new declaration of
173 is_pascal_string_type function.
175 2002-05-02 Andrew Cagney <cagney@redhat.com>
177 * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney
178 <cagney@redhat.com> change.
179 * gdbarch.c: Regenerate.
181 2002-05-02 Andrew Cagney <cagney@redhat.com>
183 * gdbarch.sh (gdbarch_update_p): Swap out the old architecture
184 before probing for a new one. Detect errorenous gdbarch_init
186 * gdbarch.c: Regenerate.
188 2002-05-01 Andrew Cagney <cagney@redhat.com>
190 * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".
191 * config/mcore/tm-mcore.h: Ditto. Update copyright.
192 * config/v850/tm-v850.h: Ditto. Update copyright.
194 2002-04-30 Andrew Cagney <ac131313@redhat.com>
196 * cris-tdep.c (cris_gdbarch_init): Use arches instead of
199 2002-04-30 Michael Snyder <msnyder@redhat.com>
201 * arm-tdep.c: Whitespace clean-ups.
202 (arm_skip_prologue): Fix thinko; two lines
203 should have been removed as part of 4/24 change.
205 2002-04-30 Kevin Buettner <kevinb@redhat.com>
207 * rs6000-tdep.c: Added comment describing how fpscr register
210 2002-04-30 Michael Snyder <msnyder@redhat.com>
212 * gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
214 2002-04-29 Elena Zannoni <ezannoni@redhat.com>
216 * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR.
217 (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH.
218 (hpread_symfile_init, hpread_lookup_type): Substitute throughout.
220 2002-04-29 Kevin Buettner <kevinb@redhat.com>
222 From Louis Hamilton <hamilton@redhat.com>:
223 * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include.
224 * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise.
225 * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(),
226 not bfd-private xcoff data, to determine wordsize.
227 * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise.
229 2002-04-29 Andrew Cagney <ac131313@redhat.com>
231 GDB 5.2 released from 5.2 branch.
233 2002-04-29 Michal Ludvig <mludvig@suse.cz>
235 * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning.
236 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
237 (x86_64_register_info_table): Added comments with register numbers.
239 2002-04-29 Elena Zannoni <ezannoni@redhat.com>
241 * rs6000-tdep.c (rs6000_extract_return_value,
242 rs6000_store_return_value): Handle returning vectors.
243 (rs6000_gdbarch_init): Use
244 ppc_sysv_abi_broken_use_struct_convention for native sysv cases.
245 * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
247 (ppc_sysv_abi_use_struct_convention): Deal with functions returning
249 (ppc_sysv_abi_push_arguments): Handle vector parameters.
250 * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export.
252 2002-04-24 Pierre Muller <ics.u-strasbg.fr>
254 * hpread.c (hpread_psymtab_to_symtab_1,
255 hpread_psymtab_to_symtab): Replace fprintf (stderr,...)
256 with fprintf_unfiltered (gdb_stderr,...).
258 2002-04-24 Pierre Muller <ics.u-strasbg.fr>
260 * remote-array.c (printf_monitor, write_monitor,
261 array_insert_breakpoint, array_remove_breakpoint ):
262 Replace fprintf (stderr,...
263 with fprintf_unfiltered (gdb_stderr,....
264 * remote-es.c: Likewise.
265 * remote-os9k.c: Likewise.
266 * remote-st.c: Likewise.
268 2002-04-28 Andreas Schwab <schwab@suse.de>
270 * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add
271 linux-proc.o and gcore.o.
273 2002-04-26 Michal Ludvig <mludvig@suse.cz>
275 * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging
276 code without frame pointers.
278 2002-04-26 Andrew Cagney <ac131313@redhat.com>
280 * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why
283 2002-04-26 Ben Elliston <bje@redhat.com>
285 * target.c (do_xfer_memory): Correct reference to the new option
286 "trust-readonly-sections".
288 2002-04-26 Elena Zannoni <ezannoni@redhat.com>
290 * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define.
291 * gdbtypes.c (recursive_dump_type): Output the vector flag.
292 * dwarf2read.c (dwarf_attr_name): Handle new attribute for
294 (read_array_type): Record the fact that this array type is really a
295 vector (i.e. are passed in by value).
297 2002-04-26 Jason Thorpe <thorpej@wasabisystems.com>
299 * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member.
300 * alpha-tdep.c (alpha_sigcontext_addr): New function.
301 (alpha_find_saved_regs): Use alpha_sigcontext_addr.
302 (alpha_gdbarch_init): Initialize tdep->sigcontext_addr.
303 * alpha-linux-tdep.c: Include frame.h.
304 (alpha_linux_sigcontext_addr): New function.
305 (alpha_linux_init_abi): Set tdep->sigcontext_addr to
306 alpha_linux_sigcontext_addr.
307 * alpha-osf1-tdep.c: Include gdbcore.h.
308 (alpha_osf1_sigcontext_addr): New function.
309 (alpha_osf1_init_abi): Set tdep->sigcontext_addr to
310 alpha_osf1_sigcontext_addr.
311 * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove.
312 * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove.
314 2002-04-26 Andrew Cagney <ac131313@redhat.com>
316 * stack.c (selected_frame_level):
317 (select_frame): Do not set selected_frame_level.
318 * frame.h (selected_frame_level): Delete declaration.
320 2002-04-26 Andrew Cagney <ac131313@redhat.com>
322 * rs6000-tdep.c (rs6000_gdbarch_init): Only set
323 convert_from_func_ptr-addr when AIX / PowerOpen.
325 2002-04-25 Andrew Cagney <ac131313@redhat.com>
327 * valops.c (hand_function_call): Call
328 generic_save_call_dummy_addr.
329 * frame.h (generic_save_call_dummy_addr): Declare.
330 * blockframe.c (struct dummy_frame): Add fields call_lo and
332 (generic_find_dummy_frame): Check for PC in range call_lo to
333 call_hi instead of entry_point_address.
334 (generic_pc_in_call_dummy): Search the dummy frames for a PC in
335 the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK.
336 (generic_save_call_dummy_addr): New function.
338 2002-04-24 David S. Miller <davem@redhat.com>
340 * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates
342 (sparc_skip_prologue): Kill frameless_p arg, and use line number
343 information to find prologue when possible.
344 (sparc_prologue_frameless_p): Call examine_prologue directly.
345 (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call.
346 * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed
348 (SKIP_PROLOGUE): Likewise.
350 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
352 * alpha-tdep.c (alpha_skip_prologue_internal): Remove
353 GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to
354 indicate that the condition it was testing is always true.
355 * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove.
356 * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
357 * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
359 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
361 * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.
362 * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize
363 tdep->jb_pc and tdep->jb_elt_size.
364 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise.
365 * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise.
366 * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
367 * alpha-nat.c (get_longjmp_target): Remove.
368 (JB_ELEMENT_SIZE): Ditto.
370 * alpha-tdep.c (alpha_get_longjmp_target): New function.
371 (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the
372 OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target
373 to alpha_get_longjmp_target.
374 (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size.
375 * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove.
376 * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
378 2002-04-25 Andrew Cagney <ac131313@redhat.com>
380 * README: Update to GDB 5.2.
382 2002-04-25 Andrew Cagney <ac131313@redhat.com>
384 * gdbarch.sh (LC_ALL): Set to `c'.
386 2002-04-25 Theodore A. Roth <troth@verinet.com>
388 * avr-tdep.c: Ran through gdb_indent.sh.
390 2002-04-25 Theodore A. Roth <troth@verinet.com>
392 * MAINTAINERS: Add myself as AVR maintainer.
393 * NEWS: Note new target avr.
395 2002-04-25 Theodore A. Roth <troth@verinet.com>
397 * Makefile.in: Add support for AVR target.
398 * configure.tgt: Add support for AVR target.
399 * avr-tdep.c: New file
400 * config/avr/avr.mt: New file.
402 2002-04-25 Theodore A. Roth <troth@verinet.com>
404 * MAINTAINERS: Add myself to write-after-approval.
406 2002-04-24 Pierre Muller <ics.u-strasbg.fr>
408 * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,...
409 with fprintf_unfiltered (gdb_stderr,....
411 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
414 * symfile.c (add_filename_language): Fix wrong xrealloc size argument.
416 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
418 * p-exp.y: Also use new prev_lexptr variable
419 to improve error reporting. Based on Michael Snyder
420 2002-04-24 dated patch to c-exp.y.
422 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
424 * alpha-tdep.c (alpha_breakpoint_from_pc): New function.
425 (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to
426 alpha_breakpoint_from_pc. Set gdbarch_function_start_offset
428 * config/alpha/tm-alpha.h: Remove forward decls of struct type
430 (FUNCTION_START_OFFSET): Remove.
433 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
435 * MAINTAINERS: Reflect that multi-arch is enabled for VAX.
438 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
440 * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
441 (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to
442 alpha_linux_pc_in_sigtramp.
443 * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function.
444 (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to
445 alpha_osf1_pc_in_sigtramp.
446 * alpha-tdep.c (alpha_osf_in_sigtramp): Remove.
447 * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function.
448 (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to
449 alphafbsd_pc_in_sigtramp.
450 * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function.
451 (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to
452 alphanbsd_pc_in_sigtramp.
453 * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove.
454 * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
456 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
458 * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
460 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
462 * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and
464 (alphanbsd-nat.o): New dependency list.
465 (alphanbsd-tdep.o): Ditto.
466 * NEWS: Note new native NetBSD/alpha configuration.
467 * alphanbsd-nat.c: New file.
468 * alphanbsd-tdep.c: Ditto.
469 * configure.host (alpha*-*-netbsd*): New host.
470 * configure.tgt (alpha*-*-netbsd*): New target.
471 * config/alpha/nbsd.mh: New file.
472 * config/alpha/nbsd.mt: Ditto.
473 * config/alpha/nm-nbsd.h: Ditto.
474 * config/alpha/tm-nbsd.h: Ditto.
476 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
478 * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.
479 (alpha-osf1-tdep.o): New dependency list.
480 * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset
481 and skip_sigtramp_frame members.
482 * alpha-linux-tdep.c: Include gdbcore.h.
483 (alpha_linux_sigtramp_offset): Change return type to LONGEST.
484 (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset.
485 * alpha-osf1-tdep.c: New file.
486 * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to
488 (alpha_frame_past_sigtramp_frame): New function.
489 (alpha_dynamic_sigtramp_offset): Ditto.
490 (alpha_proc_desc_is_dyn_sigtramp): Ditto.
491 (alpha_set_proc_desc_is_dyn_sigtramp): Ditto.
492 (ALPHA_PROC_SIGTRAMP_MAGIC): Define.
493 (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp.
494 (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp.
495 (find_proc_desc): Use alpha_dynamic_sigtramp_offset.
496 (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame.
497 (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp.
498 (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp.
499 (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset
500 and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code
501 to find_solib_trampoline_target.
502 * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o.
503 * config/alpha/tm-alpha.h: Remove inclusion of regcache.h.
504 (SKIP_TRAMPOLINE_CODE): Remove.
505 (PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
506 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
507 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
508 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
509 * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove.
510 (PROC_SIGTRAMP_MAGIC): Ditto.
511 (PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
512 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
513 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
514 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
515 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
517 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
519 * NEWS: Note that Alpha targets are now multi-arch.
521 2002-04-24 Michael Snyder <msnyder@redhat.com>
523 * parser-defs.h (prev_lexptr): New external variable.
524 * parse.c (parse_exp_1): Set prev_lexptr to null before
525 calling the language-specific parser.
526 * c-exp.y (yylex): Set prev_lexptr to start of current token.
527 (yyerror): Use prev_lexptr in error reporting.
529 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
531 * config/i386/tm-linux.h: Define FILL_FPXREGSET.
532 * gregset.h: If FILL_FPXREGSET is defined, provide
533 gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset.
534 * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET
535 is defined, call fill_fpxregset.
537 2002-04-24 Roland McGrath <roland@frob.com>
539 * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here.
540 * i386gnu-nat.c [HAVE_SYS_PROCFS_H]
541 (supply_gregset, supply_fpregset): New functions.
543 * gnu-nat.c (gnu_find_memory_regions): New function.
544 (init_gnu_ops): Set `to_find_memory_regions' hook to that.
545 (gnu_xfer_memory): Add a cast.
547 2002-04-24 Michael Snyder <msnyder@redhat.com>
549 * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the
550 loop. Add handling for "str lr, [sp, #-4]!" and for saves
551 of argument regs ("str r(0123), [r11, #-nn"]).
552 (arm_skip_prologue): Better handling for frameless functions.
553 Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]".
554 (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
556 Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com>
558 * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
559 NUM_PSEUDO_REGS can be used.
561 2002-04-24 Andrew Cagney <ac131313@redhat.com>
563 * arch-utils.h: Update copyright.
565 * gdbarch.sh (PC_IN_SIGTRAMP): Add.
566 * gdbarch.h, gdbarch.c: Re-generate.
568 * inferior.h (IN_SIGTRAMP): Delete definition.
569 * arch-utils.c (legacy_pc_in_sigtramp): New function.
570 * arch-utils.h (legacy_pc_in_sigtramp): Declare.
572 * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP.
573 (mips_dump_tdep): Do not print value of IN_SIGTRAMP.
574 * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP.
575 (find_proc_framesize): Ditto.
576 * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto.
577 (alpha_init_extra_frame_info): Ditto.
578 * infrun.c (handle_inferior_event): Ditto.
579 (handle_inferior_event): Ditto.
580 (check_sigtramp2): Ditto.
581 * blockframe.c (create_new_frame): Ditto.
582 (get_prev_frame): Ditto.
583 * ppc-linux-tdep.c: Update comments.
584 * i386-linux-tdep.c: Update comments.
585 * breakpoint.c (bpstat_what): Update comment.
587 2002-04-24 Michal Ludvig <mludvig@suse.cz>
589 * gdbserver/linux-low.c (regsets_fetch_inferior_registers),
590 (regsets_store_inferior_registers): Removed cast to int from
592 * gdbserver/regcache.h: Added declaration of struct inferior_info.
594 2002-04-24 David S. Miller <davem@redhat.com>
596 * i960-tdep.c (register_in_window_p): New function.
597 (i960_find_saved_register): Use it instead of
598 REGISTER_IN_WINDOW_P.
599 * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete.
601 * symtab.h (find_stab_function_addr): Kill extern.
602 * minsyms.c (find_stab_function_addr): Remove from here...
603 * dbxread.c: ... to here, and mark it static.
605 2002-04-20 David S. Miller <davem@redhat.com>
607 * sparc-tdep.c (sparc_pop_frame): Only need to allocate
608 SPARC_INTREG_SIZE * 16 bytes for reg_temp.
610 2002-04-21 David S. Miller <davem@redhat.com>
612 * remote-vxsparc.c (vx_read_register): Fix typo, we want
613 REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR.
614 (vx_write_register): Likewise.
616 2002-04-23 J. Brobecker <brobecker@gnat.com>
618 * source.c (is_regular_file): New function.
619 (openp): Check wether file to open is a regular file
620 to avoid opening directories.
622 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
624 * findvar.c (extract_signed_integer): Cast printf argument
625 to suppress format warning.
626 (extract_unsigned_integer): Likewise.
627 * infcmd.c (registers_info): Likewise.
628 * top.c (get_prompt_1): Likewise.
629 * valops.c (value_assign): Likewise.
630 * valprint.c (print_decimal): Likewise.
632 2002-04-22 H.J. Lu (hjl@gnu.org)
634 * c-exp.y (typebase): Support
636 [long|long long|short] [signed|unsigned] [int|]
640 signed [long|long long|short] int
642 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
644 * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),
646 * vax-tdep.h: New file.
647 * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h.
648 Make several routines static.
649 (vax_get_saved_register): New function.
650 (vax_gdbarch_init): New function.
651 (_initialize_vax_tdep): Register vax_gdbarch_init.
652 * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL.
653 Remove macros now under the control of gdbarch.
655 2002-04-22 Michael Snyder <msnyder@redhat.com>
657 * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
658 Some whitespace and coding standards tweaks.
660 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
662 * vax-tdep.c: Include regcache.h.
663 (vax_call_dummy_words): New.
664 (sizeof_vax_call_dummy_words): New.
665 (vax_fix_call_dummy): New function.
666 (vax_saved_pc_after_call): Ditto.
667 * config/vax/tm-vax.h: Don't include regcache.h.
668 (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call.
669 (CALL_DUMMY): Remove.
670 (CALL_DUMMY_WORDS): Define.
671 (SIZEOF_CALL_DUMMY_WORDS): Define.
672 (FIX_CALL_DUMMY): Use vax_fix_call_dummy.
674 2002-04-18 Michael Snyder <msnyder@redhat.com>
676 * arm-tdep.h: Change regnum defines to enums for ease of debugging.
678 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
680 * vax-tdep.c (vax_frame_chain): New function.
681 (vax_push_dummy_frame): Ditto.
682 (vax_pop_frame): Ditto.
683 * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain.
684 (FRAMELESS_FUNCTION_INVOCATION): Use
685 generic_frameless_function_invocation_not.
686 (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame.
687 (POP_FRAME): Use vax_pop_frame.
689 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
691 * vax-tdep.c (vax_store_struct_return): New function.
692 (vax_extract_return_value): Ditto.
693 (vax_store_return_value): Ditto.
694 (vax_extract_struct_value_address): Ditto.
695 * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use
696 vax_store_struct_return.
697 (EXTRACT_RETURN_VALUE): Use vax_extract_return_value.
698 (STORE_RETURN_VALUE): Use vax_store_return_value.
699 (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
701 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
703 * vax-tdep.c (vax_frame_saved_pc): New function.
704 (vax_frame_args_address_correct): Ditto.
705 (vax_frame_args_address): Ditto.
706 (vax_frame_locals_address): Ditto.
707 (vax_frame_num_args): Move code to be in proximity to
708 other frame-related functions.
709 * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan.
710 (FRAME_SAVED_PC): Use vax_frame_saved_pc.
711 (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct.
712 (FRAME_ARGS_ADDRESS): Use vax_frame_args_address.
713 (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
715 2002-04-22 H.J. Lu (hjl@gnu.org)
717 * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and
720 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
722 * vax-tdep.c (vax_frame_init_saved_regs): New function.
723 * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove.
724 (FRAME_INIT_SAVED_REGS): New macro.
726 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
728 * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.
730 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
732 * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants
734 (fetch_osf_core_registers): Likewise.
735 (supply_gregset): Likewise.
737 2002-04-22 J. Brobecker <brobecker@gnat.com>
739 * symfile.h (get_section_index): Define.
740 * symfile.c (get_section_index): New function.
741 * mdebugread.c (SC_IS_SBSS): New macro.
742 (SC_IS_BSS): Return true for the scBss storage class only, as
743 the scSBss storage class refers to the .sbss section.
744 (parse_partial_symbols): Discard the symbols which associated
745 section does not exist.
746 Make sure to use the .sbss section index for symbols which
747 storage class is scBss, rather than using the .bss section index.
749 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
751 * vax-tdep.c: Update copyright years.
752 (vax_register_name): New function.
753 (vax_register_byte): Ditto.
754 (vax_register_raw_size): Ditto.
755 (vax_register_virtual_size): Ditto.
756 (vax_register_virtual_type): Ditto.
757 * config/vax/tm-vax.h: Update copyright years.
758 (REGISTER_NAMES): Remove.
759 (REGISTER_NAME): Define.
760 (REGISTER_BYTE): Use vax_register_byte.
761 (REGISTER_RAW_SIZE): Use vax_register_raw_size.
762 (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size.
763 (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type.
765 2002-04-21 Andrew Cagney <ac131313@redhat.com>
767 * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore
769 * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
771 2002-04-21 David S. Miller <davem@redhat.com>
773 * arch-utils.c (generic_prologue_frameless_p): Kill
774 SKIP_PROLOGUE_FRAMELESS_P code.
775 * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
777 (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New.
778 * arc-tdep.c (arc_prologue_frameless_p): Implement.
779 * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
781 (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New.
782 * sparc-tdep.c (sparc_prologue_frameless_p): Implement.
783 (sparc_gdbarch_init): Pass it to
784 set_gdbarch_prologue_frameless_p.
786 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
788 * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.
789 (alphabsd-nat.o): New dependency list.
791 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
793 * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and
795 (alpha-linux-tdep.o): New dependency list.
796 (alphafbsd-tdep.o): Likewise.
798 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
800 * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset
802 * alpha-tdep.c: ...from here.
803 * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
805 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
807 * config/alpha/tm-alpha.h: Move alpha_software_single_step
808 prototype from here...
809 * alpha-tdep.h: ...to here.
811 2002-04-21 Andrew Cagney <ac131313@redhat.com>
813 * frame.h (selected_frame_level): Document as deprecated.
814 (frame_relative_level): Declare.
815 * stack.c (frame_relative_level): New function.
816 (selected_frame_level): Document as deprecated.
817 (select_frame): Do not set the selected_frame_level.
819 * stack.c (frame_info, record_selected_frame): Update.
820 (frame_command, current_frame_command): Update.
821 (up_silently_base, up_command, down_silently_base): Update.
822 (down_command): Update.
823 * inflow.c (kill_command): Update.
824 * tracepoint.c (finish_tfind_command): Update.
825 * corelow.c (core_open): Update.
826 * thread.c (info_threads_command): Update.
827 (do_captured_thread_select): Update.
828 * infcmd.c (finish_command): Update.
829 * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
831 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
833 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.
835 2002-04-21 Andrew Cagney <ac131313@redhat.com>
837 * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
840 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
842 * alphafbsd-tdep.c: Update copyright years. Include
844 (alphafbsd_use_struct_convention): Make static.
845 (alphafbsd_init_abi): New function.
846 (_initialize_alphafbsd_tdep): New function.
847 * config/alpha/tm-fbsd.h: Update copyright years.
848 (USE_STRUCT_CONVENTION): Remove.
850 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
852 * alpha-tdep.c (alpha_abi_handler): New structure to describe
853 an Alpha ABI variant.
854 (alpha_abi_handler_list): Declare.
855 (alpha_gdbarch_register_os_abi): New function.
856 (alpha_gdbarch_init): Give registered ABI variant handlers a
857 chance to tweak the gdbarch once we have set up defaults.
858 * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
860 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
862 * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double
863 to standard_coerce_float_to_double.
864 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
866 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
868 * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.
869 * alpha-tdep.c (heuristic_proc_start): Use vm_min_address
870 from gdbarch_tdep rather than a constant.
871 (alpha_gdbarch_init): Initialize tdep->vm_min_address to
872 the default text address for all Alpha Unix ABIs.
873 (alpha_dump_tdep): Report the value of tdep->vm_min_address.
874 * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
876 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
878 * alpha-tdep.h: New file. Includes several Alpha target constants
880 * config/alpha/tm-alpha.h: ...here. Remove macros that we now
881 let gdbarch deal with.
882 (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL.
883 * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd
885 * alpha-nat.c: Include alpha-tdep.h. Update for adjusted
886 Alpha target register names.
887 * alphabsd-nat.c: Likewise.
888 * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted
889 Alpha target register names. Make serveral routines static.
890 (alpha_get_saved_register): New function.
891 (alpha_abi_names): New.
892 (process_note_abi_tag_sections): New function.
893 (get_elfosabi): New function.
894 (alpha_gdbarch_init): New function.
895 (alpha_dump_tdep): New function.
896 (_initialize_alpha_tdep): Register alpha_gdbarch_init.
898 2002-04-21 Andrew Cagney <ac131313@redhat.com>
900 * frame.c (find_saved_register): Delete #ifdef
901 HAVE_REGISTER_WINDOWS code.
902 * config/sparc/tm-sparc.h: Update comments.
903 * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro.
905 2002-04-21 Andrew Cagney <ac131313@redhat.com>
907 * i960-tdep.c (i960_find_saved_register): New function.
908 (i960_get_saved_register): New function.
909 * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define.
910 (i960_get_saved_register): Declare.
911 * config/i960/tm-i960.h, i960-tdep.c: Update copyright.
913 2002-04-20 David S. Miller <davem@redhat.com>
915 * sparc-nat.c (store-inferior_registers): Fix ambiguous else.
917 2002-04-20 Andrew Cagney <ac131313@redhat.com>
919 * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
920 instead of NUM_PSEUDO_REGS.
922 2002-04-20 David S. Miller <davem@redhat.com>
924 * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
925 GDB_MULTI_ARCH_PARTIAL
926 * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
927 define, let tm-sp64.h do it.
929 2002-04-20 Jason Thorpe <thorpej@wasabisystems.com>
931 * frame.c (find_saved_register): Avoid a NULL pointer
932 dereference and actually walk the frame list.
934 2002-04-20 Andrew Cagney <ac131313@redhat.com>
936 * gdbarch.sh (gdbarch_update_p): Keep the list of architectures
937 sorted in most most-recent-used order. Document.
938 * gdbarch.h, gdbarch.c: Regenerate.
940 2002-04-20 Daniel Jacobowitz <drow@mvista.com>
942 * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
943 (add_inferior): Call create_register_cache.
944 (clear_inferiors): Call free_register_cache.
945 (inferior_regcache_data, set_inferior_regcache_data): New functions.
946 * gdbserver/regcache.c (struct inferior_regcache_data): New.
948 (get_regcache): New function.
949 (create_register_cache, free_register_cache): New functions.
950 (set_register_cache): Don't initialize the register cache here.
951 (registers_to_string, registers_from_string, register_data): Call
953 * gdbserver/regcache.h: Add prototypes.
954 * gdbserver/server.h: Likewise.
956 2002-04-20 Daniel Jacobowitz <drow@mvista.com>
958 * gdbserver/mem-break.c: New file.
959 * gdbserver/mem-break.h: New file.
960 * gdbserver/Makefile.in: Add mem-break.o rule; update server.h
962 * gdbserver/inferiors.c (struct inferior_info): Add target_data
964 (clear_inferiors): Free target_data member if set.
965 (inferior_target_data, set_inferior_target_data): New functions.
966 * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
967 (i386_stop_pc, i386_set_pc): New. Add to the_low_target.
968 * gdbserver/linux-low.c (linux_bp_reinsert): New variable.
969 (struct inferior_linux_data): New.
970 (linux_create_inferior): Use set_inferior_target_data.
971 (linux_attach): Likewise. Call add_inferior.
972 (linux_wait_for_one_inferior): New function.
973 (linux_wait): Call it.
974 (linux_write_memory): Add const.
975 (initialize_low): Call set_breakpoint_data.
976 * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
978 * gdbserver/server.c (attach_inferior): Remove extra add_inferior
980 * gdbserver/server.h: Include mem-break.h. Update inferior.c
982 * gdbserver/target.c (read_inferior_memory)
983 (write_inferior_memory): New functions.
984 * gdbserver/target.h (read_inferior_memory)
985 (write_inferior_memory): Change macros to prototypes.
986 (struct target_ops): Update comments. Add const to write_memory
989 2002-04-19 Andrew Cagney <ac131313@redhat.com>
991 * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
993 * z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
994 * s390-tdep.c (s390_frame_chain): Do not use ->prev.
995 * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
998 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1001 * gdbtypes.c (init_simd_type): Rewrite using new functions.
1002 (build_builtin_type_vec128): Ditto.
1003 (append_composite_type_field): Fix calculation of type length in
1006 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
1008 * config/djgpp/README: Update.
1010 * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
1013 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
1015 * alpha-tdep.c (setup_arbitrary_frame): Rename...
1016 (alpha_setup_arbitrary_frame): ...to this.
1017 * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
1018 for alpha_setup_arbitrary_frame.
1020 2002-04-18 Andrew Cagney <cagney@redhat.com>
1022 * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
1023 * gdbarch.h, gdbarch.c: Regenerate.
1025 * defs.h (breakpoint_from_pc_fn): Delete type definition.
1026 * target.h (memory_breakpoint_from_pc): Update declaration.
1027 * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
1029 * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
1030 * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
1031 * mem-break.c (memory_breakpoint_from_pc): Ditto.
1032 * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
1033 * s390-tdep.c (s390_breakpoint_from_pc): Ditto
1034 * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
1035 * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
1036 * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
1037 * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
1038 * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
1039 * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
1040 * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
1042 * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
1044 * monitor.c (monitor_insert_breakpoint): Ditto.
1045 * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
1047 * config/mcore/tm-mcore.h: Update copyright.
1048 * mem-break.c: Ditto.
1049 * xstormy16-tdep.c: Ditto.
1051 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
1053 * p-exp.y: Add precedence rule for '^' token.
1054 This removes the shift/reduce conflicts.
1055 Remove the comment concerning these shift/reduce conflicts.
1057 2002-04-18 Elena Zannoni <ezannoni@redhat.com>
1059 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
1060 (registers_powerpc_nofp): New register set for processors
1061 without floating point unit.
1063 2002-04-18 David S. Miller <davem@redhat.com>
1065 * MAINTAINERS: Add myself to write-after-approval.
1067 2002-04-17 Michael Snyder <msnyder@redhat.com>
1069 * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm.
1071 2002-04-17 Andrew Cagney <ac131313@redhat.com>
1073 * rs6000-tdep.c (frame_initial_stack_address): Use
1074 frame_register_read to read the alloca_reg.
1076 2002-04-17 Andrew Cagney <ac131313@redhat.com>
1078 * frame.c (find_saved_register): Find saved registers in the next
1082 2002-04-17 Andrew Cagney <ac131313@redhat.com>
1084 * gdbarch.sh (LANG): Set to ``c''.
1086 2002-04-15 Andrew Cagney <ac131313@redhat.com>
1088 * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
1090 2002-04-15 Andrew Cagney <ac131313@redhat.com>
1092 * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
1095 * hpread.c (hpread_get_lntt): Add declaration.
1096 Also fix PR gdb/391.
1098 2002-04-14 Andrew Cagney <ac131313@redhat.com>
1100 * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
1101 * aclocal.m4, configure: Re-generate.
1104 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
1106 * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
1107 instead of tm_print_insn.
1109 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
1111 * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
1113 2002-04-14 Andrew Cagney <ac131313@redhat.com>
1115 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
1116 * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
1117 (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
1119 2002-04-12 Don Howard <dhoward@redhat.com>
1121 * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
1122 max_user_call_depth.
1123 (init_cmd_lists): Initialize the new value;
1124 * cli/cli-script.c (execute_user_command): Limit the call depth of
1125 user defined commands. This avoids a core-dump when user commands
1126 are infinitly recursive.
1128 2002-04-12 Kevin Buettner <kevinb@redhat.com>
1130 * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
1131 * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
1132 from tdep struct instead of DEFAULT_LR_SAVE.
1133 (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
1134 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
1135 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
1137 2002-04-12 Michael Snyder <msnyder@redhat.com>
1139 * Remote.c: Spelling fix.
1140 * gcore.c (default_derive_heap_segment): Use bfd_section_name.
1141 If no symbol found for "sbrk", try "_sbrk".
1142 (make_output_phdrs): Use bfd_section_name.
1143 (gcore_copy_callback): Use bfd_section_name.
1144 * eval.c: Indentation fix-ups.
1145 * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
1146 in case it gets applied to an address that is already
1147 in the instruction space.
1148 * cli/cli-decode.c (help_list): Allow long lines to wrap.
1149 * symfile.c: Fix indentation, long lines.
1150 * source.c: White space fix-up.
1152 2002-04-12 Andrew Cagney <cagney@redhat.com>
1154 * defs.h (read_relative_register_raw_bytes): Delete declaration.
1155 * frame.c (frame_register_read): New function. Return non-zero on
1157 (read_relative_register_raw_bytes_for_frame): Delete.
1158 (read_relative_register_raw_bytes): Delete.
1159 * frame.h (frame_register_read): Declare.
1160 * d30v-tdep.c: Update Copyright. Use frame_register_read.
1162 * infcmd.c (do_registers_info): Ditto.
1163 * hppa-tdep.c: Ditto.
1164 * rs6000-tdep.c: Ditto.
1165 * h8500-tdep.c: Ditto.
1166 * mips-tdep.c: Ditto.
1167 * h8300-tdep.c: Ditto.
1168 * z8k-tdep.c: Ditto.
1170 2002-04-12 Kevin Buettner <kevinb@redhat.com>
1172 From Jimi X <jimix@watson.ibm.com>:
1173 * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
1176 2002-04-12 Kevin Buettner <kevinb@redhat.com>
1178 From Jimi X <jimix@watson.ibm.com>:
1179 * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
1182 2002-04-12 Kevin Buettner <kevinb@redhat.com>
1184 From Jimi X <jimix@watson.ibm.com>:
1185 * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
1186 register sets for these processor variants.
1188 2002-04-11 Daniel Jacobowitz <drow@mvista.com>
1190 * gdbserver/linux-low.c (usr_store_inferior_registers): Support
1191 registers which are allowed to fail to store.
1192 * gdbserver/linux-low.h (linux_target_ops): Likewise.
1193 * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
1194 (ppc_cannot_store_register): FPSCR may not be storable.
1195 * regformats/reg-ppc.dat: Support FPSCR.
1197 2002-04-11 Kevin Buettner <kevinb@redhat.com>
1199 * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
1200 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
1201 Add fpscr as an invalid/unfetchable register.
1202 * ppc-linux-nat.c (ppc_register_u_addr, store_register)
1203 (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
1204 (fill_fpregset): Add support for register fpscr.
1205 (fetch_ppc_registers, store_ppc_registers, supply_gregset)
1206 (fill_gregset): Account for the fact that register ``mq'' might
1208 * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
1209 (registers_power): Add fpscr to register set at slot 71.
1210 (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
1211 exist on most PPC architectures. Initialize ppc_fpscr_regnum.
1213 2002-04-11 Michael Snyder <msnyder@redhat.com>
1215 * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
1216 * configure: Regenerate.
1217 * config.in: Regenerate.
1218 * acconfig.h: Add define for _SYSCALL32.
1219 * core-sol2.c: Remove #define _SYSCALL32.
1220 * solib-legacy.c: Remove #define _SYSCALL32.
1222 2002-04-10 Andrew Cagney <ac131313@redhat.com>
1224 * stack.c (select_frame): Cleanup internal error message, do not
1227 2002-04-10 Andrew Cagney <ac131313@redhat.com>
1229 * stack.c (select_frame): Check that selected_frame and the
1230 specified level are as expected.
1231 * blockframe.c (get_prev_frame): Set the `level' from next_frame.
1233 * frame.h (struct frame_info): Add field `level'. Update
1235 Work-in-progress PR gdb/464.
1237 2002-04-10 Andrew Cagney <ac131313@redhat.com>
1239 * maint.c (maint_print_section_info): Rename print_section_info.
1240 (print_bfd_section_info, print_objfile_section_info): Update.
1241 * inferior.h (struct gdbarch): Add opaque declaration.
1242 * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
1243 * gdbarch.h: Regenerate.
1245 2002-04-10 Michal Ludvig <mludvig@suse.cz>
1247 * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
1248 (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
1249 (kernel_u_size): Added.
1250 * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
1251 (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
1253 2002-04-04 Jim Ingham <jingham@apple.com>
1255 * valarith.c (find_size_for_pointer_math): New function, either returns
1256 the size for a pointer's target, returns 1 for void *, or errors for
1258 (value_add, value_sub): use find_size_for_pointer_math.
1260 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1262 * linux-low.c (linux_look_up_symbols): New hook.
1263 (linux_target_ops): Add linux_look_up_symbols.
1264 * remote-utils.c (decode_address): New function.
1265 (look_up_one_symbol): New function.
1266 * server.c (handle_query): Call target look_up_symbols hook.
1267 * server.h (look_up_one_symbol): Add prototype.
1268 * target.h (struct target_ops): Add look_up_symbols hook.
1270 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1272 * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
1273 * ChangeLog: Correct paths in last ChangeLog entry.
1275 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1277 * gdbserver/linux-low.h: Remove obsolete prototypes.
1278 (struct linux_target_ops): New.
1279 (extern the_low_target): New.
1280 * gdbserver/linux-low.c (num_regs, regmap): Remove declarations.
1281 (register_addr): Use the_low_target explicitly.
1282 (fetch_register): Likewise.
1283 (usr_fetch_inferior_registers): Likewise.
1284 (usr_store_inferior_registers): Likewise.
1285 * gdbserver/linux-arm-low.c (num_regs): Remove.
1286 (arm_num_regs): Define.
1287 (arm_regmap): Renamed from regmap, made static.
1288 (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
1290 (arm_cannot_store_register): Renamed from cannot_store_register,
1292 (the_low_target): New.
1293 * gdbserver/linux-i386-low.c (num_regs): Remove.
1294 (i386_num_regs): Define.
1295 (i386_regmap): Renamed from regmap, made static.
1296 (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
1298 (i386_cannot_store_register): Renamed from cannot_store_register,
1300 (the_low_target): New.
1301 * gdbserver/linux-ia64-low.c (num_regs): Remove.
1302 (ia64_num_regs): Define.
1303 (ia64_regmap): Renamed from regmap, made static.
1304 (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
1306 (ia64_cannot_store_register): Renamed from cannot_store_register,
1308 (the_low_target): New.
1309 * gdbserver/linux-m68k-low.c (num_regs): Remove.
1310 (m68k_num_regs): Define.
1311 (m68k_regmap): Renamed from regmap, made static.
1312 (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
1314 (m68k_cannot_store_register): Renamed from cannot_store_register,
1316 (the_low_target): New.
1317 * gdbserver/linux-mips-low.c (num_regs): Remove.
1318 (mips_num_regs): Define.
1319 (mips_regmap): Renamed from regmap, made static.
1320 (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
1322 (mips_cannot_store_register): Renamed from cannot_store_register,
1324 (the_low_target): New.
1325 * gdbserver/linux-ppc-low.c (num_regs): Remove.
1326 (ppc_num_regs): Define.
1327 (ppc_regmap): Renamed from regmap, made static.
1328 (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
1330 (ppc_cannot_store_register): Renamed from cannot_store_register,
1332 (the_low_target): New.
1333 * gdbserver/linux-s390-low.c (num_regs): Remove.
1334 (s390_num_regs): Define.
1335 (s390_regmap): Renamed from regmap, made static.
1336 (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
1338 (s390_cannot_store_register): Renamed from cannot_store_register,
1340 (the_low_target): New.
1341 * gdbserver/linux-sh-low.c (num_regs): Remove.
1342 (sh_num_regs): Define.
1343 (sh_regmap): Renamed from regmap, made static.
1344 (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
1346 (sh_cannot_store_register): Renamed from cannot_store_register,
1348 (the_low_target): New.
1349 * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
1350 (the_low_target): New.
1352 2002-04-09 Andrew Cagney <ac131313@redhat.com>
1354 * frame.c (read_relative_register_raw_bytes_for_frame): Do not
1355 override FP_REGNUM with frame->fp. Update copyright.
1356 * parse.c (num_std_regs, std_regs): Delete.
1357 (target_map_name_to_register): Do not search std_regs. Update
1358 function description.
1359 * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
1360 declarations. Update copyright.
1363 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1365 * gdbserver/Makefile.in: Add stamp-h target.
1366 * gdbserver/configure.in: Create stamp-h.
1367 * gdbserver/configure: Regenerated.
1369 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1371 * gdbserver/inferiors.c: New file.
1372 * gdbserver/target.c: New file.
1373 * gdbserver/target.h: New file.
1374 * gdbserver/Makefile.in: Add target.o and inferiors.o. Update
1376 * gdbserver/linux-low.c (inferior_pid): New static variable,
1377 moved from server.c.
1378 (linux_create_inferior): Renamed from create_inferior.
1379 Call add_inferior. Return 0 on success instead of a PID.
1380 (linux_attach): Renamed from myattach.
1381 (linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
1382 (linux_thread_alive): Renamed from mythread_alive.
1383 (linux_wait): Renamed from mywait. Call clear_inferiors () if the
1385 (linux_resume): Renamed from myresume. Add missing ``return 0''.
1386 (regsets_store_inferior_registers): Correct error message.
1387 Add missing ``return 0''.
1388 (linux_fetch_registers): Renamed from fetch_inferior_registers.
1389 (linux_store_registers): Renamed from store_inferior_registers.
1390 (linux_read_memory): Renamed from read_inferior_memory.
1391 (linux_write_memory): Renamed from write_inferior_memory.
1392 (linux_target_ops): New structure.
1393 (initialize_low): Call set_target_ops ().
1394 * gdbserver/remote-utils.c (unhexify): New function.
1395 (hexify): New function.
1396 (input_interrupt): Send signals to ``signal_pid''.
1397 * gdbserver/server.c (inferior_pid): Remove.
1398 (start_inferior): Update create_inferior call.
1399 (attach_inferior): Call add_inferior.
1400 (handle_query): New function.
1401 (main): Call handle_query for `q' packets.
1402 * gdbserver/server.h: Include "target.h". Remove obsolete prototypes.
1403 Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
1405 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1407 * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury
1409 * gdbserver/configure.in: Check for <string.h>
1410 * gdbserver/configure: Regenerate.
1411 * gdbserver/config.in: Regenerate.
1412 * gdbserver/gdbreplay.c: Include needed system headers.
1413 (remote_open): Remove strchr prototype.
1414 * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
1415 * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
1416 (supply_register_by_name): Likewise.
1417 (collect_register): Change buf argument to void *.
1418 (collect_register_by_name): Likewise.
1419 * gdbserver/regcache.h: Add missing prototypes.
1420 * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
1421 * gdbserver/server.c (handle_query): New function.
1422 (attached): New static variable, moved out of main.
1423 (main): Quiet longjmp clobber warnings.
1424 * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
1425 * gdbserver/utils.c (error): Remove NORETURN.
1428 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1430 * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
1431 after the last symbol in a block.
1433 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
1435 * p-exp.y (yylex): Handle also the fact that is_a_field_of_this
1436 is non zero as a found symbol.
1438 2002-04-08 Andrew Cagney <ac131313@redhat.com>
1440 * findvar.c: Include "builtin-regs.h".
1441 (value_of_register): Call value_of_builtin_reg when applicable.
1442 * parse.c: Include "builtin-regs.h" and "gdb_assert.h".
1443 (target_map_name_to_register): Call
1444 builtin_reg_map_name_to_regnum.
1445 * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
1446 (COMMON_OBS): Add builtin-regs.o and std-regs.o.
1447 (builtin_regs_h): Define.
1448 (builtin-regs.o): New target.
1449 (findvar.o): Add $(builtin_regs_h).
1450 * builtin-regs.c, builtin-regs.h: New files.
1451 * std-regs.c: New file.
1452 Partial fix for PR gdb/251.
1454 2002-04-08 Kevin Buettner <kevinb@redhat.com>
1456 * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
1457 it's no longer required.
1459 2002-04-08 Andrew Cagney <ac131313@redhat.com>
1461 * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
1463 2002-04-08 Kevin Buettner <kevinb@redhat.com>
1465 From Jimi X <jimix@watson.ibm.com>:
1466 * rs6000-tdep.c (rs6000_software_single_step): Use
1467 rs6000_breakpoint_from_pc() to fetch breakpoint instruction
1468 and size. Use target_insert_breakpoint() and
1469 target_remove_breakpoint() to insert and remove breakpoints
1470 instead of explicit memory reads and writes.
1472 2002-04-08 Kevin Buettner <kevinb@redhat.com>
1474 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
1475 * rs6000-tdep.c (rs6000_push_arguments): Eliminate
1476 ELF_OBJECT_FORMAT ifdef.
1478 2002-04-08 Kevin Buettner <kevinb@redhat.com>
1480 From Jimi X <jimix@watson.ibm.com>:
1481 * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
1483 2002-04-08 Kevin Buettner <kevinb@redhat.com>
1485 From Jimi X <jimix@watson.ibm.com>:
1486 * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
1487 definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
1489 2002-04-07 Mark Kettenis <kettenis@gnu.org>
1491 * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
1492 s/asprintf/xasprintf/.
1493 (fbsd_make_corefile_notes): s/strdup/xstrdup/.
1495 2002-04-07 Andrew Cagney <ac131313@redhat.com>
1497 I believe Jeff Law denies responsability for this one:
1498 * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
1499 * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
1500 * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
1501 Work-around for PR gdb/366.
1503 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1505 * remote-e7000.c (write_small, e7000_read_inferior_memory,
1506 e7000_read_inferior_memory_large, e7000_insert_breakpoint,
1507 e7000_remove_breakpoint): Use paddr_nz() to print addresses.
1509 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1511 * sh-tdep.c (sh_fp_frame_init_saved_regs,
1512 sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
1515 2002-04-07 Andrew Cagney <ac131313@redhat.com>
1517 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
1520 2002-04-07 Andrew Cagney <ac131313@redhat.com>
1522 * README (Reporting Bugs in GDB): Document the bug web page as the
1523 prefered way of submitting bugs.
1526 2002-04-06 Andrew Cagney <ac131313@redhat.com>
1528 * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
1530 * gdbarch.h, gdbarch.c: Re-generate.
1532 2002-04-07 Andreas Schwab <schwab@suse.de>
1534 * m68klinux-nat.c (fill_fpregset): Properly pass address of
1535 buffer to regcache_collect.
1537 2002-04-06 Andrew Cagney <ac131313@redhat.com>
1539 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
1540 * gdbarch.c, gdbarch.h: Re-generate.
1542 2002-04-06 Andrew Cagney <ac131313@redhat.com>
1544 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
1545 declaration. Fix -Werror.
1547 2002-04-05 Daniel Jacobowitz <drow@mvista.com>
1549 * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
1550 * gdbarch.c: Regenerate.
1552 2002-04-05 Michael Snyder <msnyder@redhat.com>
1554 * breakpoint.c (clear_command): Rewrite middle section to
1555 combine two loops with identical control conditions.
1556 Add a cleanup to eliminate a memory leak.
1557 * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
1559 2002-04-05 H.J. Lu (hjl@gnu.org)
1561 * solib-svr4.c (bkpt_names): Add "__start".
1563 2002-04-04 Andrew Cagney <ac131313@redhat.com>
1565 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
1566 as test for 64 bit target.
1568 2002-04-05 Andrew Cagney <ac131313@redhat.com>
1570 * h8500-tdep.c (h8500_write_fp): Delete function.
1571 * dwarf2cfi.c (cfi_write_fp): Document as not used.
1572 * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
1573 * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
1574 * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
1575 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
1576 * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
1578 * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
1579 * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
1580 * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
1581 (d10v_write_fp): Delete function.
1582 * inferior.h (write_fp, generic_target_write_fp): Delete
1584 * regcache.c (generic_target_write_fp): Delete function.
1585 (write_fp): Delete function.
1586 * gdbarch.sh (TARGET_WRITE_FP): Delete.
1587 * gdbarch.h, gdbarch.c: Regenerate.
1588 * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
1589 * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
1590 (sparc64_write_fp): Delete declaration.
1591 * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
1592 (h8500_write_fp): Delete declaration.
1594 2002-04-04 Andrew Cagney <ac131313@redhat.com>
1596 * sparc-tdep.c (sparc64_write_fp): Delete.
1597 (sparc_push_dummy_frame): Replace write_fp call with code to store
1599 (sparc_gdbarch_init): Do not initialize write_fp.
1601 2002-04-05 Kevin Buettner <kevinb@redhat.com>
1603 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
1606 2002-03-29 Jim Blandy <jimb@redhat.com>
1608 * stack.c (get_selected_block): Add new argument `addr_in_block',
1609 used to return the exact code address we used to select the block,
1611 * blockframe.c (get_frame_block, get_current_block): Same.
1612 * frame.h (get_frame_block, get_current_block,
1613 get_selected_block): Update declarations.
1614 * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
1615 linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
1617 2002-04-05 Michael Snyder <msnyder@redhat.com>
1619 * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
1622 2002-04-05 J. Brobecker <brobecker@gnat.com>
1624 * utils.c (xfullpath): New function.
1625 * defs.h (xfullpath): Add declaration.
1626 * source.c (openp): Use xfullpath in place of gdb_realpath to
1627 avoid resolving the basename part of filenames when the
1628 associated file is a symbolic link. This fixes a potential
1629 inconsistency between the filenames known to GDB and the
1630 filenames it prints in the annotations.
1631 * symtab.c (lookup_symtab): Use the new xfullpath function, in order
1632 to be able to match a filename with either the real filename, or
1633 the name of any symbolic link to this file.
1634 (lookup_partial_symtab): Ditto.
1636 2002-04-04 Michael Snyder <msnyder@redhat.com>
1638 * breakpoint.c: Add support for hardware breakpoints in overlays.
1639 (overlay_events_enabled): New state variable.
1640 (insert_breakpoints): Use overlay_events_enabled to decide
1641 whether to attempt to set a breakpoint at the overlay load addr.
1642 Handle bp_hardware_breakpoint as well as bp_breakpoint.
1643 (remove_breakpoint): Use overlay_events_enabled to decide
1644 whether breakpoints need to be removed from overlay load addr.
1645 Handle bp_hardware_breakpoint as well as bp_breakpoint.
1646 (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
1647 (create_overlay_event_breakpoint, enable_overlay_breakpoints,
1648 disable_overlay_breakpoints): Update overlay_events_enabled.
1650 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1652 * dwarf2read.c (struct function_range): New.
1653 (cu_first_fn, cu_last_fn, cu_cached_fn): New.
1654 (check_cu_functions): New.
1655 (read_file_scope): Initialize global function lists.
1656 Call dwarf_decode_line after processing children.
1657 (read_func_scope): Add to global function list.
1658 (dwarf_decode_lines): Call check_cu_functions everywhere
1659 record_line is called. Call record_line with a linenumber
1660 of 0 to mark sequence ends.
1662 2002-04-04 Michal Ludvig <mludvig@suse.cz>
1664 * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
1665 change sync with glibc.
1667 2002-04-03 Jim Blandy <jimb@redhat.com>
1669 * configure.in: Call AC_C_INLINE.
1670 * configure: Regenerated.
1672 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
1674 * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
1675 and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
1677 2002-03-31 Mark Kettenis <kettenis@gnu.org>
1679 * NEWS: Mention gcore support on FreeBSD/i386.
1681 * fbsd-proc.c: New file.
1682 * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
1683 * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
1685 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
1688 2002-03-29 Jim Blandy <jimb@redhat.com>
1690 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
1691 unescaped newlines in string literals, but newer ones don't. So
1694 2002-03-26 Michael Snyder <msnyder@redhat.com>
1695 Andrew Cagney <cagney@redhat.com>
1697 * cli/cli-dump.c: New file. Dump memory to file,
1698 restore file to memory.
1699 * cli/cli-dump.h: New file.
1700 * Makefile.in: Add rules, dependencies for cli-dump.o.
1701 * NEWS: Mention new commands.
1703 2002-03-28 Michael Snyder <msnyder@redhat.com>
1705 * symfile.c (symbol_file_add): Move test for null symbols to later.
1707 2002-03-27 Andrew Cagney <ac131313@redhat.com>
1709 From veksler at il.ibm.com:
1710 * utils.c (gdb_realpath): If canonicalize_file_name fails, return
1711 the xstrduped original path.
1714 2002-03-27 Michael Snyder <msnyder@redhat.com>
1716 * breakpoint.c (_initialize_breakpoint): Clean up help string.
1717 * infcmd.c (_initialize_infcmd): Ditto.
1718 * language.c (_initialize_language): Ditto.
1719 * symfile.c (_initialize_symfile): Ditto.
1720 * top.c (_init_main): Ditto.
1721 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1723 2002-03-27 Elena Zannoni <ezannoni@redhat.com>
1725 * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
1726 vector registers handling.
1727 (skip_prologue): Handle new AltiVec instructions. Fill in new
1728 fields of frame data.
1729 (frame_get_saved_regs): Fill in information for AltiVec registers.
1731 2002-03-27 Jim Blandy <jimb@redhat.com>
1733 * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
1734 a function; leave this macro here to invoke that function.
1735 (symbol_init_mangled_name): Declaration for that function.
1736 * symtab.c (symbol_init_mangled_name): New function.
1738 2002-03-27 Andrew Cagney <ac131313@redhat.com>
1740 * valarith.c: Replace strerror with safe_strerror.
1741 * tracepoint.c: Ditto.
1743 * go32-nat.c: Ditto.
1747 2002-03-27 Andreas Schwab <schwab@suse.de>
1749 * event-top.c (command_line_handler): Remove useless if.
1751 2002-03-27 Andreas Jaeger <aj@suse.de>
1753 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
1756 2002-03-27 Michal Ludvig <mludvig@suse.cz>
1758 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
1759 (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
1760 * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
1761 (x86_64_linux_dr_get_status, supply_gregset),
1762 (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
1763 * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
1764 (x86_64_register_info_table): Add.
1765 (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
1766 (x86_64_register_raw_size, x86_64_register_virtual_type),
1767 (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
1768 general x86_64_register_info_table.
1769 (i386_gdbarch_init): gdbarch_register_bytes is now set
1770 dynamicaly during initialization.
1771 * regformats/reg-x86-64.dat: Synced with changes to registers above.
1772 * gdbserver/linux-x86-64-low.c: Ditto.
1774 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
1776 * gdbserver/server.c (main): Call target_signal_to_host_p
1777 and target_signal_to_host on signals received from the remote.
1778 * gdbserver/remote-utils.c (prepare_resume_reply): Call
1779 target_signal_from_host on signals sent to the remote.
1780 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
1781 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
1783 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
1785 * signals/signals.c: Include "server.h" in gdbserver build.
1786 (target_signal_from_name): Don't use STREQ.
1787 (_initialize_signals): Likewise. Don't include function in
1790 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
1792 * signals.c: Moved to...
1793 * signals/signals.c: Here.
1794 * Makefile (signals.o): Update.
1796 2002-03-26 Jeff Law (law@redhat.com)
1798 * somread.c (som_symtab_read): Remove some commented out code and
1799 updated related comments. Do not set the minimal symbol table to
1800 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
1801 in a dynamic executable.
1802 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
1803 where we are unable to find the minimal symbol for the given
1806 2002-03-25 Jeff Law (law@redhat.com)
1808 * linux-proc.c (read_mapping): Scan up to end of line for filename.
1810 2002-03-25 Michal Ludvig <mludvig@suse.cz>
1812 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
1814 2002-03-23 Andrew Cagney <ac131313@redhat.com>
1816 * command.h: Update copyright.
1817 (struct cmd_list_element): Replace definition with opaque
1819 (enum cmd_types): Document that it will eventually be moved to
1821 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
1822 (MALLOCED_REPLACEMENT): Delete macro.
1823 * Makefile.in (cli_decode_h): Add $(command_h).
1824 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
1825 * top.c: Include "cli/cli-decode.h".
1826 * completer.c: Include "cli/cli-decode.h".
1827 * maint.c: Include "cli/cli-decode.h".
1828 * cli/cli-decode.h: Include "command.h".
1829 (enum command_class): Delete.
1830 (enum cmd_types): Comment out.
1831 (enum cmd_auto_boolean): Delete.
1832 (enum var_types): Delete.
1834 2002-03-23 Andrew Cagney <ac131313@redhat.com>
1836 * cli/cli-decode.c: Include "gdb_assert.h".
1837 (add_set_or_show_cmd): New static function.
1838 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
1839 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
1840 all fields, such as func, from the set command.
1842 2002-03-23 Andrew Cagney <ac131313@redhat.com>
1844 * MAINTAINERS (sh-elf): Change warning flag to -w.
1846 2002-03-23 Andrew Cagney <cagney@redhat.com>
1848 * defs.h (error): Add printf format attribute.
1849 * thread-db.c (thread_from_lwp): Fix error format string.
1850 * stack.c (parse_frame_specification): Ditto.
1851 * cli/cli-decode.c (undef_cmd_error): Ditto.
1852 * scm-lang.c (scm_lookup_name): Ditto.
1853 * tracepoint.c (trace_error): Ditto.
1854 * remote-utils.c (usage): Ditto.
1855 * remote.c (compare_sections_command): Ditto.
1858 2002-03-22 Andrew Cagney <ac131313@redhat.com>
1860 * gdbtypes.c (append_composite_type_field): New function.
1861 (init_composite_type): New function.
1862 * gdbtypes.h (append_composite_type_field): Declare.
1863 (init_composite_type): Ditto.
1865 2002-03-22 Elena Zannoni <ezannoni@redhat.com>
1867 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
1869 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
1870 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
1871 structure returning convention for SYSV ABI case, but not
1872 for GNU/Linux, FreeBSD, or NetBSD.
1874 2002-03-22 Daniel Jacobowitz <drow@mvista.com>
1876 * symtab.h (lookup_block_symbol): Add mangled_name argument
1879 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
1880 with new mangled_name argument.
1881 * linespec.c (decode_line_1): Likewise.
1882 * valops (value_of_this): Likewise.
1883 * symtab.c (lookup_transparent_type): Likewise.
1884 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
1885 (lookup_symbol): If we are given a mangled name, pass it down
1886 to lookup_symbol_aux.
1887 (lookup_block_symbol): If we are given a mangled name to check
1888 against, only return symbols which match it.
1890 2002-03-22 Christopher Faylor <cgf@redhat.com>
1892 * win32-nat.c (child_create_inferior): Check for proper shell to use
1893 here, in case the user changes it on the fly.
1894 (_initialize_inftarg): Remove shell path considerations.
1896 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
1898 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
1899 for gdbarch_max_register_raw_size and max_register_virtual_size.
1900 Adjust copyright year.
1902 2002-03-21 Daniel Jacobowitz <drow@mvista.com>
1904 * dbxread.c (process_one_symbol): Extend the first N_SLINE
1905 in a function to cover the entire beginning of the function
1906 as well if it does not already.
1908 2002-03-21 Tom Rix <trix@redhat.com>
1910 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
1911 (rs6000_ptrace64): Renamed from ptrace64.
1913 2002-03-20 Martin M. Hunt <hunt@redhat.com>
1915 * gdbserver/remote-utils.c (remote_open): Don't call
1916 getprotobyname, we're all using TCP here so just use
1918 * gdbserver/gdbreplay.c (remote_open): Ditto.
1920 2002-03-20 Martin M. Hunt <hunt@redhat.com>
1922 * regcache.c (_initialize_regcache): No need to call
1923 build_regcache() at this time; it gets called whenever
1924 the gdbarch changes.
1926 2002-03-20 David O'Brien <obrien@FreeBSD.org>
1928 * sparc-nat.c: Include sys/param.h where possible.
1930 2002-03-20 Daniel Jacobowitz <drow@mvista.com>
1933 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
1934 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
1935 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
1937 * stabsread.c (rs6000_builtin_type): Likewise.
1938 (read_sun_floating_type): Likewise.
1940 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1942 * stabsread.c (read_member_functions): Remove skip code for duplicate
1943 constructor/destructor methods. Use standard parsing for these
1944 methods and just do not chain them to the list of methods after
1947 2002-03-19 Alexandre Oliva <aoliva@redhat.com>
1949 * coffread.c: Remove redundant static declarations. Replace
1950 occurrences of `PTR' with `void *'.
1951 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
1952 * top.h (quit_cover): Likewise.
1953 * defs.h (catch_errors): Likewise.
1955 2002-03-18 Andrew Cagney <ac131313@redhat.com>
1957 * defs.h (XMALLOC): Define.
1958 * gdb-events.sh (XMALLOC): Delete macro.
1959 * gdb-events.c, gdb-events.h: Regenerate.
1960 * gdbarch.sh (XMALLOC): Delete macro.
1961 * gdbarch.c: Regenerate.
1962 * serial.c (XMALLOC): Delete macro.
1963 * ui-file.c (XMALLOC): Ditto.
1964 * ser-unix.h (XMALLOC): Ditto.
1965 * sh-tdep.c (XMALLOC): Ditto.
1966 * ui-out.c (XMALLOC): Ditto.
1967 * utils.c (XMALLOC): Ditto.
1968 * i386-tdep.c (XMALLOC): Ditto.
1969 * gdb-events.c (XMALLOC): Ditto.
1970 * d10v-tdep.c (XMALLOC): Ditto.
1971 * cli-out.c (XMALLOC): Ditto.
1973 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
1974 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
1975 * ui-file.c, ui-out.c: Ditto.
1977 2002-03-18 Andrew Cagney <ac131313@redhat.com>
1979 * command.h (struct cmd_list_element): Add field context.
1980 (set_cmd_context, get_cmd_context): Declare.
1981 * cli/cli-decode.h: Ditto.
1982 * cli/cli-decode.c (get_cmd_context): New function.
1983 (set_cmd_context): New function.
1984 (add_cmd): Initialize context.
1985 Part of fixing PR gdb/145 and PR gdb/146.
1987 2002-03-17 Andrew Cagney <ac131313@redhat.com>
1989 * cli/cli-decode.c (cmd_type): New function.
1990 * command.h (cmd_type): Declare.
1991 * infrun.c (set_schedlock_func): Call function cmd_type.
1992 * kod.c (kod_set_os): Call cmd_type.
1993 * cris-tdep.c (cris_version_update): Use function cmd_type.
1994 (cris_mode_update, cris_abi_update): Ditto.
1996 * command.h: (execute_cmd_post_hook): Declare.
1997 (execute_cmd_pre_hook): Declare.
1998 * cli/cli-script.c (clear_hook_in_cleanup): New function.
1999 (execute_cmd_post_hook, execute_cmd_pre_hook): New
2000 functions. Execute pre/post hook while ensuring that afterwords
2002 * top.c (execute_command): Use execute_cmd_post_hook, and
2003 execute_cmd_pre_hook to execute pre/post commands.
2004 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
2006 (hook_stop_stub): Call execute_cmd_pre_hook.
2008 2002-03-17 Andrew Cagney <ac131313@redhat.com>
2010 * kod.c (kod_set_os): Revert previous change. Is called by ``info
2011 set'' and this leads to a core dump. Move xstrdup of
2012 operating_system to after check that it is not NULL.
2014 2002-03-17 Andrew Cagney <ac131313@redhat.com>
2016 * kod.c (kod_set_os): Remove unnecessary check that
2017 ``command->type'' is set_cmd.
2019 * valprint.c (set_input_radix): Use input_radix.
2020 (set_output_radix): Use output_radix.
2021 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
2024 2002-03-16 Andrew Cagney <ac131313@redhat.com>
2026 * value.h (struct value): Delete field ``substring_addr''. Change
2027 aligner fields to force_doublest_align, force_longest_align,
2028 force_core_addr_align and force_pointer_aligh.
2030 * value.h (struct value): Fix typo in above change.
2032 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2034 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
2035 to fix internal_error from ``maintenance print architecture''.
2037 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2039 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
2040 for gcc versions after gcc-2.8.1.
2042 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2044 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
2045 for method resolution. Restore adjustment of ``this'' pointer after
2046 calling value_struct_elt, which was accidentally removed during the
2049 2002-03-15 Andrew Cagney <ac131313@redhat.com>
2051 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
2053 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
2055 * value.h (value_of_register): Update.
2057 2002-03-14 Richard Henderson <rth@redhat.com>
2059 * configure.in: Detect declaration for canonicalize_file_name.
2060 * utils.c (canonicalize_file_name): Declare, if needed.
2061 (gdb_realpath): Prefer realpath if available and usable.
2062 * config.in, configure: Rebuild.
2064 2002-03-14 Richard Henderson <rth@redhat.com>
2066 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
2067 a constant array bound.
2069 * MAINTAINERS: Add myself to write-after-approval.
2071 2002-03-14 Michael Snyder <msnyder@redhat.com>
2073 * symfile.c (syms_from_objfile): Return immediately if no syms.
2074 (symbol_file_add): Return immediately if no syms.
2075 (find_sym_fns): Return immediately if no syms.
2077 2002-03-13 Michal Ludvig <mludvig@suse.cz>
2079 * gdbserver/remote-util.c (remote_open): Print remote-side's
2080 IP address when remote debugging over the network.
2082 2002-03-12 David O'Brien <obrien@FreeBSD.org>
2084 * config/sparc/fbsd.mh: Fix copyright.
2085 * config/sparc/fbsd.mt: Likewise.
2087 2002-03-11 Richard Earnshaw <rearnsha@arm.com>
2089 * MAINTAINERS: Fix typo in name of gdb warnings option.
2090 (x86-64): Fix formating so that this can be parsed by awk.
2092 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
2094 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
2095 * defs.h: Include "gdb/signals.h".
2096 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
2098 2002-03-10 Michal Ludvig <mludvig@suse.cz>
2100 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
2101 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
2104 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
2105 Don Howard <dhoward@redhat.com>
2107 * mips-tdep.c (ST0_FR): Define.
2108 (mips2_fp_compat): New function, temporarily disabled.
2109 (mips_read_fp_register_single): New function.
2110 (mips_read_fp_register_double): New function.
2111 (mips_print_register): Use them.
2112 (do_fp_register_row): Likewise.
2114 2002-03-09 Andrew Cagney <ac131313@redhat.com>
2116 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
2119 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2121 * stabsread.c (read_member_functions): Fix is_stub test for
2122 static member functions, improve comment.
2124 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
2126 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
2127 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
2128 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
2129 commands that set boolean values.
2130 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
2131 (arm_rdi_resume): Always initialize PC.
2132 (arm_rdi_open): Don't use rslt as a boolean.
2133 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
2134 (arm_rdi_fetch_registers, arm_rdi_store_registers)
2135 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
2136 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
2138 2002-03-06 Alexandre Oliva <aoliva@redhat.com>
2140 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
2141 * configure: Rebuilt.
2143 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2145 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
2146 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
2148 2002-03-06 Andrew Cagney <ac131313@redhat.com>
2150 * cli/cli-decode.c (set_cmd_completer): New function.
2151 * command.h (set_cmd_completer): Declare.
2152 * cli/cli-decode.h (set_cmd_completer): Ditto.
2154 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
2155 * cli/cli-cmds.c (init_cli_cmds): Ditto.
2156 * win32-nat.c (_initialize_inftarg): Ditto.
2157 * remote-rdi.c (_initialize_remote_rdi): Ditto.
2158 * proc-api.c (_initialize_proc_api): Ditto.
2159 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
2160 * source.c (_initialize_source): Ditto.
2161 * exec.c (_initialize_exec): Ditto.
2162 * solib.c (_initialize_solib): Ditto.
2163 * top.c (init_main): Ditto.
2164 * tracepoint.c (_initialize_tracepoint): Ditto.
2165 * symfile.c (_initialize_symfile): Ditto.
2166 * printcmd.c (_initialize_printcmd): Ditto.
2167 * infcmd.c (_initialize_infcmd): Ditto.
2168 * corefile.c (_initialize_core): Ditto.
2170 2002-03-05 Andrew Cagney <ac131313@redhat.com>
2172 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
2174 2002-03-05 Andrew Cagney <ac131313@redhat.com>
2176 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
2178 2002-03-05 Andrew Cagney <ac131313@redhat.com>
2180 * NEWS: Update headings, 5.2 has branched.
2182 2002-03-04 Daniel Jacobowitz <drow@mvista.com>
2184 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
2185 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
2186 (register_addr, REGISTER_RAW_SIZE): Likewise.
2187 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
2188 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
2190 2002-03-03 Michal Ludvig <mludvig@suse.cz>
2192 * MAINTAINERS (x86-64): Add myself.
2193 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
2194 changed value_ptr -> struct value *
2196 2002-03-01 David O'Brien <obrien@FreeBSD.org>
2198 * configure.host (sparc64-*-freebsd): Add.
2199 * configure.tgt: Likewise.
2200 * config/sparc/fbsd.mh: New file.
2201 * config/sparc/fbsd.mt: Likewise.
2202 * config/sparc/nm-fbsd.h: Likewise.
2203 * config/sparc/tm-fbsd.h: Likewise.
2205 2002-03-01 Daniel Jacobowitz <drow@mvista.com>
2207 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
2208 regformats/reg-s390x.dat.
2210 2002-03-01 Andrew Cagney <ac131313@redhat.com>
2212 * utils.c: Add FIXME explaining true/false problem.
2214 2002-02-28 Andrew Cagney <ac131313@redhat.com>
2216 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
2218 2002-02-28 Michael Chastain <mec@shout.net>
2220 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
2222 2002-02-28 Daniel Jacobowitz <drow@mvista.com>
2224 * gdbserver/linux-s390-low.c: New file.
2225 * regformats/reg-s390.dat: New file.
2226 * regformats/reg-s390x.dat: New file.
2227 * gdbserver/configure.srv: Add S/390.
2228 * gdbserver/Makefile.in: Add S/390.
2229 * configure.tgt: Enable gdbserver for S/390.
2231 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
2233 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
2234 first line of the doc string for "info dos", except at the end of
2235 the sentence, since the short help stops at the first period.
2237 2002-02-28 Jason Merrill <jason@redhat.com>
2239 * dwarf2read.c (dwarf_cfi_name): Add new codes.
2241 2002-02-27 Fred Fish <fnf@redhat.com>
2243 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
2244 comment (dumy -> dummy).
2246 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2248 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
2250 2002-02-27 Rodney Brown <rbrown64@csc.com.au>
2252 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
2254 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
2256 * gdbserver/acconfig.h: New file.
2257 * gdbserver/i387-fp.c: New file.
2258 * gdbserver/i387-fp.h: New file.
2259 * gdbserver/linux-x86-64.c: New file.
2260 * regformats/reg-x86-64.dat: New file.
2261 * configure.tgt: Add x86_64-*-linux* gdbserver support.
2262 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
2263 * gdbserver/configure.in: Add support for regsets.
2264 * gdbserver/config.in: Regenerate.
2265 * gdbserver/configure: Regenerate.
2266 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
2267 * gdbserver/linux-low.h: New file.
2268 * gdbserver/linux-low.c: Include "linux-low.h". Add support
2270 * gdbserver/linux-arm-low.c: Include "linux-low.h".
2271 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
2272 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
2273 * gdbserver/linux-mips-low.c: Include "linux-low.h".
2274 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
2275 * gdbserver/linux-sh-low.c: Include "linux-low.h".
2276 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
2277 "i387-fp.h". Add PTRACE_GETREGS and friends.
2278 * gdbserver/regcache.c (supply_register): New function.
2279 (supply_register_by_name): New function.
2280 (collect_register): New function.
2281 (collect_register_by_name): New function.
2283 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
2285 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
2286 (config.status): Add configure.srv dependency.
2287 (server_h): Add config.h dependency.
2289 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
2291 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
2292 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
2293 * gdbserver/configure.srv: Change i386-*-linux* to use
2296 2002-02-26 Andrew Cagney <ac131313@redhat.com>
2298 * x86-64-tdep.c: Re-indent. Update copyright date.
2300 2002-02-26 Andrew Cagney <ac131313@redhat.com>
2302 From Michal Ludvig <mludvig@suse.cz>:
2303 * x86-64-tdep.c (value.h): Delete.
2304 (gdb_assert.h): Include.
2305 (x86_64_register_convert_to_virtual,
2306 x86_64_register_convert_to_raw ): Add check which lets only
2307 floating-point values to be converted.
2308 (value_push): Delete.
2309 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
2310 (i386_gdbarch_init): Number of register_bytes fixed.
2312 2002-02-26 Andrew Cagney <ac131313@redhat.com>
2314 * MAINTAINERS: Add x86-64 target.
2316 2002-02-26 Andrew Cagney <ac131313@redhat.com>
2318 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
2319 * osfsolib.c (solib_map_sections): Ditto.
2320 * irix5-nat.c (solib_map_sections): Ditto.
2321 * corelow.c (gdb_check_format): Ditto.
2322 * symfile.c (symfile_bfd_open): Ditto.
2323 * solib.c (solib_map_sections): Ditto.
2326 2002-02-26 Andrew Cagney <ac131313@redhat.com>
2328 * remote.c (_initialize_remote): By default, disable ``e'' and
2329 ``E'' step out-of-range packets.
2331 2002-02-26 Andreas Schwab <schwab@suse.de>
2333 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
2334 m68k_linux_frame_saved_pc.
2335 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
2337 (SIGCONTEXT_PC_OFFSET): Remove.
2338 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
2339 m68k_linux_sigtramp_saved_pc): New functions.
2340 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
2341 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
2342 (UCONTEXT_PC_OFFSET): Define.
2343 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
2344 non-RT and RT signal trampolines.
2346 2002-02-26 Richard Earnshaw <rearnsha@arm.com>
2348 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
2349 (TARGET_NBPG, STACK_END_ADDR): Delete
2350 (VARIABLES_INSIDE_BLOCK): Delete.
2352 2002-02-25 Andrew Cagney <ac131313@redhat.com>
2354 * utils.c (perror_with_name): Make string parameter constant.
2355 (print_sys_errmsg): Ditto.
2357 * defs.h (perror_with_name): Update.
2358 (print_sys_errmsg): Update.
2361 2002-02-25 Daniel Jacobowitz <drow@mvista.com>
2363 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
2364 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
2366 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2368 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
2369 if it already matches the current architecture from the exec file.
2370 Include arch-utils.h for gdbarch_info_init prototype.
2371 * Makefile.in (rs6000-nat.o): Update dependencies.
2373 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
2375 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
2376 list of exported variables.
2378 2002-02-24 Daniel Jacobowitz <drow@mvista.com>
2380 * gdbserver/configure.srv: New file.
2381 * gdbserver/configure.in: Use configure.srv instead
2382 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
2384 * gdbserver/configure: Regenerated.
2385 * gdbserver/terminal.h: New file.
2386 * gdbserver/Makefile.in: Update for configure changes. Remove
2387 more unneeded include paths.
2389 2002-02-24 Andrew Cagney <ac131313@redhat.com>
2391 From wiz at danbala:
2392 * config/sparc/tm-sp64.h: Fix grammar and typos.
2395 2002-02-24 Andrew Cagney <ac131313@redhat.com>
2397 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
2398 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
2399 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
2400 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
2401 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
2402 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
2403 * s390-tdep.c: Ditto.
2404 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
2405 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
2406 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
2407 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
2408 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
2409 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
2410 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
2411 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
2412 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
2413 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
2416 2002-02-23 Andrew Cagney <ac131313@redhat.com>
2418 * lin-thread.c: Delete file.
2419 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
2420 to gdb_proc_service.h.
2421 * configure: Re-generate.
2423 * ocd.c (ocd_open): Do not try to open the "ocd" device.
2424 * serial.c (serial_open): Delete check for "ocd".
2427 * Makefile.in (linux-thread.o): Delete target.
2428 * linux-thread.c: Delete file.
2430 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
2431 renamed SH files to be consistent.
2433 * symtab.c (sort_search_symbols): Use xfree.
2435 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
2437 * arm-linux-tdep.c (arm_linux_init_abi): Register
2438 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
2439 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
2440 definition with undef, since we don't want the sysvr4 definition.
2441 (SKIP_TRAMPOLINE_CODE): Likewise.
2443 2002-02-23 Andrew Cagney <ac131313@redhat.com>
2445 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
2447 * configure.in: (AC_CHECK_FUNCS) Added test for
2448 canonicalize_file_name Regenerated.
2449 * config.in, configure: Regenerated.
2450 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
2451 defined use canonicalize_file_name.
2453 2002-02-23 Michael Chastain <mec@shout.net>
2455 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
2457 2002-02-23 Andrew Cagney <ac131313@redhat.com>
2459 * README: Remove references to cygnus.com.
2460 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
2461 dot com'' form. Remove references to cygnus.com and sourceware.
2463 2002-02-23 Andrew Cagney <ac131313@redhat.com>
2465 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
2466 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
2467 1003.1-2001 no longer allows "head -1".
2468 * gdb/Makefile.in (version.c): Likewise.
2469 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
2470 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
2471 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
2473 2002-02-23 Andrew Cagney <ac131313@redhat.com>
2475 * cli/cli-decode.c (cmd_cfunc_eq): New function.
2476 * command.h (cmd_cfunc_eq): Declare.
2477 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
2479 * cli/cli-cmds.h (is_complete_command): Change parameter to a
2480 ``struct cmd_list_element *''.
2481 * cli/cli-cmds.c (is_complete_command): Update. Use
2483 * top.c (execute_command): Pass the command to
2484 is_complete_command.
2485 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
2487 2002-02-23 Andrew Cagney <ac131313@redhat.com>
2489 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
2490 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
2491 architecture defines.
2492 * s390-tdep.c (s390_gdbarch_init): Likewise.
2494 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
2496 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
2497 (arm_linux_push_arguments): Likewise.
2498 (arm_linux_init_abi): Register them. Also register linux-specific
2500 (find_minsym_and_objfile): Use strcmp, not STREQ.
2501 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
2502 (arm_linux_call_dummy_words): Delete declaration.
2503 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
2504 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
2506 (LOWEST_PC): Delete.
2508 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2510 * maint.c (print_section_info): Do not prepend `0x' to filepos
2511 output, it will be handled by local_hex_string_custom.
2513 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
2515 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
2516 (store_newfpe_double, store_newfpe_extended, store_fpregister)
2517 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
2519 2002-02-22 Jim Blandy <jimb@redhat.com>
2521 Indicate that the bcache functions don't change the strings
2523 * bcache.h (bcache, hash): Add `const' keywords to declarations.
2524 * bcache.c (bcache, hash): Add `const' keywords to definitions.
2526 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
2528 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
2530 2002-02-21 Christopher Faylor <cgf@redhat.com>
2532 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
2533 find the complete path to a loaded DLL.
2535 2002-02-21 Fred Fish <fnf@redhat.com>
2537 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
2538 that marks the end of the range of a function, enter a line number
2539 entry that has a line number of zero and a PC offset that matches
2540 the end of the function. This starts a range of PC's for which no
2541 line number information is known.
2542 * symtab.c (find_pc_sect_line): If our best fit is in a range of
2543 PC's for which no line number info is found (line number is zero)
2544 then we didn't find any valid line information.
2545 * symtab.h: Document use of zero line number entry.
2547 2002-02-21 Elena Zannoni <ezannoni@redhat.com>
2549 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
2550 (have_ptrace_getvrregs): Define for run time checks.
2551 (gdb_vrregset_t): New type for Altivec register handling.
2552 (fetch_register, store_register): Fetch/store altivec register
2554 (fetch_altivec_register, store_altivec_register): New functions.
2555 (supply_vrregset, fill_vrregset): New functions.
2556 (fetch_altivec_registers, store_altivec_registers): New functions.
2557 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
2560 2002-02-21 Jiri Smid <smid@suse.cz>
2562 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
2564 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
2566 * Makefile.in (armnbsd-nat.o): Update dependencies.
2567 * armnbsd-nat.c (supply_gregset): New function. Common code to
2568 supply the integer register set.
2569 (supply_fparegset): New function. Similar for FPA registers.
2570 (fetch_regs, fetch_fp_regs): Use them.
2571 (fetch_core_registers): Likewise.
2572 (fetch_elfcore_registers): New function.
2573 (arm_netbsd_elfcore_fns): New core-file type specification.
2574 (_initialize_arm_netbsd_nat): Register it.
2576 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
2578 * armnbsd-nat.c: Include gdbcore.h.
2579 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
2580 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
2581 'void' to declaration, to shut up ARI.
2582 (fetch_core_registers): Make static. Rewrite using supply_register.
2583 (arm_netbsd_core_fns): New core-file type specification.
2584 (_initialize_arm_netbsd_nat): New function.
2586 2002-02-21 Christopher Faylor <cgf@redhat.com>
2588 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
2591 2002-02-20 Christopher Faylor <cgf@redhat.com>
2593 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
2596 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2598 * jv-exp.y (parse_number): Change type of implicit longs
2599 to builtin_type_uint64.
2601 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2603 * gdbserver/linux-low.c (mywait): Change argument to waitpid
2604 to be an integer instead of a `union wait'.
2606 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2608 * mips-linux-nat.c: Call the operating system GNU/Linux.
2609 * mips-linux-tdep.c: Likewise.
2610 * mips-tdep.c: Likewise.
2612 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2615 * jv-exp.y (parse_number): Handle 64-bit integers.
2617 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2619 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
2620 AC_STDC_HEADERS to AC_HEADER_STDC.
2621 * gdbserver/configure: Regenerated.
2623 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
2625 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
2627 * sparc-tdep.c (get_longjmp_target): Likewise.
2629 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
2631 * News: Add news about ARM and Multi-arch. Mention the new target
2634 2002-02-19 Jim Blandy <jimb@redhat.com>
2636 * stabsread.c (error_type_complaint): Improve error message.
2638 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
2640 * gdbserver/README: Update documentation.
2641 * gdbserver/configure.in: Update configury to match documentation.
2642 * gdbserver/Makefile.in: Likewise.
2643 * gdbserver/configure: Regenerated.
2644 * gdbserver/aclocal.m4: New file, generated by aclocal.
2645 * gdbserver/config.in: New file, generated by autoheader.
2647 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2649 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
2652 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2654 * arm-tdep.h (enum arm_float_model): New enum.
2655 (struct gdbarch_tdep): Add fp_model.
2656 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
2657 up floating-point conversions until we know the floating-point model
2658 in use by the inferior. Don't complain about being unable to
2659 determine the ABI of the inferior when we don't have one.
2660 (arm_extract_return_value): Support different floating-point models.
2661 (arm_store_return_value): Likewise.
2662 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
2664 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
2666 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2668 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
2669 of ``current_gdbarch''.
2671 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2673 * armnbsd-nat.c : ANSIfy all function declarations.
2674 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
2675 (fetch_inferior_registers): Re-implement in terms of above.
2676 (store_register, store_regs, store_fp_register, store_fp_regs): New.
2677 (store_inferior_registers): Re-implement in terms of above.
2679 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2681 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
2683 * arm-linux-tdep.c: Likewise.
2684 * config/arm/tm-linux.h: Likewise.
2686 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2688 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
2689 * config/arm/nbsd.mt (TM_FILE): Delete.
2690 * config/arm/tm-nbsd.h: Delete.
2692 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2694 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
2695 Initialize CALL_DUMMY_LENGTH.
2697 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
2699 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
2701 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
2702 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
2703 defines one thing and that is incorrect for this port.
2704 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
2706 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2708 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
2710 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2712 * win32-nat.c (display_selector): New function. Displays information
2713 about the information returned by GetThreadSelectorEntry API function.
2714 (display_selectors): New function. Displays the infomation of
2715 the selector given as argument, or of CS, DS ans FS selectors
2716 if no argument is given.
2717 ( _initialize_inftarg): Add "w32" as info prefix command.
2718 Add "info w32 selector" as command calling display_selectors.
2720 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
2722 * i386-tdep.c (get_longjmp_target): Fix compilation failure
2723 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
2726 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
2728 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
2730 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
2732 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
2733 (arm_fix_call_dummy): Call it.
2734 (arm_call_dummy_breakpoint_offset): Delete.
2735 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
2736 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
2738 2002-02-18 Andrew Cagney <ac131313@redhat.com>
2740 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
2741 Default to func_frame_chain_valid.
2742 * gdbarch.h, gdbarch.c: Re-generate.
2743 * frame.h (FRAME_CHAIN_VALID): Delete definition.
2745 2002-02-18 Elena Zannoni <ezannoni@redhat.com>
2747 * ppc-linux-nat.c: Update copyright.
2748 (fetch_register, store_register): Add tid parameter, don't compute
2750 (fetch_ppc_registers, store_ppc_registers): Add tid
2751 parameter. Pass it along to callees.
2752 (fetch_inferior_registers, store_inferior_registers): Compute tid
2753 here, and pass it to calleed functions.
2754 (fill_gregset, supply_fpregset): Clean up formatting.
2756 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
2758 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
2759 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
2761 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
2763 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
2764 * gdbarch.c gdbarch.h: Regenerate.
2765 * breakpoint.c (create_longjmp_breakpoint): Always compile this
2767 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
2768 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
2769 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
2771 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
2772 * arm-tdep.c (arm_get_longjmp_target): New function.
2773 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
2774 this to a positive value register arm_get_longjmp_target as the
2776 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
2777 (arm_linux_init_abi): Set up longjmp description in tdep.
2778 * armnbsd-nat.c (get_longjmp_target): Delete.
2779 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
2780 description in tdep.
2781 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
2782 (get_longjmp_target): Delete declaration.
2783 (GET_LONGJMP_TARGET): Delete.
2784 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
2785 (GET_LONGJMP_TARGET): Delete.
2787 2002-02-17 Kevin Buettner <kevinb@redhat.com>
2789 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
2790 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
2791 of ``current_gdbarch''.
2793 2002-02-17 Tom Tromey <tromey@redhat.com>
2795 * cli/cli-cmds.c (compare_strings): New function.
2796 (complete_command): Only print each unique item once.
2797 * completer.h (complete_line): Declare.
2798 * completer.c (complete_line): New function.
2799 (line_completion_function): Use it.
2801 2002-02-16 Andrew Cagney <ac131313@redhat.com>
2803 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
2804 * gdbarch.h, gdbarch.c: Re-generate.
2806 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
2808 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
2810 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
2812 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
2813 * valops.c (value_arg_coerce): Don't take the address of a reference
2814 to convert an argument to a reference.
2816 2002-02-15 Christopher Faylor <cgf@redhat.com>
2818 * win32-nat.c (get_image_name): New function.
2819 (handle_load_dll): Use get_image_name function.
2820 (get_child_debug_event): Avoid registering debug events until possibly
2821 execed process is started.
2822 (child_create_inferior): Allow invocation via shell so that command
2823 line redirection, etc. works ok.
2824 (_initialize_inftarg): Add new command: "set shell" to control whether
2825 a shell is used to start a process.
2827 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
2829 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
2830 instead of find_register_by_number.
2831 (cannot_store_register): Likewise.
2833 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
2835 * dwarf2read.c: Replace fprintf (stderr, ...) by
2836 fprintf_unfiltered (gdb_stderr, ...).
2838 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
2840 * gdbserver/gdbserver.1: Document --attach.
2842 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
2844 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
2846 * arm-tdep.c (arm_default_arm_le_breakpoint)
2847 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
2848 (arm_default_thumb_be_breakpoint): New. Initialize them from
2849 traditional breakpoint defines.
2850 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
2851 (arm_gdbarch_init): Initialize new breakpoint variables.
2852 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
2853 (arm_linux_init_abi): Initialize linux-specific breakpoint.
2854 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
2855 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
2857 (arm_netbsd_init_abi_common): ... here; new function.
2858 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
2859 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
2860 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
2861 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
2863 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
2865 * arm-tdep.h (enum arm_abi): New enum.
2866 (struct gdbarch_tdep): New structure.
2867 (LOWEST_PC): Provide a default.
2868 (arm_gdbarch_register_os_abi): Declare new function.
2869 * arm-tdep.c (arm_abi_names): New array.
2870 (process_note_abi_tag_sections): New function.
2871 (get_elfosabi): New function.
2872 (arm_gdbarch_register_os_abi): New function.
2873 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
2874 support for that ABI has been built in, then call the appropriate
2875 configuration routine. Use gdbarch_num_regs() to get the number
2877 (arm_dump_tdep): New function.
2878 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
2879 place-holder functions.
2880 (_initialize_arm_tdep): Register them.
2881 * config/arm/tm-arm.h (LOWEST_PC): Delete.
2883 * armnbsd-tdep.c: New file.
2884 * Makefile.in (armnbsd-tdep.o): Add dependencies.
2885 * config/arm/nbsd.mt (TDEPFILES): Add it.
2886 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
2888 * armnbsd-nat.c: Include regcache.h.
2889 * Makefile.in (armnbsd-nat.o): Update dependency list.
2891 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
2893 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2895 * gdbserver/Makefile.in: Fix typos in target rules.
2897 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2899 Fix part of PR gdb/267.
2900 * linespec.c (find_methods): Handle constructors specially for now.
2902 2002-02-14 Corinna Vinschen <vinschen@redhat.com>
2904 * arm-tdep.c (arm_push_arguments): Eliminate special float type
2906 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
2907 standard_coerce_float_to_double().
2909 2002-02-14 Christopher Faylor <cgf@redhat.com>
2911 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
2914 2002-02-14 Elena Zannoni <ezannoni@redhat.com>
2916 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
2917 find_variant_by_name, because it confuses the multiarch
2918 framework. Return NULL if there isn't an architecture with the
2919 user supplied name, instead of forcing a different one without
2920 recording the change with the multiarch machinery.
2921 (find_variant_by_name): Delete.
2923 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2925 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
2926 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
2928 2002-02-13 Martin M. Hunt <hunt@redhat.com>
2930 * stack.c (print_frame_info_base): When calling
2931 print_frame_info_listing_hook, set current_source_symtab.
2933 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2935 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
2936 and remove unused $(INCLUDE_DIR).
2937 Add regcache.c to OBS.
2938 Add generated register protocol files to clean target.
2939 Update dependencies for new objects, obsolete old target code.
2941 * gdbserver/linux-low.c: Remove all platform-specific code to
2942 new files. Remove various dead code. Update to use regcache
2944 * gdbserver/remote-utils.c (fromhex): Add return statement
2946 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
2948 (input_interrupt): Add integer parameter to match prototype
2949 of a signal handler.
2950 (outreg): Use register_data ().
2951 (prepare_resume_reply): Use gdbserver_expedite_regs.
2952 * gdbserver/server.c (main): Dynamically allocate own_buf because
2953 PBUFSIZ is no longer constant. Use registers_to_string () and
2954 registers_from_string ().
2955 * gdbserver/server.h: No longer include "defs.h". Add prototypes
2956 for error (), fatal (), and warning (). Update definition of
2957 PBUFSIZ to use regcache functionality. Add include guard.
2958 * gdbserver/utils.c (fatal): Add missing ``const''.
2959 (warning): New function.
2961 * regformats/regdat.sh: Include "regcache.h" in generated files.
2962 Provide init_registers () function.
2963 * regformats/regdef.h: Add prototype for set_register_cache ().
2966 * gdbserver/linux-arm-low.c: New file.
2967 * gdbserver/linux-i386-low.c: New file.
2968 * gdbserver/linux-ia64-low.c: New file.
2969 * gdbserver/linux-m68k-low.c: New file.
2970 * gdbserver/linux-mips-low.c: New file.
2971 * gdbserver/linux-ppc-low.c: New file.
2972 * gdbserver/linux-sh-low.c: New file.
2974 * gdbserver/regcache.c: New file.
2975 * gdbserver/regcache.h: New file.
2977 * gdbserver/low-linux.c: Removed obsolete file.
2979 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2981 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
2982 * config/i386/linux.mt: Likewise.
2983 * config/ia64/linux.mt: Likewise.
2984 * config/m68k/linux.mh: Likewise.
2985 * config/powerpc/linux.mh: Likewise.
2986 * config/mips/linux.mt: Likewise.
2988 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
2990 * config/i386/i386lynx.mh: Mark gdbserver variables
2991 as (currently) obsolete for this target.
2992 * config/i386/nbsd.mt: Likewise.
2993 * config/i386/nbsdelf.mt: Likewise.
2994 * config/m32r/m32r.mt: Likewise.
2995 * config/m68k/m68klynx.mh: Likewise.
2996 * config/m68k/nbsd.mt: Likewise.
2997 * config/m68k/sun3os4.mh: Likewise.
2998 * config/mips/vr5000.mt: Likewise.
2999 * config/ns32k/nbsd.mt: Likewise.
3000 * config/pa/hppabsd.mh: Likewise.
3001 * config/pa/hppaosf.mh: Likewise.
3002 * config/powerpc/nbsd.mt: Likewise.
3003 * config/rs6000/rs6000lynx.mh: Likewise.
3004 * config/s390/s390.mt: Likewise.
3005 * config/s390/s390x.mt: Likewise.
3006 * config/sparc/sparclynx.mh: Likewise.
3007 * config/sparc/sun4os4.mh: Likewise.
3008 * config/i386/x86-64linux.mt: Likewise.
3009 * config/sparc/linux.mh: Likewise.
3011 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
3013 * configure.tgt: Configure gdbserver only for known working
3014 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
3015 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
3016 SUBDIRS if it is configured. Update comment for ${nativefile}.
3017 * configure: Regenerated.
3019 2002-02-13 Michael Snyder <msnyder@redhat.com>
3021 * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
3023 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
3024 (default_gcore_mach): Just return 0, work around a problem in bfd.
3025 (default_gcore_target): OK to return NULL if exec_bfd is null.
3026 (make_mem_sec): Use a cast, avoid a warning.
3028 * procfs.c (find_memory_regions_callback): Use a cast instead of
3029 calling host_pointer_to_address (which complains if
3030 sizeof (host pointer) != sizeof (target pointer)).
3031 (procfs_make_note_section): Avoid overflow in psargs string.
3033 * procfs.c (procfs_make_note_section): Make the default
3034 implementation return an error.
3036 2002-02-13 Rodney Brown <rbrown64@csc.com.au>
3038 * procfs.c (procfs_make_note_section): Provide a default definition
3039 (for alpha-dec-osf4.0f). Fix typos.
3041 2002-02-13 Elena Zannoni <ezannoni@redhat.com>
3043 * linux-proc.c: Add include of regcache.h.
3044 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
3046 2002-02-13 Andrew Cagney <ac131313@redhat.com>
3048 From 2002-01-18 Greg McGary <greg@mcgary.org>:
3049 * memattr.c (create_mem_region): Disallow useless empty region.
3050 Regions are half-open intervals, so allow [A..B) [B..C) as
3053 2002-02-13 Michael Chastain <mec@shout.net>
3055 * defs.h: Kill CONST_PTR.
3056 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
3057 * c-lang.c (c_builtin_types): Likewise.
3058 * ch-lang.c (ch_builtin_types): Likewise.
3059 * f-lang.c (f_builtin_types): Likewise.
3060 * language.c (unknown_builtin_types): Likewise.
3061 * m2-lang.c (m2_builtin_types): Likewise.
3062 * p-lang.c (pascal_builtin_types): Likewise.
3063 * scm-lang.c (c_builtin_types): Likewise.
3065 2002-02-13 Keith Seitz <keiths@redhat.com>
3067 * arm-tdep.h (arm_get_next_pc): Add declaration.
3069 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
3071 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
3072 with other related struct-returning functions.
3073 (arm_extract_struct_value_address): New function.
3074 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
3075 initialize float_format, double_format and long_double_format as
3076 appropriate to the endianness of the target.
3077 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
3078 (arm_use_struct_convention): Delete declaration.
3079 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
3081 2002-02-13 Keith Seitz <keiths@redhat.com>
3083 * defs.h (core_addr_to_string_nz): New function.
3085 2002-02-13 Mark Kettenis <kettenis@gnu.org>
3087 Apply missing bits of 2002-01-15 patch.
3088 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
3089 (fill_fpregset): Use i387_fill_fsave.
3091 2002-02-12 Keith Seitz <keiths@redhat.com>
3093 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
3094 (core_addr_to_string_nz): New function.
3096 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
3098 * arm-linux-nat.c: Really include arm-tdep.h.
3099 * config/arm/tm-linux.h (struct type, struct value): Declare.
3101 2002-02-11 Michael Snyder <msnyder@redhat.com>
3103 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
3104 (gcore section): Ifdef for Solaris and Unixware only.
3105 (procfs_do_thread_registers): Unixware needs one lwpstatus
3106 per thread (not one prstatus or pstatus).
3107 (procfs_make_note_section): Iterate only over kernel threads (lwps),
3108 not over all gdb threads. For unixware, call elfcore_write_pstatus
3109 once before iterating over threads.
3111 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
3113 * arm-tdep.h: New file.
3114 * arm-tdep.c: Include arm-tdep.h.
3115 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
3116 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
3117 (arm_print_float_info, arm_register_type, convert_to_extended)
3118 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
3119 (arm_extract_return_value, arm_register_name): Make static.
3120 (arm_software_single_step): Similarly. Fix types in declaration.
3121 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
3122 (arm_store_return_value, arm_store_struct_return): New functions.
3123 (arm_gdbarch_init): Register the above functions. Also register
3124 call_dummy_start_offset, sizeof_call_dummy_words,
3125 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
3126 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
3127 max_register_virtual_size, register_size. Set up
3128 prologue_cache.saved_regs here, rather than ...
3129 (_initialize_arm_tdep): ... here.
3130 * config/arm/tm-arm.h (struct type, struct value): Delete forward
3132 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
3133 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
3134 (arm_print_float_info, arm_register_type, convert_to_extended)
3135 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
3136 (arm_extract_return_value, arm_register_name): Delete declarations.
3137 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
3138 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
3139 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
3140 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
3141 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
3142 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
3143 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
3144 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
3145 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
3146 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
3147 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
3148 (arm_get_next_pc): No-longer static -- these are needed by the RDI
3150 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
3151 * remote-rdi.c remote-rdp.c: Likewise.
3152 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
3153 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
3154 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
3157 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
3158 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
3159 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
3160 from non-ARM_ prefixed definitions.
3161 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
3163 * remote-rdi.c remote-rdp.c: Likewise.
3164 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
3166 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
3168 * arm-tdep.c (arm_frameless_function_invocation)
3169 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
3170 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
3171 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
3172 (arm_pop_frame, arm_get_next_pc): Make static.
3173 (arm_gdbarch_init): Register above in gdbarch structure.
3174 (arm_read_fp): Renamed from arm_target_read_fp.
3175 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
3176 * config/arm/tm-arm.h (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_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
3180 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
3181 (arm_pc_is_thumb_dummy): Delete declarations.
3182 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
3183 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
3184 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
3185 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
3187 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
3189 * symtab.c (compare_search_syms): New function.
3190 (sort_search_symbols): New function.
3191 (search_symbols): Sort symbols after searching rather than
3194 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3196 * NEWS: Linux -> GNU/Linux.
3198 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3200 * gdbarch.sh: For for level one methods, disallow a definition
3201 when partially multi-arched. Add comments explaining rationale.
3202 * gdbarch.h: Re-generate.
3204 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3206 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
3209 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3211 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
3213 * gdbarch.c: Re-generate.
3215 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3217 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
3218 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
3221 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3223 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
3225 (PUSH_ARGUMENTS): Switch to using predefault.
3226 * gdbarch.c: Regenerate.
3228 2002-02-10 Andrew Cagney <ac131313@redhat.com>
3230 * valops.c (PUSH_ARGUMENTS): Delete definition.
3231 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
3232 partial. Default to default_push_arguments.
3233 * gdbarch.h, gdbarch.c: Regenerate.
3235 2002-02-09 Andrew Cagney <ac131313@redhat.com>
3237 * defs.h (throw_exception): Rename return_to_top_level. Update
3239 * utils.c (error_stream, internal_verror, quit): Ditto.
3240 * top.c (throw_exception, catcher): Ditto.
3241 * sparclet-rom.c (sparclet_load): Ditto.
3242 * remote.c (interrupt_query, minitelnet): Ditto.
3243 * remote-sds.c (interrupt_query): Ditto.
3244 * remote-mips.c (mips_error, mips_kill): Ditto.
3245 * ocd.c (interrupt_query): Ditto.
3246 * monitor.c (monitor_interrupt_query): Ditto.
3247 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
3248 * target.h: Update comment.
3250 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
3252 2002-02-09 Andrew Cagney <ac131313@redhat.com>
3254 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
3255 default_double_format.
3256 * gdbarch.h, gdbarch.c: Re-generate.
3257 * findvar.c (floatformat_unknown): Delete variable definition.
3258 * doublest.h (floatformat_unknown): Delete variable declaration.
3260 2002-02-09 Jim Blandy <jimb@redhat.com>
3262 * stabsread.c (read_type): Add code to parse Sun's syntax for
3263 prototyped function types.
3265 2002-02-09 Andrew Cagney <ac131313@redhat.com>
3267 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
3268 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
3270 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3272 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
3273 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
3274 now _initialize_xcoffsolib gets called again and overrides the
3275 commands from solib.c in a native configuration.
3277 2002-02-09 Mark Kettenis <kettenis@gnu.org>
3279 * doublest.c (store_typed_floating): Don't try to return a value.
3282 2002-02-08 Jim Blandy <jimb@redhat.com>
3284 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
3285 is prototyped and has no arguments, print its argument list as
3288 2002-02-08 Chris Demetriou <cgd@broadcom.com>
3290 * MAINTAINERS (write-after-approval): Add myself.
3291 (paper-trail): I've escaped!
3293 2002-02-08 Christopher Faylor <cgf@redhat.com>
3295 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
3297 (_initialize_check_for_gdb_ini): Ditto.
3299 2002-02-08 Martin M. Hunt <hunt@redhat.com>
3301 * win32-nat.c (cygwin_pid_to_str): Fix typo.
3302 xaprintf -> xasprintf.
3304 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
3306 * win32-nat.c: Remove use of printf and sprintf functions.
3308 2002-02-08 Richard Earnshaw <rearnsha@arm.com>
3310 * arm-tdep.c (arm_frame_chain_valid): Make static.
3311 (arm_push_arguments): Likewise.
3312 (arm_gdbarch_init): New function.
3313 (_initialize_arm_tdep): Call it.
3314 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
3315 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
3316 (FRAME_CHAIN_VALID): Delete.
3317 (arm_frame_chain_valid): Delete declaration.
3318 (PUSH_ARGUMENTS): Delete.
3319 (arm_push_arguments): Delete declaration.
3320 (CALL_DUMMY_P): Delete.
3322 2002-02-08 Andrew Cagney <ac131313@redhat.com>
3323 Corinna Vinschen <vinschen@redhat.com>
3325 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
3326 on builtin float types.
3328 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
3330 * utils.c: Include <curses.h> before "bfd.h".
3331 * tui/tui-hooks.c: Likewise.
3332 * tui/tui.c: Likewise.
3333 * tui/tuiCommand.c: Likewise.
3334 * tui/tuiData.c: Likewise.
3335 * tui/tuiDataWin.c: Likewise.
3336 * tui/tuiDisassem.c: Likewise.
3337 * tui/tuiGeneralWin.c: Likewise.
3338 * tui/tuiIO.c: Likewise.
3339 * tui/tuiLayout.c: Likewise.
3340 * tui/tuiRegs.c: Likewise.
3341 * tui/tuiSource.c: Likewise.
3342 * tui/tuiSourceWin.c: Likewise.
3343 * tui/tuiStack.c: Likewise.
3344 * tui/tuiWin.c: Likewise.
3346 2002-02-07 Elena Zannoni <ezannoni@redhat.com>
3348 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
3349 to include space for pseudoregs as well. Update loops accordingly.
3350 (sh_fp_frame_init_saved_regs): Ditto.
3351 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
3353 2002-02-07 Andrew Cagney <ac131313@redhat.com>
3355 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
3356 Add Richard Earnshaw to Arm maintainers.
3358 2002-02-07 Andrew Cagney <ac131313@redhat.com>
3360 * defs.h (warning_begin): Delete declaration.
3362 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
3365 2002-02-07 Michael Snyder <msnyder@redhat.com>
3367 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
3368 Logic bug, remove misplaced else.
3370 2002-02-07 Klee Dienes <klee@apple.com>
3372 * fork-inferior.c (fork_inferior): Add '!' to the list of
3373 characters that need to be quoted when building a string for the
3374 shell. Quote '!' specifically with a backslash, since CSH chokes
3375 when trying to evaluate "str!str".
3377 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
3379 * rdi-share/host.h: Only provide a typedef for bool if it is not
3382 2002-02-04 Michael Snyder <msnyder@redhat.com>
3384 * breakpoint.h (enum bptype): Add new overlay event bp type.
3385 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
3387 * breakpoint.c (create_internal_breakpoint): New function.
3388 (internal_breakpoint_number): Moved into create_internal_breakpoint.
3389 (create_longjmp_breakpoint): Use create_internal_breakpoint.
3390 (create_thread_event_breakpoint): Ditto.
3391 (create_solib_event_breakpoint): Ditto.
3392 (create_overlay_event_breakpoint): New function.
3393 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
3394 (update_breakpoints_after_exec): Delete and re-initialize
3395 overlay event breakpoints after an exec. Add FIXME comment
3396 about longjmp breakpoint.
3397 (print_it_typical): Ignore overlay event breakpoints.
3398 (print_one_breakpoint): Ditto.
3400 (bpstat_what): Do not stop for overlay event breakpoints.
3401 (delete_breakpoint): Don't delete overlay event breakpoints.
3402 (breakpoint_re_set_one): Delete the overlay event breakpoint.
3403 (breakpoint_re_set): Re-create overlay event breakpoint.
3405 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
3406 (overlay_manual_command): Disable overlay breakpoints.
3407 (overlay_off_command): Disable overlay breakpoints.
3409 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
3411 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
3412 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
3413 to here from config/tm-arm.h.
3414 (coff_sym_is_thumb): Make static.
3415 (arm_elf_make_msymbol_special): New function.
3416 (arm_coff_make_msymbol_special): New function.
3417 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
3418 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
3419 (coff_sym_is_thumb): Delete declaration.
3420 (arm_elf_make_msymbol_special): Declare.
3421 (arm_coff_make_msymbol_special): Declare.
3422 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
3423 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
3425 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
3427 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
3429 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
3431 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
3432 * gdbarch.c gdbarch.h: Regenerate.
3433 * arch-utils.c (default_print_float_info): New function.
3434 * arch-utils.h (default_print_float_info): Prototype it.
3435 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
3436 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
3437 (PRINT_FLOAT_INFO): Document it.
3439 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
3440 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
3441 (PRINT_FLOAT_INFO): Define.
3443 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
3445 * win32-nat.c (_initialize_check_for_gdb_ini):
3446 Add typecast to sprintf argument to suppress a warning.
3448 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
3450 * win32-nat.c (last_sig): Changed type of variable to target_signal,
3451 to allow easier handling of pass state.
3452 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
3453 that gives exception name and address.
3454 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
3455 and set last_sig value to ourstatus->value.sig. Some missing
3457 (child_continue): Correctly report continue_status.
3458 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
3459 TARGET_SIGNAL_0 (new default value).
3460 (child_resume): consider sig argument passed to decide if
3461 the exception should be passed to debuggee or not.
3463 2002-02-05 Michael Snyder <msnyder@redhat.com>
3465 * regcache.c (fetch_register): Call target_fetch_register
3466 only if we don't call FETCH_PSEUDO_REGISTER.
3467 (store_register): Call target_store_register only if we
3468 don't call STORE_PSEUDO_REGISTER.
3470 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
3472 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
3473 ELF_MAKE_MSYMBOL_SPECIAL.
3474 * gdbarch.c, gdbarch.h: Regenerate.
3475 * arch-utils.c (default_make_msymbol_special): New function.
3476 * arch-utils.h (default_make_msymbol_special): Export.
3477 * elfread.c (elf_symtab_read): Compile use of
3478 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
3480 * coffread.c (coff_symtab_read): Ditto, for
3481 COFF_MAKE_MSYMBOL_SPECIAL.
3483 2002-02-05 Jim Blandy <jimb@redhat.com>
3485 * solib-svr4.c (svr4_truncate_ptr): New function.
3486 (svr4_relocate_section_addresses): Do the address arithmetic with
3487 the appropriate truncation for target addresses, even when
3488 CORE_ADDR is larger than a target address.
3490 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3492 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
3495 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3497 * gdbserver/linux-low.c (kill_inferior): Remove commented out
3500 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3502 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
3504 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3506 * gdbserver/linux-low.c: Remove unused include files.
3508 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3510 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
3511 (read_inferior_memory): Use it.
3512 (write_inferior_memory): Likewise.
3514 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3516 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
3517 grubbing through sys_errlist.
3519 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
3521 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
3523 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
3524 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
3526 2002-02-04 Andrew Cagney <ac131313@redhat.com>
3528 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
3529 (do_sfunc, set_cmd_sfunc): New functions.
3531 * command.h (struct cmd_list_element): Add field func.
3532 * cli/cli-decode.h (struct cmd_list_element): Ditto.
3533 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
3534 * cli/cli-decode.h: Ditto.
3536 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
3537 (help_all, help_cmd_list): Ditto.
3538 (find_cmd, complete_on_cmdlist): Ditto.
3539 * top.c (execute_command): Ditto.
3541 * cli/cli-setshow.c (do_setshow_command): Call func instead of
3544 * infcmd.c (notice_args_read): Fix function signature.
3546 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
3547 * cli/cli-decode.c (add_set_cmd): Ditto.
3548 * utils.c (initialize_utils): Ditto.
3549 * maint.c (_initialize_maint_cmds): Ditto.
3550 * infrun.c (_initialize_infrun): Ditto.
3551 * demangle.c (_initialize_demangler): Ditto.
3552 * remote.c (add_packet_config_cmd): Ditto.
3553 * mips-tdep.c (_initialize_mips_tdep): Ditto.
3554 * cris-tdep.c (_initialize_cris_tdep): Ditto.
3555 * proc-api.c (_initialize_proc_api): Ditto.
3556 * kod.c (_initialize_kod): Ditto.
3557 * valprint.c (_initialize_valprint): Ditto.
3558 * top.c (init_main): Ditto.
3559 * infcmd.c (_initialize_infcmd): Ditto.
3560 * corefile.c (_initialize_core): Ditto.
3561 * arm-tdep.c (_initialize_arm_tdep): Ditto.
3562 * arch-utils.c (initialize_current_architecture): Ditto.
3563 (_initialize_gdbarch_utils): Ditto.
3564 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
3566 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
3567 * wince.c (_initialize_inftarg): Ditto.
3568 * symfile.c (_initialize_symfile): Ditto.
3569 * mips-tdep.c (_initialize_mips_tdep): Ditto.
3570 * language.c (_initialize_language): Ditto.
3571 * arc-tdep.c (_initialize_arc_tdep): Ditto.
3573 2002-02-04 Michael Snyder <msnyder@redhat.com>
3575 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
3577 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
3579 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
3580 Add rules for building the register data files.
3582 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
3584 * regformats/regdat.sh: Add braces to the definition of
3585 expedite_regs_${arch}.
3587 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
3589 * regformats/regdef.h (struct reg): Add comment describing the
3590 requirements for offset and size fields.
3592 2002-02-04 Andreas Schwab <schwab@suse.de>
3594 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
3595 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
3597 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
3599 * gdbarch.sh (copyright): Update years in generated header.
3600 (SMASH_TEXT_ADDRESS): Add rule.
3601 * gdbarch.h, gdbarch.c: Re-generate.
3602 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
3603 * dbxread.c: Likewise.
3604 * dwarfread.c: Likewise.
3605 * elfread.c: Likewise.
3606 * somread.c: Likewise.
3608 * arm-tdep.c (arm_smash_text_address): New function.
3609 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
3611 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
3613 Add support for hardware watchpoints on win32 native.
3614 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
3615 CONTEXT_DEBUG_REGISTERS.
3616 (dr variable): New variable. Static array containing a local copy
3618 (debug_registers_changed): New variable. Reflects when debug registers
3619 are changed and need to be written to inferior.
3620 (debug_registers_used): New variable. Reflects when any debug register
3621 was set, used when new threads are created.
3622 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
3624 (thread_rec): Set dr array if id is the thread of current_event .
3625 (child_continue, child_resume): Change the debug registers for all
3626 threads if debug_registers_changed.
3627 (child_add_thread): Change the debug registers if debug_registers_used.
3628 * config/i386/cygwin.mh: Add use of i386-nat.o file.
3629 Link nm.h to new nm-cygwin.h file.
3630 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
3631 of hardware registers.
3633 2002-02-03 Andrew Cagney <ac131313@redhat.com>
3635 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
3636 Restore behavour broken by 2002-01-20 Andrew Cagney
3637 <ac131313@redhat.com> IEEE_FLOAT removal.
3639 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
3641 * c-valprint.c (c_val_print): Pass a proper valaddr to
3642 cp_print_class_method.
3643 * valops.c (search_struct_method): If there is only one method
3644 and args is NULL, return that method.
3646 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
3648 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
3649 accessing tag_name directly.
3651 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
3653 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
3654 of accessing tag_name directly.
3656 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
3659 * gdbtypes.c (replace_type): New function.
3660 * gdbtypes.h (replace_type): Add prototype.
3661 * stabsread.c (read_type): Use replace_type.
3663 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
3665 * Makefile.in (memattr.o): Add missing dependencies rule.
3667 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3669 * breakpoint.c (break_at_finish_command): Really export.
3670 (break_at_finish_at_depth_command): Ditto.
3671 (tbreak_at_finish_command): Ditto.
3672 * hppa-tdep.c: Include completer.h.
3673 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
3674 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
3676 2002-02-01 Andrew Cagney <ac131313@redhat.com>
3678 * utils.c (do_write): New function.
3679 (error_stream): Rewrite combining the code from error_begin and
3681 (verror): Rewrite using error_stream.
3682 (error_begin): Delete function.
3684 2002-02-01 Andrew Cagney <ac131313@redhat.com>
3686 * utils.c (error_begin): Make static.
3687 * defs.h (error_begin): Delete declaration.
3689 * linespec.c (cplusplus_error): Replace cplusplus_hint.
3690 (decode_line_1): Use cplusplus_error instead of error_begin,
3691 cplusplus_hint and return_to_top_level.
3692 * coffread.c (coff_symfile_read): Use error instead of error_begin
3693 and return_to_top_level.
3694 * infrun.c (default_skip_permanent_breakpoint): Ditto.
3696 2002-02-01 Andrew Cagney <ac131313@redhat.com>
3698 * language.h (type_error, range_error): Make string parameter
3700 * language.c (warning_pre_print): Delete extern declaration.
3701 * dwarfread.c (warning_pre_print): Ditto.
3702 * language.c (type_error, range_error): Rewrite to use verror and
3703 vwarning instead of warning_begin.
3705 2002-02-01 Michael Snyder <msnyder@redhat.com>
3707 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
3708 (set_ignore_count): Move misplaced comment back where it belongs.
3710 2002-02-01 Andrew Cagney <ac131313@redhat.com>
3712 * command.h (NO_FUNCTION): Delete macro.
3713 * cli/cli-decode.h (NO_FUNCTION): Ditto.
3714 * top.c (execute_command): Replace NO_FUNCTION with NULL.
3715 * tracepoint.c (_initialize_tracepoint): Ditto.
3716 * cli/cli-decode.c (add_set_cmd): Ditto.
3717 * cli/cli-cmds.c (init_cli_cmds): Ditto.
3719 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
3721 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
3722 Update ``this'' pointer when calling virtual functions.
3724 2002-02-01 Michael Snyder <msnyder@redhat.com>
3726 * breakpoint.c (create_temp_exception_breakpoint): Delete.
3727 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
3729 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
3731 * regformats/reg-arm.dat: New file.
3732 * regformats/reg-i386.dat: New file.
3733 * regformats/reg-ia64.dat: New file.
3734 * regformats/reg-m68k.dat: New file.
3735 * regformats/reg-mips.dat: New file.
3736 * regformats/reg-ppc.dat: New file.
3737 * regformats/reg-sh.dat: New file.
3738 * regformats/regdef.h: New file.
3739 * regformats/regdat.sh: New file.
3741 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
3743 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
3744 (arm_frame_args_address, arm_frame_locals_address): New functions.
3745 (arm_frame_num_args): New function.
3746 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
3747 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
3748 (FRMA_NUM_ARGS): Call arm_frame_num_args.
3750 2002-01-31 Michael Snyder <msnyder@redhat.com>
3752 * breakpoint.c (break_at_finish_command): Export.
3753 (break_at_finish_at_depth_command): Export.
3754 (tbreak_at_finish_command): Export.
3755 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
3756 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
3757 "tbreak" commands, which are HPPA specific.
3759 * printcmd.c (disassemble_command): Remove an ancient
3760 artifact of an old merge.
3762 * symfile.h (enum overlay_debugging_state):
3763 Define enum constant values for overlay mode.
3764 * symfile.c (overlay_debugging): Use enums instead of literals.
3765 (overlay_is_mapped, overlay_auto_command,
3766 overlay_manual_command): Ditto.
3768 * breakpoint.c (insert_breakpoints, remove_breakpoint,
3769 breakpoint_here_p, breakpoint_inserted_here_p,
3770 breakpoint_thread_match, bpstat_stop_status,
3771 describe_other_breakpoints, check_duplicates, clear_command):
3772 Coding standard fixes.
3774 * target.c (target_xfer_memory): Add spaces, coding standard.
3775 (do_xfer_memory): Add missing line to trust-readonly
3776 code: check bfd SEC_READONLY flag for section.
3778 2002-01-31 Andrew Cagney <ac131313@redhat.com>
3780 * PROBLEMS: Fix typo, 5.1->5.1.1.
3782 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3784 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
3785 data symbols, since we search based on textlow and texthigh.
3786 (find_pc_sect_symtab): Likewise.
3788 2002-01-30 Andrew Cagney <ac131313@redhat.com>
3790 * defs.h (vwarning): Declare.
3791 * utils.c (vwarning): New function.
3792 (warning): Call vwarning.
3793 (warning_begin): Delete function.
3795 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
3796 the warning message.
3797 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
3800 2002-01-30 Michael Snyder <msnyder@redhat.com>
3802 * NEWS: Mention "set trust-readonly-sections" command.
3803 Mention generate-core-file command.
3805 2002-01-15 Michael Snyder <msnyder@redhat.com>
3807 * target.c: New command, "set trust-readonly-sections on".
3808 (do_xfer_memory): Honor the suggestion to trust readonly sections
3809 by reading them from the object file instead of from the target.
3810 (initialize_targets): Register command "set trust-readonly-sections".
3812 2002-01-29 Andrew Cagney <ac131313@redhat.com>
3814 * parse.c (target_map_name_to_register): Simplify, search regs and
3815 pseudo-regs using a single loop.
3817 2002-01-30 Andrew Cagney <ac131313@redhat.com>
3819 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
3821 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
3823 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
3824 * config/i386/i386v42mp.mh: Add i387-nat.o .
3825 * i386v4-nat.c: Include i387-nat.h.
3826 (supply_fpregset): Use i387_supply_fsave.
3827 (fill_fpregset): Use i387_fill_fsave.
3829 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
3831 * arm-tdep.c (arm_call_dummy_words): Define.
3832 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
3833 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
3834 (CALL_DUMMY_WORDS): Define.
3835 (arm_call_dummy_words): Declare.
3836 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
3837 (arm_linux_call_dummy_words): Declare.
3839 2002-01-30 Andreas Schwab <schwab@suse.de>
3841 * m68klinux-nat.c: Fix last change to use regcache_collect
3842 instead of referencing registers[] directly.
3844 2002-01-29 Andrew Cagney <ac131313@redhat.com>
3846 * parse.c (target_map_name_to_register): Delete code wrapped in
3847 #ifdef REGISTER_NAME_ALIAS_HOOK.
3849 2002-01-28 Michael Snyder <msnyder@redhat.com>
3851 * regcache.c (legacy_read_register_gen): Need to be able to
3852 read pseudo-register as well as real register.
3853 (legacy_write_register_gen): Ditto.
3855 2002-01-28 Andrew Cagney <ac131313@redhat.com>
3857 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
3858 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
3859 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
3860 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
3861 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
3862 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
3863 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
3864 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
3865 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
3866 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
3867 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
3868 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
3869 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
3870 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
3871 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
3872 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
3873 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
3874 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
3875 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
3876 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
3878 2002-01-28 Andrew Cagney <ac131313@redhat.com>
3880 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
3881 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
3882 (initialize_current_architecture): Update target_byte_order using
3883 information from BFD.
3884 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
3885 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
3887 2002-01-28 Andrew Cagney <ac131313@redhat.com>
3889 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
3890 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
3892 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
3893 #ifdef INVALID_FLOAT.
3894 * infcmd.c (do_registers_info): Ditto.
3895 * values.c (unpack_double): Ditto. Add comment.
3897 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
3898 already commented out.
3900 2002-01-26 Andreas Schwab <schwab@suse.de>
3902 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
3903 * m68klinux-nat.c: Update ptrace interface for fetching/storing
3904 registers and add support for PTRACE_GETREGS.
3906 2002-01-24 Andrew Cagney <ac131313@redhat.com>
3908 GDB 5.1.1 released from 5.1 branch.
3909 * NEWS: Add 5.1.1 news.
3910 * README: Sync with 5.1 branch.
3912 2002-01-23 Fred Fish <fnf@redhat.com>
3914 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
3915 stabstring on initial malloc. Reallocing will copy it for us,
3918 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
3920 * Makefile.in (hpread_h): Delete.
3921 (HFILES_NO_SRCDIR): Remove hpread.h.
3922 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
3923 (hpread.o): Update dependencies.
3924 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
3926 * hp-psymtab-read.c: Remove file.
3927 * hp-symtab-read.c: Remove file.
3928 * hpread.h: Remove file.
3930 * hpread.c: Merge all contents of hp-psymtab-read.c,
3931 hp-symtab-read.c and hpread.h into this file, as it was prior to
3934 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
3935 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
3936 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
3937 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
3939 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
3941 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
3942 fill_gregset): Call gdbarch_tdep() just once, assign result to
3943 variable and use that, instead of calling the function several
3946 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3948 * configure.host: Accept sparcv9 as alias for sparc64.
3949 * configure.tgt: Likewise.
3951 2002-01-22 Kevin Buettner <kevinb@redhat.com>
3953 * solib-aix5.c (build_so_list_from_mapfile)
3954 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
3955 arguments is not reversed.
3956 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
3957 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
3959 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
3961 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
3962 modified version of obsolete sh_fetch_pseudo_register.
3963 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
3964 (sh4_register_read): New function.
3965 (sh_pseudo_register_write): New function. Renamed and modified
3966 version of obsolete sh_store_pseudo_register.
3967 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
3968 (sh4_register_write): New function.
3969 (sh_gdbarch_init): Remove setting of gdbarch function
3970 fetch_pseudo_register and store_pseudo_register. Remove setting of
3971 register_convert_to_raw, register_convert_to_virtual,
3972 register_convertible.
3973 (sh_sh4_register_convertible): Delete. No longer needed. All is
3974 taken care by architecture specific functions
3975 register_read/register_write.
3976 (sh_sh4_register_convert_to_virtual): Make static.
3977 (sh_sh4_register_convert_to_raw): Ditto.
3979 2002-01-22 Andrew Cagney <ac131313@redhat.com>
3981 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
3982 (floatformat_is_nan, floatformat_mantissa): Ditto.
3984 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
3985 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
3986 builtin_type_ieee_double_little,
3987 builtin_type_ieee_double_littlebyte_bigword,
3988 builtin_type_m68881_ext, builtin_type_i960_ext,
3989 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
3990 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
3991 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
3992 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
3994 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
3996 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
3997 parameter. Set frameless flag if it exists and depended of
3998 whether the scanned function is frameless or not.
3999 (xstormy16_skip_prologue): If function is frameless, return
4000 result of xstormy16_scan_prologue().
4001 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
4004 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
4006 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
4007 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
4008 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
4009 sh_sh4_register_byte, sh_sh4_register_raw_size,
4010 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
4011 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
4012 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
4013 sh_store_pseudo_register, sh_do_pseudo_register): Call
4014 gdbarch_tdep() just once, assign result to variable and use that,
4015 instead of calling the function several times.
4017 2002-01-20 Mark Kettenis <kettenis@gnu.org>
4019 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
4020 macros instead of LAST_FPU_CTRL_REGNUM.
4021 (store_register): Likewise.
4023 2002-01-21 Jim Blandy <jimb@redhat.com>
4025 * infcmd.c (run_command): Check that the `exec' target layer's BFD
4026 is up-to-date before running the program, not just when a program
4029 2002-01-21 Fred Fish <fnf@redhat.com>
4031 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
4032 when we have found all instructions we are looking for.
4034 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
4036 * arm-tdep.c (arm_register_name): New function.
4037 (arm_registers_names): Make static.
4038 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
4039 (arm_register_name): Declare.
4040 (REGISTER_NAME): Use it.
4042 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
4043 Kevin Buettner <kevinb@redhat.com>
4045 Convert arm targets to new FRAME interface.
4046 * arm-tdep.c (struct frame_extra_info): Remove fsr.
4047 (arm_frame_find_save_regs): Delete.
4048 (arm_frame_init_saved_regs): New.
4049 (arm_init_extra_frame_info): Alloacte saved_regs as required.
4050 Allocate extra_info as required. Convert all uses of fsr.regs
4051 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
4053 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
4054 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
4055 (check_prologue_cache, save_prologue_cache): Likewise.
4056 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
4057 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
4058 (FRAME_FIND_SAVED_REGS): Delete.
4059 (arm_frame_find_saved_regs): Delete prototype.
4060 (arm_frame_init_saved_regs): New prototype.
4061 (FRAME_INIT_SAVED_REGS): Define.
4063 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4065 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
4067 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4069 From Jeff Law <law@redhat.com>:
4070 * infttrace.c: Include <sys/pstat.h>.
4071 (child_pid_to_exec_file): Revamp. Use pstat call to get the
4072 exec file if the ttrace equivalent fails.
4074 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4076 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
4077 (closeLogFile): Ditto.
4079 2002-01-20 Michael Chastain <mec@shout.net>
4081 * top.c (print_gdb_version): Bump copyright year to 2002.
4083 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4085 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
4086 Zannoni and Eli Zaretskii.
4088 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
4090 * buildsym.c: Update copyright years.
4091 * c-typeprint.c: Likewise.
4092 * dwarf2read.c: Likewise.
4093 * f-typeprint.c: Likewise.
4094 * gdbtypes.c: Likewise.
4095 * gdbtypes.h: Likewise.
4096 * hp-symtab-read.c: Likewise.
4097 * hpread.c: Likewise.
4098 * mdebugread.c: Likewise.
4099 * p-typeprint.c: Likewise.
4101 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4103 * remote-sim.c (gdbsim_open): Simplify code testing the macro
4104 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
4105 byte-order selectable.
4106 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
4107 * arch-utils.c: Ditto.
4108 (set_endian): Ditto.
4109 (set_endian_from_file): Ditto.
4110 * gdbserver/low-sim.c (create_inferior): Ditto.
4111 * gdbarch.sh: Ditto.
4112 * gdbarch.h: Re-generate.
4113 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4114 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
4115 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
4116 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4117 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4118 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4119 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
4120 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
4122 * config/mips/tm-wince.h: Remove #undef of macro
4123 TARGET_BYTE_ORDER_SELECTABLE.
4124 * config/sh/tm-wince.h: Ditto.
4126 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
4128 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
4129 member function fields. Add accessor macro
4130 TYPE_FN_FIELD_ARTIFICIAL.
4131 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
4132 * c-typeprint.c (c_type_print_base): Skip artificial member
4135 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
4137 * f-typeprint.c: Delete unused function f_type_print_args.
4138 * p-typeprint.c: Delete unused function pascal_type_print_args.
4140 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
4142 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
4143 comment. Add ``artificial'' to ``union field_location''.
4145 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
4147 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
4148 * mdebugread.c (parse_symbol): Likewise.
4149 * stabsread.c (define_symbol): Likewise.
4150 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
4151 initializing TYPE_FIELD_BITPOS to n (obsolete).
4152 (hpread_doc_function_type): Likewise.
4153 * hpread.c (hpread_function_type): Likewise.
4155 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4157 * configure.in (host_makefile_frag): Only require a host makefile
4158 fragment when a native build.
4159 * configure: Re-generate.
4161 2002-01-20 Andrew Cagney <ac131313@redhat.com>
4163 * doublest.h (floatformat_from_type): Declare.
4164 * doublest.c (floatformat_from_type): New function.
4165 (convert_typed_floating): Use.
4167 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
4168 call to function floatformat_from_type.
4170 * gdbarch.sh (IEEE_FLOAT): Delete.
4171 * gdbarch.h, gdbarch.c: Re-generate.
4172 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
4173 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
4174 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
4175 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
4176 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
4177 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
4178 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
4179 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
4180 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
4181 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
4182 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
4183 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
4185 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
4186 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
4187 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
4188 * sh-tdep.c (sh_gdbarch_init): Ditto.
4189 * mips-tdep.c (mips_gdbarch_init): Ditto.
4190 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4191 * cris-tdep.c (cris_gdbarch_init): Ditto.
4193 2002-01-20 Jiri Smid <smid@suse.cz>
4195 * configure.host, configure.tgt: Support x86-64.
4196 * NEWS: Note new target x86-64.
4198 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
4199 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
4200 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
4201 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
4202 x86-64-linux-nat.o): Fix dependencies.
4204 2002-01-19 Andrew Cagney <ac131313@redhat.com>
4206 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
4207 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
4208 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
4209 * config/sparc/xm-sun4os4.h: Delete file.
4210 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
4212 2002-01-19 Andrew Cagney <ac131313@redhat.com>
4214 * config/sparc/sparclynx.mh (XM_FILE): Delete.
4215 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
4216 * config/m68k/m68klynx.mh (XM_FILE): Delete.
4217 * config/i386/i386lynx.mh (XM_FILE): Delete.
4218 * config/rs6000/xm-rs6000ly.h: Delete file.
4219 * config/sparc/xm-sparclynx.h: Delete file.
4220 * config/m68k/xm-m68klynx.h: Delete file.
4221 * config/i386/xm-i386lynx.h: Delete file.
4222 * config/xm-lynx.h: Delete file.
4223 * config/djgpp/fnchange.lst: Update.
4225 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
4227 * alpha-tdep.c (alpha_register_byte): New function.
4228 (alpha_register_raw_size): Ditto.
4229 (alpha_register_virtual_size): Ditto.
4230 (alpha_skip_prologue_internal): Renamed from
4231 alpha_skip_prologue.
4232 (alpha_skip_prologue): New version that calls
4233 alpha_skip_prologue_internal.
4234 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
4235 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
4236 second argument from alpha_skip_prologue.
4237 (REGISTER_BYTE): Use alpha_register_byte.
4238 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
4239 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
4240 (FRAMELESS_FUNCTION_INVOCATION): Use
4241 generic_frameless_function_invocation_not.
4242 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
4243 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
4245 2002-01-19 Andrew Cagney <ac131313@redhat.com>
4247 * config/mips/xm-news-mips.h: Delete file.
4248 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
4250 * config/m88k/xm-m88k.h: Delete file.
4251 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
4252 * config/m88k/xm-delta88v4.h: Ditto.
4253 * config/m88k/xm-delta88.h: Ditto.
4255 * config/alpha/xm-fbsd.h: Delete file.
4256 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
4258 * config/sparc/xm-sparc.h: Delete file.
4259 * Makefile.in (xm-sun4os4.h): Delete dependency.
4260 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
4261 * config/sparc/xm-sun4os4.h: Ditto.
4262 * config/sparc/xm-linux.h: Ditto.
4264 * config/i386/xm-windows.h: Delete file.
4266 2002-01-19 Andrew Cagney <ac131313@redhat.com>
4268 * utils.c: Include <sys/param.h> for MAXPATHLEN.
4269 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
4271 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
4273 * alpha-tdep.c (alpha_call_dummy_words): New.
4274 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
4275 (CALL_DUMMY_P): Define.
4276 (CALL_DUMMY_WORDS): Define.
4277 (SIZEOF_CALL_DUMMY_WORDS): Define.
4279 2002-01-19 Per Bothner <per@bothner.com>
4281 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
4282 isn't NULL, which can happen with some gcj-3.x-produced code.
4284 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
4286 * alpha-tdep.c (alpha_register_virtual_type): New function.
4287 (alpha_init_frame_pc_first): Ditto.
4288 (alpha_fix_call_dummy): Ditto.
4289 (alpha_store_struct_return): Ditto.
4290 (alpha_extract_struct_value_address): Ditto.
4291 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
4292 alpha_register_virtual_type.
4293 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
4294 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
4295 alpha_extract_struct_value_address.
4296 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
4297 (INIT_FRAME_PC): Use init_frame_pc_noop.
4298 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
4300 2002-01-19 Mark Kettenis <kettenis@gnu.org>
4302 * i386gnu-nat.c: Include "i386-tdep.h".
4303 (fetch_fpregs): Simplify code dealing with uninitialized floating
4304 point states such that it doesn't require FP7_REGNUM.
4306 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4308 * alpha-tdep.c (frame_extra_info): New.
4309 (alpha_find_saved_regs): Make static. Use
4311 (alpha_frame_init_saved_regs): New function.
4312 (alpha_frame_saved_pc): Use frame->extra_info.
4313 (temp_saved_regs): Don't declare as struct frame_saved_regs.
4314 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
4315 (init_extra_frame_info): Rename to...
4316 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
4317 (alpha_print_extra_frame_info): New function.
4318 (alpha_frame_locals_address): Ditto.
4319 (alpha_frame_args_address): Ditto.
4320 (alpha_pop_frame): Use frame->extra_info.
4321 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
4322 alpha_frame_args_address.
4323 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
4324 (alpha_find_saved_regs): Remove prototype.
4325 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
4326 (EXTRA_FRAME_INFO): Remove.
4327 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
4328 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
4330 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4332 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
4333 (alpha_cannot_fetch_register): Ditto.
4334 (alpha_cannot_store_register): Ditto.
4335 (alpha_register_convertible): Ditto.
4336 (alpha_use_struct_convention): Ditto.
4337 * config/alpha/tm-alpha.h: Update copyright years.
4338 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
4339 (INNER_THAN): Use core_addr_lessthan.
4340 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
4341 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
4342 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
4343 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
4344 (FRAME_CHAIN): Remove unnecessary cast.
4346 2002-01-18 Andrew Cagney <ac131313@redhat.com>
4348 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
4351 2002-01-18 Andrew Cagney <ac131313@redhat.com>
4353 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
4354 * monitor.c, remote-array.c, remote-bug.c: Ditto.
4355 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
4356 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
4357 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
4358 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
4359 * x86-64-linux-nat.c: Ditto.
4361 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4363 * alpha-tdep.c (alpha_register_name): New function.
4364 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
4365 (REGISTER_NAME): Define.
4367 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4369 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
4371 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4373 * alpha-tdep.c: Update copyright years.
4374 (alpha_next_pc): New function.
4375 (alpha_software_single_step): Ditto.
4376 * config/alpha/tm-alpha.h: Add prototype for
4377 alpha_software_single_step.
4379 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4381 * alphabsd-nat.c: Update copyright years.
4382 (fill_gregset): Use regcache_collect.
4383 (fill_fpregset): Likewise.
4384 (fetch_inferior_registers): Only fetch integer registers
4385 if requested to do so.
4386 (store_inferior_registers): Only store integer registers
4387 if requested to do so.
4389 2002-01-17 Andrew Cagney <ac131313@redhat.com>
4391 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
4392 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
4393 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
4394 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
4395 * config/alpha/fbsd.mh (XDEPFILES): Delete.
4396 * config/arm/linux.mh (XDEPFILES): Delete.
4397 * config/arm/nbsd.mh (XDEPFILES): Delete.
4398 * config/i386/i386dgux.mh (XDEPFILES): Delete.
4399 * config/i386/i386sol2.mh (XDEPFILES): Delete.
4400 * config/i386/i386m3.mh (XDEPFILES): Delete.
4401 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
4402 * config/i386/i386gnu.mh (XDEPFILES): Delete.
4403 * config/i386/fbsd.mh (XDEPFILES): Delete.
4404 * config/i386/i386bsd.mh (XDEPFILES): Delete.
4405 * config/i386/i386sco5.mh (XDEPFILES): Delete.
4406 * config/i386/i386v4.mh (XDEPFILES): Delete.
4407 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
4408 * config/i386/i386sco4.mh (XDEPFILES): Delete.
4409 * config/i386/i386aix.mh (XDEPFILES): Delete.
4410 * config/i386/go32.mh (XDEPFILES): Delete.
4411 * config/i386/cygwin.mh (XDEPFILES): Delete.
4412 * config/i386/i386lynx.mh (XDEPFILES): Delete.
4413 * config/i386/i386mach.mh (XDEPFILES): Delete.
4414 * config/i386/i386v32.mh (XDEPFILES): Delete.
4415 * config/i386/linux.mh (XDEPFILES): Delete.
4416 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
4417 * config/i386/ncr3000.mh (XDEPFILES): Delete.
4418 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
4419 * config/i386/i386sco.mh (XDEPFILES): Delete.
4420 * config/i386/i386v.mh (XDEPFILES): Delete.
4421 * config/i386/nbsd.mh (XDEPFILES): Delete.
4422 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
4423 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
4424 * config/i386/symmetry.mh (XDEPFILES): Delete.
4425 * config/i386/obsd.mh (XDEPFILES): Delete.
4426 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
4427 * config/ia64/linux.mh (XDEPFILES): Delete.
4428 * config/ia64/aix.mh (XDEPFILES): Delete.
4429 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
4430 * config/m68k/dpx2.mh (XDEPFILES): Delete.
4431 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
4432 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
4433 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
4434 * config/m68k/linux.mh (XDEPFILES): Delete.
4435 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
4436 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
4437 * config/m68k/nbsd.mh (XDEPFILES): Delete.
4438 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
4439 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
4440 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
4441 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
4442 * config/m88k/delta88.mh (XDEPFILES): Delete.
4443 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
4444 * config/m88k/m88k.mh (XDEPFILES): Delete.
4445 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
4446 * config/mips/linux.mh (XDEPFILES): Delete.
4447 * config/mips/irix6.mh (XDEPFILES): Delete.
4448 * config/mips/irix5.mh (XDEPFILES): Delete.
4449 * config/mips/irix4.mh (XDEPFILES): Delete.
4450 * config/mips/irix3.mh (XDEPFILES): Delete.
4451 * config/mips/decstation.mh (XDEPFILES): Delete.
4452 * config/mips/mipsm3.mh (XDEPFILES): Delete.
4453 (NATDEPFILES): Move core-aout.o to here.
4454 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
4455 * config/pa/hpux1020.mh (XDEPFILES): Delete.
4456 * config/pa/hppabsd.mh (XDEPFILES): Delete.
4457 * config/pa/hppahpux.mh (XDEPFILES): Delete.
4458 * config/pa/hpux11w.mh (XDEPFILES): Delete.
4459 * config/pa/hppaosf.mh (XDEPFILES): Delete.
4460 * config/pa/hpux11.mh (XDEPFILES): Delete.
4461 * config/powerpc/aix.mh (XDEPFILES): Delete.
4462 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
4463 * config/powerpc/linux.mh (XDEPFILES): Delete.
4464 * config/romp/rtbsd.mh: Rename XDEPFILES.
4465 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
4466 * config/rs6000/aix4.mh (XDEPFILES): Delete.
4467 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
4468 * config/s390/s390.mh (XDEPFILES): Delete.
4469 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
4470 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
4471 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
4472 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
4473 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
4474 * config/sparc/nbsd.mh (XDEPFILES): Delete.
4475 * config/sparc/linux.mh (XDEPFILES): Delete.
4476 * config/vax/vaxult.mh (XDEPFILES): Delete.
4477 * config/vax/vaxult2.mh (XDEPFILES): Delete.
4478 * Makefile.in (DEPFILES): Remove XDEPFILES.
4480 2002-01-17 Andrew Cagney <ac131313@redhat.com>
4482 * utils.c (internal_verror): Fix comments, default is yes not no.
4483 Update queries to match. Default to quit and dump core.
4485 2002-01-17 Andrew Cagney <ac131313@redhat.com>
4487 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
4489 * defs.h, event-top.c, gdbcmd.h: Ditto.
4490 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
4491 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
4492 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
4493 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
4494 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
4495 * mi/mi-main.c:Ditto.
4497 * stack.c, symfile.c: Update copyright.
4499 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
4501 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
4502 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
4503 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
4504 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
4506 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
4508 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
4509 * gdbserver/low-lynx.c (myattach): Likewise.
4510 * gdbserver/low-nbsd.c (myattach): Likewise.
4511 * gdbserver/low-sim.c (myattach): Likewise.
4512 * gdbserver/low-sparc.c (myattach): Likewise.
4513 * gdbserver/low-sun3.c (myattach): Likewise.
4515 * gdbserver/low-linux.c (myattach): New function.
4517 * gdbserver/server.c (attach_inferior): New function.
4518 (main): Handle "--attach".
4520 2002-01-16 Andrew Cagney <ac131313@redhat.com>
4522 * MAINTAINERS (language support): Daniel Jacobwitz is C++
4525 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
4527 * c-typeprint.c (is_type_conversion_operator): Add additional
4528 check for non-conversion operators.
4530 2002-01-15 Michael Snyder <msnyder@redhat.com>
4532 * linux-proc.c: Add "info proc" command, a la procfs.c.
4533 (read_mapping): New function, abstract and re-use code.
4534 (linux_find_memory_regions): Use new func read_mapping.
4535 (linux_info_proc_cmd): New function, implement "info proc".
4536 (_initialize_linux_proc): Add new command "info proc".
4538 2002-01-15 Michael Snyder <msnyder@redhat.com>
4540 * symfile.c (generic_load): Use bfd_map_over_sections method
4541 instead of manipulating bfd structure members directly.
4542 (add_section_size_callback): New function, bfd sections callback
4543 used by generic_load.
4544 (load_sections_callback): New function, bfd sections callback
4545 used by generic_load.
4547 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
4549 [Based on work by Jim Blandy]
4550 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
4551 (builtin_type_vec128): Export.
4552 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
4554 (builtin_type_vec128): New builtin type for 128 bit vector
4556 (build_gdbtypes): Initialize builtin_type_v16qi and
4557 builtin_type_v8hi. Create the vec128 register builtin type
4559 (build_builtin_type_vec128): New function.
4560 (_initialize_gdbtypes): Register builtin_type_v16qi and
4561 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
4562 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
4563 AltiVec register to new builtin type.
4565 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
4567 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
4570 2002-01-14 Andrew Cagney <ac131313@redhat.com>
4572 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
4573 CLEAN_UP_REGISTER_VALUE.
4574 * regcache.c (supply_register): Update only call.
4576 2002-01-14 Andrew Cagney <ac131313@redhat.com>
4578 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
4579 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
4580 a29k-*-vxworks* targets as obsolete.
4582 2002-01-14 Michael Snyder <msnyder@redhat.com>
4584 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
4585 until we can resolve portability issues.
4586 * gregset.h: Remove references to fpxregs.
4587 * gcore.c (gcore_command): Initialize note_sec to NULL.
4589 2002-01-13 Andrew Cagney <ac131313@redhat.com>
4591 * signals.c (target_signal_to_name): Rewrite. Only use
4592 signals[].name when in bounds and non-NULL.
4594 2002-01-13 Andrew Cagney <ac131313@redhat.com>
4596 From Petr Ledvina <ledvinap@kae.zcu.cz>:
4597 * signals.c (target_signal_to_name): Verify that SIG is within the
4598 bounds of the signals array.
4600 2002-01-13 Andrew Cagney <ac131313@redhat.com>
4602 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
4604 2002-01-13 Keith Seitz <keiths@redhat.com>
4606 * stack.c (print_frame_info_base): Print the frame's pc
4607 only if when print_frame_info_listing_hook is not defined.
4609 2002-01-13 Keith Seitz <keiths@redhat.com>
4611 * varobj.c (varobj_set_value): Make sure that there were no
4612 errors evaluating the object before attempting to set its
4614 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
4615 so this offset adjustment is no longer necessary.
4616 (create_child): Don't set the error flag if the child is
4618 (value_of_child): If value_fetch_lazy fails, return NULL
4619 so that callers will be notified that an error occurred.
4620 (c_value_of_variable): Delay check of variable's validity
4621 until later. We actually want all structs and unions to have
4623 Do not return "???" for variables which could not be evaluated.
4624 This error condition must be returned to the caller so that it
4625 can get the error condition from gdb.
4626 (cplus_name_of_child): Adjust index for vptr before figuring
4627 out the name of the child.
4628 (cplus_value_of_child): If a child's (real) parent is not valid,
4629 don't even bother trying to give a value for it. Just return
4630 an error. Change all instances in this function.
4631 (cplus_type_of_child): If our parent is one of the "fake"
4632 parents, we need to get at the type of the real parent, and
4633 derive the child's true type using this information.
4635 2002-01-13 Andrew Cagney <ac131313@redhat.com>
4637 From 2002-01-09 John Marshall <johnm@falch.net>:
4638 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
4639 sources.redhat.com, and tweak some related URLs which had
4640 suffered from linkrot.
4642 2002-01-13 Andrew Cagney <ac131313@redhat.com>
4645 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
4646 structures passed in registers.
4648 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
4650 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
4651 white space which prevented compilation. Reported by DSK
4652 <dsk@student.unsw.edu.au>.
4654 2002-01-11 Michael Snyder <msnyder@redhat.com>
4656 * symfile.c (build_section_addr_info_from_section_tab):
4657 Use bfd access method instead of manipulating bfd directly.
4658 (syms_from_objfile): Ditto.
4659 (simple_overlay_update_1): Ditto.
4660 (simple_overlay_update): Ditto.
4661 (generic_load): Ditto.
4662 (overlay_unmapped_address): FIXME comment, bfd access methods.
4663 (sections_overlap): FIXME comment, bfd access methods.
4664 (pc_in_mapped_range): FIXME comment, bfd access methods.
4665 (pc_in_unmapped_range): FIXME comment, bfd access methods.
4666 (section_is_mapped): FIXME comment, bfd access methods.
4667 (section_is_overlay): FIXME comment, bfd access methods.
4669 * symfile.c (generic_load): Whitespace and long line cleanups.
4670 Remove duplicate variable, change several local variables to
4671 more appropriate data types.
4672 (print_transfer_performance): Use %lu instead of %ld for ulongs.
4674 2002-01-12 Andrew Cagney <ac131313@redhat.com>
4677 * language.c (longest_local_hex_string_custom): Use phex_nz to
4678 convert NUM to a hex string.
4680 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
4682 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
4684 Update Copyright year.
4686 2002-01-12 Andrew Cagney <ac131313@redhat.com>
4688 * language.c (longest_raw_hex_string): Delete unused function.
4690 2002-01-11 Petr Sorfa <petrs@caldera.com>
4692 * MAINTAINERS (write-after-approval): Add myself.
4693 * dwarf2read.c (read_tag_string_type): Handling of
4695 (read_tag_string_type): FORTRAN fix to prevent propagation of
4697 (set_cu_language): Handling of DW_LANG_Fortran95
4699 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
4701 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
4702 GETPID(inferior_ptid).
4703 (store_inferior_registers): Likewise.
4705 2002-01-10 Jason Merrill <jason@redhat.com>
4707 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
4710 2002-01-10 Andrew Cagney <ac131313@redhat.com>
4712 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
4713 and bfd/elf32-sh-nbsd.c.
4715 2002-01-10 Michael Snyder <msnyder@redhat.com>
4717 * NEWS: Mention --pid and corefile/proc-id behavior change.
4719 * Makefile.in: Add rules for gcore.o and linux-proc.o.
4720 * gcore.c: Include cli/cli-decode.h instead of command.h.
4722 * main.c (captured_main): Add new command line option "--pid".
4723 If the second command line argument (following the symbol-file)
4724 begins with a digit, try to attach to it before trying to open
4726 (print_gdb_help): Document the "--pid" argument.
4728 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
4730 * completer.c (command_completer): New function.
4732 * completer.h <command_completer>: Add prototype.
4734 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
4735 completer for the "help" command.
4737 2002-01-09 Jason Merrill <jason@redhat.com>
4739 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
4741 2002-01-09 Michael Snyder <msnyder@redhat.com>
4743 * i386-linux-nat.c (fill_fpxregset): Make global.
4744 (store_fpxregset): Ditto.
4746 * gregset.h (gdb_fpxregset_t): Define.
4747 (supply_fpxregset): Prototype.
4748 (fill_fpxregset): Prototype.
4750 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
4752 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
4754 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
4755 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
4756 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
4758 2002-01-09 Andrew Cagney <ac131313@redhat.com>
4760 * MAINTAINERS: Update target maintainer rules so that any
4761 Maintainer can approve a tested patch for a maintenance-only
4764 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
4766 * MAINTAINERS (write-after-approval): Add myself.
4768 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
4771 2002-01-08 Michael Snyder <msnyder@redhat.com>
4773 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
4774 real name of the executable, rather than the /proc name.
4776 2002-01-03 Michael Snyder <msnyder@redhat.com>
4778 Implement a "generate-core-file" command in gdb, save target state.
4779 * gcore.c: New file. Implement new command 'generate-core-file'.
4780 Save a corefile image of the current state of the inferior.
4781 * linux-proc.c: Add linux-specific code for saving corefiles.
4782 * target.h (struct target_ops): Add new target vectors for saving
4783 corefiles; to_find_memory_regions and to_make_corefile_notes.
4784 (target_find_memory_regions): New macro.
4785 (target_make_corefile_notes): New macro.
4786 * target.c (update_current_target): Inherit new target methods.
4787 (dummy_find_memory_regions): New place-holder method.
4788 (dummy_make_corefile_notes): New place-holder method.
4789 (init_dummy_target): Initialize new dummy target vectors.
4790 * exec.c (exec_set_find_memory_regions): New function.
4791 Allow the exec_ops vector for memory regions to be taken over.
4792 (exec_make_note_section): New function, target vector method.
4793 * defs.h (exec_set_find_memory_regions): Export prototype.
4794 * procfs.c (proc_find_memory_regions): New function, corefile method.
4795 (procfs_make_note_section): New function, corefile method.
4796 (init_procfs_ops): Set new target vector pointers.
4797 (find_memory_regions_callback): New function.
4798 (procfs_do_thread_registers): New function.
4799 (procfs_corefile_thread_callback): New function.
4800 * sol-thread.c (sol_find_memory_regions): New function.
4801 (sol_make_note_section): New function.
4802 (init_sol_thread_ops): Initialize new target vectors.
4803 * inftarg.c (inftarg_set_find_memory_regions): New function.
4804 Allow to_find_memory_regions vector to be taken over.
4805 (inftarg_set_make_corefile_notes): New function.
4806 Allow to_make_corefile_notes vector to be taken over.
4807 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
4808 interface layer if not target_has_execution (may be a corefile).
4809 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
4810 * config/sparc/sun4sol2.mh: Ditto.
4811 * config/alpha/alpha-linux.mh: Ditto.
4812 * config/arm/linux.mh: Ditto.
4813 * config/i386/x86-64linux.mh: Ditto.
4814 * config/ia64/linux.mh: Ditto.
4815 * config/m68k/linux.mh: Ditto.
4816 * config/mips/linux.mh: Ditto.
4817 * config/powerpc/linux.mh: Ditto.
4818 * config/sparc/linux.mh: Ditto.
4820 2002-01-07 Michael Snyder <msnyder@redhat.com>
4822 * arm-linux-nat.c: Remove references to regcache.c internal data
4823 (registers[] and register_valid[]).
4825 2002-01-07 Michael Snyder <msnyder@redhat.com>
4827 * linux-proc.c: New file. Implement child_pid_to_exec_file,
4828 so that attaching to a pid will automatically read the process's
4829 symbol file and shlibs.
4830 * Makefile.in: Add rule for linux-proc.o.
4831 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
4832 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
4833 * config/arm/linux.mh: Ditto.
4834 * config/i386/linux.mh: Ditto.
4835 * config/i386/x86-64linux.mh: Ditto.
4836 * config/ia64/linux.mh: Ditto.
4837 * config/m68k/linux.mh: Ditto.
4838 * config/mips/linux.mh: Ditto.
4839 * config/powerpc/linux.mh: Ditto.
4840 * config/sparc/linux.mh: Ditto.
4842 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
4844 * win32-nat.c: Add i386-tdep.h dependency.
4846 2002-01-07 Michael Snyder <msnyder@redhat.com>
4848 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
4849 instead of bfd_get_arch_size. Don't bail out just because
4850 there's no exec_bfd.
4852 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
4853 * p-valprint.c (pascal_object_print_value): Ditto.
4854 * somread.c (som_symtab_read): Ditto.
4855 * symfile.c (simple_free_overlay_region_table): Ditto.
4856 * valops.c (value_assign): Ditto.
4858 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
4859 use tilde_expand and strerror for opening save-tracepoints file.
4861 * thread-db.c (thread_db_new_objfile): Indendation fix.
4863 * infptrace.c (GDB_MAX_ALLOCA): New define.
4864 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
4865 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
4866 can be overridden with whatever value is appropriate to the host).
4867 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
4868 alloca to allocate potentially large buffer.
4869 * rs6000-nat.c (child_xfer_memory): Ditto.
4870 * symm-nat.c (child_xfer_memory): Ditto.
4871 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
4873 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
4875 From Nick Clifton <nickc@redhat.com>
4876 * d10v-tdep.c: Set STACK_START to 0x200bffe.
4878 2002-01-07 Michael Snyder <msnyder@redhat.com>
4880 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
4881 Don't use exec_bfd if it's NULL.
4883 2002-01-06 Mark Kettenis <kettenis@gnu.org>
4885 * valops.c (value_arg_coerce): Fix formatting.
4887 2002-01-06 Andrew Cagney <ac131313@redhat.com>
4889 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
4892 2002-01-06 Andrew Cagney <ac131313@redhat.com>
4894 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
4895 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
4896 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
4897 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
4898 z8k-coff have not been multi-arched. Update z8k-coff build
4901 2002-01-06 Andrew Cagney <ac131313@redhat.com>
4903 * MAINTAINERS: Mark a29k target as obsolete.
4904 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
4905 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
4907 * NEWS: Note that a29k targets are obsolete.
4908 * a29k-tdep.c: Mark as obsolete.
4909 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
4910 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
4911 a29k-*-vxworks* targets as obsolete.
4912 * remote-adapt.c: Obsolete.
4913 * remote-eb.c: Obsolete.
4914 * remote-mm.c: Obsolete.
4915 * remote-udi.c: Obsolete.
4916 * config/a29k/a29k-udi.mt: Obsolete.
4917 * config/a29k/a29k.mt: Obsolete.
4918 * config/a29k/tm-a29k.h: Obsolete.
4919 * config/a29k/tm-vx29k.h: Obsolete.
4920 * config/a29k/vx29k.mt: Obsolete.
4922 2002-01-05 Andrew Cagney <ac131313@redhat.com>
4924 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
4925 with BFD_ENDIAN_BIG.
4927 2002-01-05 Andrew Cagney <ac131313@redhat.com>
4929 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
4930 * configure, config.in: Re-generate.
4931 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
4932 * defs.h: Do not include <endian.h>.
4934 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
4936 * acconfig.h (HAVE_PT_GETXMMREGS): New.
4937 * config.in: Regenerate.
4938 * configure.in: Update copyright years.
4939 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
4940 * configure: Regenerate.
4941 * i386bsd-nat.c: Update copyright years.
4942 (fill_gregset): Use regcache_collect.
4943 (fetch_inferior_registers): Only fetch integer registers
4944 if requested to do so. Add support for XMM registers
4945 using PT_GETXMMREGS.
4946 (store_inferior_registers): Only store integer registers
4947 if requested to do so. Add support for XMM registers
4948 using PT_SETXMMREGS.
4949 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
4950 (store_inferior_registers): Remove.
4951 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
4952 (fetch_elfcore_registers): New function.
4953 (i386nbsd_elfcore_fns): New.
4954 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
4955 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
4957 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
4958 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
4959 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
4960 * config/i386/tm-nbsd.h: Update copyright years.
4961 (HAVE_SSE_REGS): Define.
4962 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
4963 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
4964 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
4965 (SIGCONTEXT_PC_OFFSET): Remove.
4966 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
4968 2002-01-05 Andrew Cagney <ac131313@redhat.com>
4970 * configure.tgt: Remove powerpc-*-macos* target.
4971 * config/m68k/xm-mpw.h: Delete file.
4972 * config/xm-mpw.h: Delete file.
4973 * ser-mac.c: Delete file.
4974 * mpw-make.sed: Delete file.
4975 * mpw-config.in: Delete file.
4976 * mac-xdep.c: Delete file.
4977 * mac-gdb.r: Delete file.
4978 * mac-defs.h: Delete file.
4979 * mac-nat.c: Delete file.
4980 * config/powerpc/macos.mh: Delete file.
4981 * config/powerpc/macos.mt: Delete file.
4982 * config/powerpc/nm-macos.h: Delete file.
4983 * config/powerpc/tm-macos.h: Delete file.
4984 * source.c (openp, open_source_file): Remove obsolete code.
4985 * top.c (gdb_readline): Ditto.
4986 * utils.c (query): Ditto.
4987 * event-top.c (display_gdb_prompt): Ditto.
4988 * Makefile.in (ser-mac.o): Delete obsolete target.
4991 2002-01-04 Andrew Cagney <ac131313@redhat.com>
4993 * defs.h (BIG_ENDIAN): Delete macro definition.
4994 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
4995 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
4996 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
4997 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4998 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
4999 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
5000 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
5001 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
5002 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
5003 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
5004 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
5005 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
5006 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
5007 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
5008 * gdbarch.c: Re-generate.
5010 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
5012 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
5015 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
5017 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
5019 2002-01-04 Andrew Cagney <ac131313@redhat.com>
5021 * value.h (value_ptr): Delete typedef.
5023 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
5025 * i386nbsd-nat.c: Update copyright years.
5026 Include i386-tdep.h.
5028 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
5030 * stabsread.c: Update copyright years.
5032 From Debashis Mahata <debashis.mahata@wipro.com>:
5033 (read_struct_fields): Deal with Sun C compiler erroneous stab
5034 output for structs and unions.
5037 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
5039 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
5042 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
5044 * cp-abi.c: Fix whitespace.
5045 (baseclass_offset): New wrapper function.
5046 * cp-abi.h (baseclass_offset): Add prototype.
5047 (struct cp_abi_ops): Add baseclass_offset pointer.
5049 * valops.c (vb_match): Move to...
5050 * gnu-v2-abi.c (vb_match): here.
5051 * valops.c (baseclass_offset): Move to...
5052 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
5054 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
5056 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
5057 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
5058 * hpacc-abi.c (init_hpacc_ops): Likewise.
5060 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
5062 * valops.c (find_overload_match): Accept obj as a
5063 reference parameter. Update it before returning.
5064 * value.h (find_overload_match): Update prototype.
5065 * eval.c (evaluate_subexp_standard): Pass object to
5066 find_overload_match by reference.
5068 2002-01-03 Andrew Cagney <ac131313@redhat.com>
5070 * valarith.c: Replace value_ptr with struct value pointer. Remove
5071 register attribute from value declarations.
5074 * scm-lang.c (scm_lookup_name): Ditto.
5076 2002-01-03 Michael Snyder <msnyder@redhat.com>
5078 Abstract the functionality of iterating over mapped memory
5079 regions into a general purpose iterator function.
5080 * procfs.c (iterate_over_mappings): New function, general purpose
5081 iterator for memory sections.
5082 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
5083 (solib_mappings_callback): New function, callback for above.
5084 (info_proc_mappings): Reimpliment using iterate_over_mappings.
5085 (info_mappings_callback): New function, callback for above.
5087 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
5089 2002-01-01 Mark Kettenis <kettenis@gnu.org>
5091 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
5092 * i386-tdep.c: Include "elf-bfd.h".
5093 (process_note_abi_tag_sections): New function.
5094 (i386_gdbarch_init): Add code to recognize various OS/ABI
5097 * maint.c (_initialize_maint_cmds): Add missing \ in
5100 For older changes see ChangeLog-2001
5106 version-control: never