1 2001-02-16 Andrew Cagney <ac131313@redhat.com>
3 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
5 2001-02-16 Andrew Cagney <ac131313@redhat.com>
7 * MAINTAINERS (paper trail): Update.
9 2001-02-16 Mark Kettenis <kettenis@gnu.org>
11 * target.h (target_fetch_registers): Fix comment.
13 2001-02-15 Andrew Cagney <ac131313@redhat.com>
15 * f-exp.y: Include <ctype.h>.
16 (parse_number): Ensure that ``i'' is always initialized.
18 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
20 * MAINTAINERS: Add myself to paper trail section.
22 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
24 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
25 * configure, config.in: Regenerate.
26 * corelow.c: Include <sys/file.h> if present.
28 2001-02-14 Andrew Cagney <ac131313@redhat.com>
30 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
31 declare when have SIGTTOU.
33 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
35 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
37 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
39 * MAINTAINERS: Update my email address.
41 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
43 * NEWS: Document that "info symbol" works with COFF debug info and
46 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
47 symbols whose SYMBOL_BFD_SECTION is NULL.
49 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
51 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
52 * xcoffsolib.c (xcoff_solib_address): Renamed from
53 pc_load_segment_name. Return NULL if address is not in a shared
54 library. Cleanup shared library name construction, using xasprintf.
55 Format shared library member names consistent with format in exec.c.
56 (solib_info): Format shared library member names consistent with
58 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
59 using xcoff_solib_address for PC_SOLIB definition.
60 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
63 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
65 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
66 with xmalloc calls and cleanups.
68 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
70 * rs6000-nat.c (child_xfer_memory): Add missing parameter
71 'struct mem_attrib *' required by 2001-01-23 change.
73 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
75 Updates to "make TAGS":
76 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
77 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
79 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
81 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
83 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
85 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
87 From Dean Luick <luick@cray.com>:
88 * defs.h (continuation): Remove unused global variable.
90 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
92 * configure.tgt: Remove references to convex, pyramid, altos and
94 * configure.host: Ditto.
98 * tahoe-tdep.c: Delete obsolete file.
101 * convex-tdep.c: Ditto.
102 * convex-xdep.c: Ditto.
103 * config/tahoe/xm-tahoe.h: Ditto.
104 * config/tahoe/tm-tahoe.h: Ditto.
105 * config/tahoe/tahoe.mt: Ditto.
106 * config/tahoe/tahoe.mh: Ditto.
107 * config/pyr/xm-pyr.h: Ditto.
108 * config/pyr/tm-pyr.h: Ditto.
109 * config/pyr/pyramid.mt: Ditto.
110 * config/pyr/pyramid.mh: Ditto.
111 * config/m68k/xm-altos.h: Ditto.
112 * config/m68k/tm-altos.h: Ditto.
113 * config/m68k/altos.mt: Ditto.
114 * config/m68k/altos.mh: Ditto.
115 * config/convex/xm-convex.h: Ditto.
116 * config/convex/tm-convex.h: Ditto.
117 * config/convex/convex.mt: Ditto.
118 * config/convex/convex.mh: Ditto.
119 * config/convex/Convex.notes: Ditto.
120 * config/arm/xm-arm.h: Ditto.
121 * config/arm/nm-arm.h: Ditto.
122 * config/arm/arm.mt: Ditto.
123 * config/arm/arm.mh: Ditto.
124 * arm-convert.s: Ditto.
126 * altos-xdep.c: Ditto.
128 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
130 * defs.h (internal_error, internal_verror): Add __FILE__ and
132 * utils.c (internal_error, internal_verror): Update.
134 * v850-tdep.c: Update calls to internal_error.
141 * sparc-tdep.c: Ditto.
144 * rs6000-tdep.c: Ditto.
145 * rs6000-nat.c: Ditto.
147 * remote-vx.c: Ditto.
148 * remote-sim.c: Ditto.
149 * remote-mips.c: Ditto.
153 * mn10300-tdep.c: Ditto.
154 * mips-tdep.c: Ditto.
156 * m68k-tdep.c: Ditto.
159 * infptrace.c: Ditto.
162 * ia64-tdep.c: Ditto.
163 * i386-tdep.c: Ditto.
164 * i386-linux-nat.c: Ditto.
165 * hppah-nat.c: Ditto.
170 * event-loop.c: Ditto.
171 * dwarf2read.c: Ditto.
173 * d30v-tdep.c: Ditto.
174 * d10v-tdep.c: Ditto.
175 * cli/cli-setshow.c: Ditto.
176 * cli/cli-script.c: Ditto.
178 * breakpoint.c: Ditto.
180 * arch-utils.c: Ditto.
181 * a29k-tdep.c: Ditto.
182 * gdb_assert.h: Ditto.
184 * gdbarch.h, gdbarch.c: Re-generate.
186 2001-02-07 Andrew Cagney <ac131313@redhat.com>
188 From Mark Kettenis <kettenis@gnu.org>:
189 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
191 2001-02-07 Andrew Cagney <ac131313@redhat.com>
193 * remote-sim.c (dump_mem): Cleanup printf format argument.
194 * MAINTAINERS: Update, mn10300-elf now builds.
196 2001-02-07 Mark Kettenis <kettenis@gnu.org>
198 * event-top.c: Remove duplicate #include <signal.h>.
200 2001-02-06 Andrew Cagney <ac131313@redhat.com>
202 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
204 (save_inferior_pid): Restore the PID from that tempoary
205 buffer. Delete the buffer.
206 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
208 2001-02-06 Andrew Cagney <ac131313@redhat.com>
210 * MAINTAINERS: Add ``The Obvious Fix Rule''.
212 2001-02-06 Andrew Cagney <ac131313@redhat.com>
214 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
216 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
218 * gdbarch.sh: Include "gdb_assert.h".
219 (struct gdbarch): Change ``nr_data'' to unsigned.
220 (alloc_gdbarch_data, free_gdbarch_data): New functions.
221 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
223 (struct gdbarch_data, struct gdbarch_data_registration): Move init
224 method to gdbarch_data. Add free method, make index unsigned.
225 (struct gdbarch_data_registry): Make nr unsigned.
226 (register_gdbarch_data): Add free parameter. Store in
228 (init_gdbarch_data): Use set_gdbarch_data.
229 (set_gdbarch_data): New function.
231 * gdbarch.h, gdbarch.c: Re-generate.
233 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
235 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
236 fprintf_filtered with correct arguments.
238 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
239 Submitted by Paul Hilfinger (hilfingr@gnat.com)
240 and Andrei Petrov (and@genesyslab.com).
241 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
242 must be allocated dynamically, since these are no longer constants.
246 * sol-thread.c: Ditto.
248 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
249 work-around for a missing Sun header file in solaris for sparc64.
251 2001-02-04 Philip Blundell <philb@gnu.org>
253 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
254 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
255 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
256 GET_THREAD_SIGNALS): Define.
257 * arm-linux-nat.c (fill_gregset): Correct type of argument.
258 (supply_gregset): Likewise.
259 (fill_fpregset): Likewise.
260 (supply_fpregset): Likewise.
262 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
264 * valops.c (value_cast): If casting a scalar to a pointer, do not
265 issue a message about truncation unless it exceeds the length of
266 an address, not the length of a pointer. This is because what the
267 user gives us is an address, not a pointer, and we will ultimately
268 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
269 to a pointer. This allows things like "print *(int *)0x01000234"
270 to work without generating a misleading message on a target having
271 two byte pointers and four byte addresses.
273 2001-02-05 Christopher Faylor <cgf@cygnus.com>
275 * win32-nat.c: Change PTR to void * throughout.
277 2001-02-05 J.T. Conklin <jtc@redback.com>
279 * signals.h: Removed.
280 * event-top.c (#include <signal.h>): Changed from signals.h.
281 * inflow.c: Likewise.
282 * mac-xdep.c: Likewise.
283 * ser-pipe.c: Likewise.
284 * ser-tcp.c: Likewise.
285 * standalone.c: Likewise.
288 * Makefile.in: Removed signals.h from dependencies.
290 2001-02-05 Christopher Faylor <cgf@cygnus.com>
292 Change suggested by Dean Luick <luick@cray.com>
293 * inferior.h (step_over_calls_kind): Remove trailing comma from
295 (step_over_calls): Declare as extern rather than global.
297 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
299 * sh-tdep.c: Update copyright.
300 (sh_extract_return_value): Rewrite.
301 (sh3e_sh4_extract_return_value): New function.
302 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
303 version of the function for sh3e and sh4 CPUs.
305 2001-02-05 Michael Chastain <chastain@redhat.com>
307 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
308 to conform with interface change.
310 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
312 * config/djgpp/fnchange.lst: Tweak to make consistent with the
315 * config/djgpp/djconfig.sh: Use explicit absolute file name when
318 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
319 UART_FIFO_WORKS is defined. Otherwise use outportb.
320 From Francisco Pastor <fpastor.etra-id@etra.es>
322 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
323 with target.h's `to_xfer_memory' member.
325 2001-02-02 J.T. Conklin <jtc@redback.com>
327 * ppc-bdm.c (#include <signal.h>): Removed.
328 * remote-array.c: Likewise.
329 * remote-bug.c: Likewise.
330 * remote-e7000.c: Likewise.
331 * remote-mips.c: Likewise.
332 * remote-os9k.c: Likewise.
333 * remote-st.c: Likewise.
334 * remote-udi.c: Likewise.
335 * remote-vx29k.c: Likewise.
336 * remote-vx68.c: Likewise.
337 * remote-vx960.c: Likewise.
338 * remote-vxmips.c: Likewise.
339 * remote-vxsparc.c: Likewise.
341 2001-02-02 John Moore <jmoore@redhat.com>
343 * remote-utils.h (sr_set_device): Changed free() to xfree() where
344 appropriate. Also changed Copyright to include 2001.
345 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
346 * value.h (value_free): Likewise.
347 * gdbarch.sh (gdbarch_free): Likewise.
348 * gdbarch.c, gdbarch.h: Regenerated.
350 2001-02-02 John Moore <jmoore@redhat.com>
352 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
353 xfree(). Also changed Copyright to include 2001.
355 2001-02-02 J.T. Conklin <jtc@redback.com>
357 * monitor.c (#include "gdb_wait.h"): Removed.
359 * ppc-bdm.c: Likewise.
360 * remote-adapt.c: Likewise.
361 * remote-array.c: Likewise.
362 * remote-bug.c: Likewise.
363 * remote-e7000.c: Likewise.
364 * remote-eb.c: Likewise.
365 * remote-es.c: Likewise.
366 * remote-mips.c: Likewise.
367 * remote-mm.c: Likewise.
368 * remote-nindy.c: Likewise.
369 * remote-os9k.c: Likewise.
370 * remote-rdi.c: Likewise.
371 * remote-rdp.c: Likewise.
372 * remote-sds.c: Likewise.
373 * remote-sim.c: Likewise.
374 * remote-st.c: Likewise.
375 * remote-udi.c: Likewise.
376 * remote-vx.c: Likewise.
377 * remote-vx29k.c: Likewise.
378 * remote-vx68.c: Likewise.
379 * remote-vx960.c: Likewise.
380 * remote-vxmips.c: Likewise.
381 * remote-vxsparc.c: Likewise.
382 * remote.c: Likewise.
383 * ser-pipe.c: Likewise.
384 * ser-unix.c: Likewise.
385 * Makefile.in: Updated dependencies.
387 2001-01-31 David Smith <dsmith@redhat.com>
389 * event-loop.c: Change inclusion of string.h to gdb_string.h and
390 updated the copyright notice.
392 * mi/mi-cmds.c: Ditto.
393 * mi/mi-console.c: Ditto.
394 * mi/mi-getopt.c: Ditto.
395 * mi/mi-parse.c: Ditto.
397 2001-01-31 David Smith <dsmith@redhat.com>
399 * MAINTAINERS: Add David Smith to Write After Approval list.
401 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
403 * cli/cli-utils.c (putchar_filtered): Move function from here.
404 * utils.c (putchar_filtered): To here.
405 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
406 * defs.h (putchar_filtered): To here.
408 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
410 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
412 * config.in, configure: Re-generate.
414 * gdb_vfork.h: New file.
415 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
416 * fork-child.c (fork_inferior): Ditto.
418 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
420 * defs.h (strsave): Delete declaration.
421 * utils.c (strsave): Delete definition.
422 * TODO (strsave): Update
424 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
425 * sparcl-tdep.c (sparclite_open): Ditto.
426 * mips-tdep.c (mips_set_processor_type_command): Ditto.
427 (_initialize_mips_tdep): Ditto.
428 * solib.c (solib_open): Ditto.
429 * symfile.c (add_filename_language): Ditto.
430 (set_ext_lang_command): Ditto.
431 * source.c (init_source_path): Ditto.
433 * sh3-rom.c (sh3_open): Ditto.
435 * serial.c (serial_open): Ditto.
436 * remote-mips.c (common_open): Ditto.
437 * monitor.c (monitor_open): Ditto.
438 * m32r-rom.c (m32r_upload_command): Ditto.
439 * infcmd.c (path_command): Ditto.
440 * f-exp.y (parse_number): Ditto.
441 * breakpoint.c (create_longjmp_breakpoint): Ditto.
442 (create_thread_event_breakpoint): Ditto.
443 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
444 (_initialize_arc_tdep): Ditto.
446 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
448 * cli/cli-script.c (define_command): Check for a bad hook value in
451 2001-01-30 J.T. Conklin <jtc@redback.com>
453 * configure/sh/embed.mt: New file.
454 * configure/sh/linux.mt: New file.
455 * configure/sh/sh.mt: Removed.
456 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
459 2001-01-29 Michael Chastain <chastain@redhat.com>
461 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
462 symbol comparisons in binary search.
464 2000-01-27 Christopher Faylor <cgf@cygnus.com>
466 * win32-nat.c (child_xfer_memory): Add missing argument required by
469 2001-01-27 Mark Kettenis <kettenis@gnu.org>
471 * ui-out.c (do_list_end): New function.
472 (make_cleanup_ui_out_list_end): New function.
473 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
474 * stack.c (print_frame) [UI_OUT]: Call
475 make_cleanup_ui_out_list_end to make sure we mark the end of the
476 list if we do a non-local exit. At the end of the function,
477 instead of calling ui_out_list_end directly, let do_cleanups
480 2001-01-26 Fernando Nasser <fnasser@redhat.com>
482 Fix double parsing of filenames passed as command line arguments
483 to GDB (causes weird handling of escape characters).
484 Also, remove dependencies on the CLI from libgdb.
485 * call-cmds.h: Remove declaration of exec_file_command().
486 * gdbcore.h: Remove declaration of exec_file_command().
487 Add declarations for exec_open() and exec_file_clear().
488 * symfile.h: Add declarations for symbol_file_add_main() and
490 * exec.c (exec_open): New function. Implements to_open for exec
492 (exec_file_clear): New function. Makes GDB forget about a previously
493 specified executable file.
494 (exec_file_attach): Move parsing of arguments from here ...
495 (exec_file_command): ... to here.
496 (init_exec_ops): Use exec_open(), not exec_file_command() to
497 implement to_open for exec targets.
498 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
499 with default values. Used when the file name has already been parsed.
500 (symbol_file_clear): New function. Makes GDB forget about previously
502 (symbol_file_command): Call the above function instead of inline code.
503 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
505 (captured_main): Call exec_file_attach() and symbol_file_add_main()
506 instead of exec_file_command() and symbol_file_command().
507 (captured_main): Add comment.
508 * corefile.c: Include "symfile.h".
509 (core_file_command): Call symbol_file_add_main() instead of
510 symbol_file_command().
511 (reopen_exec_file): Call exec_open() instead of exec_file_command().
512 * infcmd.c: Include "symfile.h".
513 (attach_command): Call symbol_file_add_main() instead of
514 symbol_file_command().
515 * infrun.c: Remove comment about the inclusion of "symfile.h",
516 not any longer appropriate.
517 (follow_exec): Call symbol_file_add_main() instead of
518 symbol_file_command().
519 * remote-es.c: Include "symfile.h".
520 (es1800_load): Call symbol_file_add_main() instead of
521 symbol_file_command().
522 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
523 not any longer appropriate.
524 (vx-wait): Call symbol_file_add_main() instead of
525 symbol_file_command().
526 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
527 instead of symbol_file_command().
528 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
529 symbol_file_add_main() instead of exec_file_command() and
530 symbol_file_command().
531 * Makefile.in: Update dependencies.
533 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
535 * remote-udi.c (udi_open): Change strdup to xstrdup.
536 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
537 Update copyright message.
538 * varobj.c (delete_variable_1): Likewise.
540 * gdb_string.h: Remove declaration of strdup. Update copyright
542 * config/xm-mpw.h: Likewise.
543 * config/i386/xm-i386mach.h: Likewise.
544 * config/m68k/xm-apollo68b.h: Likewise.
545 * config/m68k/xm-hp300bsd.h: Likewise.
546 * config/rs6000/xm-rs6000.h: Likewise.
547 * config/vax/xm-vaxult.h: Remove declaration of strdup.
548 * config/vax/xm-vaxult2.h: Likewise.
550 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
552 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
554 2001-01-25 J.T. Conklin <jtc@redback.com>
556 * target.c (target_xfer_memory_partial): Return -1 on failure due
557 to invalid access mode attribute.
559 2001-01-25 Christopher Faylor <cgf@cygnus.com>
561 * win32-nat.c (_initialize_core_win32): Prototype correctly.
563 2001-01-25 Mark Kettenis <kettenis@gnu.org>
565 * config/alpha/tm-fbsd.h: Update copyright.
566 (USE_STRUCT_CONVENTION): Define in terms of
567 alphabsd_use_struct_convention.
568 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
569 * alphafbsd-tdep.c: New file.
571 2001-01-24 Fernando Nasser <fnasser@redhat.com>
573 * top.c (print_gdb_version): Update Copyright year.
575 2001-01-24 J.T. Conklin <jtc@redback.com>
577 * dcache.c (dcache_write_line): Fix typo.
579 * memattr.c (delete_mem_region): Replace free() with xfree().
580 (mem_number): Add explicit type.
582 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
583 (rw_common): Likewise.
585 2001-01-24 Fernando Nasser <fnasser@redhat.com>
587 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
588 for the inferior program arguments.
589 (run_command, run_no_args_command, init_infcmd)): Use accessor
590 functions to set the inferior program arguments.
591 * inferior.h: Add definitions to the accessor functions above.
593 2001-01-23 Jim Blandy <jimb@redhat.com>
595 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
596 Implement these correctly, using make_cv_type.
598 2001-01-23 J.T. Conklin <jtc@redback.com>
600 * exec.c (xfer_memory): Add attrib argument.
601 * infptrace.c (child_xfer_memory): Likewise.
602 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
603 * monitor.c (monitor_xfer_memory): Likewise.
604 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
605 * remote-array.c (array_xfer_memory): Likewise.
606 * remote-bug.c (bug_xfer_memory): Likewise.
607 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
608 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
609 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
610 * remote-mips.c (mips_xfer_memory): Likewise.
611 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
612 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
613 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
614 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
615 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
616 * remote-sds.c (sds_xfer_memory): Likewise.
617 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
618 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
619 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
620 * remote-vx.c (vx_xfer_memory): Likewise.
621 * remote.c (remote_xfer_memory): Likewise.
622 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
623 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
624 * thread-db.c (thread_db_xfer_memory): Likewise.
626 * target.h (#include "memattr.h"): Added.
627 (target_ops.to_xfer_memory): Add attrib argument.
629 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
630 * dcache.h (set_dcache_state): Removed declaration.
631 * dcache.c (set_dcache_state): Removed definition
633 * dcache.c: Update module comment, as dcache is now enabled and
634 disabled with memory region attributes instead of by the global
635 variable "remotecache". Add comment describing the interaction
636 between dcache and memory region attributes.
637 (dcache_xfer_memory): Add comment describing benefits of moving
638 cache writeback to a higher level.
639 (dcache_struct): Removed cache_has_stuff field. This was used to
640 record whether the cache had been accessed in order to invalidate
641 it when it was disabled. However, this is not needed because the
642 cache is write through and the code that enables, disables, and
643 deletes memory regions invalidate the cache. Add comment which
644 suggests that we could be more selective and only invalidate those
645 cache lines containing data from those memory regions.
646 (dcache_invalidate): Updated.
647 (dcache_xfer_memory): Updated.
649 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
650 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
651 perform a uncached transfer if dcache_enabled_p was clear. This
652 function is now only called if caching is enabled for the memory
654 (dcache_info): Always print cache info.
656 * target.c (do_xfer_memory): Add attrib argument.
657 (target_xfer_memory, target_xfer_memory_partial): Break transfer
658 into chunks defined by memory regions, pass region attributes to
660 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
662 * Makefile.in (SFILES): Add memattr.c.
663 (COMMON_OBS): Add memattr.o.
664 (dcache.o): Add target.h to dependencies.
665 * memattr.c: New file.
666 * memattr.h: Likewise.
668 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
669 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
670 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
671 * gdbserver/low-sim.c (#include "defs.h"): Removed.
672 (mygeneric_load): Rename from generic_load.
674 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
675 (#include "defs.h"): Removed.
676 (inferior_pid, perror_with_name): Remove declarations.
677 * gdbserver/low-linux.c: Likewise.
678 * gdbserver/low-nbsd.c: Likewise.
679 * gdbserver/low-sparc.c: Likewise.
680 * gdbserver/low-sun3.c: Likewise.
682 * i386-stub.c: Re-indent.
683 * m68k-stub.c: Re-indent.
685 2001-01-22 Nicholas Duffek <nsd@redhat.com>
687 * gdbarch.sh (PARM_BOUNDARY): Define.
688 * gdbarch.c: Regenerate.
689 * gdbarch.h: Regenerate.
691 2001-01-22 J.T. Conklin <jtc@redback.com>
693 * ns32k-tdep.c: #include "frame.h"
694 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
695 appears to have been inadvertantly removed sometime in May 1999.
697 * Revert 2000-11-09 changes where shared library objects were
698 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
699 we'd like to be able to debug dynamically linked executables,
700 this makes it impossible to build a cross debugger on a many
703 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
704 * config/i386/nbsdelf.mt: Likewise.
705 * config/m68k/nbsd.mt: Likewise.
706 * config/ns32k/nbsd.mt: Likewise.
707 * config/powerpc/nbsd.mt: Likewise.
708 * config/sparc/nbsd.mt: Likewise.
709 * config/sparc/nbsdelf.mt: Likewise.
710 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
711 * config/i386/nbsdelf.mh: Likewise.
712 * config/m68k/nbsd.mh: Likewise.
713 * config/ns32k/nbsd.mh: Likewise.
714 * config/powerpc/nbsd.mh: Likewise.
715 * config/sparc/nbsd.mh: Likewise.
717 2001-01-19 Jason Merrill <jason@redhat.com>
719 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
720 (process_one_symbol): Likewise.
721 * dwarfread.c (handle_producer): Likewise.
723 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
725 * configure.in (build_warnings): Disable -Wuninitialized until GDB
726 compiles with -Wuninitialized,-Werror.
727 * configure: Regenerate.
729 * MAINTAINERS: Add list of buildable targets.
731 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
733 * defs.h (STRCMP): Delete macro.
735 * objfiles.c (objfile_relocate): Replace STRCMP with call to
737 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
738 * symfile.c (compare_symbols): Ditto.
739 * standalone.c (open): Ditto.
740 * remote-es.c (verify_break): Ditto.
741 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
743 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
745 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
747 * varobj.c (FREEIF): Delete macro.
748 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
751 2001-01-18 Nick Clifton <nickc@redhat.com>
753 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
754 (arc_print_insn): No bfd available, so pass NULL to
755 arc_get_disassembler.
757 2001-01-09 James Ingham <jingham@inghji.apple.com>
759 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
760 a mangled symbol rather than recursing into lookup_symbol, since
761 this will just re-unmangle the name & call lookup_symbol_aux -
762 leading to an infinite recursion.
764 2001-01-18 Mark Kettenis <kettenis@gnu.org>
766 * infcmd.c (print_return_value): Restore another space lost by
767 switch to UIOUT. ``$NN='' should be ``$NN =''.
769 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
771 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
772 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
773 definition in parenthesis.
775 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
777 From 2000-10-27 Mark Salter <msalter@redhat.com>:
778 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
780 (remote_insert_hw_breakpoint): Ditto.
782 2001-01-17 J.T. Conklin <jtc@redback.com>
784 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
785 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
786 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
787 * m68knbsd-tdep.c: New file.
789 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
791 * m68knbsd-nat.c: #include gdbcore.h.
793 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
795 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
797 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
799 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
800 goes away -- just return false (ie. not stopped by watchpoint).
801 * source.c (openp): Fix typo in comment.
803 2001-01-12 Nicholas Duffek <nsd@redhat.com>
805 * blockframe.c (generic_get_saved_register): Spelling fix.
806 * frame.h (FRAME_FP): Spelling fix.
808 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
810 * infcmd.c (print_return_value): Restore space lost by switch to
811 UIOUT. ``$NN='' should be ``$NN =''.
813 2001-01-08 Nicholas Duffek <nsd@redhat.com>
815 * regcache.c (set_register_cached, register_buffer,
816 real_register, pseudo_register fetch_register, store_register):
818 (register_changed, read_relative_register_raw_bytes_for_frame,
819 registers_changed, registers_fetched, read_register_bytes,
820 read_register_gen, write_register_gen, read_register,
821 read_signed_register, write_register, supply_register): Replace
822 register_valid[] with register_cached() and
823 set_register_cached().
824 (read_register_bytes, read_register_gen, write_register_gen,
825 read_register, read_signed_register, write_register,
826 supply_register): Replace registers[] with register_buffer().
827 (read_register_bytes, read_register_gen, read_register,
828 read_signed_register): Call fetch_register().
829 (write_register_gen, write_register): Call real_register() and
831 (write_register_bytes): Call store_register().
832 * value.h (set_register_cached, register_buffer): Prototype.
833 * remote.c (remote_fetch_registers): Allocate regs[] with a
834 run-time size. Replace register_valid[] with
835 set_register_cached().
836 (store_register_using_P, remote_store_registers): Replace
837 registers[] with register_buffer().
839 2001-01-08 Nicholas Duffek <nsd@redhat.com>
841 * regcache.c: Change "write-back" comment to "write-through".
842 Change "regno" to "regnum".
843 (read_register, read_signed_register): Remove "raw" from return
845 (supply_register): Spelling fix.
846 * value.h: Change "regno" to "regnum".
848 2001-01-08 Fernando Nasser <fnasser@redhat.com>
850 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
853 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
855 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
857 2001-01-04 Nicholas Duffek <nsd@redhat.com>
859 * valops.c (VALUE_SUBSTRING_START): Delete.
861 2001-01-04 Nicholas Duffek <nsd@redhat.com>
863 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
864 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
865 (cli_utils_h): New variable.
866 (cli/cli-utils.o): New rule.
867 * cli/cli-utils.c: New file.
868 * cli/cli-utils.h: New file.
870 2001-01-04 Nicholas Duffek <nsd@redhat.com>
872 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
873 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
875 2001-01-03 J.T. Conklin <jtc@redback.com>
877 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
880 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
882 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
883 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
885 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
886 Update copyright notice.
888 For older changes see ChangeLog-2000
894 version-control: never