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