1 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3 * printcmd.c (print_address_numeric): Update comments to refer
4 to sizeof addr, not sizeof pointer.
5 (x_command): Remove needless whitespace (shorten long line).
7 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
8 (read_memory_nobpt): Ditto.
9 (ep_is_catchpoint): Ditto.
10 (ep_is_shlib_catchpoint): Ditto.
11 (ep_is_exception_catchpoint): Ditto.
12 (describe_other_breakpoints): Ditto.
14 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
16 * regcache.h (register_valid): Fix comment documenting valid
19 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
22 * regcache.h: New file.
24 * value.h (read_register_bytes, read_register_gen)
25 (write_register_gen, write_register_bytes)
26 (read_register, read_register_pid)
27 (read_signed_register, read_signed_register_pid)
28 (write_register, write_register_pid)
29 (register_cached, set_register_cached)
30 (register_changed, register_buffer)
31 (registers_changed, supply_register): Move declaration from here.
32 * regcache.h: To here.
33 * gdbcore.h (registers_fetched): Ditto.
34 * inferior.h (registers, registers_valid): Ditto.
36 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
37 generic_target_write_pc, write_pc_pid, write_pc,
38 generic_target_read_sp, read_sp, generic_target_write_sp,
39 write_sp, generic_target_read_fp, read_fp,
40 generic_target_write_fp, write_fp): Add note that these functions
41 will be moved from this file.
43 * a29k-tdep.c: Include "regcache.h".
47 * alpha-tdep.c: Ditto.
48 * alphabsd-nat.c: Ditto.
50 * arm-linux-nat.c: Ditto.
51 * arm-linux-tdep.c: Ditto.
53 * blockframe.c: Ditto.
57 * cpu32bug-rom.c: Ditto.
62 * dink32-rom.c: Ditto.
63 * dve3900-rom.c: Ditto.
68 * h8300-tdep.c: Ditto.
69 * h8500-tdep.c: Ditto.
70 * hp300ux-nat.c: Ditto.
74 * hppam3-nat.c: Ditto.
75 * hpux-thread.c: Ditto.
76 * i386-linux-nat.c: Ditto.
77 * i386-linux-tdep.c: Ditto.
79 * i386aix-nat.c: Ditto.
81 * i386bsd-nat.c: Ditto.
82 * i386gnu-nat.c: Ditto.
83 * i386ly-tdep.c: Ditto.
84 * i386m3-nat.c: Ditto.
85 * i386mach-nat.c: Ditto.
86 * i386nbsd-nat.c: Ditto.
87 * i386v4-nat.c: Ditto.
91 * ia64-aix-nat.c: Ditto.
92 * ia64-linux-nat.c: Ditto.
99 * lin-thread.c: Ditto.
103 * m32r-tdep.c: Ditto.
104 * m68hc11-tdep.c: Ditto.
105 * m68k-tdep.c: Ditto.
106 * m68klinux-nat.c: Ditto.
107 * m68knbsd-nat.c: Ditto.
108 * m68knbsd-tdep.c: Ditto.
110 * m88k-tdep.c: Ditto.
112 * mcore-rom.c: Ditto.
113 * mcore-tdep.c: Ditto.
114 * mi/mi-main.c: Ditto.
116 * mips-tdep.c: Ditto.
117 * mipsm3-nat.c: Ditto.
118 * mipsv4-nat.c: Ditto.
119 * mn10200-tdep.c: Ditto.
120 * mn10300-tdep.c: Ditto.
122 * ns32km3-nat.c: Ditto.
123 * ns32knbsd-nat.c: Ditto.
125 * pa64solib.c: Ditto.
127 * ppc-linux-nat.c: Ditto.
128 * ppc-linux-tdep.c: Ditto.
129 * ppcbug-rom.c: Ditto.
130 * ppcnbsd-nat.c: Ditto.
133 * remote-adapt.c: Ditto.
134 * remote-array.c: Ditto.
135 * remote-bug.c: Ditto.
136 * remote-e7000.c: Ditto.
137 * remote-eb.c: Ditto.
138 * remote-es.c: Ditto.
139 * remote-est.c: Ditto.
140 * remote-hms.c: Ditto.
141 * remote-mips.c: Ditto.
142 * remote-mm.c: Ditto.
143 * remote-nindy.c: Ditto.
144 * remote-os9k.c: Ditto.
145 * remote-rdi.c: Ditto.
146 * remote-rdp.c: Ditto.
147 * remote-sds.c: Ditto.
148 * remote-sim.c: Ditto.
149 * remote-st.c: Ditto.
150 * remote-udi.c: Ditto.
151 * remote-utils.c: Ditto.
152 * remote-vx.c: Ditto.
153 * remote-vx29k.c: Ditto.
154 * remote-vx68.c: Ditto.
155 * remote-vx960.c: Ditto.
156 * remote-vxmips.c: Ditto.
157 * remote-vxsparc.c: Ditto.
159 * rom68k-rom.c: Ditto.
160 * rs6000-nat.c: Ditto.
161 * rs6000-tdep.c: Ditto.
164 * sol-thread.c: Ditto.
165 * solib-svr4.c: Ditto.
167 * sparc-nat.c: Ditto.
168 * sparc-tdep.c: Ditto.
169 * sparcl-tdep.c: Ditto.
170 * sparclet-rom.c: Ditto.
172 * sun386-nat.c: Ditto.
175 * thread-db.c: Ditto.
177 * tic80-tdep.c: Ditto.
178 * tracepoint.c: Ditto.
179 * ultra3-nat.c: Ditto.
180 * umax-xdep.c: Ditto.
181 * uw-thread.c: Ditto.
182 * v850-tdep.c: Ditto.
187 * win32-nat.c: Ditto.
191 2001-02-28 Matt Hiller <hiller@redhat.com>
193 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
195 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
197 * symtab.c (search_symbols): Fix off by one error in test for
200 2001-02-23 Andrew Cagney <ac131313@redhat.com>
202 * config/sparc/sp64linux.mt: New file.
203 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
204 * configure.host: Recognize sparc64-*-linux* as a linux host.
206 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
207 * config/sparc/tm-sp64linux.h: New file.
209 2001-02-24 Kevin Buettner <kevinb@redhat.com>
211 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
212 with call to internal_error().
213 * dbxread.c (process_one_symbol): Likewise.
214 * exec.c (build_section_table, xfer_memory): Likewise.
215 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
217 * hpread.c (hpread_type_translate, hpread_read_array_type)
218 (hpread_type_lookup): Likewise.
219 * i386-tdep.c (gdb_print_insn_i386): Likewise.
220 * i960-tdep.c (mem): Likewise
221 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
222 * infptrace.c (child_resume): Likewise.
223 * infttrace.c (_initialize_infttrace): Likewise.
224 * language.c (binop_result_type, add_language): Likewise.
225 * lynx-nat.c (store_inferior_registers): Likewise.
226 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
227 * mdebugread.c (parse_partial_symbols): Likewise.
228 * monitor.c (monitor_printf_noecho, monitor_printf)
229 (monitor_dump_regs): Likewise.
230 * ocd.c (stu_put_packet): Likewise.
231 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
232 * remote-bug.c (bug_open): Likewise.
233 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
234 * remote-es.c (es1800_read_bytes): Likewise.
235 * remote-mips.c (common_breakpoint): Likewise.
236 * remote-rdp.c (send_rdp): Likewise.
237 * remote-sds.c (putmessage): Likewise.
238 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
240 * sparcl-tdep.c (sparclite_download): Likewise.
241 * symtab.c (lookup_partial_symbol): Likewise.
242 * target.c (push_target, pop_target, initialize_targets): Likewise.
243 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
245 * valprint.c (print_decimal, print_longest, print_longest)
246 (strcat_longest): Likewise.
247 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
248 * xmodem.c (xmodem_send_packet): Likewise.
249 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
250 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
251 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
252 (STORE_RETURN_VALUE): Likewise.
253 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
254 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
255 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
258 2001-02-23 Andrew Cagney <ac131313@redhat.com>
260 * CONTRIBUTE: Document how to cite a problem report.
261 * TODO: Note need to replace CONTRIBUTE with generated file.
263 * CONTRIBUTE: Mention that patches do not need to include the
264 generated files gdbarch.h and gdbarch.c.
266 2001-02-21 Andrew Cagney <ac131313@redhat.com>
268 * value.h (get_saved_register): Move from here.
271 2001-02-21 Kevin Buettner <kevinb@redhat.com>
273 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
274 (in_solib_dynsym_resolve_code): Add declaration.
275 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
276 in_solib_dynsym_resolve_code() rather than
277 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
278 which caused this macro to only be defined when
279 SVR4_SHARED_LIBS is defined.
280 * solib.c (in_solib_dynsym_resolve_code): New function.
281 * solist.h (struct target_so_ops): Add new member
282 in_dynsym_resolve_code.
283 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
284 in_svr4_dynsym_resolve_code. Also, made static.
285 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
286 member in aix5_so_ops.
287 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
288 in_svr4_dynsym_resolve_code. Also, added second version
289 of this function which will be used when SVR4_SHARED_LIBS
291 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
292 member in svr4_so_ops.
294 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
295 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
296 config/ia64/xm-aix.h: New files.
297 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
298 (ia64_aix_sigcontext_register_address): New declaration.
299 (ia64_gdbarch_init): Provide for initialization of
300 sigcontext_register_address member of struct tdep when
301 on target is detected to be running AIX.
302 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
305 2001-02-20 Kevin Buettner <kevinb@redhat.com>
307 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
308 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
309 for thread support instead of linux-thread.o and lin-thread.o.
310 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
311 ATTACH_LWP): Define to use the following lin-lwp.c functions...
312 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
313 lin_lwp_attach_lwp): Declare.
315 2001-02-20 Andrew Cagney <ac131313@redhat.com>
317 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
320 2001-02-20 Kevin Buettner <kevinb@redhat.com>
322 * solib-aix5.c (solib-svr4.h): Remove include.
323 (solib_break_names): Delete names which aren't actually
325 (bkpt_names): Remove.
326 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
327 to STREQ() with equivalent calls to strcmp().
328 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
329 aix5_solib_create_inferior_hook): Revise comments.
330 (enable_break): Remove old ``bkpt_names'' code.
332 2001-02-19 Andrew Cagney <ac131313@redhat.com>
334 * Makefile.in (SFILES): Add frame.c .
335 (COMMON_OBS): Add frame.o .
336 (frame.o): New target.
338 * frame.c (find_saved_register):
339 (default_get_saved_register):
340 (get_saved_register):
341 (read_relative_register_raw_bytes_for_frame):
342 (read_relative_register_raw_bytes): Moved to here.
343 * regcache.c: From here.
345 2001-02-20 Kevin Buettner <kevinb@redhat.com>
347 * solib-aix5.c: New file.
349 2001-02-20 Martin M. Hunt <hunt@redhat.com>
351 * solib.c (info_sharedlibrary_command): Don't assume pointers
352 are the same size of long, call longest_local_hex_string_custom().
354 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
355 extract_signed_integer() should be called instead of
358 2001-02-20 Martin M. Hunt <hunt@redhat.com>
360 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
362 2001-02-19 Andrew Cagney <ac131313@redhat.com>
364 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
365 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
366 then floating point registers are 8 bytes.
368 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
370 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
371 accomodate 64-bit addresses.
373 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
375 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
376 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
377 lookup_symbol, when trying to find a symbol with a mangled name,
378 to avoid infinite recursion.
380 2001-02-18 Andrew Cagney <ac131313@redhat.com>
382 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
384 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
386 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
387 (save_prologue_cache): Ditto.
389 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
391 From: innadadadavida@yahoo.com:
392 * partial-stab.h (switch): Check that pst is not null
393 before dereferencing it.
395 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
397 From Andrew Cagney <cagney@b1.cygnus.com>:
398 * symfile.c (add_symbol_file_command): Always initialize
399 my_cleanup using a NULL cleanup.
401 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
403 * demangle.c (demangling_style_names): New variable.
404 (_initialize_demangler): Fill demangling_style_names with the
405 names of known demangling styles from libiberty_demanglers[]. Use
406 add_set_enum_cmd instead of add_set_cmd, to get completion on
407 demangling style names.
409 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
410 file-name completion.
412 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
414 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
415 `solib-absolute-prefix'.
417 * tracepoint.c (_initialize_tracepoint): Ditto for
420 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
422 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
423 file-name completion.
425 * infcmd.c (_initialize_infcmd): Make the following commands use
426 the file-name completer: `tty', `args', `path', `paths', and
429 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
431 * go32-nat.c: Include i387-nat.h.
432 (fetch_register): New function, uses some of the guts of
433 go32_fetch_registers and calls i387_supply_register.
434 (go32_fetch_registers): Most of the code moved into
435 fetch_register. Use i387_supply_fsave.
436 (store_register): Use i387_fill_fsave instead of custom code.
437 (go32_store_registers): Use i387_fill_fsave.
439 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
441 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
443 * completer.c (gdb_completer_file_name_break_characters): Remove
444 slash from file-name break characters.
445 [__MSDOS__]: Special definition for DOS/Windows file names.
446 (line_completion_function): When completing on file names, bump
447 `p' to the first file-name constituent character of `word', before
448 invoking the completer.
450 2001-02-17 Mark Kettenis <kettenis@gnu.org>
452 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
453 consistently for parameter names. Fix comments accordingly.
454 (i387_supply_register): New function.
455 (i387_supply_fsave): Implement using i387_supply_register.
456 * i387-nat.h: Use regnum instead of regno consistently for
457 parameter names. Fix comments accordingly.
458 (i387_supply_register): New prototype.
460 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
462 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
463 instead of TARGET_PTR_BIT (to support Harvard architectures).
465 2001-02-16 Andrew Cagney <ac131313@redhat.com>
467 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
468 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
469 argument to parameter list and to call in order to conform to
470 to_xfer_memory field of struct target_ops.
472 2001-02-12 Michael Chastain <chastain@redhat.com>
474 * somsolib.c (som_solib_add_solib_objfile): Do not use
475 section relocation feature of syms_from_objfile. Do my own
476 section relocation, offsetting each section of the som by
477 either text_addr - text_link_addr or data_start.
479 2001-02-16 Andrew Cagney <ac131313@redhat.com>
481 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
483 2001-02-16 Andrew Cagney <ac131313@redhat.com>
485 * MAINTAINERS (paper trail): Update.
487 2001-02-16 Mark Kettenis <kettenis@gnu.org>
489 * target.h (target_fetch_registers): Fix comment.
491 2001-02-15 Andrew Cagney <ac131313@redhat.com>
493 * f-exp.y: Include <ctype.h>.
494 (parse_number): Ensure that ``i'' is always initialized.
496 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
498 * MAINTAINERS: Add myself to paper trail section.
500 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
502 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
503 * configure, config.in: Regenerate.
504 * corelow.c: Include <sys/file.h> if present.
506 2001-02-14 Andrew Cagney <ac131313@redhat.com>
508 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
509 declare when have SIGTTOU.
511 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
513 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
515 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
517 * MAINTAINERS: Update my email address.
519 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
521 * NEWS: Document that "info symbol" works with COFF debug info and
524 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
525 symbols whose SYMBOL_BFD_SECTION is NULL.
527 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
529 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
530 * xcoffsolib.c (xcoff_solib_address): Renamed from
531 pc_load_segment_name. Return NULL if address is not in a shared
532 library. Cleanup shared library name construction, using xasprintf.
533 Format shared library member names consistent with format in exec.c.
534 (solib_info): Format shared library member names consistent with
536 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
537 using xcoff_solib_address for PC_SOLIB definition.
538 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
541 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
543 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
544 with xmalloc calls and cleanups.
546 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
548 * rs6000-nat.c (child_xfer_memory): Add missing parameter
549 'struct mem_attrib *' required by 2001-01-23 change.
551 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
553 Updates to "make TAGS":
554 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
555 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
557 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
559 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
561 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
563 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
565 From Dean Luick <luick@cray.com>:
566 * defs.h (continuation): Remove unused global variable.
568 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
570 * configure.tgt: Remove references to convex, pyramid, altos and
572 * configure.host: Ditto.
573 * MAINTAINERS: Ditto.
576 * tahoe-tdep.c: Delete obsolete file.
579 * convex-tdep.c: Ditto.
580 * convex-xdep.c: Ditto.
581 * config/tahoe/xm-tahoe.h: Ditto.
582 * config/tahoe/tm-tahoe.h: Ditto.
583 * config/tahoe/tahoe.mt: Ditto.
584 * config/tahoe/tahoe.mh: Ditto.
585 * config/pyr/xm-pyr.h: Ditto.
586 * config/pyr/tm-pyr.h: Ditto.
587 * config/pyr/pyramid.mt: Ditto.
588 * config/pyr/pyramid.mh: Ditto.
589 * config/m68k/xm-altos.h: Ditto.
590 * config/m68k/tm-altos.h: Ditto.
591 * config/m68k/altos.mt: Ditto.
592 * config/m68k/altos.mh: Ditto.
593 * config/convex/xm-convex.h: Ditto.
594 * config/convex/tm-convex.h: Ditto.
595 * config/convex/convex.mt: Ditto.
596 * config/convex/convex.mh: Ditto.
597 * config/convex/Convex.notes: Ditto.
598 * config/arm/xm-arm.h: Ditto.
599 * config/arm/nm-arm.h: Ditto.
600 * config/arm/arm.mt: Ditto.
601 * config/arm/arm.mh: Ditto.
602 * arm-convert.s: Ditto.
604 * altos-xdep.c: Ditto.
606 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
608 * defs.h (internal_error, internal_verror): Add __FILE__ and
610 * utils.c (internal_error, internal_verror): Update.
612 * v850-tdep.c: Update calls to internal_error.
619 * sparc-tdep.c: Ditto.
622 * rs6000-tdep.c: Ditto.
623 * rs6000-nat.c: Ditto.
625 * remote-vx.c: Ditto.
626 * remote-sim.c: Ditto.
627 * remote-mips.c: Ditto.
631 * mn10300-tdep.c: Ditto.
632 * mips-tdep.c: Ditto.
634 * m68k-tdep.c: Ditto.
637 * infptrace.c: Ditto.
640 * ia64-tdep.c: Ditto.
641 * i386-tdep.c: Ditto.
642 * i386-linux-nat.c: Ditto.
643 * hppah-nat.c: Ditto.
648 * event-loop.c: Ditto.
649 * dwarf2read.c: Ditto.
651 * d30v-tdep.c: Ditto.
652 * d10v-tdep.c: Ditto.
653 * cli/cli-setshow.c: Ditto.
654 * cli/cli-script.c: Ditto.
656 * breakpoint.c: Ditto.
658 * arch-utils.c: Ditto.
659 * a29k-tdep.c: Ditto.
660 * gdb_assert.h: Ditto.
662 * gdbarch.h, gdbarch.c: Re-generate.
664 2001-02-07 Andrew Cagney <ac131313@redhat.com>
666 From Mark Kettenis <kettenis@gnu.org>:
667 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
669 2001-02-07 Andrew Cagney <ac131313@redhat.com>
671 * remote-sim.c (dump_mem): Cleanup printf format argument.
672 * MAINTAINERS: Update, mn10300-elf now builds.
674 2001-02-07 Mark Kettenis <kettenis@gnu.org>
676 * event-top.c: Remove duplicate #include <signal.h>.
678 2001-02-06 Andrew Cagney <ac131313@redhat.com>
680 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
682 (save_inferior_pid): Restore the PID from that tempoary
683 buffer. Delete the buffer.
684 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
686 2001-02-06 Andrew Cagney <ac131313@redhat.com>
688 * MAINTAINERS: Add ``The Obvious Fix Rule''.
690 2001-02-06 Andrew Cagney <ac131313@redhat.com>
692 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
694 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
696 * gdbarch.sh: Include "gdb_assert.h".
697 (struct gdbarch): Change ``nr_data'' to unsigned.
698 (alloc_gdbarch_data, free_gdbarch_data): New functions.
699 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
701 (struct gdbarch_data, struct gdbarch_data_registration): Move init
702 method to gdbarch_data. Add free method, make index unsigned.
703 (struct gdbarch_data_registry): Make nr unsigned.
704 (register_gdbarch_data): Add free parameter. Store in
706 (init_gdbarch_data): Use set_gdbarch_data.
707 (set_gdbarch_data): New function.
709 * gdbarch.h, gdbarch.c: Re-generate.
711 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
713 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
714 fprintf_filtered with correct arguments.
716 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
717 Submitted by Paul Hilfinger (hilfingr@gnat.com)
718 and Andrei Petrov (and@genesyslab.com).
719 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
720 must be allocated dynamically, since these are no longer constants.
724 * sol-thread.c: Ditto.
726 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
727 work-around for a missing Sun header file in solaris for sparc64.
729 2001-02-04 Philip Blundell <philb@gnu.org>
731 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
732 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
733 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
734 GET_THREAD_SIGNALS): Define.
735 * arm-linux-nat.c (fill_gregset): Correct type of argument.
736 (supply_gregset): Likewise.
737 (fill_fpregset): Likewise.
738 (supply_fpregset): Likewise.
740 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
742 * valops.c (value_cast): If casting a scalar to a pointer, do not
743 issue a message about truncation unless it exceeds the length of
744 an address, not the length of a pointer. This is because what the
745 user gives us is an address, not a pointer, and we will ultimately
746 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
747 to a pointer. This allows things like "print *(int *)0x01000234"
748 to work without generating a misleading message on a target having
749 two byte pointers and four byte addresses.
751 2001-02-05 Christopher Faylor <cgf@cygnus.com>
753 * win32-nat.c: Change PTR to void * throughout.
755 2001-02-05 J.T. Conklin <jtc@redback.com>
757 * signals.h: Removed.
758 * event-top.c (#include <signal.h>): Changed from signals.h.
759 * inflow.c: Likewise.
760 * mac-xdep.c: Likewise.
761 * ser-pipe.c: Likewise.
762 * ser-tcp.c: Likewise.
763 * standalone.c: Likewise.
766 * Makefile.in: Removed signals.h from dependencies.
768 2001-02-05 Christopher Faylor <cgf@cygnus.com>
770 Change suggested by Dean Luick <luick@cray.com>
771 * inferior.h (step_over_calls_kind): Remove trailing comma from
773 (step_over_calls): Declare as extern rather than global.
775 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
777 * sh-tdep.c: Update copyright.
778 (sh_extract_return_value): Rewrite.
779 (sh3e_sh4_extract_return_value): New function.
780 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
781 version of the function for sh3e and sh4 CPUs.
783 2001-02-05 Michael Chastain <chastain@redhat.com>
785 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
786 to conform with interface change.
788 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
790 * config/djgpp/fnchange.lst: Tweak to make consistent with the
793 * config/djgpp/djconfig.sh: Use explicit absolute file name when
796 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
797 UART_FIFO_WORKS is defined. Otherwise use outportb.
798 From Francisco Pastor <fpastor.etra-id@etra.es>
800 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
801 with target.h's `to_xfer_memory' member.
803 2001-02-02 J.T. Conklin <jtc@redback.com>
805 * ppc-bdm.c (#include <signal.h>): Removed.
806 * remote-array.c: Likewise.
807 * remote-bug.c: Likewise.
808 * remote-e7000.c: Likewise.
809 * remote-mips.c: Likewise.
810 * remote-os9k.c: Likewise.
811 * remote-st.c: Likewise.
812 * remote-udi.c: Likewise.
813 * remote-vx29k.c: Likewise.
814 * remote-vx68.c: Likewise.
815 * remote-vx960.c: Likewise.
816 * remote-vxmips.c: Likewise.
817 * remote-vxsparc.c: Likewise.
819 2001-02-02 John Moore <jmoore@redhat.com>
821 * remote-utils.h (sr_set_device): Changed free() to xfree() where
822 appropriate. Also changed Copyright to include 2001.
823 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
824 * value.h (value_free): Likewise.
825 * gdbarch.sh (gdbarch_free): Likewise.
826 * gdbarch.c, gdbarch.h: Regenerated.
828 2001-02-02 John Moore <jmoore@redhat.com>
830 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
831 xfree(). Also changed Copyright to include 2001.
833 2001-02-02 J.T. Conklin <jtc@redback.com>
835 * monitor.c (#include "gdb_wait.h"): Removed.
837 * ppc-bdm.c: Likewise.
838 * remote-adapt.c: Likewise.
839 * remote-array.c: Likewise.
840 * remote-bug.c: Likewise.
841 * remote-e7000.c: Likewise.
842 * remote-eb.c: Likewise.
843 * remote-es.c: Likewise.
844 * remote-mips.c: Likewise.
845 * remote-mm.c: Likewise.
846 * remote-nindy.c: Likewise.
847 * remote-os9k.c: Likewise.
848 * remote-rdi.c: Likewise.
849 * remote-rdp.c: Likewise.
850 * remote-sds.c: Likewise.
851 * remote-sim.c: Likewise.
852 * remote-st.c: Likewise.
853 * remote-udi.c: Likewise.
854 * remote-vx.c: Likewise.
855 * remote-vx29k.c: Likewise.
856 * remote-vx68.c: Likewise.
857 * remote-vx960.c: Likewise.
858 * remote-vxmips.c: Likewise.
859 * remote-vxsparc.c: Likewise.
860 * remote.c: Likewise.
861 * ser-pipe.c: Likewise.
862 * ser-unix.c: Likewise.
863 * Makefile.in: Updated dependencies.
865 2001-01-31 David Smith <dsmith@redhat.com>
867 * event-loop.c: Change inclusion of string.h to gdb_string.h and
868 updated the copyright notice.
870 * mi/mi-cmds.c: Ditto.
871 * mi/mi-console.c: Ditto.
872 * mi/mi-getopt.c: Ditto.
873 * mi/mi-parse.c: Ditto.
875 2001-01-31 David Smith <dsmith@redhat.com>
877 * MAINTAINERS: Add David Smith to Write After Approval list.
879 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
881 * cli/cli-utils.c (putchar_filtered): Move function from here.
882 * utils.c (putchar_filtered): To here.
883 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
884 * defs.h (putchar_filtered): To here.
886 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
888 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
890 * config.in, configure: Re-generate.
892 * gdb_vfork.h: New file.
893 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
894 * fork-child.c (fork_inferior): Ditto.
896 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
898 * defs.h (strsave): Delete declaration.
899 * utils.c (strsave): Delete definition.
900 * TODO (strsave): Update
902 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
903 * sparcl-tdep.c (sparclite_open): Ditto.
904 * mips-tdep.c (mips_set_processor_type_command): Ditto.
905 (_initialize_mips_tdep): Ditto.
906 * solib.c (solib_open): Ditto.
907 * symfile.c (add_filename_language): Ditto.
908 (set_ext_lang_command): Ditto.
909 * source.c (init_source_path): Ditto.
911 * sh3-rom.c (sh3_open): Ditto.
913 * serial.c (serial_open): Ditto.
914 * remote-mips.c (common_open): Ditto.
915 * monitor.c (monitor_open): Ditto.
916 * m32r-rom.c (m32r_upload_command): Ditto.
917 * infcmd.c (path_command): Ditto.
918 * f-exp.y (parse_number): Ditto.
919 * breakpoint.c (create_longjmp_breakpoint): Ditto.
920 (create_thread_event_breakpoint): Ditto.
921 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
922 (_initialize_arc_tdep): Ditto.
924 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
926 * cli/cli-script.c (define_command): Check for a bad hook value in
929 2001-01-30 J.T. Conklin <jtc@redback.com>
931 * configure/sh/embed.mt: New file.
932 * configure/sh/linux.mt: New file.
933 * configure/sh/sh.mt: Removed.
934 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
937 2001-01-29 Michael Chastain <chastain@redhat.com>
939 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
940 symbol comparisons in binary search.
942 2001-01-27 Christopher Faylor <cgf@cygnus.com>
944 * win32-nat.c (child_xfer_memory): Add missing argument required by
947 2001-01-27 Mark Kettenis <kettenis@gnu.org>
949 * ui-out.c (do_list_end): New function.
950 (make_cleanup_ui_out_list_end): New function.
951 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
952 * stack.c (print_frame) [UI_OUT]: Call
953 make_cleanup_ui_out_list_end to make sure we mark the end of the
954 list if we do a non-local exit. At the end of the function,
955 instead of calling ui_out_list_end directly, let do_cleanups
958 2001-01-26 Fernando Nasser <fnasser@redhat.com>
960 Fix double parsing of filenames passed as command line arguments
961 to GDB (causes weird handling of escape characters).
962 Also, remove dependencies on the CLI from libgdb.
963 * call-cmds.h: Remove declaration of exec_file_command().
964 * gdbcore.h: Remove declaration of exec_file_command().
965 Add declarations for exec_open() and exec_file_clear().
966 * symfile.h: Add declarations for symbol_file_add_main() and
968 * exec.c (exec_open): New function. Implements to_open for exec
970 (exec_file_clear): New function. Makes GDB forget about a previously
971 specified executable file.
972 (exec_file_attach): Move parsing of arguments from here ...
973 (exec_file_command): ... to here.
974 (init_exec_ops): Use exec_open(), not exec_file_command() to
975 implement to_open for exec targets.
976 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
977 with default values. Used when the file name has already been parsed.
978 (symbol_file_clear): New function. Makes GDB forget about previously
980 (symbol_file_command): Call the above function instead of inline code.
981 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
983 (captured_main): Call exec_file_attach() and symbol_file_add_main()
984 instead of exec_file_command() and symbol_file_command().
985 (captured_main): Add comment.
986 * corefile.c: Include "symfile.h".
987 (core_file_command): Call symbol_file_add_main() instead of
988 symbol_file_command().
989 (reopen_exec_file): Call exec_open() instead of exec_file_command().
990 * infcmd.c: Include "symfile.h".
991 (attach_command): Call symbol_file_add_main() instead of
992 symbol_file_command().
993 * infrun.c: Remove comment about the inclusion of "symfile.h",
994 not any longer appropriate.
995 (follow_exec): Call symbol_file_add_main() instead of
996 symbol_file_command().
997 * remote-es.c: Include "symfile.h".
998 (es1800_load): Call symbol_file_add_main() instead of
999 symbol_file_command().
1000 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1001 not any longer appropriate.
1002 (vx-wait): Call symbol_file_add_main() instead of
1003 symbol_file_command().
1004 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1005 instead of symbol_file_command().
1006 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1007 symbol_file_add_main() instead of exec_file_command() and
1008 symbol_file_command().
1009 * Makefile.in: Update dependencies.
1011 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1013 * remote-udi.c (udi_open): Change strdup to xstrdup.
1014 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1015 Update copyright message.
1016 * varobj.c (delete_variable_1): Likewise.
1018 * gdb_string.h: Remove declaration of strdup. Update copyright
1020 * config/xm-mpw.h: Likewise.
1021 * config/i386/xm-i386mach.h: Likewise.
1022 * config/m68k/xm-apollo68b.h: Likewise.
1023 * config/m68k/xm-hp300bsd.h: Likewise.
1024 * config/rs6000/xm-rs6000.h: Likewise.
1025 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1026 * config/vax/xm-vaxult2.h: Likewise.
1028 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1030 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1032 2001-01-25 J.T. Conklin <jtc@redback.com>
1034 * target.c (target_xfer_memory_partial): Return -1 on failure due
1035 to invalid access mode attribute.
1037 2001-01-25 Christopher Faylor <cgf@cygnus.com>
1039 * win32-nat.c (_initialize_core_win32): Prototype correctly.
1041 2001-01-25 Mark Kettenis <kettenis@gnu.org>
1043 * config/alpha/tm-fbsd.h: Update copyright.
1044 (USE_STRUCT_CONVENTION): Define in terms of
1045 alphabsd_use_struct_convention.
1046 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1047 * alphafbsd-tdep.c: New file.
1049 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1051 * top.c (print_gdb_version): Update Copyright year.
1053 2001-01-24 J.T. Conklin <jtc@redback.com>
1055 * dcache.c (dcache_write_line): Fix typo.
1057 * memattr.c (delete_mem_region): Replace free() with xfree().
1058 (mem_number): Add explicit type.
1060 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1061 (rw_common): Likewise.
1063 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1065 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1066 for the inferior program arguments.
1067 (run_command, run_no_args_command, init_infcmd)): Use accessor
1068 functions to set the inferior program arguments.
1069 * inferior.h: Add definitions to the accessor functions above.
1071 2001-01-23 Jim Blandy <jimb@redhat.com>
1073 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1074 Implement these correctly, using make_cv_type.
1076 2001-01-23 J.T. Conklin <jtc@redback.com>
1078 * exec.c (xfer_memory): Add attrib argument.
1079 * infptrace.c (child_xfer_memory): Likewise.
1080 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
1081 * monitor.c (monitor_xfer_memory): Likewise.
1082 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1083 * remote-array.c (array_xfer_memory): Likewise.
1084 * remote-bug.c (bug_xfer_memory): Likewise.
1085 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1086 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1087 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1088 * remote-mips.c (mips_xfer_memory): Likewise.
1089 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1090 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1091 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1092 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1093 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1094 * remote-sds.c (sds_xfer_memory): Likewise.
1095 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1096 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1097 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1098 * remote-vx.c (vx_xfer_memory): Likewise.
1099 * remote.c (remote_xfer_memory): Likewise.
1100 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1101 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
1102 * thread-db.c (thread_db_xfer_memory): Likewise.
1104 * target.h (#include "memattr.h"): Added.
1105 (target_ops.to_xfer_memory): Add attrib argument.
1107 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1108 * dcache.h (set_dcache_state): Removed declaration.
1109 * dcache.c (set_dcache_state): Removed definition
1111 * dcache.c: Update module comment, as dcache is now enabled and
1112 disabled with memory region attributes instead of by the global
1113 variable "remotecache". Add comment describing the interaction
1114 between dcache and memory region attributes.
1115 (dcache_xfer_memory): Add comment describing benefits of moving
1116 cache writeback to a higher level.
1117 (dcache_struct): Removed cache_has_stuff field. This was used to
1118 record whether the cache had been accessed in order to invalidate
1119 it when it was disabled. However, this is not needed because the
1120 cache is write through and the code that enables, disables, and
1121 deletes memory regions invalidate the cache. Add comment which
1122 suggests that we could be more selective and only invalidate those
1123 cache lines containing data from those memory regions.
1124 (dcache_invalidate): Updated.
1125 (dcache_xfer_memory): Updated.
1127 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1128 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1129 perform a uncached transfer if dcache_enabled_p was clear. This
1130 function is now only called if caching is enabled for the memory
1132 (dcache_info): Always print cache info.
1134 * target.c (do_xfer_memory): Add attrib argument.
1135 (target_xfer_memory, target_xfer_memory_partial): Break transfer
1136 into chunks defined by memory regions, pass region attributes to
1138 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
1140 * Makefile.in (SFILES): Add memattr.c.
1141 (COMMON_OBS): Add memattr.o.
1142 (dcache.o): Add target.h to dependencies.
1143 * memattr.c: New file.
1144 * memattr.h: Likewise.
1146 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
1147 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
1148 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
1149 * gdbserver/low-sim.c (#include "defs.h"): Removed.
1150 (mygeneric_load): Rename from generic_load.
1152 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
1153 (#include "defs.h"): Removed.
1154 (inferior_pid, perror_with_name): Remove declarations.
1155 * gdbserver/low-linux.c: Likewise.
1156 * gdbserver/low-nbsd.c: Likewise.
1157 * gdbserver/low-sparc.c: Likewise.
1158 * gdbserver/low-sun3.c: Likewise.
1160 * i386-stub.c: Re-indent.
1161 * m68k-stub.c: Re-indent.
1163 2001-01-22 Nicholas Duffek <nsd@redhat.com>
1165 * gdbarch.sh (PARM_BOUNDARY): Define.
1166 * gdbarch.c: Regenerate.
1167 * gdbarch.h: Regenerate.
1169 2001-01-22 J.T. Conklin <jtc@redback.com>
1171 * ns32k-tdep.c: #include "frame.h"
1172 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
1173 appears to have been inadvertantly removed sometime in May 1999.
1175 * Revert 2000-11-09 changes where shared library objects were
1176 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
1177 we'd like to be able to debug dynamically linked executables,
1178 this makes it impossible to build a cross debugger on a many
1181 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
1182 * config/i386/nbsdelf.mt: Likewise.
1183 * config/m68k/nbsd.mt: Likewise.
1184 * config/ns32k/nbsd.mt: Likewise.
1185 * config/powerpc/nbsd.mt: Likewise.
1186 * config/sparc/nbsd.mt: Likewise.
1187 * config/sparc/nbsdelf.mt: Likewise.
1188 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
1189 * config/i386/nbsdelf.mh: Likewise.
1190 * config/m68k/nbsd.mh: Likewise.
1191 * config/ns32k/nbsd.mh: Likewise.
1192 * config/powerpc/nbsd.mh: Likewise.
1193 * config/sparc/nbsd.mh: Likewise.
1195 2001-01-19 Jason Merrill <jason@redhat.com>
1197 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
1198 (process_one_symbol): Likewise.
1199 * dwarfread.c (handle_producer): Likewise.
1201 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
1203 * configure.in (build_warnings): Disable -Wuninitialized until GDB
1204 compiles with -Wuninitialized,-Werror.
1205 * configure: Regenerate.
1207 * MAINTAINERS: Add list of buildable targets.
1209 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
1211 * defs.h (STRCMP): Delete macro.
1213 * objfiles.c (objfile_relocate): Replace STRCMP with call to
1215 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1216 * symfile.c (compare_symbols): Ditto.
1217 * standalone.c (open): Ditto.
1218 * remote-es.c (verify_break): Ditto.
1219 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1221 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1223 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
1225 * varobj.c (FREEIF): Delete macro.
1226 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1229 2001-01-18 Nick Clifton <nickc@redhat.com>
1231 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1232 (arc_print_insn): No bfd available, so pass NULL to
1233 arc_get_disassembler.
1235 2001-01-09 James Ingham <jingham@inghji.apple.com>
1237 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1238 a mangled symbol rather than recursing into lookup_symbol, since
1239 this will just re-unmangle the name & call lookup_symbol_aux -
1240 leading to an infinite recursion.
1242 2001-01-18 Mark Kettenis <kettenis@gnu.org>
1244 * infcmd.c (print_return_value): Restore another space lost by
1245 switch to UIOUT. ``$NN='' should be ``$NN =''.
1247 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1249 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1250 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1251 definition in parenthesis.
1253 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1255 From 2000-10-27 Mark Salter <msalter@redhat.com>:
1256 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1258 (remote_insert_hw_breakpoint): Ditto.
1260 2001-01-17 J.T. Conklin <jtc@redback.com>
1262 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
1263 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
1264 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1265 * m68knbsd-tdep.c: New file.
1267 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1269 * m68knbsd-nat.c: #include gdbcore.h.
1271 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1273 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1275 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1277 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1278 goes away -- just return false (ie. not stopped by watchpoint).
1279 * source.c (openp): Fix typo in comment.
1281 2001-01-12 Nicholas Duffek <nsd@redhat.com>
1283 * blockframe.c (generic_get_saved_register): Spelling fix.
1284 * frame.h (FRAME_FP): Spelling fix.
1286 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1288 * infcmd.c (print_return_value): Restore space lost by switch to
1289 UIOUT. ``$NN='' should be ``$NN =''.
1291 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1293 * regcache.c (set_register_cached, register_buffer,
1294 real_register, pseudo_register fetch_register, store_register):
1296 (register_changed, read_relative_register_raw_bytes_for_frame,
1297 registers_changed, registers_fetched, read_register_bytes,
1298 read_register_gen, write_register_gen, read_register,
1299 read_signed_register, write_register, supply_register): Replace
1300 register_valid[] with register_cached() and
1301 set_register_cached().
1302 (read_register_bytes, read_register_gen, write_register_gen,
1303 read_register, read_signed_register, write_register,
1304 supply_register): Replace registers[] with register_buffer().
1305 (read_register_bytes, read_register_gen, read_register,
1306 read_signed_register): Call fetch_register().
1307 (write_register_gen, write_register): Call real_register() and
1309 (write_register_bytes): Call store_register().
1310 * value.h (set_register_cached, register_buffer): Prototype.
1311 * remote.c (remote_fetch_registers): Allocate regs[] with a
1312 run-time size. Replace register_valid[] with
1313 set_register_cached().
1314 (store_register_using_P, remote_store_registers): Replace
1315 registers[] with register_buffer().
1317 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1319 * regcache.c: Change "write-back" comment to "write-through".
1320 Change "regno" to "regnum".
1321 (read_register, read_signed_register): Remove "raw" from return
1323 (supply_register): Spelling fix.
1324 * value.h: Change "regno" to "regnum".
1326 2001-01-08 Fernando Nasser <fnasser@redhat.com>
1328 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1331 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1333 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1335 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1337 * valops.c (VALUE_SUBSTRING_START): Delete.
1339 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1341 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1342 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1343 (cli_utils_h): New variable.
1344 (cli/cli-utils.o): New rule.
1345 * cli/cli-utils.c: New file.
1346 * cli/cli-utils.h: New file.
1348 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1350 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1351 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1353 2001-01-03 J.T. Conklin <jtc@redback.com>
1355 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1358 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1360 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1361 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1363 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1364 Update copyright notice.
1366 For older changes see ChangeLog-2000
1372 version-control: never