1 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
4 instead of TARGET_PTR_BIT (to support Harvard architectures).
6 2001-02-16 Andrew Cagney <ac131313@redhat.com>
8 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
9 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
10 argument to parameter list and to call in order to conform to
11 to_xfer_memory field of struct target_ops.
13 2001-02-12 Michael Chastain <chastain@redhat.com>
15 * somsolib.c (som_solib_add_solib_objfile): Do not use
16 section relocation feature of syms_from_objfile. Do my own
17 section relocation, offsetting each section of the som by
18 either text_addr - text_link_addr or data_start.
20 2001-02-16 Andrew Cagney <ac131313@redhat.com>
22 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
24 2001-02-16 Andrew Cagney <ac131313@redhat.com>
26 * MAINTAINERS (paper trail): Update.
28 2001-02-16 Mark Kettenis <kettenis@gnu.org>
30 * target.h (target_fetch_registers): Fix comment.
32 2001-02-15 Andrew Cagney <ac131313@redhat.com>
34 * f-exp.y: Include <ctype.h>.
35 (parse_number): Ensure that ``i'' is always initialized.
38 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
40 * MAINTAINERS: Add myself to paper trail section.
42 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
44 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
45 * configure, config.in: Regenerate.
46 * corelow.c: Include <sys/file.h> if present.
48 2001-02-14 Andrew Cagney <ac131313@redhat.com>
50 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
51 declare when have SIGTTOU.
53 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
55 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
57 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
59 * MAINTAINERS: Update my email address.
61 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
63 * NEWS: Document that "info symbol" works with COFF debug info and
66 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
67 symbols whose SYMBOL_BFD_SECTION is NULL.
69 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
71 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
72 * xcoffsolib.c (xcoff_solib_address): Renamed from
73 pc_load_segment_name. Return NULL if address is not in a shared
74 library. Cleanup shared library name construction, using xasprintf.
75 Format shared library member names consistent with format in exec.c.
76 (solib_info): Format shared library member names consistent with
78 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
79 using xcoff_solib_address for PC_SOLIB definition.
80 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
83 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
85 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
86 with xmalloc calls and cleanups.
88 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
90 * rs6000-nat.c (child_xfer_memory): Add missing parameter
91 'struct mem_attrib *' required by 2001-01-23 change.
93 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
95 Updates to "make TAGS":
96 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
97 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
99 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
101 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
103 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
105 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
107 From Dean Luick <luick@cray.com>:
108 * defs.h (continuation): Remove unused global variable.
110 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
112 * configure.tgt: Remove references to convex, pyramid, altos and
114 * configure.host: Ditto.
115 * MAINTAINERS: Ditto.
118 * tahoe-tdep.c: Delete obsolete file.
121 * convex-tdep.c: Ditto.
122 * convex-xdep.c: Ditto.
123 * config/tahoe/xm-tahoe.h: Ditto.
124 * config/tahoe/tm-tahoe.h: Ditto.
125 * config/tahoe/tahoe.mt: Ditto.
126 * config/tahoe/tahoe.mh: Ditto.
127 * config/pyr/xm-pyr.h: Ditto.
128 * config/pyr/tm-pyr.h: Ditto.
129 * config/pyr/pyramid.mt: Ditto.
130 * config/pyr/pyramid.mh: Ditto.
131 * config/m68k/xm-altos.h: Ditto.
132 * config/m68k/tm-altos.h: Ditto.
133 * config/m68k/altos.mt: Ditto.
134 * config/m68k/altos.mh: Ditto.
135 * config/convex/xm-convex.h: Ditto.
136 * config/convex/tm-convex.h: Ditto.
137 * config/convex/convex.mt: Ditto.
138 * config/convex/convex.mh: Ditto.
139 * config/convex/Convex.notes: Ditto.
140 * config/arm/xm-arm.h: Ditto.
141 * config/arm/nm-arm.h: Ditto.
142 * config/arm/arm.mt: Ditto.
143 * config/arm/arm.mh: Ditto.
144 * arm-convert.s: Ditto.
146 * altos-xdep.c: Ditto.
148 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
150 * defs.h (internal_error, internal_verror): Add __FILE__ and
152 * utils.c (internal_error, internal_verror): Update.
154 * v850-tdep.c: Update calls to internal_error.
161 * sparc-tdep.c: Ditto.
164 * rs6000-tdep.c: Ditto.
165 * rs6000-nat.c: Ditto.
167 * remote-vx.c: Ditto.
168 * remote-sim.c: Ditto.
169 * remote-mips.c: Ditto.
173 * mn10300-tdep.c: Ditto.
174 * mips-tdep.c: Ditto.
176 * m68k-tdep.c: Ditto.
179 * infptrace.c: Ditto.
182 * ia64-tdep.c: Ditto.
183 * i386-tdep.c: Ditto.
184 * i386-linux-nat.c: Ditto.
185 * hppah-nat.c: Ditto.
190 * event-loop.c: Ditto.
191 * dwarf2read.c: Ditto.
193 * d30v-tdep.c: Ditto.
194 * d10v-tdep.c: Ditto.
195 * cli/cli-setshow.c: Ditto.
196 * cli/cli-script.c: Ditto.
198 * breakpoint.c: Ditto.
200 * arch-utils.c: Ditto.
201 * a29k-tdep.c: Ditto.
202 * gdb_assert.h: Ditto.
204 * gdbarch.h, gdbarch.c: Re-generate.
206 2001-02-07 Andrew Cagney <ac131313@redhat.com>
208 From Mark Kettenis <kettenis@gnu.org>:
209 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
211 2001-02-07 Andrew Cagney <ac131313@redhat.com>
213 * remote-sim.c (dump_mem): Cleanup printf format argument.
214 * MAINTAINERS: Update, mn10300-elf now builds.
216 2001-02-07 Mark Kettenis <kettenis@gnu.org>
218 * event-top.c: Remove duplicate #include <signal.h>.
220 2001-02-06 Andrew Cagney <ac131313@redhat.com>
222 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
224 (save_inferior_pid): Restore the PID from that tempoary
225 buffer. Delete the buffer.
226 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
228 2001-02-06 Andrew Cagney <ac131313@redhat.com>
230 * MAINTAINERS: Add ``The Obvious Fix Rule''.
232 2001-02-06 Andrew Cagney <ac131313@redhat.com>
234 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
236 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
238 * gdbarch.sh: Include "gdb_assert.h".
239 (struct gdbarch): Change ``nr_data'' to unsigned.
240 (alloc_gdbarch_data, free_gdbarch_data): New functions.
241 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
243 (struct gdbarch_data, struct gdbarch_data_registration): Move init
244 method to gdbarch_data. Add free method, make index unsigned.
245 (struct gdbarch_data_registry): Make nr unsigned.
246 (register_gdbarch_data): Add free parameter. Store in
248 (init_gdbarch_data): Use set_gdbarch_data.
249 (set_gdbarch_data): New function.
251 * gdbarch.h, gdbarch.c: Re-generate.
253 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
255 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
256 fprintf_filtered with correct arguments.
258 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
259 Submitted by Paul Hilfinger (hilfingr@gnat.com)
260 and Andrei Petrov (and@genesyslab.com).
261 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
262 must be allocated dynamically, since these are no longer constants.
266 * sol-thread.c: Ditto.
268 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
269 work-around for a missing Sun header file in solaris for sparc64.
271 2001-02-04 Philip Blundell <philb@gnu.org>
273 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
274 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
275 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
276 GET_THREAD_SIGNALS): Define.
277 * arm-linux-nat.c (fill_gregset): Correct type of argument.
278 (supply_gregset): Likewise.
279 (fill_fpregset): Likewise.
280 (supply_fpregset): Likewise.
282 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
284 * valops.c (value_cast): If casting a scalar to a pointer, do not
285 issue a message about truncation unless it exceeds the length of
286 an address, not the length of a pointer. This is because what the
287 user gives us is an address, not a pointer, and we will ultimately
288 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
289 to a pointer. This allows things like "print *(int *)0x01000234"
290 to work without generating a misleading message on a target having
291 two byte pointers and four byte addresses.
293 2001-02-05 Christopher Faylor <cgf@cygnus.com>
295 * win32-nat.c: Change PTR to void * throughout.
297 2001-02-05 J.T. Conklin <jtc@redback.com>
299 * signals.h: Removed.
300 * event-top.c (#include <signal.h>): Changed from signals.h.
301 * inflow.c: Likewise.
302 * mac-xdep.c: Likewise.
303 * ser-pipe.c: Likewise.
304 * ser-tcp.c: Likewise.
305 * standalone.c: Likewise.
308 * Makefile.in: Removed signals.h from dependencies.
310 2001-02-05 Christopher Faylor <cgf@cygnus.com>
312 Change suggested by Dean Luick <luick@cray.com>
313 * inferior.h (step_over_calls_kind): Remove trailing comma from
315 (step_over_calls): Declare as extern rather than global.
317 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
319 * sh-tdep.c: Update copyright.
320 (sh_extract_return_value): Rewrite.
321 (sh3e_sh4_extract_return_value): New function.
322 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
323 version of the function for sh3e and sh4 CPUs.
325 2001-02-05 Michael Chastain <chastain@redhat.com>
327 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
328 to conform with interface change.
330 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
332 * config/djgpp/fnchange.lst: Tweak to make consistent with the
335 * config/djgpp/djconfig.sh: Use explicit absolute file name when
338 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
339 UART_FIFO_WORKS is defined. Otherwise use outportb.
340 From Francisco Pastor <fpastor.etra-id@etra.es>
342 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
343 with target.h's `to_xfer_memory' member.
345 2001-02-02 J.T. Conklin <jtc@redback.com>
347 * ppc-bdm.c (#include <signal.h>): Removed.
348 * remote-array.c: Likewise.
349 * remote-bug.c: Likewise.
350 * remote-e7000.c: Likewise.
351 * remote-mips.c: Likewise.
352 * remote-os9k.c: Likewise.
353 * remote-st.c: Likewise.
354 * remote-udi.c: Likewise.
355 * remote-vx29k.c: Likewise.
356 * remote-vx68.c: Likewise.
357 * remote-vx960.c: Likewise.
358 * remote-vxmips.c: Likewise.
359 * remote-vxsparc.c: Likewise.
361 2001-02-02 John Moore <jmoore@redhat.com>
363 * remote-utils.h (sr_set_device): Changed free() to xfree() where
364 appropriate. Also changed Copyright to include 2001.
365 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
366 * value.h (value_free): Likewise.
367 * gdbarch.sh (gdbarch_free): Likewise.
368 * gdbarch.c, gdbarch.h: Regenerated.
370 2001-02-02 John Moore <jmoore@redhat.com>
372 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
373 xfree(). Also changed Copyright to include 2001.
375 2001-02-02 J.T. Conklin <jtc@redback.com>
377 * monitor.c (#include "gdb_wait.h"): Removed.
379 * ppc-bdm.c: Likewise.
380 * remote-adapt.c: Likewise.
381 * remote-array.c: Likewise.
382 * remote-bug.c: Likewise.
383 * remote-e7000.c: Likewise.
384 * remote-eb.c: Likewise.
385 * remote-es.c: Likewise.
386 * remote-mips.c: Likewise.
387 * remote-mm.c: Likewise.
388 * remote-nindy.c: Likewise.
389 * remote-os9k.c: Likewise.
390 * remote-rdi.c: Likewise.
391 * remote-rdp.c: Likewise.
392 * remote-sds.c: Likewise.
393 * remote-sim.c: Likewise.
394 * remote-st.c: Likewise.
395 * remote-udi.c: Likewise.
396 * remote-vx.c: Likewise.
397 * remote-vx29k.c: Likewise.
398 * remote-vx68.c: Likewise.
399 * remote-vx960.c: Likewise.
400 * remote-vxmips.c: Likewise.
401 * remote-vxsparc.c: Likewise.
402 * remote.c: Likewise.
403 * ser-pipe.c: Likewise.
404 * ser-unix.c: Likewise.
405 * Makefile.in: Updated dependencies.
407 2001-01-31 David Smith <dsmith@redhat.com>
409 * event-loop.c: Change inclusion of string.h to gdb_string.h and
410 updated the copyright notice.
412 * mi/mi-cmds.c: Ditto.
413 * mi/mi-console.c: Ditto.
414 * mi/mi-getopt.c: Ditto.
415 * mi/mi-parse.c: Ditto.
417 2001-01-31 David Smith <dsmith@redhat.com>
419 * MAINTAINERS: Add David Smith to Write After Approval list.
421 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
423 * cli/cli-utils.c (putchar_filtered): Move function from here.
424 * utils.c (putchar_filtered): To here.
425 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
426 * defs.h (putchar_filtered): To here.
428 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
430 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
432 * config.in, configure: Re-generate.
434 * gdb_vfork.h: New file.
435 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
436 * fork-child.c (fork_inferior): Ditto.
438 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
440 * defs.h (strsave): Delete declaration.
441 * utils.c (strsave): Delete definition.
442 * TODO (strsave): Update
444 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
445 * sparcl-tdep.c (sparclite_open): Ditto.
446 * mips-tdep.c (mips_set_processor_type_command): Ditto.
447 (_initialize_mips_tdep): Ditto.
448 * solib.c (solib_open): Ditto.
449 * symfile.c (add_filename_language): Ditto.
450 (set_ext_lang_command): Ditto.
451 * source.c (init_source_path): Ditto.
453 * sh3-rom.c (sh3_open): Ditto.
455 * serial.c (serial_open): Ditto.
456 * remote-mips.c (common_open): Ditto.
457 * monitor.c (monitor_open): Ditto.
458 * m32r-rom.c (m32r_upload_command): Ditto.
459 * infcmd.c (path_command): Ditto.
460 * f-exp.y (parse_number): Ditto.
461 * breakpoint.c (create_longjmp_breakpoint): Ditto.
462 (create_thread_event_breakpoint): Ditto.
463 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
464 (_initialize_arc_tdep): Ditto.
466 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
468 * cli/cli-script.c (define_command): Check for a bad hook value in
471 2001-01-30 J.T. Conklin <jtc@redback.com>
473 * configure/sh/embed.mt: New file.
474 * configure/sh/linux.mt: New file.
475 * configure/sh/sh.mt: Removed.
476 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
479 2001-01-29 Michael Chastain <chastain@redhat.com>
481 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
482 symbol comparisons in binary search.
484 2000-01-27 Christopher Faylor <cgf@cygnus.com>
486 * win32-nat.c (child_xfer_memory): Add missing argument required by
489 2001-01-27 Mark Kettenis <kettenis@gnu.org>
491 * ui-out.c (do_list_end): New function.
492 (make_cleanup_ui_out_list_end): New function.
493 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
494 * stack.c (print_frame) [UI_OUT]: Call
495 make_cleanup_ui_out_list_end to make sure we mark the end of the
496 list if we do a non-local exit. At the end of the function,
497 instead of calling ui_out_list_end directly, let do_cleanups
500 2001-01-26 Fernando Nasser <fnasser@redhat.com>
502 Fix double parsing of filenames passed as command line arguments
503 to GDB (causes weird handling of escape characters).
504 Also, remove dependencies on the CLI from libgdb.
505 * call-cmds.h: Remove declaration of exec_file_command().
506 * gdbcore.h: Remove declaration of exec_file_command().
507 Add declarations for exec_open() and exec_file_clear().
508 * symfile.h: Add declarations for symbol_file_add_main() and
510 * exec.c (exec_open): New function. Implements to_open for exec
512 (exec_file_clear): New function. Makes GDB forget about a previously
513 specified executable file.
514 (exec_file_attach): Move parsing of arguments from here ...
515 (exec_file_command): ... to here.
516 (init_exec_ops): Use exec_open(), not exec_file_command() to
517 implement to_open for exec targets.
518 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
519 with default values. Used when the file name has already been parsed.
520 (symbol_file_clear): New function. Makes GDB forget about previously
522 (symbol_file_command): Call the above function instead of inline code.
523 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
525 (captured_main): Call exec_file_attach() and symbol_file_add_main()
526 instead of exec_file_command() and symbol_file_command().
527 (captured_main): Add comment.
528 * corefile.c: Include "symfile.h".
529 (core_file_command): Call symbol_file_add_main() instead of
530 symbol_file_command().
531 (reopen_exec_file): Call exec_open() instead of exec_file_command().
532 * infcmd.c: Include "symfile.h".
533 (attach_command): Call symbol_file_add_main() instead of
534 symbol_file_command().
535 * infrun.c: Remove comment about the inclusion of "symfile.h",
536 not any longer appropriate.
537 (follow_exec): Call symbol_file_add_main() instead of
538 symbol_file_command().
539 * remote-es.c: Include "symfile.h".
540 (es1800_load): Call symbol_file_add_main() instead of
541 symbol_file_command().
542 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
543 not any longer appropriate.
544 (vx-wait): Call symbol_file_add_main() instead of
545 symbol_file_command().
546 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
547 instead of symbol_file_command().
548 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
549 symbol_file_add_main() instead of exec_file_command() and
550 symbol_file_command().
551 * Makefile.in: Update dependencies.
553 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
555 * remote-udi.c (udi_open): Change strdup to xstrdup.
556 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
557 Update copyright message.
558 * varobj.c (delete_variable_1): Likewise.
560 * gdb_string.h: Remove declaration of strdup. Update copyright
562 * config/xm-mpw.h: Likewise.
563 * config/i386/xm-i386mach.h: Likewise.
564 * config/m68k/xm-apollo68b.h: Likewise.
565 * config/m68k/xm-hp300bsd.h: Likewise.
566 * config/rs6000/xm-rs6000.h: Likewise.
567 * config/vax/xm-vaxult.h: Remove declaration of strdup.
568 * config/vax/xm-vaxult2.h: Likewise.
570 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
572 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
574 2001-01-25 J.T. Conklin <jtc@redback.com>
576 * target.c (target_xfer_memory_partial): Return -1 on failure due
577 to invalid access mode attribute.
579 2001-01-25 Christopher Faylor <cgf@cygnus.com>
581 * win32-nat.c (_initialize_core_win32): Prototype correctly.
583 2001-01-25 Mark Kettenis <kettenis@gnu.org>
585 * config/alpha/tm-fbsd.h: Update copyright.
586 (USE_STRUCT_CONVENTION): Define in terms of
587 alphabsd_use_struct_convention.
588 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
589 * alphafbsd-tdep.c: New file.
591 2001-01-24 Fernando Nasser <fnasser@redhat.com>
593 * top.c (print_gdb_version): Update Copyright year.
595 2001-01-24 J.T. Conklin <jtc@redback.com>
597 * dcache.c (dcache_write_line): Fix typo.
599 * memattr.c (delete_mem_region): Replace free() with xfree().
600 (mem_number): Add explicit type.
602 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
603 (rw_common): Likewise.
605 2001-01-24 Fernando Nasser <fnasser@redhat.com>
607 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
608 for the inferior program arguments.
609 (run_command, run_no_args_command, init_infcmd)): Use accessor
610 functions to set the inferior program arguments.
611 * inferior.h: Add definitions to the accessor functions above.
613 2001-01-23 Jim Blandy <jimb@redhat.com>
615 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
616 Implement these correctly, using make_cv_type.
618 2001-01-23 J.T. Conklin <jtc@redback.com>
620 * exec.c (xfer_memory): Add attrib argument.
621 * infptrace.c (child_xfer_memory): Likewise.
622 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
623 * monitor.c (monitor_xfer_memory): Likewise.
624 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
625 * remote-array.c (array_xfer_memory): Likewise.
626 * remote-bug.c (bug_xfer_memory): Likewise.
627 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
628 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
629 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
630 * remote-mips.c (mips_xfer_memory): Likewise.
631 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
632 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
633 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
634 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
635 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
636 * remote-sds.c (sds_xfer_memory): Likewise.
637 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
638 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
639 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
640 * remote-vx.c (vx_xfer_memory): Likewise.
641 * remote.c (remote_xfer_memory): Likewise.
642 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
643 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
644 * thread-db.c (thread_db_xfer_memory): Likewise.
646 * target.h (#include "memattr.h"): Added.
647 (target_ops.to_xfer_memory): Add attrib argument.
649 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
650 * dcache.h (set_dcache_state): Removed declaration.
651 * dcache.c (set_dcache_state): Removed definition
653 * dcache.c: Update module comment, as dcache is now enabled and
654 disabled with memory region attributes instead of by the global
655 variable "remotecache". Add comment describing the interaction
656 between dcache and memory region attributes.
657 (dcache_xfer_memory): Add comment describing benefits of moving
658 cache writeback to a higher level.
659 (dcache_struct): Removed cache_has_stuff field. This was used to
660 record whether the cache had been accessed in order to invalidate
661 it when it was disabled. However, this is not needed because the
662 cache is write through and the code that enables, disables, and
663 deletes memory regions invalidate the cache. Add comment which
664 suggests that we could be more selective and only invalidate those
665 cache lines containing data from those memory regions.
666 (dcache_invalidate): Updated.
667 (dcache_xfer_memory): Updated.
669 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
670 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
671 perform a uncached transfer if dcache_enabled_p was clear. This
672 function is now only called if caching is enabled for the memory
674 (dcache_info): Always print cache info.
676 * target.c (do_xfer_memory): Add attrib argument.
677 (target_xfer_memory, target_xfer_memory_partial): Break transfer
678 into chunks defined by memory regions, pass region attributes to
680 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
682 * Makefile.in (SFILES): Add memattr.c.
683 (COMMON_OBS): Add memattr.o.
684 (dcache.o): Add target.h to dependencies.
685 * memattr.c: New file.
686 * memattr.h: Likewise.
688 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
689 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
690 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
691 * gdbserver/low-sim.c (#include "defs.h"): Removed.
692 (mygeneric_load): Rename from generic_load.
694 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
695 (#include "defs.h"): Removed.
696 (inferior_pid, perror_with_name): Remove declarations.
697 * gdbserver/low-linux.c: Likewise.
698 * gdbserver/low-nbsd.c: Likewise.
699 * gdbserver/low-sparc.c: Likewise.
700 * gdbserver/low-sun3.c: Likewise.
702 * i386-stub.c: Re-indent.
703 * m68k-stub.c: Re-indent.
705 2001-01-22 Nicholas Duffek <nsd@redhat.com>
707 * gdbarch.sh (PARM_BOUNDARY): Define.
708 * gdbarch.c: Regenerate.
709 * gdbarch.h: Regenerate.
711 2001-01-22 J.T. Conklin <jtc@redback.com>
713 * ns32k-tdep.c: #include "frame.h"
714 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
715 appears to have been inadvertantly removed sometime in May 1999.
717 * Revert 2000-11-09 changes where shared library objects were
718 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
719 we'd like to be able to debug dynamically linked executables,
720 this makes it impossible to build a cross debugger on a many
723 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
724 * config/i386/nbsdelf.mt: Likewise.
725 * config/m68k/nbsd.mt: Likewise.
726 * config/ns32k/nbsd.mt: Likewise.
727 * config/powerpc/nbsd.mt: Likewise.
728 * config/sparc/nbsd.mt: Likewise.
729 * config/sparc/nbsdelf.mt: Likewise.
730 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
731 * config/i386/nbsdelf.mh: Likewise.
732 * config/m68k/nbsd.mh: Likewise.
733 * config/ns32k/nbsd.mh: Likewise.
734 * config/powerpc/nbsd.mh: Likewise.
735 * config/sparc/nbsd.mh: Likewise.
737 2001-01-19 Jason Merrill <jason@redhat.com>
739 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
740 (process_one_symbol): Likewise.
741 * dwarfread.c (handle_producer): Likewise.
743 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
745 * configure.in (build_warnings): Disable -Wuninitialized until GDB
746 compiles with -Wuninitialized,-Werror.
747 * configure: Regenerate.
749 * MAINTAINERS: Add list of buildable targets.
751 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
753 * defs.h (STRCMP): Delete macro.
755 * objfiles.c (objfile_relocate): Replace STRCMP with call to
757 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
758 * symfile.c (compare_symbols): Ditto.
759 * standalone.c (open): Ditto.
760 * remote-es.c (verify_break): Ditto.
761 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
763 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
765 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
767 * varobj.c (FREEIF): Delete macro.
768 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
771 2001-01-18 Nick Clifton <nickc@redhat.com>
773 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
774 (arc_print_insn): No bfd available, so pass NULL to
775 arc_get_disassembler.
777 2001-01-09 James Ingham <jingham@inghji.apple.com>
779 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
780 a mangled symbol rather than recursing into lookup_symbol, since
781 this will just re-unmangle the name & call lookup_symbol_aux -
782 leading to an infinite recursion.
784 2001-01-18 Mark Kettenis <kettenis@gnu.org>
786 * infcmd.c (print_return_value): Restore another space lost by
787 switch to UIOUT. ``$NN='' should be ``$NN =''.
789 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
791 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
792 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
793 definition in parenthesis.
795 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
797 From 2000-10-27 Mark Salter <msalter@redhat.com>:
798 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
800 (remote_insert_hw_breakpoint): Ditto.
802 2001-01-17 J.T. Conklin <jtc@redback.com>
804 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
805 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
806 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
807 * m68knbsd-tdep.c: New file.
809 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
811 * m68knbsd-nat.c: #include gdbcore.h.
813 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
815 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
817 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
819 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
820 goes away -- just return false (ie. not stopped by watchpoint).
821 * source.c (openp): Fix typo in comment.
823 2001-01-12 Nicholas Duffek <nsd@redhat.com>
825 * blockframe.c (generic_get_saved_register): Spelling fix.
826 * frame.h (FRAME_FP): Spelling fix.
828 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
830 * infcmd.c (print_return_value): Restore space lost by switch to
831 UIOUT. ``$NN='' should be ``$NN =''.
833 2001-01-08 Nicholas Duffek <nsd@redhat.com>
835 * regcache.c (set_register_cached, register_buffer,
836 real_register, pseudo_register fetch_register, store_register):
838 (register_changed, read_relative_register_raw_bytes_for_frame,
839 registers_changed, registers_fetched, read_register_bytes,
840 read_register_gen, write_register_gen, read_register,
841 read_signed_register, write_register, supply_register): Replace
842 register_valid[] with register_cached() and
843 set_register_cached().
844 (read_register_bytes, read_register_gen, write_register_gen,
845 read_register, read_signed_register, write_register,
846 supply_register): Replace registers[] with register_buffer().
847 (read_register_bytes, read_register_gen, read_register,
848 read_signed_register): Call fetch_register().
849 (write_register_gen, write_register): Call real_register() and
851 (write_register_bytes): Call store_register().
852 * value.h (set_register_cached, register_buffer): Prototype.
853 * remote.c (remote_fetch_registers): Allocate regs[] with a
854 run-time size. Replace register_valid[] with
855 set_register_cached().
856 (store_register_using_P, remote_store_registers): Replace
857 registers[] with register_buffer().
859 2001-01-08 Nicholas Duffek <nsd@redhat.com>
861 * regcache.c: Change "write-back" comment to "write-through".
862 Change "regno" to "regnum".
863 (read_register, read_signed_register): Remove "raw" from return
865 (supply_register): Spelling fix.
866 * value.h: Change "regno" to "regnum".
868 2001-01-08 Fernando Nasser <fnasser@redhat.com>
870 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
873 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
875 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
877 2001-01-04 Nicholas Duffek <nsd@redhat.com>
879 * valops.c (VALUE_SUBSTRING_START): Delete.
881 2001-01-04 Nicholas Duffek <nsd@redhat.com>
883 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
884 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
885 (cli_utils_h): New variable.
886 (cli/cli-utils.o): New rule.
887 * cli/cli-utils.c: New file.
888 * cli/cli-utils.h: New file.
890 2001-01-04 Nicholas Duffek <nsd@redhat.com>
892 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
893 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
895 2001-01-03 J.T. Conklin <jtc@redback.com>
897 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
900 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
902 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
903 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
905 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
906 Update copyright notice.
908 For older changes see ChangeLog-2000
914 version-control: never