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