3 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
7 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
8 or a reference ('a') can be in a pseudo register.
9 * infcmd.c (do_registers_info): Must take into account the pseudo
10 registers to print their value.
11 (registers_info): Likewise.
12 * stack.c (frame_info): Likewise.
13 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
17 Unified support for hardware breakpoints and watchpoints on
20 * config/i386/nm-i386.h: New file.
22 * config/i386/nm-i386.h: (i386_cleanup_dregs)
23 (i386_insert_watchpoint, i386_remove_watchpoint)
24 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
25 (i386_stopped_data_address, i386_insert_hw_breakpoint)
26 (i386_remove_hw_breakpoint): Declare prototypes.
27 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
28 Define if not already defined.
29 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
30 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
31 (target_insert_watchpoint, target_remove_watchpoint)
32 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
33 to call the appropriate i386_* functions.
35 * i386-nat.c: New file.
37 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
38 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
39 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
40 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
41 (maint_show_dr): New variables.
42 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
43 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
44 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
45 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
46 (i386_stopped_data_address, i386_stopped_by_hwbp)
47 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
49 (_initialize_i386_nat): New function.
50 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
51 `show-debug-regs', sets maint_show_dr to non-zero value and
52 activates debugging print-outs in functions which insert, remove,
53 and test watchpoints and hardware breakpoints.
55 * Makefile.in (i386-nat.o): New target.
56 (ALLDEPFILES): Add i386-nat.o.
60 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
65 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
66 thread-db.o, and lin-lwp.o for thread support instead of
67 linux-thread.o and lin-thread.o.
68 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
69 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
70 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
71 (lin_lwp_attach_lwp): Declare.
75 * Makefile.in: Clean up dependencies on ../include/demangle.h.
76 (demangle_h): New variable.
77 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
81 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
82 * breakpoint.c (bpstat_stop_status): Update.
83 * infrun.c (handle_inferior_event): Ditto.
84 * mips-tdep.c (mips_dump_tdep): Ditto.
85 * infrun.c (resume): Ditto.
86 * infptrace.c (child_resume): Ditto.
87 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
88 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
89 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
90 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
91 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
92 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
93 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
97 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
102 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
103 than asking for sym_class's type; that's circuitous. Remove
104 sym_class, since the last use of it is gone.
108 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
109 Correct the order of calls to ui_out_field_string and
110 ui_out_list_begin when bs->old_val is NULL.
114 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
115 * configure: Regenerate.
116 * config.in: Regenerate.
117 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
121 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
122 same line to avoid problems with Unixware 7's make when building
127 * defs.h (malloc): Move declaration from here.
128 * utils.c (malloc): To here.
129 * config/pa/xm-hppah.h (malloc): Delete declaration.
131 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
132 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
133 (hpread_quick_traverse): Ditto.
134 * infttrace.c (create_thread_info): Ditto.
135 (kill_inferior): Ditto.
136 * gnu-nat.c (make_inf): Ditto, and don't check return value.
137 * procfs.c (proc_update_threads): Ditto.
138 * valprint.c (print_decimal_chars): Ditto.
139 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
141 * remote-rdp.c (rdp_set_command_line): Ditto.
145 * defs.h (realloc): Move declaration from here.
146 * utils.c (realloc): To here.
147 * config/pa/xm-hppah.h (realloc): Delete declaration.
148 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
149 * symfile.c (add_filename_language): Ditto.
150 * event-loop.c (create_file_handler): Ditto.
154 * defs.h (free): Move declaration from here.
155 * utils.c (free): To here.
156 (xfree): Document as the only call to free().
157 * config/pa/xm-hppah.h (free): Delete declaration.
161 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
166 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
167 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
168 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
172 * TODO: List known problems with TUI.
176 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
181 * remote.c (remote_cisco_section_offsets): Do not cast result from
182 bfd_get_section_name.
183 (compare_sections_command): Ditto.
184 (remote_cisco_section_offsets): Make ``p'' a const pointer.
185 (compare_sections_command): Ditto for ``sectname''.
190 * valops.c (hand_function_call): Simplify computation of the
191 address of the pushed argument.
195 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
196 Code copied from c-exp.y.
200 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
201 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
202 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
203 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
204 of the Solaris procfs testing section. Instead, group with...
205 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
206 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
207 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
208 * configure: Regenerate.
209 * config.in: Regenerate.
211 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
212 new configure macros to choose which (if any) code to
213 compile in. Added code to explicitly handle *BSD systems;
214 these systems were previously handled only through macro
215 redefinition. Also, due to the way the autoconf tests are set
216 up, this function will no longer return a non-zero value when
217 GDB is configured as a cross debugger. I.e, cross debuggers
218 will no longer be able to "accidentally" get the host system's
223 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
224 line to avoid build problem on NetBSD 1.4.
228 * win32-nat.c (child_attach): check args for NULL before passing
229 to strtoul. This fixes PR gdb/43.
233 * i387-nat.h: Doc Fix.
235 * i386-tdep.c: Fix formatting.
236 (i386_get_frame_setup, i386_follow_jump, codestream_read,
237 codestream_seek, codestream_fill, skip_trampoline_code,
238 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
243 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
244 no longer used. Also remove associated FIXME.
248 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
249 not generate macro wrappers for multi-arch functions or
251 (class_is_info_p, class_is_predicate_p): Update.
252 (class_is_function_p, class_is_variable_p): Ditto.
253 (class_is_multiarch_p): New class function.
257 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
258 h8300_frame_args_address from frame_args_address.
259 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
260 from frame_locals_address.
261 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
262 from print_register_hook.
263 (h8300_frame_args_address): Declare.
264 (h8300_frame_find_saved_regs): Declare.
265 (h8300_frame_locals_address): Declare.
266 (h8300_frame_saved_pc): Declare.
267 (h8300_pop_frame): Declare.
268 (h8300_print_register_hook): Declare.
269 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
270 (h8300_frame_args_address): Renamed from frame_args_address.
271 (h8300_frame_locals_address): Renamed from frame_locals_address.
272 (h8300_pop_frame): Renamed from pop_frame.
273 (h8300_print_register_hook): Renamed from print_register_hook.
277 * solib-svr4.c (bfd_lookup_symbol): Change type of
278 ``storage_needed'' from unsigned int to long in order to
279 match return type of bfd_get_symtab_upper_bound() and
280 bfd_get_dynamic_symtab_upper_bound().
281 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
282 REASONABLE_LIMIT hack which had been added to work around this
287 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
288 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
289 to free() with calls to xfree().
290 (bfd_lookup_symbol): Eliminate use of PTR.
291 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
295 * linespec.c (decode_line_1): Remove trailing quote
296 when parsing double quotes.
300 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
301 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
302 argument in the to_xfer_memory calls.
306 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
307 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
311 * wince.c (child_xfer_memory): Add attrib parameter.
312 * symm-nat.c (child_xfer_memory): Ditto.
313 * mac-nat.c (child_xfer_memory): Ditto.
314 * infttrace.c (child_xfer_memory): Ditto.
315 * procfs.c (procfs_xfer_memory): Ditto.
316 * lin-thread.c (thread_db_xfer_memory): Ditto.
317 * gnu-nat.c (gnu_xfer_memory): Ditto.
321 * NEWS: Mention that Harris/CXUX m88k is obsolete.
325 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
326 to regcache functions.
327 * config/m68k/tm-m68k.h: Ditto.
328 * config/i386/tm-i386v.h: Ditto.
329 * config/mcore/tm-mcore.h: Ditto.
330 * config/m88k/tm-m88k.h: Ditto.
331 * config/m68k/tm-news.h: Ditto.
332 * config/m68k/tm-linux.h: Ditto.
333 * config/m68k/tm-delta68.h: Ditto.
334 * config/m68k/nm-sun3.h: Ditto.
335 * config/m32r/tm-m32r.h: Ditto.
336 * config/i386/tm-symmetry.h: Ditto.
337 * config/i386/tm-sun386.h: Ditto.
338 * config/i386/tm-i386.h: Ditto.
339 * config/i386/nm-symmetry.h: Ditto.
340 * config/i386/nm-sun386.h: Ditto.
341 * config/i386/nm-ptx4.h: Ditto.
342 * config/i386/nm-i386mach.h: Ditto.
343 * config/h8500/tm-h8500.h: Ditto.
344 * config/h8300/tm-h8300.h: Ditto.
345 * config/fr30/tm-fr30.h: Ditto.
346 * config/d30v/tm-d30v.h: Ditto.
347 * config/arm/tm-arm.h: Ditto.
348 * config/arc/tm-arc.h: Ditto.
349 * config/alpha/tm-alpha.h: Ditto.
350 * config/a29k/tm-vx29k.h: Ditto.
351 * config/a29k/tm-a29k.h: Ditto.
352 * config/w65/tm-w65.h: Ditto.
353 * config/vax/tm-vax.h: Ditto.
354 * config/v850/tm-v850.h: Ditto.
355 * config/tic80/tm-tic80.h: Ditto.
356 * config/sparc/tm-sparclite.h: Ditto.
357 * config/sparc/tm-sparclet.h: Ditto.
358 * config/sparc/tm-sparc.h: Ditto.
359 * config/sparc/nm-sun4sol2.h: Ditto.
360 * config/sparc/nm-sun4os4.h: Ditto.
361 * config/sparc/nm-nbsd.h: Ditto.
362 * config/powerpc/nm-solaris.h: Ditto.
363 * config/pa/tm-hppao.h: Ditto.
364 * config/pa/tm-hppa.h: Ditto.
365 * config/pa/nm-hppab.h: Ditto.
366 * config/ns32k/tm-umax.h: Ditto.
367 * config/ns32k/tm-merlin.h: Ditto.
368 * config/nm-m3.h: Ditto.
369 * config/nm-gnu.h: Ditto.
373 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
374 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
375 Specify an m88k target. Include sample GAWK script to generate
376 target list. Delete non-existant romp target.
377 * TODO (GDB 5.1 - Cleanups): Update.
381 * linespec.c (decode_line_1): Skip argptr over a leading
382 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
386 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
390 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
393 * printcmd.c (printf_command): Ditto.
394 * ch-exp.c (match_integer_literal): Ditto.
397 * hppa-tdep.c (unwind_command): Ditto.
398 * defs.h (volatile): Delete macro definition. Assume __STDC__.
399 * remote-adapt.c (volatile): Ditto.
400 * remote-eb.c (volatile): Ditto.
401 * remote-mm.c (volatile): Ditto.
402 * defs.h (alloca): Assume __STDC__, declare returning void *.
406 * inferior.h (ARCH_NUM_REGS): Delete definition.
407 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
408 * regcache.c (registers_changed): Ditto.
409 (registers_fetched): Ditto.
410 * infptrace.c (fetch_inferior_registers): Ditto.
411 (store_inferior_registers): Ditto.
412 * infcmd.c (do_registers_info): Ditto.
413 (registers_info): Ditto.
414 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
415 (old_store_inferior_registers): Ditto.
416 * gdbserver/low-linux.c (register_addr): Ditto.
417 * gdbserver/low-hppabsd.c (register_addr): Ditto.
418 * core-aout.c: Don't include "inferior.h".
419 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
420 (register_addr): Ditto.
425 * cli/cli-script.c (define_command): Fix setting of post hooks.
429 * i386-linux-tdep.c: Fix formatting and clarify comments.
430 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
435 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
436 (proc_update_sc): Use gdb_assert instead of assert.
438 (inf_set_step_thread): Ditto.
440 (S_exception_raise_request): Ditto.
441 (gnu_terminal_init_inferior): Ditto.
445 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
446 (solib-legacy.o): New makefile target.
447 * solib-legacy.c: New file.
448 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
449 (default_svr4_fetch_link_map_offsets): Delete.
450 (set_solib_svr4_fetch_link_map_offsets): Declare.
451 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
452 * solib-svr4.c (elf/common.h): Include.
453 (link.h): Only include for SunOS shared library support.
454 (_SYSCALL32): Don't define.
455 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
456 (default_svr4_fetch_link_map_offsets): Made static; added forward
458 (fetch_link_map_offsets): New static global.
459 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
460 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
461 of what used to be in this function now reside in
462 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
463 (open_symbol_file_object): Fix declaration in SunOS section
465 (set_solib_svr4_fetch_link_map_offsets): New extern function.
466 (init_fetch_link_map_offsets): New static function.
467 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
468 under multiarch control.
470 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
472 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
473 * config/arm/linux.mt (TDEPFILES): Likewise.
474 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
475 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
476 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
477 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
478 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
479 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
480 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
481 * config/i386/linux.mt (TDEPFILES): Likewise.
482 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
483 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
484 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
485 * config/i386/ptx4.mh (XDEPFILES): Likewise.
486 * config/i386/sun386.mt (TDEPFILES): Likewise.
487 * config/ia64/linux.mt (TDEPFILES): Likewise.
488 * config/m68k/linux.mt (TDEPFILES): Likewise.
489 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
490 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
491 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
492 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
493 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
494 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
495 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
496 * config/powerpc/linux.mt (TDEPFILES): Likewise.
497 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
498 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
499 * config/sh/linux.mt (TDEPFILES): Likewise.
500 * config/sparc/linux.mt (TDEPFILES): Likewise.
501 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
502 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
503 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
504 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
505 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
509 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
513 * MAINTAINERS (Write After Approval): Update Philip Blundell.
517 * MAINTAINERS: Add myself to write after approval list.
521 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
522 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
526 * configure.host (m88*-harris-cxux*): Mark as obsolete.
527 * configure.tgt: Ditto.
528 * config/m88k/xm-cxux.h: Ditto.
529 * config/m88k/tm-cxux.h: Ditto.
530 * config/m88k/nm-cxux.h: Ditto.
531 * config/m88k/cxux.mt: Ditto.
532 * config/m88k/cxux.mh: Ditto.
536 * Makefile.in: Delete rules for obsolete files.
540 * stack.c (parse_frame_specification): For one argument case,
541 handle the situation where the argument is an integer, not an
542 address -- arguably the most common case. This matters on
543 targets where pointers and addresses are different.
547 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
548 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
553 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
554 with SID on Solaris 8.
558 * defs.h: Provide prototypes for floatformat_is_negative,
559 floatformat_is_nan and floatformat_mantissa.
560 * utils.c: Include "gdb_assert.h".
561 (floatformat_is_negative): New function.
562 (floatformat_is_nan): New function.
563 (floatformat_mantissa): New function.
564 * valprint.c: Include "floatformat.h".
565 (print_floating): Get rid of the Linux-specific
566 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
567 help these new functions. Print NaN's in a format conforming to
572 * top.c (init_main): Make `set history file name' complete on file
577 * Makefile.in (LINTFLAGS): Update to contain all of the macros
578 which define include paths used when compiling.
580 * util.c (savestring, msavestring): Change type of length argument.
581 * defs.h (savestring, msavestring): Update to match.
583 * symtab.h (decode_line_1): Removed declaration.
585 * symfile.c (#include <assert.h>): Removed.
587 * arch-utils.c (#include <ctype.h>): Removed.
588 * c-typeprint.c: Likewise.
589 * dbxread.c: Likewise.
590 * gdbtypes.c: Likewise.
591 * target.c: Likewise.
592 * os9kread.c: Likewise.
594 * c-valprint.c (#include "demangle.h"): Removed.
595 * ch-typeprint.c: Likewise.
597 * f-typeprint.c: Likewise.
598 * f-valprint.c: Likewise.
599 * m2-typeprint.c: Likewise.
600 * typeprint.c: Likewise.
601 * p-typeprint.c: Likewise.
602 * valarith.c: Likewise.
603 * valprint.c: Likewise.
605 * m2-typeprint.c (#include "gdb_string.h"): Removed.
606 * nlmread.c: Likewise.
608 * mdebugread.c (#include "gdb-stabs.h"): Removed.
609 * minsyms.c: Likewise.
610 * mipsread.c: Likewise.
611 * nlmread.c: Likewise.
613 * m2-typeprint.c (#include "obstack.h"): Removed.
614 * m2-valprint.c: Likewise.
616 * event-loop.c (#include <setjmp.h>): Removed.
620 * MAINTAINERS: Remove self from specific maintenance domains
621 (macos, gdbserver, documentation, testsuite).
625 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
626 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
627 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
628 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
629 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
630 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
631 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
632 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
633 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
634 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
635 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
636 coff-solib.h, coffread.c, command.h, complaints.c,
637 complaints.h, completer.c, completer.h,
638 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
639 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
640 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
641 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
642 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
643 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
644 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
645 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
646 config/arm/nm-linux.h, config/arm/tm-arm.h,
647 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
648 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
649 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
650 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
651 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
652 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
653 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
654 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
655 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
656 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
657 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
658 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
659 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
660 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
661 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
662 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
663 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
664 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
665 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
666 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
667 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
668 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
669 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
670 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
671 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
672 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
673 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
674 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
675 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
676 config/i960/tm-i960.h, config/i960/tm-mon960.h,
677 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
678 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
679 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
680 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
681 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
682 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
683 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
684 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
685 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
686 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
687 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
688 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
689 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
690 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
691 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
692 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
693 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
694 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
695 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
696 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
697 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
698 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
699 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
700 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
701 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
702 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
703 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
704 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
705 config/mips/nm-irix5.h, config/mips/nm-mips.h,
706 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
707 config/mips/tm-embed.h, config/mips/tm-embed64.h,
708 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
709 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
710 config/mips/tm-mips.h, config/mips/tm-mips64.h,
711 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
712 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
713 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
714 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
715 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
716 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
717 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
718 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
719 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
720 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
721 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
722 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
723 config/nm-sysv4.h, config/none/nm-none.h,
724 config/none/tm-none.h, config/none/xm-none.h,
725 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
726 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
727 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
728 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
729 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
730 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
731 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
732 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
733 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
734 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
735 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
736 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
737 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
738 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
739 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
740 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
741 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
742 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
743 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
744 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
745 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
746 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
747 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
748 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
749 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
750 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
751 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
752 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
753 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
754 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
755 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
756 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
757 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
758 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
759 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
760 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
761 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
762 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
763 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
764 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
765 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
766 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
767 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
768 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
769 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
770 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
771 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
772 gdbserver/low-sim.c, gdbserver/low-sparc.c,
773 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
774 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
775 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
776 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
777 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
778 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
779 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
780 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
781 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
782 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
783 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
784 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
785 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
786 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
787 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
788 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
789 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
790 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
791 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
792 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
793 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
794 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
795 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
796 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
797 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
798 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
799 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
800 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
801 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
802 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
803 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
804 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
805 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
806 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
807 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
808 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
809 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
810 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
811 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
812 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
813 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
814 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
815 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
816 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
817 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
818 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
819 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
820 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
821 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
822 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
823 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
824 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
825 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
826 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
827 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
828 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
829 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
834 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
835 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
837 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
838 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
839 (sys/fault.h, sys/select.h): Test for presence of these
841 (ia64-*-aix*): Define NEW_PROC_API for this host.
842 * configure: Regenerate.
843 * config.in: Regenerate.
845 * configure.host (ia64-*-aix*): New host.
846 * configure.tgt (ia64-*-aix*): New target.
850 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
854 * wince.c: Change realloc to xrealloc throughout.
855 (handle_load_dll): Use void * rather than PTR in argument.
859 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
860 * ocd.c (ocd_xfer_memory): Ditto.
861 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
862 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
863 buildable with ,-Werror.
865 * Makefile.in (symfile_h): Define.
866 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
867 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
868 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
871 * dsrec.c (make_srec): Fix internal_error fmt arg.
872 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
876 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
881 * MAINTAINERS (paper trail): Update.
883 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
888 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
889 parameter to mn10200_analyze_prologue.
891 * config/mn10200/tm-mn10200.h: Include "regcache.h".
892 * MAINTAINERS: Document that mn10200-elf target is buildable.
896 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
898 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
899 (MONTEREY): Don't define.
904 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
908 * sparc-nat.c (sparc-nat.c): Don't include self.
912 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
913 if __CYGWIN32__ is set from here.
914 * config/i386/xm-cygwin.h: To here.
915 * config/powerpc/xm-cygwin.h: To here.
917 * i386-stub.c (handle_exception): Use 'T' response packet.
921 * m32r-tdep.c: Fix cut and paste error in comment.
925 * symtab.c (print_msymbol_info): Print addresses by portable method
926 longest_local_hex_string_custom. Allow for 64-bit addresses.
930 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
931 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
932 (MIN_OF_TYPE): Likewise.
934 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
938 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
939 * os9kread.c (os9k_process_one_symbol): Add assert to detect
940 ``loses if sizeof (char *) > sizeof (int)''.
944 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
948 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
954 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
959 * printcmd.c (print_address_numeric): Update comments to refer
960 to sizeof addr, not sizeof pointer.
961 (x_command): Remove needless whitespace (shorten long line).
963 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
964 (read_memory_nobpt): Ditto.
965 (ep_is_catchpoint): Ditto.
966 (ep_is_shlib_catchpoint): Ditto.
967 (ep_is_exception_catchpoint): Ditto.
968 (describe_other_breakpoints): Ditto.
972 * regcache.h (register_valid): Fix comment documenting valid
978 * regcache.h: New file.
980 * value.h (read_register_bytes, read_register_gen)
981 (write_register_gen, write_register_bytes)
982 (read_register, read_register_pid)
983 (read_signed_register, read_signed_register_pid)
984 (write_register, write_register_pid)
985 (register_cached, set_register_cached)
986 (register_changed, register_buffer)
987 (registers_changed, supply_register): Move declaration from here.
988 * regcache.h: To here.
989 * gdbcore.h (registers_fetched): Ditto.
990 * inferior.h (registers, registers_valid): Ditto.
992 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
993 generic_target_write_pc, write_pc_pid, write_pc,
994 generic_target_read_sp, read_sp, generic_target_write_sp,
995 write_sp, generic_target_read_fp, read_fp,
996 generic_target_write_fp, write_fp): Add note that these functions
997 will be moved from this file.
999 * a29k-tdep.c: Include "regcache.h".
1000 * a68v-nat.c: Ditto.
1001 * abug-rom.c: Ditto.
1002 * alpha-nat.c: Ditto.
1003 * alpha-tdep.c: Ditto.
1004 * alphabsd-nat.c: Ditto.
1005 * arc-tdep.c: Ditto.
1006 * arm-linux-nat.c: Ditto.
1007 * arm-linux-tdep.c: Ditto.
1008 * arm-tdep.c: Ditto.
1009 * blockframe.c: Ditto.
1010 * core-aout.c: Ditto.
1011 * core-sol2.c: Ditto.
1013 * cpu32bug-rom.c: Ditto.
1014 * cxux-nat.c: Ditto.
1015 * d10v-tdep.c: Ditto.
1016 * d30v-tdep.c: Ditto.
1017 * dbug-rom.c: Ditto.
1018 * dink32-rom.c: Ditto.
1019 * dve3900-rom.c: Ditto.
1021 * fr30-tdep.c: Ditto.
1023 * go32-nat.c: Ditto.
1024 * h8300-tdep.c: Ditto.
1025 * h8500-tdep.c: Ditto.
1026 * hp300ux-nat.c: Ditto.
1027 * hppa-tdep.c: Ditto.
1028 * hppab-nat.c: Ditto.
1029 * hppah-nat.c: Ditto.
1030 * hppam3-nat.c: Ditto.
1031 * hpux-thread.c: Ditto.
1032 * i386-linux-nat.c: Ditto.
1033 * i386-linux-tdep.c: Ditto.
1034 * i386-tdep.c: Ditto.
1035 * i386aix-nat.c: Ditto.
1036 * i386b-nat.c: Ditto.
1037 * i386bsd-nat.c: Ditto.
1038 * i386gnu-nat.c: Ditto.
1039 * i386ly-tdep.c: Ditto.
1040 * i386m3-nat.c: Ditto.
1041 * i386mach-nat.c: Ditto.
1042 * i386nbsd-nat.c: Ditto.
1043 * i386v4-nat.c: Ditto.
1044 * i387-nat.c: Ditto.
1045 * i387-tdep.c: Ditto.
1046 * i960-tdep.c: Ditto.
1047 * ia64-aix-nat.c: Ditto.
1048 * ia64-linux-nat.c: Ditto.
1049 * ia64-tdep.c: Ditto.
1050 * infptrace.c: Ditto.
1052 * irix4-nat.c: Ditto.
1053 * irix5-nat.c: Ditto.
1055 * lin-thread.c: Ditto.
1056 * lynx-nat.c: Ditto.
1058 * m32r-rom.c: Ditto.
1059 * m32r-tdep.c: Ditto.
1060 * m68hc11-tdep.c: Ditto.
1061 * m68k-tdep.c: Ditto.
1062 * m68klinux-nat.c: Ditto.
1063 * m68knbsd-nat.c: Ditto.
1064 * m68knbsd-tdep.c: Ditto.
1065 * m88k-nat.c: Ditto.
1066 * m88k-tdep.c: Ditto.
1068 * mcore-rom.c: Ditto.
1069 * mcore-tdep.c: Ditto.
1070 * mi/mi-main.c: Ditto.
1071 * mips-nat.c: Ditto.
1072 * mips-tdep.c: Ditto.
1073 * mipsm3-nat.c: Ditto.
1074 * mipsv4-nat.c: Ditto.
1075 * mn10200-tdep.c: Ditto.
1076 * mn10300-tdep.c: Ditto.
1078 * ns32km3-nat.c: Ditto.
1079 * ns32knbsd-nat.c: Ditto.
1081 * pa64solib.c: Ditto.
1083 * ppc-linux-nat.c: Ditto.
1084 * ppc-linux-tdep.c: Ditto.
1085 * ppcbug-rom.c: Ditto.
1086 * ppcnbsd-nat.c: Ditto.
1087 * ptx4-nat.c: Ditto.
1088 * regcache.c: Ditto.
1089 * remote-adapt.c: Ditto.
1090 * remote-array.c: Ditto.
1091 * remote-bug.c: Ditto.
1092 * remote-e7000.c: Ditto.
1093 * remote-eb.c: Ditto.
1094 * remote-es.c: Ditto.
1095 * remote-est.c: Ditto.
1096 * remote-hms.c: Ditto.
1097 * remote-mips.c: Ditto.
1098 * remote-mm.c: Ditto.
1099 * remote-nindy.c: Ditto.
1100 * remote-os9k.c: Ditto.
1101 * remote-rdi.c: Ditto.
1102 * remote-rdp.c: Ditto.
1103 * remote-sds.c: Ditto.
1104 * remote-sim.c: Ditto.
1105 * remote-st.c: Ditto.
1106 * remote-udi.c: Ditto.
1107 * remote-utils.c: Ditto.
1108 * remote-vx.c: Ditto.
1109 * remote-vx29k.c: Ditto.
1110 * remote-vx68.c: Ditto.
1111 * remote-vx960.c: Ditto.
1112 * remote-vxmips.c: Ditto.
1113 * remote-vxsparc.c: Ditto.
1115 * rom68k-rom.c: Ditto.
1116 * rs6000-nat.c: Ditto.
1117 * rs6000-tdep.c: Ditto.
1120 * sol-thread.c: Ditto.
1121 * solib-svr4.c: Ditto.
1122 * somsolib.c: Ditto.
1123 * sparc-nat.c: Ditto.
1124 * sparc-tdep.c: Ditto.
1125 * sparcl-tdep.c: Ditto.
1126 * sparclet-rom.c: Ditto.
1127 * sun3-nat.c: Ditto.
1128 * sun386-nat.c: Ditto.
1129 * symm-nat.c: Ditto.
1131 * thread-db.c: Ditto.
1133 * tic80-tdep.c: Ditto.
1134 * tracepoint.c: Ditto.
1135 * ultra3-nat.c: Ditto.
1136 * umax-xdep.c: Ditto.
1137 * uw-thread.c: Ditto.
1138 * v850-tdep.c: Ditto.
1141 * w65-tdep.c: Ditto.
1142 * w89k-rom.c: Ditto.
1143 * win32-nat.c: Ditto.
1145 * z8k-tdep.c: Ditto.
1149 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
1153 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
1154 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
1155 mn10300_stab_reg_to_regnum.
1159 * symtab.c (search_symbols): Fix off by one error in test for
1164 * config/sparc/sp64linux.mt: New file.
1165 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
1166 * configure.host: Recognize sparc64-*-linux* as a linux host.
1169 * config/sparc/tm-sp64linux.h: New file.
1173 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
1174 with call to internal_error().
1175 * dbxread.c (process_one_symbol): Likewise.
1176 * exec.c (build_section_table, xfer_memory): Likewise.
1177 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
1179 * hpread.c (hpread_type_translate, hpread_read_array_type)
1180 (hpread_type_lookup): Likewise.
1181 * i386-tdep.c (gdb_print_insn_i386): Likewise.
1182 * i960-tdep.c (mem): Likewise
1183 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
1184 * infptrace.c (child_resume): Likewise.
1185 * infttrace.c (_initialize_infttrace): Likewise.
1186 * language.c (binop_result_type, add_language): Likewise.
1187 * lynx-nat.c (store_inferior_registers): Likewise.
1188 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
1189 * mdebugread.c (parse_partial_symbols): Likewise.
1190 * monitor.c (monitor_printf_noecho, monitor_printf)
1191 (monitor_dump_regs): Likewise.
1192 * ocd.c (stu_put_packet): Likewise.
1193 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
1194 * remote-bug.c (bug_open): Likewise.
1195 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
1196 * remote-es.c (es1800_read_bytes): Likewise.
1197 * remote-mips.c (common_breakpoint): Likewise.
1198 * remote-rdp.c (send_rdp): Likewise.
1199 * remote-sds.c (putmessage): Likewise.
1200 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1202 * sparcl-tdep.c (sparclite_download): Likewise.
1203 * symtab.c (lookup_partial_symbol): Likewise.
1204 * target.c (push_target, pop_target, initialize_targets): Likewise.
1205 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
1207 * valprint.c (print_decimal, print_longest, print_longest)
1208 (strcat_longest): Likewise.
1209 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
1210 * xmodem.c (xmodem_send_packet): Likewise.
1211 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
1212 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
1213 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
1214 (STORE_RETURN_VALUE): Likewise.
1215 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
1216 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
1217 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
1222 * CONTRIBUTE: Document how to cite a problem report.
1223 * TODO: Note need to replace CONTRIBUTE with generated file.
1225 * CONTRIBUTE: Mention that patches do not need to include the
1226 generated files gdbarch.h and gdbarch.c.
1230 * value.h (get_saved_register): Move from here.
1235 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
1236 (in_solib_dynsym_resolve_code): Add declaration.
1237 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
1238 in_solib_dynsym_resolve_code() rather than
1239 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
1240 which caused this macro to only be defined when
1241 SVR4_SHARED_LIBS is defined.
1242 * solib.c (in_solib_dynsym_resolve_code): New function.
1243 * solist.h (struct target_so_ops): Add new member
1244 in_dynsym_resolve_code.
1245 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
1246 in_svr4_dynsym_resolve_code. Also, made static.
1247 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
1248 member in aix5_so_ops.
1249 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
1250 in_svr4_dynsym_resolve_code. Also, added second version
1251 of this function which will be used when SVR4_SHARED_LIBS
1253 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
1254 member in svr4_so_ops.
1256 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
1257 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
1258 config/ia64/xm-aix.h: New files.
1259 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
1260 (ia64_aix_sigcontext_register_address): New declaration.
1261 (ia64_gdbarch_init): Provide for initialization of
1262 sigcontext_register_address member of struct tdep when
1263 on target is detected to be running AIX.
1264 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
1269 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
1270 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
1271 for thread support instead of linux-thread.o and lin-thread.o.
1272 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
1273 ATTACH_LWP): Define to use the following lin-lwp.c functions...
1274 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
1275 lin_lwp_attach_lwp): Declare.
1279 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
1284 * solib-aix5.c (solib-svr4.h): Remove include.
1285 (solib_break_names): Delete names which aren't actually
1287 (bkpt_names): Remove.
1288 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
1289 to STREQ() with equivalent calls to strcmp().
1290 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
1291 aix5_solib_create_inferior_hook): Revise comments.
1292 (enable_break): Remove old ``bkpt_names'' code.
1296 * Makefile.in (SFILES): Add frame.c .
1297 (COMMON_OBS): Add frame.o .
1298 (frame.o): New target.
1300 * frame.c (find_saved_register):
1301 (default_get_saved_register):
1302 (get_saved_register):
1303 (read_relative_register_raw_bytes_for_frame):
1304 (read_relative_register_raw_bytes): Moved to here.
1305 * regcache.c: From here.
1309 * solib-aix5.c: New file.
1313 * solib.c (info_sharedlibrary_command): Don't assume pointers
1314 are the same size of long, call longest_local_hex_string_custom().
1316 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
1317 extract_signed_integer() should be called instead of
1322 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
1327 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
1328 then floating point registers are 8 bytes.
1332 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
1333 accomodate 64-bit addresses.
1338 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
1339 lookup_symbol, when trying to find a symbol with a mangled name,
1340 to avoid infinite recursion.
1344 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
1348 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
1349 (save_prologue_cache): Ditto.
1354 * partial-stab.h (switch): Check that pst is not null
1355 before dereferencing it.
1360 * symfile.c (add_symbol_file_command): Always initialize
1361 my_cleanup using a NULL cleanup.
1365 * demangle.c (demangling_style_names): New variable.
1366 (_initialize_demangler): Fill demangling_style_names with the
1367 names of known demangling styles from libiberty_demanglers[]. Use
1368 add_set_enum_cmd instead of add_set_cmd, to get completion on
1369 demangling style names.
1371 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
1372 file-name completion.
1374 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
1376 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
1377 `solib-absolute-prefix'.
1379 * tracepoint.c (_initialize_tracepoint): Ditto for
1382 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
1384 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
1385 file-name completion.
1387 * infcmd.c (_initialize_infcmd): Make the following commands use
1388 the file-name completer: `tty', `args', `path', `paths', and
1393 * go32-nat.c: Include i387-nat.h.
1394 (fetch_register): New function, uses some of the guts of
1395 go32_fetch_registers and calls i387_supply_register.
1396 (go32_fetch_registers): Most of the code moved into
1397 fetch_register. Use i387_supply_fsave.
1398 (store_register): Use i387_fill_fsave instead of custom code.
1399 (go32_store_registers): Use i387_fill_fsave.
1401 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
1403 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
1405 * completer.c (gdb_completer_file_name_break_characters): Remove
1406 slash from file-name break characters.
1407 [__MSDOS__]: Special definition for DOS/Windows file names.
1408 (line_completion_function): When completing on file names, bump
1409 `p' to the first file-name constituent character of `word', before
1410 invoking the completer.
1414 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
1415 consistently for parameter names. Fix comments accordingly.
1416 (i387_supply_register): New function.
1417 (i387_supply_fsave): Implement using i387_supply_register.
1418 * i387-nat.h: Use regnum instead of regno consistently for
1419 parameter names. Fix comments accordingly.
1420 (i387_supply_register): New prototype.
1424 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
1425 instead of TARGET_PTR_BIT (to support Harvard architectures).
1430 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
1431 argument to parameter list and to call in order to conform to
1432 to_xfer_memory field of struct target_ops.
1436 * somsolib.c (som_solib_add_solib_objfile): Do not use
1437 section relocation feature of syms_from_objfile. Do my own
1438 section relocation, offsetting each section of the som by
1439 either text_addr - text_link_addr or data_start.
1443 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
1447 * MAINTAINERS (paper trail): Update.
1451 * target.h (target_fetch_registers): Fix comment.
1455 * f-exp.y: Include <ctype.h>.
1456 (parse_number): Ensure that ``i'' is always initialized.
1460 * MAINTAINERS: Add myself to paper trail section.
1464 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
1465 * configure, config.in: Regenerate.
1466 * corelow.c: Include <sys/file.h> if present.
1470 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
1471 declare when have SIGTTOU.
1475 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
1479 * MAINTAINERS: Update my email address.
1483 * NEWS: Document that "info symbol" works with COFF debug info and
1486 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
1487 symbols whose SYMBOL_BFD_SECTION is NULL.
1491 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
1492 * xcoffsolib.c (xcoff_solib_address): Renamed from
1493 pc_load_segment_name. Return NULL if address is not in a shared
1494 library. Cleanup shared library name construction, using xasprintf.
1495 Format shared library member names consistent with format in exec.c.
1496 (solib_info): Format shared library member names consistent with
1498 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
1499 using xcoff_solib_address for PC_SOLIB definition.
1500 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
1505 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
1506 with xmalloc calls and cleanups.
1510 * rs6000-nat.c (child_xfer_memory): Add missing parameter
1511 'struct mem_attrib *' required by 2001-01-23 change.
1515 Updates to "make TAGS":
1516 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
1517 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
1519 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
1523 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
1528 * defs.h (continuation): Remove unused global variable.
1532 * configure.tgt: Remove references to convex, pyramid, altos and
1534 * configure.host: Ditto.
1535 * MAINTAINERS: Ditto.
1538 * tahoe-tdep.c: Delete obsolete file.
1539 * pyr-xdep.c: Ditto.
1540 * pyr-tdep.c: Ditto.
1541 * convex-tdep.c: Ditto.
1542 * convex-xdep.c: Ditto.
1543 * config/tahoe/xm-tahoe.h: Ditto.
1544 * config/tahoe/tm-tahoe.h: Ditto.
1545 * config/tahoe/tahoe.mt: Ditto.
1546 * config/tahoe/tahoe.mh: Ditto.
1547 * config/pyr/xm-pyr.h: Ditto.
1548 * config/pyr/tm-pyr.h: Ditto.
1549 * config/pyr/pyramid.mt: Ditto.
1550 * config/pyr/pyramid.mh: Ditto.
1551 * config/m68k/xm-altos.h: Ditto.
1552 * config/m68k/tm-altos.h: Ditto.
1553 * config/m68k/altos.mt: Ditto.
1554 * config/m68k/altos.mh: Ditto.
1555 * config/convex/xm-convex.h: Ditto.
1556 * config/convex/tm-convex.h: Ditto.
1557 * config/convex/convex.mt: Ditto.
1558 * config/convex/convex.mh: Ditto.
1559 * config/convex/Convex.notes: Ditto.
1560 * config/arm/xm-arm.h: Ditto.
1561 * config/arm/nm-arm.h: Ditto.
1562 * config/arm/arm.mt: Ditto.
1563 * config/arm/arm.mh: Ditto.
1564 * arm-convert.s: Ditto.
1565 * arm-xdep.c: Ditto.
1566 * altos-xdep.c: Ditto.
1570 * defs.h (internal_error, internal_verror): Add __FILE__ and
1572 * utils.c (internal_error, internal_verror): Update.
1574 * v850-tdep.c: Update calls to internal_error.
1580 * symm-nat.c: Ditto.
1581 * sparc-tdep.c: Ditto.
1584 * rs6000-tdep.c: Ditto.
1585 * rs6000-nat.c: Ditto.
1587 * remote-vx.c: Ditto.
1588 * remote-sim.c: Ditto.
1589 * remote-mips.c: Ditto.
1590 * regcache.c: Ditto.
1591 * objfiles.h: Ditto.
1592 * objfiles.c: Ditto.
1593 * mn10300-tdep.c: Ditto.
1594 * mips-tdep.c: Ditto.
1596 * m68k-tdep.c: Ditto.
1598 * language.c: Ditto.
1599 * infptrace.c: Ditto.
1600 * inferior.h: Ditto.
1602 * ia64-tdep.c: Ditto.
1603 * i386-tdep.c: Ditto.
1604 * i386-linux-nat.c: Ditto.
1605 * hppah-nat.c: Ditto.
1606 * go32-nat.c: Ditto.
1610 * event-loop.c: Ditto.
1611 * dwarf2read.c: Ditto.
1613 * d30v-tdep.c: Ditto.
1614 * d10v-tdep.c: Ditto.
1615 * cli/cli-setshow.c: Ditto.
1616 * cli/cli-script.c: Ditto.
1618 * breakpoint.c: Ditto.
1620 * arch-utils.c: Ditto.
1621 * a29k-tdep.c: Ditto.
1622 * gdb_assert.h: Ditto.
1623 * gdbarch.sh: Ditto.
1624 * gdbarch.h, gdbarch.c: Re-generate.
1629 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
1633 * remote-sim.c (dump_mem): Cleanup printf format argument.
1634 * MAINTAINERS: Update, mn10300-elf now builds.
1638 * event-top.c: Remove duplicate #include <signal.h>.
1642 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
1644 (save_inferior_pid): Restore the PID from that tempoary
1645 buffer. Delete the buffer.
1646 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
1650 * MAINTAINERS: Add ``The Obvious Fix Rule''.
1654 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
1658 * gdbarch.sh: Include "gdb_assert.h".
1659 (struct gdbarch): Change ``nr_data'' to unsigned.
1660 (alloc_gdbarch_data, free_gdbarch_data): New functions.
1661 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
1662 architecture vector.
1663 (struct gdbarch_data, struct gdbarch_data_registration): Move init
1664 method to gdbarch_data. Add free method, make index unsigned.
1665 (struct gdbarch_data_registry): Make nr unsigned.
1666 (register_gdbarch_data): Add free parameter. Store in
1668 (init_gdbarch_data): Use set_gdbarch_data.
1669 (set_gdbarch_data): New function.
1671 * gdbarch.h, gdbarch.c: Re-generate.
1675 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
1676 fprintf_filtered with correct arguments.
1681 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
1682 must be allocated dynamically, since these are no longer constants.
1684 * regcache.c: Ditto.
1686 * sol-thread.c: Ditto.
1688 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
1689 work-around for a missing Sun header file in solaris for sparc64.
1693 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
1694 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
1695 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
1696 GET_THREAD_SIGNALS): Define.
1697 * arm-linux-nat.c (fill_gregset): Correct type of argument.
1698 (supply_gregset): Likewise.
1699 (fill_fpregset): Likewise.
1700 (supply_fpregset): Likewise.
1704 * valops.c (value_cast): If casting a scalar to a pointer, do not
1705 issue a message about truncation unless it exceeds the length of
1706 an address, not the length of a pointer. This is because what the
1707 user gives us is an address, not a pointer, and we will ultimately
1708 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
1709 to a pointer. This allows things like "print *(int *)0x01000234"
1710 to work without generating a misleading message on a target having
1711 two byte pointers and four byte addresses.
1715 * win32-nat.c: Change PTR to void * throughout.
1719 * signals.h: Removed.
1720 * event-top.c (#include <signal.h>): Changed from signals.h.
1721 * inflow.c: Likewise.
1722 * mac-xdep.c: Likewise.
1723 * ser-pipe.c: Likewise.
1724 * ser-tcp.c: Likewise.
1725 * standalone.c: Likewise.
1727 * utils.c: Likewise.
1728 * Makefile.in: Removed signals.h from dependencies.
1733 * inferior.h (step_over_calls_kind): Remove trailing comma from
1735 (step_over_calls): Declare as extern rather than global.
1739 * sh-tdep.c: Update copyright.
1740 (sh_extract_return_value): Rewrite.
1741 (sh3e_sh4_extract_return_value): New function.
1742 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
1743 version of the function for sh3e and sh4 CPUs.
1747 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
1748 to conform with interface change.
1752 * config/djgpp/fnchange.lst: Tweak to make consistent with the
1755 * config/djgpp/djconfig.sh: Use explicit absolute file name when
1758 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
1759 UART_FIFO_WORKS is defined. Otherwise use outportb.
1762 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
1763 with target.h's `to_xfer_memory' member.
1767 * ppc-bdm.c (#include <signal.h>): Removed.
1768 * remote-array.c: Likewise.
1769 * remote-bug.c: Likewise.
1770 * remote-e7000.c: Likewise.
1771 * remote-mips.c: Likewise.
1772 * remote-os9k.c: Likewise.
1773 * remote-st.c: Likewise.
1774 * remote-udi.c: Likewise.
1775 * remote-vx29k.c: Likewise.
1776 * remote-vx68.c: Likewise.
1777 * remote-vx960.c: Likewise.
1778 * remote-vxmips.c: Likewise.
1779 * remote-vxsparc.c: Likewise.
1783 * remote-utils.h (sr_set_device): Changed free() to xfree() where
1784 appropriate. Also changed Copyright to include 2001.
1785 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
1786 * value.h (value_free): Likewise.
1787 * gdbarch.sh (gdbarch_free): Likewise.
1788 * gdbarch.c, gdbarch.h: Regenerated.
1792 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
1793 xfree(). Also changed Copyright to include 2001.
1797 * monitor.c (#include "gdb_wait.h"): Removed.
1799 * ppc-bdm.c: Likewise.
1800 * remote-adapt.c: Likewise.
1801 * remote-array.c: Likewise.
1802 * remote-bug.c: Likewise.
1803 * remote-e7000.c: Likewise.
1804 * remote-eb.c: Likewise.
1805 * remote-es.c: Likewise.
1806 * remote-mips.c: Likewise.
1807 * remote-mm.c: Likewise.
1808 * remote-nindy.c: Likewise.
1809 * remote-os9k.c: Likewise.
1810 * remote-rdi.c: Likewise.
1811 * remote-rdp.c: Likewise.
1812 * remote-sds.c: Likewise.
1813 * remote-sim.c: Likewise.
1814 * remote-st.c: Likewise.
1815 * remote-udi.c: Likewise.
1816 * remote-vx.c: Likewise.
1817 * remote-vx29k.c: Likewise.
1818 * remote-vx68.c: Likewise.
1819 * remote-vx960.c: Likewise.
1820 * remote-vxmips.c: Likewise.
1821 * remote-vxsparc.c: Likewise.
1822 * remote.c: Likewise.
1823 * ser-pipe.c: Likewise.
1824 * ser-unix.c: Likewise.
1825 * Makefile.in: Updated dependencies.
1829 * event-loop.c: Change inclusion of string.h to gdb_string.h and
1830 updated the copyright notice.
1831 * ser-pipe.c: Ditto.
1832 * mi/mi-cmds.c: Ditto.
1833 * mi/mi-console.c: Ditto.
1834 * mi/mi-getopt.c: Ditto.
1835 * mi/mi-parse.c: Ditto.
1839 * MAINTAINERS: Add David Smith to Write After Approval list.
1843 * cli/cli-utils.c (putchar_filtered): Move function from here.
1844 * utils.c (putchar_filtered): To here.
1845 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
1846 * defs.h (putchar_filtered): To here.
1850 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
1851 AC_FUNC_VFORK macro.
1852 * config.in, configure: Re-generate.
1854 * gdb_vfork.h: New file.
1855 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
1856 * fork-child.c (fork_inferior): Ditto.
1860 * defs.h (strsave): Delete declaration.
1861 * utils.c (strsave): Delete definition.
1862 * TODO (strsave): Update
1864 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
1865 * sparcl-tdep.c (sparclite_open): Ditto.
1866 * mips-tdep.c (mips_set_processor_type_command): Ditto.
1867 (_initialize_mips_tdep): Ditto.
1868 * solib.c (solib_open): Ditto.
1869 * symfile.c (add_filename_language): Ditto.
1870 (set_ext_lang_command): Ditto.
1871 * source.c (init_source_path): Ditto.
1873 * sh3-rom.c (sh3_open): Ditto.
1875 * serial.c (serial_open): Ditto.
1876 * remote-mips.c (common_open): Ditto.
1877 * monitor.c (monitor_open): Ditto.
1878 * m32r-rom.c (m32r_upload_command): Ditto.
1879 * infcmd.c (path_command): Ditto.
1880 * f-exp.y (parse_number): Ditto.
1881 * breakpoint.c (create_longjmp_breakpoint): Ditto.
1882 (create_thread_event_breakpoint): Ditto.
1883 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
1884 (_initialize_arc_tdep): Ditto.
1886 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
1888 * cli/cli-script.c (define_command): Check for a bad hook value in
1893 * configure/sh/embed.mt: New file.
1894 * configure/sh/linux.mt: New file.
1895 * configure/sh/sh.mt: Removed.
1896 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
1901 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
1902 symbol comparisons in binary search.
1906 * win32-nat.c (child_xfer_memory): Add missing argument required by
1911 * ui-out.c (do_list_end): New function.
1912 (make_cleanup_ui_out_list_end): New function.
1913 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
1914 * stack.c (print_frame) [UI_OUT]: Call
1915 make_cleanup_ui_out_list_end to make sure we mark the end of the
1916 list if we do a non-local exit. At the end of the function,
1917 instead of calling ui_out_list_end directly, let do_cleanups
1922 Fix double parsing of filenames passed as command line arguments
1923 to GDB (causes weird handling of escape characters).
1924 Also, remove dependencies on the CLI from libgdb.
1925 * call-cmds.h: Remove declaration of exec_file_command().
1926 * gdbcore.h: Remove declaration of exec_file_command().
1927 Add declarations for exec_open() and exec_file_clear().
1928 * symfile.h: Add declarations for symbol_file_add_main() and
1929 symbol_file_clear().
1930 * exec.c (exec_open): New function. Implements to_open for exec
1932 (exec_file_clear): New function. Makes GDB forget about a previously
1933 specified executable file.
1934 (exec_file_attach): Move parsing of arguments from here ...
1935 (exec_file_command): ... to here.
1936 (init_exec_ops): Use exec_open(), not exec_file_command() to
1937 implement to_open for exec targets.
1938 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1939 with default values. Used when the file name has already been parsed.
1940 (symbol_file_clear): New function. Makes GDB forget about previously
1942 (symbol_file_command): Call the above function instead of inline code.
1943 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1945 (captured_main): Call exec_file_attach() and symbol_file_add_main()
1946 instead of exec_file_command() and symbol_file_command().
1947 (captured_main): Add comment.
1948 * corefile.c: Include "symfile.h".
1949 (core_file_command): Call symbol_file_add_main() instead of
1950 symbol_file_command().
1951 (reopen_exec_file): Call exec_open() instead of exec_file_command().
1952 * infcmd.c: Include "symfile.h".
1953 (attach_command): Call symbol_file_add_main() instead of
1954 symbol_file_command().
1955 * infrun.c: Remove comment about the inclusion of "symfile.h",
1956 not any longer appropriate.
1957 (follow_exec): Call symbol_file_add_main() instead of
1958 symbol_file_command().
1959 * remote-es.c: Include "symfile.h".
1960 (es1800_load): Call symbol_file_add_main() instead of
1961 symbol_file_command().
1962 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1963 not any longer appropriate.
1964 (vx-wait): Call symbol_file_add_main() instead of
1965 symbol_file_command().
1966 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1967 instead of symbol_file_command().
1968 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1969 symbol_file_add_main() instead of exec_file_command() and
1970 symbol_file_command().
1971 * Makefile.in: Update dependencies.
1975 * remote-udi.c (udi_open): Change strdup to xstrdup.
1976 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1977 Update copyright message.
1978 * varobj.c (delete_variable_1): Likewise.
1980 * gdb_string.h: Remove declaration of strdup. Update copyright
1982 * config/xm-mpw.h: Likewise.
1983 * config/i386/xm-i386mach.h: Likewise.
1984 * config/m68k/xm-apollo68b.h: Likewise.
1985 * config/m68k/xm-hp300bsd.h: Likewise.
1986 * config/rs6000/xm-rs6000.h: Likewise.
1987 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1988 * config/vax/xm-vaxult2.h: Likewise.
1992 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1996 * target.c (target_xfer_memory_partial): Return -1 on failure due
1997 to invalid access mode attribute.
2001 * win32-nat.c (_initialize_core_win32): Prototype correctly.
2005 * config/alpha/tm-fbsd.h: Update copyright.
2006 (USE_STRUCT_CONVENTION): Define in terms of
2007 alphabsd_use_struct_convention.
2008 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
2009 * alphafbsd-tdep.c: New file.
2013 * top.c (print_gdb_version): Update Copyright year.
2017 * dcache.c (dcache_write_line): Fix typo.
2019 * memattr.c (delete_mem_region): Replace free() with xfree().
2020 (mem_number): Add explicit type.
2022 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
2023 (rw_common): Likewise.
2027 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
2028 for the inferior program arguments.
2029 (run_command, run_no_args_command, init_infcmd)): Use accessor
2030 functions to set the inferior program arguments.
2031 * inferior.h: Add definitions to the accessor functions above.
2035 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
2036 Implement these correctly, using make_cv_type.
2040 * exec.c (xfer_memory): Add attrib argument.
2041 * infptrace.c (child_xfer_memory): Likewise.
2042 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
2043 * monitor.c (monitor_xfer_memory): Likewise.
2044 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
2045 * remote-array.c (array_xfer_memory): Likewise.
2046 * remote-bug.c (bug_xfer_memory): Likewise.
2047 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
2048 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
2049 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
2050 * remote-mips.c (mips_xfer_memory): Likewise.
2051 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
2052 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
2053 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
2054 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
2055 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
2056 * remote-sds.c (sds_xfer_memory): Likewise.
2057 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
2058 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
2059 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
2060 * remote-vx.c (vx_xfer_memory): Likewise.
2061 * remote.c (remote_xfer_memory): Likewise.
2062 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
2063 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
2064 * thread-db.c (thread_db_xfer_memory): Likewise.
2066 * target.h (#include "memattr.h"): Added.
2067 (target_ops.to_xfer_memory): Add attrib argument.
2069 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
2070 * dcache.h (set_dcache_state): Removed declaration.
2071 * dcache.c (set_dcache_state): Removed definition
2073 * dcache.c: Update module comment, as dcache is now enabled and
2074 disabled with memory region attributes instead of by the global
2075 variable "remotecache". Add comment describing the interaction
2076 between dcache and memory region attributes.
2077 (dcache_xfer_memory): Add comment describing benefits of moving
2078 cache writeback to a higher level.
2079 (dcache_struct): Removed cache_has_stuff field. This was used to
2080 record whether the cache had been accessed in order to invalidate
2081 it when it was disabled. However, this is not needed because the
2082 cache is write through and the code that enables, disables, and
2083 deletes memory regions invalidate the cache. Add comment which
2084 suggests that we could be more selective and only invalidate those
2085 cache lines containing data from those memory regions.
2086 (dcache_invalidate): Updated.
2087 (dcache_xfer_memory): Updated.
2089 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
2090 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
2091 perform a uncached transfer if dcache_enabled_p was clear. This
2092 function is now only called if caching is enabled for the memory
2094 (dcache_info): Always print cache info.
2096 * target.c (do_xfer_memory): Add attrib argument.
2097 (target_xfer_memory, target_xfer_memory_partial): Break transfer
2098 into chunks defined by memory regions, pass region attributes to
2100 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
2102 * Makefile.in (SFILES): Add memattr.c.
2103 (COMMON_OBS): Add memattr.o.
2104 (dcache.o): Add target.h to dependencies.
2105 * memattr.c: New file.
2106 * memattr.h: Likewise.
2108 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
2109 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
2110 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
2111 * gdbserver/low-sim.c (#include "defs.h"): Removed.
2112 (mygeneric_load): Rename from generic_load.
2114 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
2115 (#include "defs.h"): Removed.
2116 (inferior_pid, perror_with_name): Remove declarations.
2117 * gdbserver/low-linux.c: Likewise.
2118 * gdbserver/low-nbsd.c: Likewise.
2119 * gdbserver/low-sparc.c: Likewise.
2120 * gdbserver/low-sun3.c: Likewise.
2122 * i386-stub.c: Re-indent.
2123 * m68k-stub.c: Re-indent.
2127 * gdbarch.sh (PARM_BOUNDARY): Define.
2128 * gdbarch.c: Regenerate.
2129 * gdbarch.h: Regenerate.
2133 * ns32k-tdep.c: #include "frame.h"
2134 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
2135 appears to have been inadvertantly removed sometime in May 1999.
2137 * Revert 2000-11-09 changes where shared library objects were
2138 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
2139 we'd like to be able to debug dynamically linked executables,
2140 this makes it impossible to build a cross debugger on a many
2143 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
2144 * config/i386/nbsdelf.mt: Likewise.
2145 * config/m68k/nbsd.mt: Likewise.
2146 * config/ns32k/nbsd.mt: Likewise.
2147 * config/powerpc/nbsd.mt: Likewise.
2148 * config/sparc/nbsd.mt: Likewise.
2149 * config/sparc/nbsdelf.mt: Likewise.
2150 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
2151 * config/i386/nbsdelf.mh: Likewise.
2152 * config/m68k/nbsd.mh: Likewise.
2153 * config/ns32k/nbsd.mh: Likewise.
2154 * config/powerpc/nbsd.mh: Likewise.
2155 * config/sparc/nbsd.mh: Likewise.
2159 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
2160 (process_one_symbol): Likewise.
2161 * dwarfread.c (handle_producer): Likewise.
2165 * configure.in (build_warnings): Disable -Wuninitialized until GDB
2166 compiles with -Wuninitialized,-Werror.
2167 * configure: Regenerate.
2169 * MAINTAINERS: Add list of buildable targets.
2173 * defs.h (STRCMP): Delete macro.
2175 * objfiles.c (objfile_relocate): Replace STRCMP with call to
2177 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2178 * symfile.c (compare_symbols): Ditto.
2179 * standalone.c (open): Ditto.
2180 * remote-es.c (verify_break): Ditto.
2181 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
2183 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
2187 * varobj.c (FREEIF): Delete macro.
2188 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
2193 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
2194 (arc_print_insn): No bfd available, so pass NULL to
2195 arc_get_disassembler.
2199 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
2200 a mangled symbol rather than recursing into lookup_symbol, since
2201 this will just re-unmangle the name & call lookup_symbol_aux -
2202 leading to an infinite recursion.
2206 * infcmd.c (print_return_value): Restore another space lost by
2207 switch to UIOUT. ``$NN='' should be ``$NN =''.
2211 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
2212 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
2213 definition in parenthesis.
2218 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
2220 (remote_insert_hw_breakpoint): Ditto.
2224 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
2225 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
2226 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
2227 * m68knbsd-tdep.c: New file.
2229 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
2231 * m68knbsd-nat.c: #include gdbcore.h.
2235 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
2239 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
2240 goes away -- just return false (ie. not stopped by watchpoint).
2241 * source.c (openp): Fix typo in comment.
2245 * blockframe.c (generic_get_saved_register): Spelling fix.
2246 * frame.h (FRAME_FP): Spelling fix.
2250 * infcmd.c (print_return_value): Restore space lost by switch to
2251 UIOUT. ``$NN='' should be ``$NN =''.
2255 * regcache.c (set_register_cached, register_buffer,
2256 real_register, pseudo_register fetch_register, store_register):
2258 (register_changed, read_relative_register_raw_bytes_for_frame,
2259 registers_changed, registers_fetched, read_register_bytes,
2260 read_register_gen, write_register_gen, read_register,
2261 read_signed_register, write_register, supply_register): Replace
2262 register_valid[] with register_cached() and
2263 set_register_cached().
2264 (read_register_bytes, read_register_gen, write_register_gen,
2265 read_register, read_signed_register, write_register,
2266 supply_register): Replace registers[] with register_buffer().
2267 (read_register_bytes, read_register_gen, read_register,
2268 read_signed_register): Call fetch_register().
2269 (write_register_gen, write_register): Call real_register() and
2271 (write_register_bytes): Call store_register().
2272 * value.h (set_register_cached, register_buffer): Prototype.
2273 * remote.c (remote_fetch_registers): Allocate regs[] with a
2274 run-time size. Replace register_valid[] with
2275 set_register_cached().
2276 (store_register_using_P, remote_store_registers): Replace
2277 registers[] with register_buffer().
2281 * regcache.c: Change "write-back" comment to "write-through".
2282 Change "regno" to "regnum".
2283 (read_register, read_signed_register): Remove "raw" from return
2285 (supply_register): Spelling fix.
2286 * value.h: Change "regno" to "regnum".
2290 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
2295 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
2299 * valops.c (VALUE_SUBSTRING_START): Delete.
2303 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
2304 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
2305 (cli_utils_h): New variable.
2306 (cli/cli-utils.o): New rule.
2307 * cli/cli-utils.c: New file.
2308 * cli/cli-utils.h: New file.
2312 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
2313 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
2317 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
2322 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
2323 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
2325 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
2326 Update copyright notice.
2328 For older changes see ChangeLog-2000
2334 version-control: never