1 2001-02-21 Andrew Cagney <ac131313@redhat.com>
3 * value.h (get_saved_register): Move from here.
6 2001-02-21 Kevin Buettner <kevinb@redhat.com>
8 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
9 (in_solib_dynsym_resolve_code): Add declaration.
10 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
11 in_solib_dynsym_resolve_code() rather than
12 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
13 which caused this macro to only be defined when
14 SVR4_SHARED_LIBS is defined.
15 * solib.c (in_solib_dynsym_resolve_code): New function.
16 * solist.h (struct target_so_ops): Add new member
17 in_dynsym_resolve_code.
18 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
19 in_svr4_dynsym_resolve_code. Also, made static.
20 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
21 member in aix5_so_ops.
22 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
23 in_svr4_dynsym_resolve_code. Also, added second version
24 of this function which will be used when SVR4_SHARED_LIBS
26 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
27 member in svr4_so_ops.
29 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
30 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
31 config/ia64/xm-aix.h: New files.
32 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
33 (ia64_aix_sigcontext_register_address): New declaration.
34 (ia64_gdbarch_init): Provide for initialization of
35 sigcontext_register_address member of struct tdep when
36 on target is detected to be running AIX.
37 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
40 2001-02-20 Kevin Buettner <kevinb@redhat.com>
42 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
43 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
44 for thread support instead of linux-thread.o and lin-thread.o.
45 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
46 ATTACH_LWP): Define to use the following lin-lwp.c functions...
47 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
48 lin_lwp_attach_lwp): Declare.
50 2001-02-20 Andrew Cagney <ac131313@redhat.com>
52 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
55 2001-02-20 Kevin Buettner <kevinb@redhat.com>
57 * solib-aix5.c (solib-svr4.h): Remove include.
58 (solib_break_names): Delete names which aren't actually
61 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
62 to STREQ() with equivalent calls to strcmp().
63 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
64 aix5_solib_create_inferior_hook): Revise comments.
65 (enable_break): Remove old ``bkpt_names'' code.
67 2001-02-19 Andrew Cagney <ac131313@redhat.com>
69 * Makefile.in (SFILES): Add frame.c .
70 (COMMON_OBS): Add frame.o .
71 (frame.o): New target.
73 * frame.c (find_saved_register):
74 (default_get_saved_register):
76 (read_relative_register_raw_bytes_for_frame):
77 (read_relative_register_raw_bytes): Moved to here.
78 * regcache.c: From here.
80 2001-02-20 Kevin Buettner <kevinb@redhat.com>
82 * solib-aix5.c: New file.
84 2001-02-20 Martin M. Hunt <hunt@redhat.com>
86 * solib.c (info_sharedlibrary_command): Don't assume pointers
87 are the same size of long, call longest_local_hex_string_custom().
89 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
90 extract_signed_integer() should be called instead of
93 2001-02-20 Martin M. Hunt <hunt@redhat.com>
95 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
97 2001-02-19 Andrew Cagney <ac131313@redhat.com>
99 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
100 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
101 then floating point registers are 8 bytes.
103 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
105 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
106 accomodate 64-bit addresses.
108 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
110 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
111 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
112 lookup_symbol, when trying to find a symbol with a mangled name,
113 to avoid infinite recursion.
115 2001-02-18 Andrew Cagney <ac131313@redhat.com>
117 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
119 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
121 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
122 (save_prologue_cache): Ditto.
124 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
126 From: innadadadavida@yahoo.com:
127 * partial-stab.h (switch): Check that pst is not null
128 before dereferencing it.
130 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
132 From Andrew Cagney <cagney@b1.cygnus.com>:
133 * symfile.c (add_symbol_file_command): Always initialize
134 my_cleanup using a NULL cleanup.
136 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
138 * demangle.c (demangling_style_names): New variable.
139 (_initialize_demangler): Fill demangling_style_names with the
140 names of known demangling styles from libiberty_demanglers[]. Use
141 add_set_enum_cmd instead of add_set_cmd, to get completion on
142 demangling style names.
144 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
145 file-name completion.
147 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
149 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
150 `solib-absolute-prefix'.
152 * tracepoint.c (_initialize_tracepoint): Ditto for
155 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
157 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
158 file-name completion.
160 * infcmd.c (_initialize_infcmd): Make the following commands use
161 the file-name completer: `tty', `args', `path', `paths', and
164 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
166 * go32-nat.c: Include i387-nat.h.
167 (fetch_register): New function, uses some of the guts of
168 go32_fetch_registers and calls i387_supply_register.
169 (go32_fetch_registers): Most of the code moved into
170 fetch_register. Use i387_supply_fsave.
171 (store_register): Use i387_fill_fsave instead of custom code.
172 (go32_store_registers): Use i387_fill_fsave.
174 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
176 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
178 * completer.c (gdb_completer_file_name_break_characters): Remove
179 slash from file-name break characters.
180 [__MSDOS__]: Special definition for DOS/Windows file names.
181 (line_completion_function): When completing on file names, bump
182 `p' to the first file-name constituent character of `word', before
183 invoking the completer.
185 2001-02-17 Mark Kettenis <kettenis@gnu.org>
187 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
188 consistently for parameter names. Fix comments accordingly.
189 (i387_supply_register): New function.
190 (i387_supply_fsave): Implement using i387_supply_register.
191 * i387-nat.h: Use regnum instead of regno consistently for
192 parameter names. Fix comments accordingly.
193 (i387_supply_register): New prototype.
195 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
197 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
198 instead of TARGET_PTR_BIT (to support Harvard architectures).
200 2001-02-16 Andrew Cagney <ac131313@redhat.com>
202 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
203 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
204 argument to parameter list and to call in order to conform to
205 to_xfer_memory field of struct target_ops.
207 2001-02-12 Michael Chastain <chastain@redhat.com>
209 * somsolib.c (som_solib_add_solib_objfile): Do not use
210 section relocation feature of syms_from_objfile. Do my own
211 section relocation, offsetting each section of the som by
212 either text_addr - text_link_addr or data_start.
214 2001-02-16 Andrew Cagney <ac131313@redhat.com>
216 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
218 2001-02-16 Andrew Cagney <ac131313@redhat.com>
220 * MAINTAINERS (paper trail): Update.
222 2001-02-16 Mark Kettenis <kettenis@gnu.org>
224 * target.h (target_fetch_registers): Fix comment.
226 2001-02-15 Andrew Cagney <ac131313@redhat.com>
228 * f-exp.y: Include <ctype.h>.
229 (parse_number): Ensure that ``i'' is always initialized.
231 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
233 * MAINTAINERS: Add myself to paper trail section.
235 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
237 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
238 * configure, config.in: Regenerate.
239 * corelow.c: Include <sys/file.h> if present.
241 2001-02-14 Andrew Cagney <ac131313@redhat.com>
243 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
244 declare when have SIGTTOU.
246 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
248 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
250 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
252 * MAINTAINERS: Update my email address.
254 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
256 * NEWS: Document that "info symbol" works with COFF debug info and
259 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
260 symbols whose SYMBOL_BFD_SECTION is NULL.
262 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
264 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
265 * xcoffsolib.c (xcoff_solib_address): Renamed from
266 pc_load_segment_name. Return NULL if address is not in a shared
267 library. Cleanup shared library name construction, using xasprintf.
268 Format shared library member names consistent with format in exec.c.
269 (solib_info): Format shared library member names consistent with
271 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
272 using xcoff_solib_address for PC_SOLIB definition.
273 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
276 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
278 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
279 with xmalloc calls and cleanups.
281 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
283 * rs6000-nat.c (child_xfer_memory): Add missing parameter
284 'struct mem_attrib *' required by 2001-01-23 change.
286 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
288 Updates to "make TAGS":
289 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
290 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
292 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
294 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
296 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
298 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
300 From Dean Luick <luick@cray.com>:
301 * defs.h (continuation): Remove unused global variable.
303 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
305 * configure.tgt: Remove references to convex, pyramid, altos and
307 * configure.host: Ditto.
308 * MAINTAINERS: Ditto.
311 * tahoe-tdep.c: Delete obsolete file.
314 * convex-tdep.c: Ditto.
315 * convex-xdep.c: Ditto.
316 * config/tahoe/xm-tahoe.h: Ditto.
317 * config/tahoe/tm-tahoe.h: Ditto.
318 * config/tahoe/tahoe.mt: Ditto.
319 * config/tahoe/tahoe.mh: Ditto.
320 * config/pyr/xm-pyr.h: Ditto.
321 * config/pyr/tm-pyr.h: Ditto.
322 * config/pyr/pyramid.mt: Ditto.
323 * config/pyr/pyramid.mh: Ditto.
324 * config/m68k/xm-altos.h: Ditto.
325 * config/m68k/tm-altos.h: Ditto.
326 * config/m68k/altos.mt: Ditto.
327 * config/m68k/altos.mh: Ditto.
328 * config/convex/xm-convex.h: Ditto.
329 * config/convex/tm-convex.h: Ditto.
330 * config/convex/convex.mt: Ditto.
331 * config/convex/convex.mh: Ditto.
332 * config/convex/Convex.notes: Ditto.
333 * config/arm/xm-arm.h: Ditto.
334 * config/arm/nm-arm.h: Ditto.
335 * config/arm/arm.mt: Ditto.
336 * config/arm/arm.mh: Ditto.
337 * arm-convert.s: Ditto.
339 * altos-xdep.c: Ditto.
341 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
343 * defs.h (internal_error, internal_verror): Add __FILE__ and
345 * utils.c (internal_error, internal_verror): Update.
347 * v850-tdep.c: Update calls to internal_error.
354 * sparc-tdep.c: Ditto.
357 * rs6000-tdep.c: Ditto.
358 * rs6000-nat.c: Ditto.
360 * remote-vx.c: Ditto.
361 * remote-sim.c: Ditto.
362 * remote-mips.c: Ditto.
366 * mn10300-tdep.c: Ditto.
367 * mips-tdep.c: Ditto.
369 * m68k-tdep.c: Ditto.
372 * infptrace.c: Ditto.
375 * ia64-tdep.c: Ditto.
376 * i386-tdep.c: Ditto.
377 * i386-linux-nat.c: Ditto.
378 * hppah-nat.c: Ditto.
383 * event-loop.c: Ditto.
384 * dwarf2read.c: Ditto.
386 * d30v-tdep.c: Ditto.
387 * d10v-tdep.c: Ditto.
388 * cli/cli-setshow.c: Ditto.
389 * cli/cli-script.c: Ditto.
391 * breakpoint.c: Ditto.
393 * arch-utils.c: Ditto.
394 * a29k-tdep.c: Ditto.
395 * gdb_assert.h: Ditto.
397 * gdbarch.h, gdbarch.c: Re-generate.
399 2001-02-07 Andrew Cagney <ac131313@redhat.com>
401 From Mark Kettenis <kettenis@gnu.org>:
402 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
404 2001-02-07 Andrew Cagney <ac131313@redhat.com>
406 * remote-sim.c (dump_mem): Cleanup printf format argument.
407 * MAINTAINERS: Update, mn10300-elf now builds.
409 2001-02-07 Mark Kettenis <kettenis@gnu.org>
411 * event-top.c: Remove duplicate #include <signal.h>.
413 2001-02-06 Andrew Cagney <ac131313@redhat.com>
415 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
417 (save_inferior_pid): Restore the PID from that tempoary
418 buffer. Delete the buffer.
419 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
421 2001-02-06 Andrew Cagney <ac131313@redhat.com>
423 * MAINTAINERS: Add ``The Obvious Fix Rule''.
425 2001-02-06 Andrew Cagney <ac131313@redhat.com>
427 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
429 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
431 * gdbarch.sh: Include "gdb_assert.h".
432 (struct gdbarch): Change ``nr_data'' to unsigned.
433 (alloc_gdbarch_data, free_gdbarch_data): New functions.
434 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
436 (struct gdbarch_data, struct gdbarch_data_registration): Move init
437 method to gdbarch_data. Add free method, make index unsigned.
438 (struct gdbarch_data_registry): Make nr unsigned.
439 (register_gdbarch_data): Add free parameter. Store in
441 (init_gdbarch_data): Use set_gdbarch_data.
442 (set_gdbarch_data): New function.
444 * gdbarch.h, gdbarch.c: Re-generate.
446 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
448 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
449 fprintf_filtered with correct arguments.
451 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
452 Submitted by Paul Hilfinger (hilfingr@gnat.com)
453 and Andrei Petrov (and@genesyslab.com).
454 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
455 must be allocated dynamically, since these are no longer constants.
459 * sol-thread.c: Ditto.
461 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
462 work-around for a missing Sun header file in solaris for sparc64.
464 2001-02-04 Philip Blundell <philb@gnu.org>
466 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
467 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
468 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
469 GET_THREAD_SIGNALS): Define.
470 * arm-linux-nat.c (fill_gregset): Correct type of argument.
471 (supply_gregset): Likewise.
472 (fill_fpregset): Likewise.
473 (supply_fpregset): Likewise.
475 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
477 * valops.c (value_cast): If casting a scalar to a pointer, do not
478 issue a message about truncation unless it exceeds the length of
479 an address, not the length of a pointer. This is because what the
480 user gives us is an address, not a pointer, and we will ultimately
481 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
482 to a pointer. This allows things like "print *(int *)0x01000234"
483 to work without generating a misleading message on a target having
484 two byte pointers and four byte addresses.
486 2001-02-05 Christopher Faylor <cgf@cygnus.com>
488 * win32-nat.c: Change PTR to void * throughout.
490 2001-02-05 J.T. Conklin <jtc@redback.com>
492 * signals.h: Removed.
493 * event-top.c (#include <signal.h>): Changed from signals.h.
494 * inflow.c: Likewise.
495 * mac-xdep.c: Likewise.
496 * ser-pipe.c: Likewise.
497 * ser-tcp.c: Likewise.
498 * standalone.c: Likewise.
501 * Makefile.in: Removed signals.h from dependencies.
503 2001-02-05 Christopher Faylor <cgf@cygnus.com>
505 Change suggested by Dean Luick <luick@cray.com>
506 * inferior.h (step_over_calls_kind): Remove trailing comma from
508 (step_over_calls): Declare as extern rather than global.
510 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
512 * sh-tdep.c: Update copyright.
513 (sh_extract_return_value): Rewrite.
514 (sh3e_sh4_extract_return_value): New function.
515 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
516 version of the function for sh3e and sh4 CPUs.
518 2001-02-05 Michael Chastain <chastain@redhat.com>
520 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
521 to conform with interface change.
523 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
525 * config/djgpp/fnchange.lst: Tweak to make consistent with the
528 * config/djgpp/djconfig.sh: Use explicit absolute file name when
531 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
532 UART_FIFO_WORKS is defined. Otherwise use outportb.
533 From Francisco Pastor <fpastor.etra-id@etra.es>
535 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
536 with target.h's `to_xfer_memory' member.
538 2001-02-02 J.T. Conklin <jtc@redback.com>
540 * ppc-bdm.c (#include <signal.h>): Removed.
541 * remote-array.c: Likewise.
542 * remote-bug.c: Likewise.
543 * remote-e7000.c: Likewise.
544 * remote-mips.c: Likewise.
545 * remote-os9k.c: Likewise.
546 * remote-st.c: Likewise.
547 * remote-udi.c: Likewise.
548 * remote-vx29k.c: Likewise.
549 * remote-vx68.c: Likewise.
550 * remote-vx960.c: Likewise.
551 * remote-vxmips.c: Likewise.
552 * remote-vxsparc.c: Likewise.
554 2001-02-02 John Moore <jmoore@redhat.com>
556 * remote-utils.h (sr_set_device): Changed free() to xfree() where
557 appropriate. Also changed Copyright to include 2001.
558 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
559 * value.h (value_free): Likewise.
560 * gdbarch.sh (gdbarch_free): Likewise.
561 * gdbarch.c, gdbarch.h: Regenerated.
563 2001-02-02 John Moore <jmoore@redhat.com>
565 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
566 xfree(). Also changed Copyright to include 2001.
568 2001-02-02 J.T. Conklin <jtc@redback.com>
570 * monitor.c (#include "gdb_wait.h"): Removed.
572 * ppc-bdm.c: Likewise.
573 * remote-adapt.c: Likewise.
574 * remote-array.c: Likewise.
575 * remote-bug.c: Likewise.
576 * remote-e7000.c: Likewise.
577 * remote-eb.c: Likewise.
578 * remote-es.c: Likewise.
579 * remote-mips.c: Likewise.
580 * remote-mm.c: Likewise.
581 * remote-nindy.c: Likewise.
582 * remote-os9k.c: Likewise.
583 * remote-rdi.c: Likewise.
584 * remote-rdp.c: Likewise.
585 * remote-sds.c: Likewise.
586 * remote-sim.c: Likewise.
587 * remote-st.c: Likewise.
588 * remote-udi.c: Likewise.
589 * remote-vx.c: Likewise.
590 * remote-vx29k.c: Likewise.
591 * remote-vx68.c: Likewise.
592 * remote-vx960.c: Likewise.
593 * remote-vxmips.c: Likewise.
594 * remote-vxsparc.c: Likewise.
595 * remote.c: Likewise.
596 * ser-pipe.c: Likewise.
597 * ser-unix.c: Likewise.
598 * Makefile.in: Updated dependencies.
600 2001-01-31 David Smith <dsmith@redhat.com>
602 * event-loop.c: Change inclusion of string.h to gdb_string.h and
603 updated the copyright notice.
605 * mi/mi-cmds.c: Ditto.
606 * mi/mi-console.c: Ditto.
607 * mi/mi-getopt.c: Ditto.
608 * mi/mi-parse.c: Ditto.
610 2001-01-31 David Smith <dsmith@redhat.com>
612 * MAINTAINERS: Add David Smith to Write After Approval list.
614 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
616 * cli/cli-utils.c (putchar_filtered): Move function from here.
617 * utils.c (putchar_filtered): To here.
618 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
619 * defs.h (putchar_filtered): To here.
621 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
623 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
625 * config.in, configure: Re-generate.
627 * gdb_vfork.h: New file.
628 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
629 * fork-child.c (fork_inferior): Ditto.
631 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
633 * defs.h (strsave): Delete declaration.
634 * utils.c (strsave): Delete definition.
635 * TODO (strsave): Update
637 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
638 * sparcl-tdep.c (sparclite_open): Ditto.
639 * mips-tdep.c (mips_set_processor_type_command): Ditto.
640 (_initialize_mips_tdep): Ditto.
641 * solib.c (solib_open): Ditto.
642 * symfile.c (add_filename_language): Ditto.
643 (set_ext_lang_command): Ditto.
644 * source.c (init_source_path): Ditto.
646 * sh3-rom.c (sh3_open): Ditto.
648 * serial.c (serial_open): Ditto.
649 * remote-mips.c (common_open): Ditto.
650 * monitor.c (monitor_open): Ditto.
651 * m32r-rom.c (m32r_upload_command): Ditto.
652 * infcmd.c (path_command): Ditto.
653 * f-exp.y (parse_number): Ditto.
654 * breakpoint.c (create_longjmp_breakpoint): Ditto.
655 (create_thread_event_breakpoint): Ditto.
656 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
657 (_initialize_arc_tdep): Ditto.
659 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
661 * cli/cli-script.c (define_command): Check for a bad hook value in
664 2001-01-30 J.T. Conklin <jtc@redback.com>
666 * configure/sh/embed.mt: New file.
667 * configure/sh/linux.mt: New file.
668 * configure/sh/sh.mt: Removed.
669 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
672 2001-01-29 Michael Chastain <chastain@redhat.com>
674 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
675 symbol comparisons in binary search.
677 2000-01-27 Christopher Faylor <cgf@cygnus.com>
679 * win32-nat.c (child_xfer_memory): Add missing argument required by
682 2001-01-27 Mark Kettenis <kettenis@gnu.org>
684 * ui-out.c (do_list_end): New function.
685 (make_cleanup_ui_out_list_end): New function.
686 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
687 * stack.c (print_frame) [UI_OUT]: Call
688 make_cleanup_ui_out_list_end to make sure we mark the end of the
689 list if we do a non-local exit. At the end of the function,
690 instead of calling ui_out_list_end directly, let do_cleanups
693 2001-01-26 Fernando Nasser <fnasser@redhat.com>
695 Fix double parsing of filenames passed as command line arguments
696 to GDB (causes weird handling of escape characters).
697 Also, remove dependencies on the CLI from libgdb.
698 * call-cmds.h: Remove declaration of exec_file_command().
699 * gdbcore.h: Remove declaration of exec_file_command().
700 Add declarations for exec_open() and exec_file_clear().
701 * symfile.h: Add declarations for symbol_file_add_main() and
703 * exec.c (exec_open): New function. Implements to_open for exec
705 (exec_file_clear): New function. Makes GDB forget about a previously
706 specified executable file.
707 (exec_file_attach): Move parsing of arguments from here ...
708 (exec_file_command): ... to here.
709 (init_exec_ops): Use exec_open(), not exec_file_command() to
710 implement to_open for exec targets.
711 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
712 with default values. Used when the file name has already been parsed.
713 (symbol_file_clear): New function. Makes GDB forget about previously
715 (symbol_file_command): Call the above function instead of inline code.
716 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
718 (captured_main): Call exec_file_attach() and symbol_file_add_main()
719 instead of exec_file_command() and symbol_file_command().
720 (captured_main): Add comment.
721 * corefile.c: Include "symfile.h".
722 (core_file_command): Call symbol_file_add_main() instead of
723 symbol_file_command().
724 (reopen_exec_file): Call exec_open() instead of exec_file_command().
725 * infcmd.c: Include "symfile.h".
726 (attach_command): Call symbol_file_add_main() instead of
727 symbol_file_command().
728 * infrun.c: Remove comment about the inclusion of "symfile.h",
729 not any longer appropriate.
730 (follow_exec): Call symbol_file_add_main() instead of
731 symbol_file_command().
732 * remote-es.c: Include "symfile.h".
733 (es1800_load): Call symbol_file_add_main() instead of
734 symbol_file_command().
735 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
736 not any longer appropriate.
737 (vx-wait): Call symbol_file_add_main() instead of
738 symbol_file_command().
739 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
740 instead of symbol_file_command().
741 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
742 symbol_file_add_main() instead of exec_file_command() and
743 symbol_file_command().
744 * Makefile.in: Update dependencies.
746 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
748 * remote-udi.c (udi_open): Change strdup to xstrdup.
749 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
750 Update copyright message.
751 * varobj.c (delete_variable_1): Likewise.
753 * gdb_string.h: Remove declaration of strdup. Update copyright
755 * config/xm-mpw.h: Likewise.
756 * config/i386/xm-i386mach.h: Likewise.
757 * config/m68k/xm-apollo68b.h: Likewise.
758 * config/m68k/xm-hp300bsd.h: Likewise.
759 * config/rs6000/xm-rs6000.h: Likewise.
760 * config/vax/xm-vaxult.h: Remove declaration of strdup.
761 * config/vax/xm-vaxult2.h: Likewise.
763 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
765 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
767 2001-01-25 J.T. Conklin <jtc@redback.com>
769 * target.c (target_xfer_memory_partial): Return -1 on failure due
770 to invalid access mode attribute.
772 2001-01-25 Christopher Faylor <cgf@cygnus.com>
774 * win32-nat.c (_initialize_core_win32): Prototype correctly.
776 2001-01-25 Mark Kettenis <kettenis@gnu.org>
778 * config/alpha/tm-fbsd.h: Update copyright.
779 (USE_STRUCT_CONVENTION): Define in terms of
780 alphabsd_use_struct_convention.
781 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
782 * alphafbsd-tdep.c: New file.
784 2001-01-24 Fernando Nasser <fnasser@redhat.com>
786 * top.c (print_gdb_version): Update Copyright year.
788 2001-01-24 J.T. Conklin <jtc@redback.com>
790 * dcache.c (dcache_write_line): Fix typo.
792 * memattr.c (delete_mem_region): Replace free() with xfree().
793 (mem_number): Add explicit type.
795 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
796 (rw_common): Likewise.
798 2001-01-24 Fernando Nasser <fnasser@redhat.com>
800 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
801 for the inferior program arguments.
802 (run_command, run_no_args_command, init_infcmd)): Use accessor
803 functions to set the inferior program arguments.
804 * inferior.h: Add definitions to the accessor functions above.
806 2001-01-23 Jim Blandy <jimb@redhat.com>
808 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
809 Implement these correctly, using make_cv_type.
811 2001-01-23 J.T. Conklin <jtc@redback.com>
813 * exec.c (xfer_memory): Add attrib argument.
814 * infptrace.c (child_xfer_memory): Likewise.
815 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
816 * monitor.c (monitor_xfer_memory): Likewise.
817 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
818 * remote-array.c (array_xfer_memory): Likewise.
819 * remote-bug.c (bug_xfer_memory): Likewise.
820 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
821 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
822 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
823 * remote-mips.c (mips_xfer_memory): Likewise.
824 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
825 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
826 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
827 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
828 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
829 * remote-sds.c (sds_xfer_memory): Likewise.
830 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
831 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
832 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
833 * remote-vx.c (vx_xfer_memory): Likewise.
834 * remote.c (remote_xfer_memory): Likewise.
835 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
836 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
837 * thread-db.c (thread_db_xfer_memory): Likewise.
839 * target.h (#include "memattr.h"): Added.
840 (target_ops.to_xfer_memory): Add attrib argument.
842 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
843 * dcache.h (set_dcache_state): Removed declaration.
844 * dcache.c (set_dcache_state): Removed definition
846 * dcache.c: Update module comment, as dcache is now enabled and
847 disabled with memory region attributes instead of by the global
848 variable "remotecache". Add comment describing the interaction
849 between dcache and memory region attributes.
850 (dcache_xfer_memory): Add comment describing benefits of moving
851 cache writeback to a higher level.
852 (dcache_struct): Removed cache_has_stuff field. This was used to
853 record whether the cache had been accessed in order to invalidate
854 it when it was disabled. However, this is not needed because the
855 cache is write through and the code that enables, disables, and
856 deletes memory regions invalidate the cache. Add comment which
857 suggests that we could be more selective and only invalidate those
858 cache lines containing data from those memory regions.
859 (dcache_invalidate): Updated.
860 (dcache_xfer_memory): Updated.
862 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
863 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
864 perform a uncached transfer if dcache_enabled_p was clear. This
865 function is now only called if caching is enabled for the memory
867 (dcache_info): Always print cache info.
869 * target.c (do_xfer_memory): Add attrib argument.
870 (target_xfer_memory, target_xfer_memory_partial): Break transfer
871 into chunks defined by memory regions, pass region attributes to
873 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
875 * Makefile.in (SFILES): Add memattr.c.
876 (COMMON_OBS): Add memattr.o.
877 (dcache.o): Add target.h to dependencies.
878 * memattr.c: New file.
879 * memattr.h: Likewise.
881 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
882 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
883 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
884 * gdbserver/low-sim.c (#include "defs.h"): Removed.
885 (mygeneric_load): Rename from generic_load.
887 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
888 (#include "defs.h"): Removed.
889 (inferior_pid, perror_with_name): Remove declarations.
890 * gdbserver/low-linux.c: Likewise.
891 * gdbserver/low-nbsd.c: Likewise.
892 * gdbserver/low-sparc.c: Likewise.
893 * gdbserver/low-sun3.c: Likewise.
895 * i386-stub.c: Re-indent.
896 * m68k-stub.c: Re-indent.
898 2001-01-22 Nicholas Duffek <nsd@redhat.com>
900 * gdbarch.sh (PARM_BOUNDARY): Define.
901 * gdbarch.c: Regenerate.
902 * gdbarch.h: Regenerate.
904 2001-01-22 J.T. Conklin <jtc@redback.com>
906 * ns32k-tdep.c: #include "frame.h"
907 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
908 appears to have been inadvertantly removed sometime in May 1999.
910 * Revert 2000-11-09 changes where shared library objects were
911 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
912 we'd like to be able to debug dynamically linked executables,
913 this makes it impossible to build a cross debugger on a many
916 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
917 * config/i386/nbsdelf.mt: Likewise.
918 * config/m68k/nbsd.mt: Likewise.
919 * config/ns32k/nbsd.mt: Likewise.
920 * config/powerpc/nbsd.mt: Likewise.
921 * config/sparc/nbsd.mt: Likewise.
922 * config/sparc/nbsdelf.mt: Likewise.
923 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
924 * config/i386/nbsdelf.mh: Likewise.
925 * config/m68k/nbsd.mh: Likewise.
926 * config/ns32k/nbsd.mh: Likewise.
927 * config/powerpc/nbsd.mh: Likewise.
928 * config/sparc/nbsd.mh: Likewise.
930 2001-01-19 Jason Merrill <jason@redhat.com>
932 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
933 (process_one_symbol): Likewise.
934 * dwarfread.c (handle_producer): Likewise.
936 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
938 * configure.in (build_warnings): Disable -Wuninitialized until GDB
939 compiles with -Wuninitialized,-Werror.
940 * configure: Regenerate.
942 * MAINTAINERS: Add list of buildable targets.
944 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
946 * defs.h (STRCMP): Delete macro.
948 * objfiles.c (objfile_relocate): Replace STRCMP with call to
950 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
951 * symfile.c (compare_symbols): Ditto.
952 * standalone.c (open): Ditto.
953 * remote-es.c (verify_break): Ditto.
954 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
956 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
958 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
960 * varobj.c (FREEIF): Delete macro.
961 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
964 2001-01-18 Nick Clifton <nickc@redhat.com>
966 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
967 (arc_print_insn): No bfd available, so pass NULL to
968 arc_get_disassembler.
970 2001-01-09 James Ingham <jingham@inghji.apple.com>
972 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
973 a mangled symbol rather than recursing into lookup_symbol, since
974 this will just re-unmangle the name & call lookup_symbol_aux -
975 leading to an infinite recursion.
977 2001-01-18 Mark Kettenis <kettenis@gnu.org>
979 * infcmd.c (print_return_value): Restore another space lost by
980 switch to UIOUT. ``$NN='' should be ``$NN =''.
982 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
984 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
985 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
986 definition in parenthesis.
988 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
990 From 2000-10-27 Mark Salter <msalter@redhat.com>:
991 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
993 (remote_insert_hw_breakpoint): Ditto.
995 2001-01-17 J.T. Conklin <jtc@redback.com>
997 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
998 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
999 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1000 * m68knbsd-tdep.c: New file.
1002 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1004 * m68knbsd-nat.c: #include gdbcore.h.
1006 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1008 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1010 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1012 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1013 goes away -- just return false (ie. not stopped by watchpoint).
1014 * source.c (openp): Fix typo in comment.
1016 2001-01-12 Nicholas Duffek <nsd@redhat.com>
1018 * blockframe.c (generic_get_saved_register): Spelling fix.
1019 * frame.h (FRAME_FP): Spelling fix.
1021 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1023 * infcmd.c (print_return_value): Restore space lost by switch to
1024 UIOUT. ``$NN='' should be ``$NN =''.
1026 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1028 * regcache.c (set_register_cached, register_buffer,
1029 real_register, pseudo_register fetch_register, store_register):
1031 (register_changed, read_relative_register_raw_bytes_for_frame,
1032 registers_changed, registers_fetched, read_register_bytes,
1033 read_register_gen, write_register_gen, read_register,
1034 read_signed_register, write_register, supply_register): Replace
1035 register_valid[] with register_cached() and
1036 set_register_cached().
1037 (read_register_bytes, read_register_gen, write_register_gen,
1038 read_register, read_signed_register, write_register,
1039 supply_register): Replace registers[] with register_buffer().
1040 (read_register_bytes, read_register_gen, read_register,
1041 read_signed_register): Call fetch_register().
1042 (write_register_gen, write_register): Call real_register() and
1044 (write_register_bytes): Call store_register().
1045 * value.h (set_register_cached, register_buffer): Prototype.
1046 * remote.c (remote_fetch_registers): Allocate regs[] with a
1047 run-time size. Replace register_valid[] with
1048 set_register_cached().
1049 (store_register_using_P, remote_store_registers): Replace
1050 registers[] with register_buffer().
1052 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1054 * regcache.c: Change "write-back" comment to "write-through".
1055 Change "regno" to "regnum".
1056 (read_register, read_signed_register): Remove "raw" from return
1058 (supply_register): Spelling fix.
1059 * value.h: Change "regno" to "regnum".
1061 2001-01-08 Fernando Nasser <fnasser@redhat.com>
1063 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1066 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1068 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1070 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1072 * valops.c (VALUE_SUBSTRING_START): Delete.
1074 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1076 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1077 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1078 (cli_utils_h): New variable.
1079 (cli/cli-utils.o): New rule.
1080 * cli/cli-utils.c: New file.
1081 * cli/cli-utils.h: New file.
1083 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1085 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1086 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1088 2001-01-03 J.T. Conklin <jtc@redback.com>
1090 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1093 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1095 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1096 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1098 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1099 Update copyright notice.
1101 For older changes see ChangeLog-2000
1107 version-control: never