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