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