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