1 2001-02-20 Kevin Buettner <kevinb@redhat.com>
3 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
4 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
5 for thread support instead of linux-thread.o and lin-thread.o.
6 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
7 ATTACH_LWP): Define to use the following lin-lwp.c functions...
8 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
9 lin_lwp_attach_lwp): Declare.
11 2001-02-20 Andrew Cagney <ac131313@redhat.com>
13 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
16 2001-02-20 Kevin Buettner <kevinb@redhat.com>
18 * solib-aix5.c (solib-svr4.h): Remove include.
19 (solib_break_names): Delete names which aren't actually
22 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
23 to STREQ() with equivalent calls to strcmp().
24 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
25 aix5_solib_create_inferior_hook): Revise comments.
26 (enable_break): Remove old ``bkpt_names'' code.
28 2001-02-19 Andrew Cagney <ac131313@redhat.com>
30 * Makefile.in (SFILES): Add frame.c .
31 (COMMON_OBS): Add frame.o .
32 (frame.o): New target.
34 * frame.c (find_saved_register):
35 (default_get_saved_register):
37 (read_relative_register_raw_bytes_for_frame):
38 (read_relative_register_raw_bytes): Moved to here.
39 * regcache.c: From here.
41 2001-02-20 Kevin Buettner <kevinb@redhat.com>
43 * solib-aix5.c: New file.
45 2001-02-20 Martin M. Hunt <hunt@redhat.com>
47 * solib.c (info_sharedlibrary_command): Don't assume pointers
48 are the same size of long, call longest_local_hex_string_custom().
50 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
51 extract_signed_integer() should be called instead of
54 2001-02-20 Martin M. Hunt <hunt@redhat.com>
56 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
58 2001-02-19 Andrew Cagney <ac131313@redhat.com>
60 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
61 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
62 then floating point registers are 8 bytes.
64 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
66 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
67 accomodate 64-bit addresses.
69 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
71 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
72 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
73 lookup_symbol, when trying to find a symbol with a mangled name,
74 to avoid infinite recursion.
76 2001-02-18 Andrew Cagney <ac131313@redhat.com>
78 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
80 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
82 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
83 (save_prologue_cache): Ditto.
85 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
87 From: innadadadavida@yahoo.com:
88 * partial-stab.h (switch): Check that pst is not null
89 before dereferencing it.
91 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
93 From Andrew Cagney <cagney@b1.cygnus.com>:
94 * symfile.c (add_symbol_file_command): Always initialize
95 my_cleanup using a NULL cleanup.
97 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
99 * demangle.c (demangling_style_names): New variable.
100 (_initialize_demangler): Fill demangling_style_names with the
101 names of known demangling styles from libiberty_demanglers[]. Use
102 add_set_enum_cmd instead of add_set_cmd, to get completion on
103 demangling style names.
105 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
106 file-name completion.
108 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
110 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
111 `solib-absolute-prefix'.
113 * tracepoint.c (_initialize_tracepoint): Ditto for
116 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
118 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
119 file-name completion.
121 * infcmd.c (_initialize_infcmd): Make the following commands use
122 the file-name completer: `tty', `args', `path', `paths', and
125 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
127 * go32-nat.c: Include i387-nat.h.
128 (fetch_register): New function, uses some of the guts of
129 go32_fetch_registers and calls i387_supply_register.
130 (go32_fetch_registers): Most of the code moved into
131 fetch_register. Use i387_supply_fsave.
132 (store_register): Use i387_fill_fsave instead of custom code.
133 (go32_store_registers): Use i387_fill_fsave.
135 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
137 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
139 * completer.c (gdb_completer_file_name_break_characters): Remove
140 slash from file-name break characters.
141 [__MSDOS__]: Special definition for DOS/Windows file names.
142 (line_completion_function): When completing on file names, bump
143 `p' to the first file-name constituent character of `word', before
144 invoking the completer.
146 2001-02-17 Mark Kettenis <kettenis@gnu.org>
148 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
149 consistently for parameter names. Fix comments accordingly.
150 (i387_supply_register): New function.
151 (i387_supply_fsave): Implement using i387_supply_register.
152 * i387-nat.h: Use regnum instead of regno consistently for
153 parameter names. Fix comments accordingly.
154 (i387_supply_register): New prototype.
156 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
158 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
159 instead of TARGET_PTR_BIT (to support Harvard architectures).
161 2001-02-16 Andrew Cagney <ac131313@redhat.com>
163 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
164 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
165 argument to parameter list and to call in order to conform to
166 to_xfer_memory field of struct target_ops.
168 2001-02-12 Michael Chastain <chastain@redhat.com>
170 * somsolib.c (som_solib_add_solib_objfile): Do not use
171 section relocation feature of syms_from_objfile. Do my own
172 section relocation, offsetting each section of the som by
173 either text_addr - text_link_addr or data_start.
175 2001-02-16 Andrew Cagney <ac131313@redhat.com>
177 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
179 2001-02-16 Andrew Cagney <ac131313@redhat.com>
181 * MAINTAINERS (paper trail): Update.
183 2001-02-16 Mark Kettenis <kettenis@gnu.org>
185 * target.h (target_fetch_registers): Fix comment.
187 2001-02-15 Andrew Cagney <ac131313@redhat.com>
189 * f-exp.y: Include <ctype.h>.
190 (parse_number): Ensure that ``i'' is always initialized.
192 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
194 * MAINTAINERS: Add myself to paper trail section.
196 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
198 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
199 * configure, config.in: Regenerate.
200 * corelow.c: Include <sys/file.h> if present.
202 2001-02-14 Andrew Cagney <ac131313@redhat.com>
204 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
205 declare when have SIGTTOU.
207 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
209 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
211 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
213 * MAINTAINERS: Update my email address.
215 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
217 * NEWS: Document that "info symbol" works with COFF debug info and
220 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
221 symbols whose SYMBOL_BFD_SECTION is NULL.
223 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
225 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
226 * xcoffsolib.c (xcoff_solib_address): Renamed from
227 pc_load_segment_name. Return NULL if address is not in a shared
228 library. Cleanup shared library name construction, using xasprintf.
229 Format shared library member names consistent with format in exec.c.
230 (solib_info): Format shared library member names consistent with
232 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
233 using xcoff_solib_address for PC_SOLIB definition.
234 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
237 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
239 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
240 with xmalloc calls and cleanups.
242 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
244 * rs6000-nat.c (child_xfer_memory): Add missing parameter
245 'struct mem_attrib *' required by 2001-01-23 change.
247 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
249 Updates to "make TAGS":
250 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
251 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
253 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
255 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
257 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
259 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
261 From Dean Luick <luick@cray.com>:
262 * defs.h (continuation): Remove unused global variable.
264 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
266 * configure.tgt: Remove references to convex, pyramid, altos and
268 * configure.host: Ditto.
269 * MAINTAINERS: Ditto.
272 * tahoe-tdep.c: Delete obsolete file.
275 * convex-tdep.c: Ditto.
276 * convex-xdep.c: Ditto.
277 * config/tahoe/xm-tahoe.h: Ditto.
278 * config/tahoe/tm-tahoe.h: Ditto.
279 * config/tahoe/tahoe.mt: Ditto.
280 * config/tahoe/tahoe.mh: Ditto.
281 * config/pyr/xm-pyr.h: Ditto.
282 * config/pyr/tm-pyr.h: Ditto.
283 * config/pyr/pyramid.mt: Ditto.
284 * config/pyr/pyramid.mh: Ditto.
285 * config/m68k/xm-altos.h: Ditto.
286 * config/m68k/tm-altos.h: Ditto.
287 * config/m68k/altos.mt: Ditto.
288 * config/m68k/altos.mh: Ditto.
289 * config/convex/xm-convex.h: Ditto.
290 * config/convex/tm-convex.h: Ditto.
291 * config/convex/convex.mt: Ditto.
292 * config/convex/convex.mh: Ditto.
293 * config/convex/Convex.notes: Ditto.
294 * config/arm/xm-arm.h: Ditto.
295 * config/arm/nm-arm.h: Ditto.
296 * config/arm/arm.mt: Ditto.
297 * config/arm/arm.mh: Ditto.
298 * arm-convert.s: Ditto.
300 * altos-xdep.c: Ditto.
302 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
304 * defs.h (internal_error, internal_verror): Add __FILE__ and
306 * utils.c (internal_error, internal_verror): Update.
308 * v850-tdep.c: Update calls to internal_error.
315 * sparc-tdep.c: Ditto.
318 * rs6000-tdep.c: Ditto.
319 * rs6000-nat.c: Ditto.
321 * remote-vx.c: Ditto.
322 * remote-sim.c: Ditto.
323 * remote-mips.c: Ditto.
327 * mn10300-tdep.c: Ditto.
328 * mips-tdep.c: Ditto.
330 * m68k-tdep.c: Ditto.
333 * infptrace.c: Ditto.
336 * ia64-tdep.c: Ditto.
337 * i386-tdep.c: Ditto.
338 * i386-linux-nat.c: Ditto.
339 * hppah-nat.c: Ditto.
344 * event-loop.c: Ditto.
345 * dwarf2read.c: Ditto.
347 * d30v-tdep.c: Ditto.
348 * d10v-tdep.c: Ditto.
349 * cli/cli-setshow.c: Ditto.
350 * cli/cli-script.c: Ditto.
352 * breakpoint.c: Ditto.
354 * arch-utils.c: Ditto.
355 * a29k-tdep.c: Ditto.
356 * gdb_assert.h: Ditto.
358 * gdbarch.h, gdbarch.c: Re-generate.
360 2001-02-07 Andrew Cagney <ac131313@redhat.com>
362 From Mark Kettenis <kettenis@gnu.org>:
363 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
365 2001-02-07 Andrew Cagney <ac131313@redhat.com>
367 * remote-sim.c (dump_mem): Cleanup printf format argument.
368 * MAINTAINERS: Update, mn10300-elf now builds.
370 2001-02-07 Mark Kettenis <kettenis@gnu.org>
372 * event-top.c: Remove duplicate #include <signal.h>.
374 2001-02-06 Andrew Cagney <ac131313@redhat.com>
376 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
378 (save_inferior_pid): Restore the PID from that tempoary
379 buffer. Delete the buffer.
380 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
382 2001-02-06 Andrew Cagney <ac131313@redhat.com>
384 * MAINTAINERS: Add ``The Obvious Fix Rule''.
386 2001-02-06 Andrew Cagney <ac131313@redhat.com>
388 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
390 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
392 * gdbarch.sh: Include "gdb_assert.h".
393 (struct gdbarch): Change ``nr_data'' to unsigned.
394 (alloc_gdbarch_data, free_gdbarch_data): New functions.
395 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
397 (struct gdbarch_data, struct gdbarch_data_registration): Move init
398 method to gdbarch_data. Add free method, make index unsigned.
399 (struct gdbarch_data_registry): Make nr unsigned.
400 (register_gdbarch_data): Add free parameter. Store in
402 (init_gdbarch_data): Use set_gdbarch_data.
403 (set_gdbarch_data): New function.
405 * gdbarch.h, gdbarch.c: Re-generate.
407 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
409 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
410 fprintf_filtered with correct arguments.
412 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
413 Submitted by Paul Hilfinger (hilfingr@gnat.com)
414 and Andrei Petrov (and@genesyslab.com).
415 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
416 must be allocated dynamically, since these are no longer constants.
420 * sol-thread.c: Ditto.
422 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
423 work-around for a missing Sun header file in solaris for sparc64.
425 2001-02-04 Philip Blundell <philb@gnu.org>
427 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
428 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
429 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
430 GET_THREAD_SIGNALS): Define.
431 * arm-linux-nat.c (fill_gregset): Correct type of argument.
432 (supply_gregset): Likewise.
433 (fill_fpregset): Likewise.
434 (supply_fpregset): Likewise.
436 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
438 * valops.c (value_cast): If casting a scalar to a pointer, do not
439 issue a message about truncation unless it exceeds the length of
440 an address, not the length of a pointer. This is because what the
441 user gives us is an address, not a pointer, and we will ultimately
442 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
443 to a pointer. This allows things like "print *(int *)0x01000234"
444 to work without generating a misleading message on a target having
445 two byte pointers and four byte addresses.
447 2001-02-05 Christopher Faylor <cgf@cygnus.com>
449 * win32-nat.c: Change PTR to void * throughout.
451 2001-02-05 J.T. Conklin <jtc@redback.com>
453 * signals.h: Removed.
454 * event-top.c (#include <signal.h>): Changed from signals.h.
455 * inflow.c: Likewise.
456 * mac-xdep.c: Likewise.
457 * ser-pipe.c: Likewise.
458 * ser-tcp.c: Likewise.
459 * standalone.c: Likewise.
462 * Makefile.in: Removed signals.h from dependencies.
464 2001-02-05 Christopher Faylor <cgf@cygnus.com>
466 Change suggested by Dean Luick <luick@cray.com>
467 * inferior.h (step_over_calls_kind): Remove trailing comma from
469 (step_over_calls): Declare as extern rather than global.
471 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
473 * sh-tdep.c: Update copyright.
474 (sh_extract_return_value): Rewrite.
475 (sh3e_sh4_extract_return_value): New function.
476 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
477 version of the function for sh3e and sh4 CPUs.
479 2001-02-05 Michael Chastain <chastain@redhat.com>
481 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
482 to conform with interface change.
484 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
486 * config/djgpp/fnchange.lst: Tweak to make consistent with the
489 * config/djgpp/djconfig.sh: Use explicit absolute file name when
492 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
493 UART_FIFO_WORKS is defined. Otherwise use outportb.
494 From Francisco Pastor <fpastor.etra-id@etra.es>
496 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
497 with target.h's `to_xfer_memory' member.
499 2001-02-02 J.T. Conklin <jtc@redback.com>
501 * ppc-bdm.c (#include <signal.h>): Removed.
502 * remote-array.c: Likewise.
503 * remote-bug.c: Likewise.
504 * remote-e7000.c: Likewise.
505 * remote-mips.c: Likewise.
506 * remote-os9k.c: Likewise.
507 * remote-st.c: Likewise.
508 * remote-udi.c: Likewise.
509 * remote-vx29k.c: Likewise.
510 * remote-vx68.c: Likewise.
511 * remote-vx960.c: Likewise.
512 * remote-vxmips.c: Likewise.
513 * remote-vxsparc.c: Likewise.
515 2001-02-02 John Moore <jmoore@redhat.com>
517 * remote-utils.h (sr_set_device): Changed free() to xfree() where
518 appropriate. Also changed Copyright to include 2001.
519 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
520 * value.h (value_free): Likewise.
521 * gdbarch.sh (gdbarch_free): Likewise.
522 * gdbarch.c, gdbarch.h: Regenerated.
524 2001-02-02 John Moore <jmoore@redhat.com>
526 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
527 xfree(). Also changed Copyright to include 2001.
529 2001-02-02 J.T. Conklin <jtc@redback.com>
531 * monitor.c (#include "gdb_wait.h"): Removed.
533 * ppc-bdm.c: Likewise.
534 * remote-adapt.c: Likewise.
535 * remote-array.c: Likewise.
536 * remote-bug.c: Likewise.
537 * remote-e7000.c: Likewise.
538 * remote-eb.c: Likewise.
539 * remote-es.c: Likewise.
540 * remote-mips.c: Likewise.
541 * remote-mm.c: Likewise.
542 * remote-nindy.c: Likewise.
543 * remote-os9k.c: Likewise.
544 * remote-rdi.c: Likewise.
545 * remote-rdp.c: Likewise.
546 * remote-sds.c: Likewise.
547 * remote-sim.c: Likewise.
548 * remote-st.c: Likewise.
549 * remote-udi.c: Likewise.
550 * remote-vx.c: Likewise.
551 * remote-vx29k.c: Likewise.
552 * remote-vx68.c: Likewise.
553 * remote-vx960.c: Likewise.
554 * remote-vxmips.c: Likewise.
555 * remote-vxsparc.c: Likewise.
556 * remote.c: Likewise.
557 * ser-pipe.c: Likewise.
558 * ser-unix.c: Likewise.
559 * Makefile.in: Updated dependencies.
561 2001-01-31 David Smith <dsmith@redhat.com>
563 * event-loop.c: Change inclusion of string.h to gdb_string.h and
564 updated the copyright notice.
566 * mi/mi-cmds.c: Ditto.
567 * mi/mi-console.c: Ditto.
568 * mi/mi-getopt.c: Ditto.
569 * mi/mi-parse.c: Ditto.
571 2001-01-31 David Smith <dsmith@redhat.com>
573 * MAINTAINERS: Add David Smith to Write After Approval list.
575 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
577 * cli/cli-utils.c (putchar_filtered): Move function from here.
578 * utils.c (putchar_filtered): To here.
579 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
580 * defs.h (putchar_filtered): To here.
582 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
584 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
586 * config.in, configure: Re-generate.
588 * gdb_vfork.h: New file.
589 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
590 * fork-child.c (fork_inferior): Ditto.
592 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
594 * defs.h (strsave): Delete declaration.
595 * utils.c (strsave): Delete definition.
596 * TODO (strsave): Update
598 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
599 * sparcl-tdep.c (sparclite_open): Ditto.
600 * mips-tdep.c (mips_set_processor_type_command): Ditto.
601 (_initialize_mips_tdep): Ditto.
602 * solib.c (solib_open): Ditto.
603 * symfile.c (add_filename_language): Ditto.
604 (set_ext_lang_command): Ditto.
605 * source.c (init_source_path): Ditto.
607 * sh3-rom.c (sh3_open): Ditto.
609 * serial.c (serial_open): Ditto.
610 * remote-mips.c (common_open): Ditto.
611 * monitor.c (monitor_open): Ditto.
612 * m32r-rom.c (m32r_upload_command): Ditto.
613 * infcmd.c (path_command): Ditto.
614 * f-exp.y (parse_number): Ditto.
615 * breakpoint.c (create_longjmp_breakpoint): Ditto.
616 (create_thread_event_breakpoint): Ditto.
617 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
618 (_initialize_arc_tdep): Ditto.
620 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
622 * cli/cli-script.c (define_command): Check for a bad hook value in
625 2001-01-30 J.T. Conklin <jtc@redback.com>
627 * configure/sh/embed.mt: New file.
628 * configure/sh/linux.mt: New file.
629 * configure/sh/sh.mt: Removed.
630 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
633 2001-01-29 Michael Chastain <chastain@redhat.com>
635 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
636 symbol comparisons in binary search.
638 2000-01-27 Christopher Faylor <cgf@cygnus.com>
640 * win32-nat.c (child_xfer_memory): Add missing argument required by
643 2001-01-27 Mark Kettenis <kettenis@gnu.org>
645 * ui-out.c (do_list_end): New function.
646 (make_cleanup_ui_out_list_end): New function.
647 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
648 * stack.c (print_frame) [UI_OUT]: Call
649 make_cleanup_ui_out_list_end to make sure we mark the end of the
650 list if we do a non-local exit. At the end of the function,
651 instead of calling ui_out_list_end directly, let do_cleanups
654 2001-01-26 Fernando Nasser <fnasser@redhat.com>
656 Fix double parsing of filenames passed as command line arguments
657 to GDB (causes weird handling of escape characters).
658 Also, remove dependencies on the CLI from libgdb.
659 * call-cmds.h: Remove declaration of exec_file_command().
660 * gdbcore.h: Remove declaration of exec_file_command().
661 Add declarations for exec_open() and exec_file_clear().
662 * symfile.h: Add declarations for symbol_file_add_main() and
664 * exec.c (exec_open): New function. Implements to_open for exec
666 (exec_file_clear): New function. Makes GDB forget about a previously
667 specified executable file.
668 (exec_file_attach): Move parsing of arguments from here ...
669 (exec_file_command): ... to here.
670 (init_exec_ops): Use exec_open(), not exec_file_command() to
671 implement to_open for exec targets.
672 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
673 with default values. Used when the file name has already been parsed.
674 (symbol_file_clear): New function. Makes GDB forget about previously
676 (symbol_file_command): Call the above function instead of inline code.
677 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
679 (captured_main): Call exec_file_attach() and symbol_file_add_main()
680 instead of exec_file_command() and symbol_file_command().
681 (captured_main): Add comment.
682 * corefile.c: Include "symfile.h".
683 (core_file_command): Call symbol_file_add_main() instead of
684 symbol_file_command().
685 (reopen_exec_file): Call exec_open() instead of exec_file_command().
686 * infcmd.c: Include "symfile.h".
687 (attach_command): Call symbol_file_add_main() instead of
688 symbol_file_command().
689 * infrun.c: Remove comment about the inclusion of "symfile.h",
690 not any longer appropriate.
691 (follow_exec): Call symbol_file_add_main() instead of
692 symbol_file_command().
693 * remote-es.c: Include "symfile.h".
694 (es1800_load): Call symbol_file_add_main() instead of
695 symbol_file_command().
696 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
697 not any longer appropriate.
698 (vx-wait): Call symbol_file_add_main() instead of
699 symbol_file_command().
700 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
701 instead of symbol_file_command().
702 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
703 symbol_file_add_main() instead of exec_file_command() and
704 symbol_file_command().
705 * Makefile.in: Update dependencies.
707 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
709 * remote-udi.c (udi_open): Change strdup to xstrdup.
710 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
711 Update copyright message.
712 * varobj.c (delete_variable_1): Likewise.
714 * gdb_string.h: Remove declaration of strdup. Update copyright
716 * config/xm-mpw.h: Likewise.
717 * config/i386/xm-i386mach.h: Likewise.
718 * config/m68k/xm-apollo68b.h: Likewise.
719 * config/m68k/xm-hp300bsd.h: Likewise.
720 * config/rs6000/xm-rs6000.h: Likewise.
721 * config/vax/xm-vaxult.h: Remove declaration of strdup.
722 * config/vax/xm-vaxult2.h: Likewise.
724 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
726 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
728 2001-01-25 J.T. Conklin <jtc@redback.com>
730 * target.c (target_xfer_memory_partial): Return -1 on failure due
731 to invalid access mode attribute.
733 2001-01-25 Christopher Faylor <cgf@cygnus.com>
735 * win32-nat.c (_initialize_core_win32): Prototype correctly.
737 2001-01-25 Mark Kettenis <kettenis@gnu.org>
739 * config/alpha/tm-fbsd.h: Update copyright.
740 (USE_STRUCT_CONVENTION): Define in terms of
741 alphabsd_use_struct_convention.
742 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
743 * alphafbsd-tdep.c: New file.
745 2001-01-24 Fernando Nasser <fnasser@redhat.com>
747 * top.c (print_gdb_version): Update Copyright year.
749 2001-01-24 J.T. Conklin <jtc@redback.com>
751 * dcache.c (dcache_write_line): Fix typo.
753 * memattr.c (delete_mem_region): Replace free() with xfree().
754 (mem_number): Add explicit type.
756 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
757 (rw_common): Likewise.
759 2001-01-24 Fernando Nasser <fnasser@redhat.com>
761 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
762 for the inferior program arguments.
763 (run_command, run_no_args_command, init_infcmd)): Use accessor
764 functions to set the inferior program arguments.
765 * inferior.h: Add definitions to the accessor functions above.
767 2001-01-23 Jim Blandy <jimb@redhat.com>
769 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
770 Implement these correctly, using make_cv_type.
772 2001-01-23 J.T. Conklin <jtc@redback.com>
774 * exec.c (xfer_memory): Add attrib argument.
775 * infptrace.c (child_xfer_memory): Likewise.
776 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
777 * monitor.c (monitor_xfer_memory): Likewise.
778 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
779 * remote-array.c (array_xfer_memory): Likewise.
780 * remote-bug.c (bug_xfer_memory): Likewise.
781 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
782 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
783 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
784 * remote-mips.c (mips_xfer_memory): Likewise.
785 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
786 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
787 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
788 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
789 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
790 * remote-sds.c (sds_xfer_memory): Likewise.
791 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
792 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
793 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
794 * remote-vx.c (vx_xfer_memory): Likewise.
795 * remote.c (remote_xfer_memory): Likewise.
796 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
797 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
798 * thread-db.c (thread_db_xfer_memory): Likewise.
800 * target.h (#include "memattr.h"): Added.
801 (target_ops.to_xfer_memory): Add attrib argument.
803 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
804 * dcache.h (set_dcache_state): Removed declaration.
805 * dcache.c (set_dcache_state): Removed definition
807 * dcache.c: Update module comment, as dcache is now enabled and
808 disabled with memory region attributes instead of by the global
809 variable "remotecache". Add comment describing the interaction
810 between dcache and memory region attributes.
811 (dcache_xfer_memory): Add comment describing benefits of moving
812 cache writeback to a higher level.
813 (dcache_struct): Removed cache_has_stuff field. This was used to
814 record whether the cache had been accessed in order to invalidate
815 it when it was disabled. However, this is not needed because the
816 cache is write through and the code that enables, disables, and
817 deletes memory regions invalidate the cache. Add comment which
818 suggests that we could be more selective and only invalidate those
819 cache lines containing data from those memory regions.
820 (dcache_invalidate): Updated.
821 (dcache_xfer_memory): Updated.
823 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
824 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
825 perform a uncached transfer if dcache_enabled_p was clear. This
826 function is now only called if caching is enabled for the memory
828 (dcache_info): Always print cache info.
830 * target.c (do_xfer_memory): Add attrib argument.
831 (target_xfer_memory, target_xfer_memory_partial): Break transfer
832 into chunks defined by memory regions, pass region attributes to
834 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
836 * Makefile.in (SFILES): Add memattr.c.
837 (COMMON_OBS): Add memattr.o.
838 (dcache.o): Add target.h to dependencies.
839 * memattr.c: New file.
840 * memattr.h: Likewise.
842 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
843 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
844 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
845 * gdbserver/low-sim.c (#include "defs.h"): Removed.
846 (mygeneric_load): Rename from generic_load.
848 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
849 (#include "defs.h"): Removed.
850 (inferior_pid, perror_with_name): Remove declarations.
851 * gdbserver/low-linux.c: Likewise.
852 * gdbserver/low-nbsd.c: Likewise.
853 * gdbserver/low-sparc.c: Likewise.
854 * gdbserver/low-sun3.c: Likewise.
856 * i386-stub.c: Re-indent.
857 * m68k-stub.c: Re-indent.
859 2001-01-22 Nicholas Duffek <nsd@redhat.com>
861 * gdbarch.sh (PARM_BOUNDARY): Define.
862 * gdbarch.c: Regenerate.
863 * gdbarch.h: Regenerate.
865 2001-01-22 J.T. Conklin <jtc@redback.com>
867 * ns32k-tdep.c: #include "frame.h"
868 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
869 appears to have been inadvertantly removed sometime in May 1999.
871 * Revert 2000-11-09 changes where shared library objects were
872 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
873 we'd like to be able to debug dynamically linked executables,
874 this makes it impossible to build a cross debugger on a many
877 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
878 * config/i386/nbsdelf.mt: Likewise.
879 * config/m68k/nbsd.mt: Likewise.
880 * config/ns32k/nbsd.mt: Likewise.
881 * config/powerpc/nbsd.mt: Likewise.
882 * config/sparc/nbsd.mt: Likewise.
883 * config/sparc/nbsdelf.mt: Likewise.
884 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
885 * config/i386/nbsdelf.mh: Likewise.
886 * config/m68k/nbsd.mh: Likewise.
887 * config/ns32k/nbsd.mh: Likewise.
888 * config/powerpc/nbsd.mh: Likewise.
889 * config/sparc/nbsd.mh: Likewise.
891 2001-01-19 Jason Merrill <jason@redhat.com>
893 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
894 (process_one_symbol): Likewise.
895 * dwarfread.c (handle_producer): Likewise.
897 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
899 * configure.in (build_warnings): Disable -Wuninitialized until GDB
900 compiles with -Wuninitialized,-Werror.
901 * configure: Regenerate.
903 * MAINTAINERS: Add list of buildable targets.
905 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
907 * defs.h (STRCMP): Delete macro.
909 * objfiles.c (objfile_relocate): Replace STRCMP with call to
911 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
912 * symfile.c (compare_symbols): Ditto.
913 * standalone.c (open): Ditto.
914 * remote-es.c (verify_break): Ditto.
915 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
917 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
919 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
921 * varobj.c (FREEIF): Delete macro.
922 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
925 2001-01-18 Nick Clifton <nickc@redhat.com>
927 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
928 (arc_print_insn): No bfd available, so pass NULL to
929 arc_get_disassembler.
931 2001-01-09 James Ingham <jingham@inghji.apple.com>
933 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
934 a mangled symbol rather than recursing into lookup_symbol, since
935 this will just re-unmangle the name & call lookup_symbol_aux -
936 leading to an infinite recursion.
938 2001-01-18 Mark Kettenis <kettenis@gnu.org>
940 * infcmd.c (print_return_value): Restore another space lost by
941 switch to UIOUT. ``$NN='' should be ``$NN =''.
943 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
945 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
946 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
947 definition in parenthesis.
949 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
951 From 2000-10-27 Mark Salter <msalter@redhat.com>:
952 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
954 (remote_insert_hw_breakpoint): Ditto.
956 2001-01-17 J.T. Conklin <jtc@redback.com>
958 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
959 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
960 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
961 * m68knbsd-tdep.c: New file.
963 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
965 * m68knbsd-nat.c: #include gdbcore.h.
967 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
969 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
971 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
973 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
974 goes away -- just return false (ie. not stopped by watchpoint).
975 * source.c (openp): Fix typo in comment.
977 2001-01-12 Nicholas Duffek <nsd@redhat.com>
979 * blockframe.c (generic_get_saved_register): Spelling fix.
980 * frame.h (FRAME_FP): Spelling fix.
982 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
984 * infcmd.c (print_return_value): Restore space lost by switch to
985 UIOUT. ``$NN='' should be ``$NN =''.
987 2001-01-08 Nicholas Duffek <nsd@redhat.com>
989 * regcache.c (set_register_cached, register_buffer,
990 real_register, pseudo_register fetch_register, store_register):
992 (register_changed, read_relative_register_raw_bytes_for_frame,
993 registers_changed, registers_fetched, read_register_bytes,
994 read_register_gen, write_register_gen, read_register,
995 read_signed_register, write_register, supply_register): Replace
996 register_valid[] with register_cached() and
997 set_register_cached().
998 (read_register_bytes, read_register_gen, write_register_gen,
999 read_register, read_signed_register, write_register,
1000 supply_register): Replace registers[] with register_buffer().
1001 (read_register_bytes, read_register_gen, read_register,
1002 read_signed_register): Call fetch_register().
1003 (write_register_gen, write_register): Call real_register() and
1005 (write_register_bytes): Call store_register().
1006 * value.h (set_register_cached, register_buffer): Prototype.
1007 * remote.c (remote_fetch_registers): Allocate regs[] with a
1008 run-time size. Replace register_valid[] with
1009 set_register_cached().
1010 (store_register_using_P, remote_store_registers): Replace
1011 registers[] with register_buffer().
1013 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1015 * regcache.c: Change "write-back" comment to "write-through".
1016 Change "regno" to "regnum".
1017 (read_register, read_signed_register): Remove "raw" from return
1019 (supply_register): Spelling fix.
1020 * value.h: Change "regno" to "regnum".
1022 2001-01-08 Fernando Nasser <fnasser@redhat.com>
1024 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1027 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1029 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1031 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1033 * valops.c (VALUE_SUBSTRING_START): Delete.
1035 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1037 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1038 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1039 (cli_utils_h): New variable.
1040 (cli/cli-utils.o): New rule.
1041 * cli/cli-utils.c: New file.
1042 * cli/cli-utils.h: New file.
1044 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1046 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1047 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1049 2001-01-03 J.T. Conklin <jtc@redback.com>
1051 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1054 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1056 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1057 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1059 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1060 Update copyright notice.
1062 For older changes see ChangeLog-2000
1068 version-control: never