1 2002-04-07 Andrew Cagney <ac131313@redhat.com>
3 I believe Jeff Law denies responsability for this one:
4 * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
5 * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
6 * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
7 Work-around for PR gdb/366.
9 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
11 * remote-e7000.c (write_small, e7000_read_inferior_memory,
12 e7000_read_inferior_memory_large, e7000_insert_breakpoint,
13 e7000_remove_breakpoint): Use paddr_nz() to print addresses.
15 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
17 * sh-tdep.c (sh_fp_frame_init_saved_regs,
18 sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
21 2002-04-07 Andrew Cagney <ac131313@redhat.com>
23 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
26 2002-04-07 Andrew Cagney <ac131313@redhat.com>
28 * README (Reporting Bugs in GDB): Document the bug web page as the
29 prefered way of submitting bugs.
32 2002-04-06 Andrew Cagney <ac131313@redhat.com>
34 * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
36 * gdbarch.h, gdbarch.c: Re-generate.
38 2002-04-07 Andreas Schwab <schwab@suse.de>
40 * m68klinux-nat.c (fill_fpregset): Properly pass address of
41 buffer to regcache_collect.
43 2002-04-06 Andrew Cagney <ac131313@redhat.com>
45 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
46 * gdbarch.c, gdbarch.h: Re-generate.
48 2002-04-06 Andrew Cagney <ac131313@redhat.com>
50 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
51 declaration. Fix -Werror.
53 2002-04-05 Daniel Jacobowitz <drow@mvista.com>
55 * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
56 * gdbarch.c: Regenerate.
58 2002-04-05 Michael Snyder <msnyder@redhat.com>
60 * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
62 2002-04-05 H.J. Lu (hjl@gnu.org)
64 * solib-svr4.c (bkpt_names): Add "__start".
66 2002-04-04 Andrew Cagney <ac131313@redhat.com>
68 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
69 as test for 64 bit target.
71 2002-04-05 Andrew Cagney <ac131313@redhat.com>
73 * h8500-tdep.c (h8500_write_fp): Delete function.
74 * dwarf2cfi.c (cfi_write_fp): Document as not used.
75 * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
76 * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
77 * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
78 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
79 * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
81 * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
82 * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
83 * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
84 (d10v_write_fp): Delete function.
85 * inferior.h (write_fp, generic_target_write_fp): Delete
87 * regcache.c (generic_target_write_fp): Delete function.
88 (write_fp): Delete function.
89 * gdbarch.sh (TARGET_WRITE_FP): Delete.
90 * gdbarch.h, gdbarch.c: Regenerate.
91 * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
92 * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
93 (sparc64_write_fp): Delete declaration.
94 * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
95 (h8500_write_fp): Delete declaration.
97 2002-04-04 Andrew Cagney <ac131313@redhat.com>
99 * sparc-tdep.c (sparc64_write_fp): Delete.
100 (sparc_push_dummy_frame): Replace write_fp call with code to store
102 (sparc_gdbarch_init): Do not initialize write_fp.
104 2002-04-05 Kevin Buettner <kevinb@redhat.com>
106 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
109 2002-03-29 Jim Blandy <jimb@redhat.com>
111 * stack.c (get_selected_block): Add new argument `addr_in_block',
112 used to return the exact code address we used to select the block,
114 * blockframe.c (get_frame_block, get_current_block): Same.
115 * frame.h (get_frame_block, get_current_block,
116 get_selected_block): Update declarations.
117 * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
118 linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
120 2002-04-05 Michael Snyder <msnyder@redhat.com>
122 * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
125 2002-04-05 J. Brobecker <brobecker@gnat.com>
127 * utils.c (xfullpath): New function.
128 * defs.h (xfullpath): Add declaration.
129 * source.c (openp): Use xfullpath in place of gdb_realpath to
130 avoid resolving the basename part of filenames when the
131 associated file is a symbolic link. This fixes a potential
132 inconsistency between the filenames known to GDB and the
133 filenames it prints in the annotations.
134 * symtab.c (lookup_symtab): Use the new xfullpath function, in order
135 to be able to match a filename with either the real filename, or
136 the name of any symbolic link to this file.
137 (lookup_partial_symtab): Ditto.
139 2002-04-04 Michael Snyder <msnyder@redhat.com>
141 * breakpoint.c: Add support for hardware breakpoints in overlays.
142 (overlay_events_enabled): New state variable.
143 (insert_breakpoints): Use overlay_events_enabled to decide
144 whether to attempt to set a breakpoint at the overlay load addr.
145 Handle bp_hardware_breakpoint as well as bp_breakpoint.
146 (remove_breakpoint): Use overlay_events_enabled to decide
147 whether breakpoints need to be removed from overlay load addr.
148 Handle bp_hardware_breakpoint as well as bp_breakpoint.
149 (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
150 (create_overlay_event_breakpoint, enable_overlay_breakpoints,
151 disable_overlay_breakpoints): Update overlay_events_enabled.
153 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
155 * dwarf2read.c (struct function_range): New.
156 (cu_first_fn, cu_last_fn, cu_cached_fn): New.
157 (check_cu_functions): New.
158 (read_file_scope): Initialize global function lists.
159 Call dwarf_decode_line after processing children.
160 (read_func_scope): Add to global function list.
161 (dwarf_decode_lines): Call check_cu_functions everywhere
162 record_line is called. Call record_line with a linenumber
163 of 0 to mark sequence ends.
165 2002-04-04 Michal Ludvig <mludvig@suse.cz>
167 * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
168 change sync with glibc.
170 2002-04-03 Jim Blandy <jimb@redhat.com>
172 * configure.in: Call AC_C_INLINE.
173 * configure: Regenerated.
175 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
177 * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
178 and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
180 2002-03-31 Mark Kettenis <kettenis@gnu.org>
182 * NEWS: Mention gcore support on FreeBSD/i386.
184 * fbsd-proc.c: New file.
185 * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
186 * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
188 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
191 2002-03-29 Jim Blandy <jimb@redhat.com>
193 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
194 unescaped newlines in string literals, but newer ones don't. So
197 2002-03-26 Michael Snyder <msnyder@redhat.com>
198 Andrew Cagney <cagney@redhat.com>
200 * cli/cli-dump.c: New file. Dump memory to file,
201 restore file to memory.
202 * cli/cli-dump.h: New file.
203 * Makefile.in: Add rules, dependencies for cli-dump.o.
204 * NEWS: Mention new commands.
206 2002-03-28 Michael Snyder <msnyder@redhat.com>
208 * symfile.c (symbol_file_add): Move test for null symbols to later.
210 2002-03-27 Andrew Cagney <ac131313@redhat.com>
212 From veksler at il.ibm.com:
213 * utils.c (gdb_realpath): If canonicalize_file_name fails, return
214 the xstrduped original path.
217 2002-03-27 Michael Snyder <msnyder@redhat.com>
219 * breakpoint.c (_initialize_breakpoint): Clean up help string.
220 * infcmd.c (_initialize_infcmd): Ditto.
221 * language.c (_initialize_language): Ditto.
222 * symfile.c (_initialize_symfile): Ditto.
223 * top.c (_init_main): Ditto.
224 * cli/cli-cmds.c (init_cli_cmds): Ditto.
226 2002-03-27 Elena Zannoni <ezannoni@redhat.com>
228 * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
229 vector registers handling.
230 (skip_prologue): Handle new AltiVec instructions. Fill in new
231 fields of frame data.
232 (frame_get_saved_regs): Fill in information for AltiVec registers.
234 2002-03-27 Jim Blandy <jimb@redhat.com>
236 * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
237 a function; leave this macro here to invoke that function.
238 (symbol_init_mangled_name): Declaration for that function.
239 * symtab.c (symbol_init_mangled_name): New function.
241 2002-03-27 Andrew Cagney <ac131313@redhat.com>
243 * valarith.c: Replace strerror with safe_strerror.
244 * tracepoint.c: Ditto.
250 2002-03-27 Andreas Schwab <schwab@suse.de>
252 * event-top.c (command_line_handler): Remove useless if.
254 2002-03-27 Andreas Jaeger <aj@suse.de>
256 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
259 2002-03-27 Michal Ludvig <mludvig@suse.cz>
261 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
262 (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
263 * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
264 (x86_64_linux_dr_get_status, supply_gregset),
265 (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
266 * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
267 (x86_64_register_info_table): Add.
268 (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
269 (x86_64_register_raw_size, x86_64_register_virtual_type),
270 (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
271 general x86_64_register_info_table.
272 (i386_gdbarch_init): gdbarch_register_bytes is now set
273 dynamicaly during initialization.
274 * regformats/reg-x86-64.dat: Synced with changes to registers above.
275 * gdbserver/linux-x86-64-low.c: Ditto.
277 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
279 * gdbserver/server.c (main): Call target_signal_to_host_p
280 and target_signal_to_host on signals received from the remote.
281 * gdbserver/remote-utils.c (prepare_resume_reply): Call
282 target_signal_from_host on signals sent to the remote.
283 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
284 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
286 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
288 * signals/signals.c: Include "server.h" in gdbserver build.
289 (target_signal_from_name): Don't use STREQ.
290 (_initialize_signals): Likewise. Don't include function in
293 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
295 * signals.c: Moved to...
296 * signals/signals.c: Here.
297 * Makefile (signals.o): Update.
299 2002-03-26 Jeff Law (law@redhat.com)
301 * somread.c (som_symtab_read): Remove some commented out code and
302 updated related comments. Do not set the minimal symbol table to
303 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
304 in a dynamic executable.
305 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
306 where we are unable to find the minimal symbol for the given
309 2002-03-25 Jeff Law (law@redhat.com)
311 * linux-proc.c (read_mapping): Scan up to end of line for filename.
313 2002-03-25 Michal Ludvig <mludvig@suse.cz>
315 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
317 2002-03-23 Andrew Cagney <ac131313@redhat.com>
319 * command.h: Update copyright.
320 (struct cmd_list_element): Replace definition with opaque
322 (enum cmd_types): Document that it will eventually be moved to
324 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
325 (MALLOCED_REPLACEMENT): Delete macro.
326 * Makefile.in (cli_decode_h): Add $(command_h).
327 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
328 * top.c: Include "cli/cli-decode.h".
329 * completer.c: Include "cli/cli-decode.h".
330 * maint.c: Include "cli/cli-decode.h".
331 * cli/cli-decode.h: Include "command.h".
332 (enum command_class): Delete.
333 (enum cmd_types): Comment out.
334 (enum cmd_auto_boolean): Delete.
335 (enum var_types): Delete.
337 2002-03-23 Andrew Cagney <ac131313@redhat.com>
339 * cli/cli-decode.c: Include "gdb_assert.h".
340 (add_set_or_show_cmd): New static function.
341 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
342 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
343 all fields, such as func, from the set command.
345 2002-03-23 Andrew Cagney <ac131313@redhat.com>
347 * MAINTAINERS (sh-elf): Change warning flag to -w.
349 2002-03-23 Andrew Cagney <cagney@redhat.com>
351 * defs.h (error): Add printf format attribute.
352 * thread-db.c (thread_from_lwp): Fix error format string.
353 * stack.c (parse_frame_specification): Ditto.
354 * cli/cli-decode.c (undef_cmd_error): Ditto.
355 * scm-lang.c (scm_lookup_name): Ditto.
356 * tracepoint.c (trace_error): Ditto.
357 * remote-utils.c (usage): Ditto.
358 * remote.c (compare_sections_command): Ditto.
361 2002-03-22 Andrew Cagney <ac131313@redhat.com>
363 * gdbtypes.c (append_composite_type_field): New function.
364 (init_composite_type): New function.
365 * gdbtypes.h (append_composite_type_field): Declare.
366 (init_composite_type): Ditto.
368 2002-03-22 Elena Zannoni <ezannoni@redhat.com>
370 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
372 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
373 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
374 structure returning convention for SYSV ABI case, but not
375 for GNU/Linux, FreeBSD, or NetBSD.
377 2002-03-22 Daniel Jacobowitz <drow@mvista.com>
379 * symtab.h (lookup_block_symbol): Add mangled_name argument
382 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
383 with new mangled_name argument.
384 * linespec.c (decode_line_1): Likewise.
385 * valops (value_of_this): Likewise.
386 * symtab.c (lookup_transparent_type): Likewise.
387 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
388 (lookup_symbol): If we are given a mangled name, pass it down
389 to lookup_symbol_aux.
390 (lookup_block_symbol): If we are given a mangled name to check
391 against, only return symbols which match it.
393 2002-03-22 Christopher Faylor <cgf@redhat.com>
395 * win32-nat.c (child_create_inferior): Check for proper shell to use
396 here, in case the user changes it on the fly.
397 (_initialize_inftarg): Remove shell path considerations.
399 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
401 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
402 for gdbarch_max_register_raw_size and max_register_virtual_size.
403 Adjust copyright year.
405 2002-03-21 Daniel Jacobowitz <drow@mvista.com>
407 * dbxread.c (process_one_symbol): Extend the first N_SLINE
408 in a function to cover the entire beginning of the function
409 as well if it does not already.
411 2002-03-21 Tom Rix <trix@redhat.com>
413 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
414 (rs6000_ptrace64): Renamed from ptrace64.
416 2002-03-20 Martin M. Hunt <hunt@redhat.com>
418 * gdbserver/remote-utils.c (remote_open): Don't call
419 getprotobyname, we're all using TCP here so just use
421 * gdbserver/gdbreplay.c (remote_open): Ditto.
423 2002-03-20 Martin M. Hunt <hunt@redhat.com>
425 * regcache.c (_initialize_regcache): No need to call
426 build_regcache() at this time; it gets called whenever
429 2002-03-20 David O'Brien <obrien@FreeBSD.org>
431 * sparc-nat.c: Include sys/param.h where possible.
433 2002-03-20 Daniel Jacobowitz <drow@mvista.com>
436 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
437 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
438 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
440 * stabsread.c (rs6000_builtin_type): Likewise.
441 (read_sun_floating_type): Likewise.
443 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
445 * stabsread.c (read_member_functions): Remove skip code for duplicate
446 constructor/destructor methods. Use standard parsing for these
447 methods and just do not chain them to the list of methods after
450 2002-03-19 Alexandre Oliva <aoliva@redhat.com>
452 * coffread.c: Remove redundant static declarations. Replace
453 occurrences of `PTR' with `void *'.
454 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
455 * top.h (quit_cover): Likewise.
456 * defs.h (catch_errors): Likewise.
458 2002-03-18 Andrew Cagney <ac131313@redhat.com>
460 * defs.h (XMALLOC): Define.
461 * gdb-events.sh (XMALLOC): Delete macro.
462 * gdb-events.c, gdb-events.h: Regenerate.
463 * gdbarch.sh (XMALLOC): Delete macro.
464 * gdbarch.c: Regenerate.
465 * serial.c (XMALLOC): Delete macro.
466 * ui-file.c (XMALLOC): Ditto.
467 * ser-unix.h (XMALLOC): Ditto.
468 * sh-tdep.c (XMALLOC): Ditto.
469 * ui-out.c (XMALLOC): Ditto.
470 * utils.c (XMALLOC): Ditto.
471 * i386-tdep.c (XMALLOC): Ditto.
472 * gdb-events.c (XMALLOC): Ditto.
473 * d10v-tdep.c (XMALLOC): Ditto.
474 * cli-out.c (XMALLOC): Ditto.
476 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
477 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
478 * ui-file.c, ui-out.c: Ditto.
480 2002-03-18 Andrew Cagney <ac131313@redhat.com>
482 * command.h (struct cmd_list_element): Add field context.
483 (set_cmd_context, get_cmd_context): Declare.
484 * cli/cli-decode.h: Ditto.
485 * cli/cli-decode.c (get_cmd_context): New function.
486 (set_cmd_context): New function.
487 (add_cmd): Initialize context.
488 Part of fixing PR gdb/145 and PR gdb/146.
490 2002-03-17 Andrew Cagney <ac131313@redhat.com>
492 * cli/cli-decode.c (cmd_type): New function.
493 * command.h (cmd_type): Declare.
494 * infrun.c (set_schedlock_func): Call function cmd_type.
495 * kod.c (kod_set_os): Call cmd_type.
496 * cris-tdep.c (cris_version_update): Use function cmd_type.
497 (cris_mode_update, cris_abi_update): Ditto.
499 * command.h: (execute_cmd_post_hook): Declare.
500 (execute_cmd_pre_hook): Declare.
501 * cli/cli-script.c (clear_hook_in_cleanup): New function.
502 (execute_cmd_post_hook, execute_cmd_pre_hook): New
503 functions. Execute pre/post hook while ensuring that afterwords
505 * top.c (execute_command): Use execute_cmd_post_hook, and
506 execute_cmd_pre_hook to execute pre/post commands.
507 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
509 (hook_stop_stub): Call execute_cmd_pre_hook.
511 2002-03-17 Andrew Cagney <ac131313@redhat.com>
513 * kod.c (kod_set_os): Revert previous change. Is called by ``info
514 set'' and this leads to a core dump. Move xstrdup of
515 operating_system to after check that it is not NULL.
517 2002-03-17 Andrew Cagney <ac131313@redhat.com>
519 * kod.c (kod_set_os): Remove unnecessary check that
520 ``command->type'' is set_cmd.
522 * valprint.c (set_input_radix): Use input_radix.
523 (set_output_radix): Use output_radix.
524 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
527 2002-03-16 Andrew Cagney <ac131313@redhat.com>
529 * value.h (struct value): Delete field ``substring_addr''. Change
530 aligner fields to force_doublest_align, force_longest_align,
531 force_core_addr_align and force_pointer_aligh.
533 * value.h (struct value): Fix typo in above change.
535 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
537 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
538 to fix internal_error from ``maintenance print architecture''.
540 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
542 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
543 for gcc versions after gcc-2.8.1.
545 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
547 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
548 for method resolution. Restore adjustment of ``this'' pointer after
549 calling value_struct_elt, which was accidentally removed during the
552 2002-03-15 Andrew Cagney <ac131313@redhat.com>
554 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
556 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
558 * value.h (value_of_register): Update.
560 2002-03-14 Richard Henderson <rth@redhat.com>
562 * configure.in: Detect declaration for canonicalize_file_name.
563 * utils.c (canonicalize_file_name): Declare, if needed.
564 (gdb_realpath): Prefer realpath if available and usable.
565 * config.in, configure: Rebuild.
567 2002-03-14 Richard Henderson <rth@redhat.com>
569 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
570 a constant array bound.
572 * MAINTAINERS: Add myself to write-after-approval.
574 2002-03-14 Michael Snyder <msnyder@redhat.com>
576 * symfile.c (syms_from_objfile): Return immediately if no syms.
577 (symbol_file_add): Return immediately if no syms.
578 (find_sym_fns): Return immediately if no syms.
580 2002-03-13 Michal Ludvig <mludvig@suse.cz>
582 * gdbserver/remote-util.c (remote_open): Print remote-side's
583 IP address when remote debugging over the network.
585 2002-03-12 David O'Brien <obrien@FreeBSD.org>
587 * config/sparc/fbsd.mh: Fix copyright.
588 * config/sparc/fbsd.mt: Likewise.
590 2002-03-11 Richard Earnshaw <rearnsha@arm.com>
592 * MAINTAINERS: Fix typo in name of gdb warnings option.
593 (x86-64): Fix formating so that this can be parsed by awk.
595 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
597 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
598 * defs.h: Include "gdb/signals.h".
599 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
601 2002-03-10 Michal Ludvig <mludvig@suse.cz>
603 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
604 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
607 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
608 Don Howard <dhoward@redhat.com>
610 * mips-tdep.c (ST0_FR): Define.
611 (mips2_fp_compat): New function, temporarily disabled.
612 (mips_read_fp_register_single): New function.
613 (mips_read_fp_register_double): New function.
614 (mips_print_register): Use them.
615 (do_fp_register_row): Likewise.
617 2002-03-09 Andrew Cagney <ac131313@redhat.com>
619 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
622 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
624 * stabsread.c (read_member_functions): Fix is_stub test for
625 static member functions, improve comment.
627 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
629 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
630 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
631 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
632 commands that set boolean values.
633 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
634 (arm_rdi_resume): Always initialize PC.
635 (arm_rdi_open): Don't use rslt as a boolean.
636 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
637 (arm_rdi_fetch_registers, arm_rdi_store_registers)
638 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
639 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
641 2002-03-06 Alexandre Oliva <aoliva@redhat.com>
643 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
644 * configure: Rebuilt.
646 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
648 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
649 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
651 2002-03-06 Andrew Cagney <ac131313@redhat.com>
653 * cli/cli-decode.c (set_cmd_completer): New function.
654 * command.h (set_cmd_completer): Declare.
655 * cli/cli-decode.h (set_cmd_completer): Ditto.
657 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
658 * cli/cli-cmds.c (init_cli_cmds): Ditto.
659 * win32-nat.c (_initialize_inftarg): Ditto.
660 * remote-rdi.c (_initialize_remote_rdi): Ditto.
661 * proc-api.c (_initialize_proc_api): Ditto.
662 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
663 * source.c (_initialize_source): Ditto.
664 * exec.c (_initialize_exec): Ditto.
665 * solib.c (_initialize_solib): Ditto.
666 * top.c (init_main): Ditto.
667 * tracepoint.c (_initialize_tracepoint): Ditto.
668 * symfile.c (_initialize_symfile): Ditto.
669 * printcmd.c (_initialize_printcmd): Ditto.
670 * infcmd.c (_initialize_infcmd): Ditto.
671 * corefile.c (_initialize_core): Ditto.
673 2002-03-05 Andrew Cagney <ac131313@redhat.com>
675 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
677 2002-03-05 Andrew Cagney <ac131313@redhat.com>
679 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
681 2002-03-05 Andrew Cagney <ac131313@redhat.com>
683 * NEWS: Update headings, 5.2 has branched.
685 2002-03-04 Daniel Jacobowitz <drow@mvista.com>
687 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
688 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
689 (register_addr, REGISTER_RAW_SIZE): Likewise.
690 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
691 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
693 2002-03-03 Michal Ludvig <mludvig@suse.cz>
695 * MAINTAINERS (x86-64): Add myself.
696 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
697 changed value_ptr -> struct value *
699 2002-03-01 David O'Brien <obrien@FreeBSD.org>
701 * configure.host (sparc64-*-freebsd): Add.
702 * configure.tgt: Likewise.
703 * config/sparc/fbsd.mh: New file.
704 * config/sparc/fbsd.mt: Likewise.
705 * config/sparc/nm-fbsd.h: Likewise.
706 * config/sparc/tm-fbsd.h: Likewise.
708 2002-03-01 Daniel Jacobowitz <drow@mvista.com>
710 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
711 regformats/reg-s390x.dat.
713 2002-03-01 Andrew Cagney <ac131313@redhat.com>
715 * utils.c: Add FIXME explaining true/false problem.
717 2002-02-28 Andrew Cagney <ac131313@redhat.com>
719 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
721 2002-02-28 Michael Chastain <mec@shout.net>
723 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
725 2002-02-28 Daniel Jacobowitz <drow@mvista.com>
727 * gdbserver/linux-s390-low.c: New file.
728 * regformats/reg-s390.dat: New file.
729 * regformats/reg-s390x.dat: New file.
730 * gdbserver/configure.srv: Add S/390.
731 * gdbserver/Makefile.in: Add S/390.
732 * configure.tgt: Enable gdbserver for S/390.
734 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
736 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
737 first line of the doc string for "info dos", except at the end of
738 the sentence, since the short help stops at the first period.
740 2002-02-28 Jason Merrill <jason@redhat.com>
742 * dwarf2read.c (dwarf_cfi_name): Add new codes.
744 2002-02-27 Fred Fish <fnf@redhat.com>
746 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
747 comment (dumy -> dummy).
749 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
751 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
753 2002-02-27 Rodney Brown <rbrown64@csc.com.au>
755 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
757 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
759 * gdbserver/acconfig.h: New file.
760 * gdbserver/i387-fp.c: New file.
761 * gdbserver/i387-fp.h: New file.
762 * gdbserver/linux-x86-64.c: New file.
763 * regformats/reg-x86-64.dat: New file.
764 * configure.tgt: Add x86_64-*-linux* gdbserver support.
765 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
766 * gdbserver/configure.in: Add support for regsets.
767 * gdbserver/config.in: Regenerate.
768 * gdbserver/configure: Regenerate.
769 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
770 * gdbserver/linux-low.h: New file.
771 * gdbserver/linux-low.c: Include "linux-low.h". Add support
773 * gdbserver/linux-arm-low.c: Include "linux-low.h".
774 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
775 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
776 * gdbserver/linux-mips-low.c: Include "linux-low.h".
777 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
778 * gdbserver/linux-sh-low.c: Include "linux-low.h".
779 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
780 "i387-fp.h". Add PTRACE_GETREGS and friends.
781 * gdbserver/regcache.c (supply_register): New function.
782 (supply_register_by_name): New function.
783 (collect_register): New function.
784 (collect_register_by_name): New function.
786 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
788 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
789 (config.status): Add configure.srv dependency.
790 (server_h): Add config.h dependency.
792 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
794 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
795 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
796 * gdbserver/configure.srv: Change i386-*-linux* to use
799 2002-02-26 Andrew Cagney <ac131313@redhat.com>
801 * x86-64-tdep.c: Re-indent. Update copyright date.
803 2002-02-26 Andrew Cagney <ac131313@redhat.com>
805 From Michal Ludvig <mludvig@suse.cz>:
806 * x86-64-tdep.c (value.h): Delete.
807 (gdb_assert.h): Include.
808 (x86_64_register_convert_to_virtual,
809 x86_64_register_convert_to_raw ): Add check which lets only
810 floating-point values to be converted.
811 (value_push): Delete.
812 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
813 (i386_gdbarch_init): Number of register_bytes fixed.
815 2002-02-26 Andrew Cagney <ac131313@redhat.com>
817 * MAINTAINERS: Add x86-64 target.
819 2002-02-26 Andrew Cagney <ac131313@redhat.com>
821 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
822 * osfsolib.c (solib_map_sections): Ditto.
823 * irix5-nat.c (solib_map_sections): Ditto.
824 * corelow.c (gdb_check_format): Ditto.
825 * symfile.c (symfile_bfd_open): Ditto.
826 * solib.c (solib_map_sections): Ditto.
829 2002-02-26 Andrew Cagney <ac131313@redhat.com>
831 * remote.c (_initialize_remote): By default, disable ``e'' and
832 ``E'' step out-of-range packets.
834 2002-02-26 Andreas Schwab <schwab@suse.de>
836 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
837 m68k_linux_frame_saved_pc.
838 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
840 (SIGCONTEXT_PC_OFFSET): Remove.
841 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
842 m68k_linux_sigtramp_saved_pc): New functions.
843 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
844 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
845 (UCONTEXT_PC_OFFSET): Define.
846 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
847 non-RT and RT signal trampolines.
849 2002-02-26 Richard Earnshaw <rearnsha@arm.com>
851 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
852 (TARGET_NBPG, STACK_END_ADDR): Delete
853 (VARIABLES_INSIDE_BLOCK): Delete.
855 2002-02-25 Andrew Cagney <ac131313@redhat.com>
857 * utils.c (perror_with_name): Make string parameter constant.
858 (print_sys_errmsg): Ditto.
860 * defs.h (perror_with_name): Update.
861 (print_sys_errmsg): Update.
864 2002-02-25 Daniel Jacobowitz <drow@mvista.com>
866 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
867 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
869 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
871 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
872 if it already matches the current architecture from the exec file.
873 Include arch-utils.h for gdbarch_info_init prototype.
874 * Makefile.in (rs6000-nat.o): Update dependencies.
876 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
878 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
879 list of exported variables.
881 2002-02-24 Daniel Jacobowitz <drow@mvista.com>
883 * gdbserver/configure.srv: New file.
884 * gdbserver/configure.in: Use configure.srv instead
885 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
887 * gdbserver/configure: Regenerated.
888 * gdbserver/terminal.h: New file.
889 * gdbserver/Makefile.in: Update for configure changes. Remove
890 more unneeded include paths.
892 2002-02-24 Andrew Cagney <ac131313@redhat.com>
895 * config/sparc/tm-sp64.h: Fix grammar and typos.
898 2002-02-24 Andrew Cagney <ac131313@redhat.com>
900 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
901 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
902 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
903 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
904 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
905 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
906 * s390-tdep.c: Ditto.
907 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
908 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
909 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
910 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
911 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
912 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
913 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
914 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
915 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
916 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
919 2002-02-23 Andrew Cagney <ac131313@redhat.com>
921 * lin-thread.c: Delete file.
922 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
923 to gdb_proc_service.h.
924 * configure: Re-generate.
926 * ocd.c (ocd_open): Do not try to open the "ocd" device.
927 * serial.c (serial_open): Delete check for "ocd".
930 * Makefile.in (linux-thread.o): Delete target.
931 * linux-thread.c: Delete file.
933 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
934 renamed SH files to be consistent.
936 * symtab.c (sort_search_symbols): Use xfree.
938 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
940 * arm-linux-tdep.c (arm_linux_init_abi): Register
941 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
942 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
943 definition with undef, since we don't want the sysvr4 definition.
944 (SKIP_TRAMPOLINE_CODE): Likewise.
946 2002-02-23 Andrew Cagney <ac131313@redhat.com>
948 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
950 * configure.in: (AC_CHECK_FUNCS) Added test for
951 canonicalize_file_name Regenerated.
952 * config.in, configure: Regenerated.
953 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
954 defined use canonicalize_file_name.
956 2002-02-23 Michael Chastain <mec@shout.net>
958 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
960 2002-02-23 Andrew Cagney <ac131313@redhat.com>
962 * README: Remove references to cygnus.com.
963 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
964 dot com'' form. Remove references to cygnus.com and sourceware.
966 2002-02-23 Andrew Cagney <ac131313@redhat.com>
968 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
969 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
970 1003.1-2001 no longer allows "head -1".
971 * gdb/Makefile.in (version.c): Likewise.
972 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
973 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
974 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
976 2002-02-23 Andrew Cagney <ac131313@redhat.com>
978 * cli/cli-decode.c (cmd_cfunc_eq): New function.
979 * command.h (cmd_cfunc_eq): Declare.
980 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
982 * cli/cli-cmds.h (is_complete_command): Change parameter to a
983 ``struct cmd_list_element *''.
984 * cli/cli-cmds.c (is_complete_command): Update. Use
986 * top.c (execute_command): Pass the command to
988 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
990 2002-02-23 Andrew Cagney <ac131313@redhat.com>
992 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
993 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
994 architecture defines.
995 * s390-tdep.c (s390_gdbarch_init): Likewise.
997 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
999 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
1000 (arm_linux_push_arguments): Likewise.
1001 (arm_linux_init_abi): Register them. Also register linux-specific
1003 (find_minsym_and_objfile): Use strcmp, not STREQ.
1004 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
1005 (arm_linux_call_dummy_words): Delete declaration.
1006 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
1007 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
1009 (LOWEST_PC): Delete.
1011 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1013 * maint.c (print_section_info): Do not prepend `0x' to filepos
1014 output, it will be handled by local_hex_string_custom.
1016 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
1018 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
1019 (store_newfpe_double, store_newfpe_extended, store_fpregister)
1020 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
1022 2002-02-22 Jim Blandy <jimb@redhat.com>
1024 Indicate that the bcache functions don't change the strings
1026 * bcache.h (bcache, hash): Add `const' keywords to declarations.
1027 * bcache.c (bcache, hash): Add `const' keywords to definitions.
1029 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
1031 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
1033 2002-02-21 Christopher Faylor <cgf@redhat.com>
1035 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
1036 find the complete path to a loaded DLL.
1038 2002-02-21 Fred Fish <fnf@redhat.com>
1040 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
1041 that marks the end of the range of a function, enter a line number
1042 entry that has a line number of zero and a PC offset that matches
1043 the end of the function. This starts a range of PC's for which no
1044 line number information is known.
1045 * symtab.c (find_pc_sect_line): If our best fit is in a range of
1046 PC's for which no line number info is found (line number is zero)
1047 then we didn't find any valid line information.
1048 * symtab.h: Document use of zero line number entry.
1050 2002-02-21 Elena Zannoni <ezannoni@redhat.com>
1052 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
1053 (have_ptrace_getvrregs): Define for run time checks.
1054 (gdb_vrregset_t): New type for Altivec register handling.
1055 (fetch_register, store_register): Fetch/store altivec register
1057 (fetch_altivec_register, store_altivec_register): New functions.
1058 (supply_vrregset, fill_vrregset): New functions.
1059 (fetch_altivec_registers, store_altivec_registers): New functions.
1060 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
1063 2002-02-21 Jiri Smid <smid@suse.cz>
1065 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
1067 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
1069 * Makefile.in (armnbsd-nat.o): Update dependencies.
1070 * armnbsd-nat.c (supply_gregset): New function. Common code to
1071 supply the integer register set.
1072 (supply_fparegset): New function. Similar for FPA registers.
1073 (fetch_regs, fetch_fp_regs): Use them.
1074 (fetch_core_registers): Likewise.
1075 (fetch_elfcore_registers): New function.
1076 (arm_netbsd_elfcore_fns): New core-file type specification.
1077 (_initialize_arm_netbsd_nat): Register it.
1079 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
1081 * armnbsd-nat.c: Include gdbcore.h.
1082 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
1083 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
1084 'void' to declaration, to shut up ARI.
1085 (fetch_core_registers): Make static. Rewrite using supply_register.
1086 (arm_netbsd_core_fns): New core-file type specification.
1087 (_initialize_arm_netbsd_nat): New function.
1089 2002-02-21 Christopher Faylor <cgf@redhat.com>
1091 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
1094 2002-02-20 Christopher Faylor <cgf@redhat.com>
1096 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
1099 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1101 * jv-exp.y (parse_number): Change type of implicit longs
1102 to builtin_type_uint64.
1104 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1106 * gdbserver/linux-low.c (mywait): Change argument to waitpid
1107 to be an integer instead of a `union wait'.
1109 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1111 * mips-linux-nat.c: Call the operating system GNU/Linux.
1112 * mips-linux-tdep.c: Likewise.
1113 * mips-tdep.c: Likewise.
1115 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1118 * jv-exp.y (parse_number): Handle 64-bit integers.
1120 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1122 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
1123 AC_STDC_HEADERS to AC_HEADER_STDC.
1124 * gdbserver/configure: Regenerated.
1126 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
1128 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
1130 * sparc-tdep.c (get_longjmp_target): Likewise.
1132 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
1134 * News: Add news about ARM and Multi-arch. Mention the new target
1137 2002-02-19 Jim Blandy <jimb@redhat.com>
1139 * stabsread.c (error_type_complaint): Improve error message.
1141 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
1143 * gdbserver/README: Update documentation.
1144 * gdbserver/configure.in: Update configury to match documentation.
1145 * gdbserver/Makefile.in: Likewise.
1146 * gdbserver/configure: Regenerated.
1147 * gdbserver/aclocal.m4: New file, generated by aclocal.
1148 * gdbserver/config.in: New file, generated by autoheader.
1150 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1152 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
1155 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1157 * arm-tdep.h (enum arm_float_model): New enum.
1158 (struct gdbarch_tdep): Add fp_model.
1159 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
1160 up floating-point conversions until we know the floating-point model
1161 in use by the inferior. Don't complain about being unable to
1162 determine the ABI of the inferior when we don't have one.
1163 (arm_extract_return_value): Support different floating-point models.
1164 (arm_store_return_value): Likewise.
1165 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
1167 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
1169 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1171 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
1172 of ``current_gdbarch''.
1174 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1176 * armnbsd-nat.c : ANSIfy all function declarations.
1177 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
1178 (fetch_inferior_registers): Re-implement in terms of above.
1179 (store_register, store_regs, store_fp_register, store_fp_regs): New.
1180 (store_inferior_registers): Re-implement in terms of above.
1182 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1184 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
1186 * arm-linux-tdep.c: Likewise.
1187 * config/arm/tm-linux.h: Likewise.
1189 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1191 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
1192 * config/arm/nbsd.mt (TM_FILE): Delete.
1193 * config/arm/tm-nbsd.h: Delete.
1195 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1197 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
1198 Initialize CALL_DUMMY_LENGTH.
1200 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1202 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
1204 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
1205 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
1206 defines one thing and that is incorrect for this port.
1207 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
1209 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1211 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
1213 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1215 * win32-nat.c (display_selector): New function. Displays information
1216 about the information returned by GetThreadSelectorEntry API function.
1217 (display_selectors): New function. Displays the infomation of
1218 the selector given as argument, or of CS, DS ans FS selectors
1219 if no argument is given.
1220 ( _initialize_inftarg): Add "w32" as info prefix command.
1221 Add "info w32 selector" as command calling display_selectors.
1223 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
1225 * i386-tdep.c (get_longjmp_target): Fix compilation failure
1226 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
1229 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1231 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
1233 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1235 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
1236 (arm_fix_call_dummy): Call it.
1237 (arm_call_dummy_breakpoint_offset): Delete.
1238 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
1239 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
1241 2002-02-18 Andrew Cagney <ac131313@redhat.com>
1243 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
1244 Default to func_frame_chain_valid.
1245 * gdbarch.h, gdbarch.c: Re-generate.
1246 * frame.h (FRAME_CHAIN_VALID): Delete definition.
1248 2002-02-18 Elena Zannoni <ezannoni@redhat.com>
1250 * ppc-linux-nat.c: Update copyright.
1251 (fetch_register, store_register): Add tid parameter, don't compute
1253 (fetch_ppc_registers, store_ppc_registers): Add tid
1254 parameter. Pass it along to callees.
1255 (fetch_inferior_registers, store_inferior_registers): Compute tid
1256 here, and pass it to calleed functions.
1257 (fill_gregset, supply_fpregset): Clean up formatting.
1259 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1261 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
1262 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
1264 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1266 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
1267 * gdbarch.c gdbarch.h: Regenerate.
1268 * breakpoint.c (create_longjmp_breakpoint): Always compile this
1270 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
1271 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
1272 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
1274 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
1275 * arm-tdep.c (arm_get_longjmp_target): New function.
1276 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
1277 this to a positive value register arm_get_longjmp_target as the
1279 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
1280 (arm_linux_init_abi): Set up longjmp description in tdep.
1281 * armnbsd-nat.c (get_longjmp_target): Delete.
1282 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
1283 description in tdep.
1284 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
1285 (get_longjmp_target): Delete declaration.
1286 (GET_LONGJMP_TARGET): Delete.
1287 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
1288 (GET_LONGJMP_TARGET): Delete.
1290 2002-02-17 Kevin Buettner <kevinb@redhat.com>
1292 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1293 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
1294 of ``current_gdbarch''.
1296 2002-02-17 Tom Tromey <tromey@redhat.com>
1298 * cli/cli-cmds.c (compare_strings): New function.
1299 (complete_command): Only print each unique item once.
1300 * completer.h (complete_line): Declare.
1301 * completer.c (complete_line): New function.
1302 (line_completion_function): Use it.
1304 2002-02-16 Andrew Cagney <ac131313@redhat.com>
1306 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
1307 * gdbarch.h, gdbarch.c: Re-generate.
1309 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
1311 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
1313 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
1315 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1316 * valops.c (value_arg_coerce): Don't take the address of a reference
1317 to convert an argument to a reference.
1319 2002-02-15 Christopher Faylor <cgf@redhat.com>
1321 * win32-nat.c (get_image_name): New function.
1322 (handle_load_dll): Use get_image_name function.
1323 (get_child_debug_event): Avoid registering debug events until possibly
1324 execed process is started.
1325 (child_create_inferior): Allow invocation via shell so that command
1326 line redirection, etc. works ok.
1327 (_initialize_inftarg): Add new command: "set shell" to control whether
1328 a shell is used to start a process.
1330 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
1332 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
1333 instead of find_register_by_number.
1334 (cannot_store_register): Likewise.
1336 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
1338 * dwarf2read.c: Replace fprintf (stderr, ...) by
1339 fprintf_unfiltered (gdb_stderr, ...).
1341 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
1343 * gdbserver/gdbserver.1: Document --attach.
1345 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
1347 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
1349 * arm-tdep.c (arm_default_arm_le_breakpoint)
1350 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
1351 (arm_default_thumb_be_breakpoint): New. Initialize them from
1352 traditional breakpoint defines.
1353 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
1354 (arm_gdbarch_init): Initialize new breakpoint variables.
1355 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
1356 (arm_linux_init_abi): Initialize linux-specific breakpoint.
1357 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
1358 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
1360 (arm_netbsd_init_abi_common): ... here; new function.
1361 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
1362 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
1363 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
1364 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
1366 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
1368 * arm-tdep.h (enum arm_abi): New enum.
1369 (struct gdbarch_tdep): New structure.
1370 (LOWEST_PC): Provide a default.
1371 (arm_gdbarch_register_os_abi): Declare new function.
1372 * arm-tdep.c (arm_abi_names): New array.
1373 (process_note_abi_tag_sections): New function.
1374 (get_elfosabi): New function.
1375 (arm_gdbarch_register_os_abi): New function.
1376 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
1377 support for that ABI has been built in, then call the appropriate
1378 configuration routine. Use gdbarch_num_regs() to get the number
1380 (arm_dump_tdep): New function.
1381 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
1382 place-holder functions.
1383 (_initialize_arm_tdep): Register them.
1384 * config/arm/tm-arm.h (LOWEST_PC): Delete.
1386 * armnbsd-tdep.c: New file.
1387 * Makefile.in (armnbsd-tdep.o): Add dependencies.
1388 * config/arm/nbsd.mt (TDEPFILES): Add it.
1389 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
1391 * armnbsd-nat.c: Include regcache.h.
1392 * Makefile.in (armnbsd-nat.o): Update dependency list.
1394 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
1396 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1398 * gdbserver/Makefile.in: Fix typos in target rules.
1400 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1402 Fix part of PR gdb/267.
1403 * linespec.c (find_methods): Handle constructors specially for now.
1405 2002-02-14 Corinna Vinschen <vinschen@redhat.com>
1407 * arm-tdep.c (arm_push_arguments): Eliminate special float type
1409 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
1410 standard_coerce_float_to_double().
1412 2002-02-14 Christopher Faylor <cgf@redhat.com>
1414 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
1417 2002-02-14 Elena Zannoni <ezannoni@redhat.com>
1419 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
1420 find_variant_by_name, because it confuses the multiarch
1421 framework. Return NULL if there isn't an architecture with the
1422 user supplied name, instead of forcing a different one without
1423 recording the change with the multiarch machinery.
1424 (find_variant_by_name): Delete.
1426 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1428 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
1429 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
1431 2002-02-13 Martin M. Hunt <hunt@redhat.com>
1433 * stack.c (print_frame_info_base): When calling
1434 print_frame_info_listing_hook, set current_source_symtab.
1436 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1438 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
1439 and remove unused $(INCLUDE_DIR).
1440 Add regcache.c to OBS.
1441 Add generated register protocol files to clean target.
1442 Update dependencies for new objects, obsolete old target code.
1444 * gdbserver/linux-low.c: Remove all platform-specific code to
1445 new files. Remove various dead code. Update to use regcache
1447 * gdbserver/remote-utils.c (fromhex): Add return statement
1449 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
1451 (input_interrupt): Add integer parameter to match prototype
1452 of a signal handler.
1453 (outreg): Use register_data ().
1454 (prepare_resume_reply): Use gdbserver_expedite_regs.
1455 * gdbserver/server.c (main): Dynamically allocate own_buf because
1456 PBUFSIZ is no longer constant. Use registers_to_string () and
1457 registers_from_string ().
1458 * gdbserver/server.h: No longer include "defs.h". Add prototypes
1459 for error (), fatal (), and warning (). Update definition of
1460 PBUFSIZ to use regcache functionality. Add include guard.
1461 * gdbserver/utils.c (fatal): Add missing ``const''.
1462 (warning): New function.
1464 * regformats/regdat.sh: Include "regcache.h" in generated files.
1465 Provide init_registers () function.
1466 * regformats/regdef.h: Add prototype for set_register_cache ().
1469 * gdbserver/linux-arm-low.c: New file.
1470 * gdbserver/linux-i386-low.c: New file.
1471 * gdbserver/linux-ia64-low.c: New file.
1472 * gdbserver/linux-m68k-low.c: New file.
1473 * gdbserver/linux-mips-low.c: New file.
1474 * gdbserver/linux-ppc-low.c: New file.
1475 * gdbserver/linux-sh-low.c: New file.
1477 * gdbserver/regcache.c: New file.
1478 * gdbserver/regcache.h: New file.
1480 * gdbserver/low-linux.c: Removed obsolete file.
1482 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1484 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
1485 * config/i386/linux.mt: Likewise.
1486 * config/ia64/linux.mt: Likewise.
1487 * config/m68k/linux.mh: Likewise.
1488 * config/powerpc/linux.mh: Likewise.
1489 * config/mips/linux.mt: Likewise.
1491 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
1493 * config/i386/i386lynx.mh: Mark gdbserver variables
1494 as (currently) obsolete for this target.
1495 * config/i386/nbsd.mt: Likewise.
1496 * config/i386/nbsdelf.mt: Likewise.
1497 * config/m32r/m32r.mt: Likewise.
1498 * config/m68k/m68klynx.mh: Likewise.
1499 * config/m68k/nbsd.mt: Likewise.
1500 * config/m68k/sun3os4.mh: Likewise.
1501 * config/mips/vr5000.mt: Likewise.
1502 * config/ns32k/nbsd.mt: Likewise.
1503 * config/pa/hppabsd.mh: Likewise.
1504 * config/pa/hppaosf.mh: Likewise.
1505 * config/powerpc/nbsd.mt: Likewise.
1506 * config/rs6000/rs6000lynx.mh: Likewise.
1507 * config/s390/s390.mt: Likewise.
1508 * config/s390/s390x.mt: Likewise.
1509 * config/sparc/sparclynx.mh: Likewise.
1510 * config/sparc/sun4os4.mh: Likewise.
1511 * config/i386/x86-64linux.mt: Likewise.
1512 * config/sparc/linux.mh: Likewise.
1514 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1516 * configure.tgt: Configure gdbserver only for known working
1517 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
1518 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
1519 SUBDIRS if it is configured. Update comment for ${nativefile}.
1520 * configure: Regenerated.
1522 2002-02-13 Michael Snyder <msnyder@redhat.com>
1524 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
1525 (default_gcore_mach): Just return 0, work around a problem in bfd.
1526 (default_gcore_target): OK to return NULL if exec_bfd is null.
1527 (make_mem_sec): Use a cast, avoid a warning.
1529 * procfs.c (find_memory_regions_callback): Use a cast instead of
1530 calling host_pointer_to_address (which complains if
1531 sizeof (host pointer) != sizeof (target pointer)).
1532 (procfs_make_note_section): Avoid overflow in psargs string.
1534 * procfs.c (procfs_make_note_section): Make the default
1535 implementation return an error.
1537 2002-02-13 Rodney Brown <rbrown64@csc.com.au>
1539 * procfs.c (procfs_make_note_section): Provide a default definition
1540 (for alpha-dec-osf4.0f). Fix typos.
1542 2002-02-13 Elena Zannoni <ezannoni@redhat.com>
1544 * linux-proc.c: Add include of regcache.h.
1545 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
1547 2002-02-13 Andrew Cagney <ac131313@redhat.com>
1549 From 2002-01-18 Greg McGary <greg@mcgary.org>:
1550 * memattr.c (create_mem_region): Disallow useless empty region.
1551 Regions are half-open intervals, so allow [A..B) [B..C) as
1554 2002-02-13 Michael Chastain <mec@shout.net>
1556 * defs.h: Kill CONST_PTR.
1557 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
1558 * c-lang.c (c_builtin_types): Likewise.
1559 * ch-lang.c (ch_builtin_types): Likewise.
1560 * f-lang.c (f_builtin_types): Likewise.
1561 * language.c (unknown_builtin_types): Likewise.
1562 * m2-lang.c (m2_builtin_types): Likewise.
1563 * p-lang.c (pascal_builtin_types): Likewise.
1564 * scm-lang.c (c_builtin_types): Likewise.
1566 2002-02-13 Keith Seitz <keiths@redhat.com>
1568 * arm-tdep.h (arm_get_next_pc): Add declaration.
1570 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1572 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
1573 with other related struct-returning functions.
1574 (arm_extract_struct_value_address): New function.
1575 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
1576 initialize float_format, double_format and long_double_format as
1577 appropriate to the endianness of the target.
1578 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
1579 (arm_use_struct_convention): Delete declaration.
1580 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1582 2002-02-13 Keith Seitz <keiths@redhat.com>
1584 * defs.h (core_addr_to_string_nz): New function.
1586 2002-02-13 Mark Kettenis <kettenis@gnu.org>
1588 Apply missing bits of 2002-01-15 patch.
1589 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
1590 (fill_fpregset): Use i387_fill_fsave.
1592 2002-02-12 Keith Seitz <keiths@redhat.com>
1594 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
1595 (core_addr_to_string_nz): New function.
1597 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
1599 * arm-linux-nat.c: Really include arm-tdep.h.
1600 * config/arm/tm-linux.h (struct type, struct value): Declare.
1602 2002-02-11 Michael Snyder <msnyder@redhat.com>
1604 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
1605 (gcore section): Ifdef for Solaris and Unixware only.
1606 (procfs_do_thread_registers): Unixware needs one lwpstatus
1607 per thread (not one prstatus or pstatus).
1608 (procfs_make_note_section): Iterate only over kernel threads (lwps),
1609 not over all gdb threads. For unixware, call elfcore_write_pstatus
1610 once before iterating over threads.
1612 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
1614 * arm-tdep.h: New file.
1615 * arm-tdep.c: Include arm-tdep.h.
1616 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1617 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1618 (arm_print_float_info, arm_register_type, convert_to_extended)
1619 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1620 (arm_extract_return_value, arm_register_name): Make static.
1621 (arm_software_single_step): Similarly. Fix types in declaration.
1622 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
1623 (arm_store_return_value, arm_store_struct_return): New functions.
1624 (arm_gdbarch_init): Register the above functions. Also register
1625 call_dummy_start_offset, sizeof_call_dummy_words,
1626 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
1627 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
1628 max_register_virtual_size, register_size. Set up
1629 prologue_cache.saved_regs here, rather than ...
1630 (_initialize_arm_tdep): ... here.
1631 * config/arm/tm-arm.h (struct type, struct value): Delete forward
1633 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1634 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1635 (arm_print_float_info, arm_register_type, convert_to_extended)
1636 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1637 (arm_extract_return_value, arm_register_name): Delete declarations.
1638 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
1639 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
1640 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
1641 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
1642 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
1643 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
1644 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
1645 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
1646 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
1647 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
1648 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
1649 (arm_get_next_pc): No-longer static -- these are needed by the RDI
1651 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
1652 * remote-rdi.c remote-rdp.c: Likewise.
1653 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
1654 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
1655 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
1658 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
1659 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
1660 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
1661 from non-ARM_ prefixed definitions.
1662 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
1664 * remote-rdi.c remote-rdp.c: Likewise.
1665 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
1667 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
1669 * arm-tdep.c (arm_frameless_function_invocation)
1670 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1671 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1672 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1673 (arm_pop_frame, arm_get_next_pc): Make static.
1674 (arm_gdbarch_init): Register above in gdbarch structure.
1675 (arm_read_fp): Renamed from arm_target_read_fp.
1676 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
1677 * config/arm/tm-arm.h (arm_frameless_function_invocation)
1678 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1679 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1680 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1681 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
1682 (arm_pc_is_thumb_dummy): Delete declarations.
1683 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
1684 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
1685 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
1686 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
1688 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1690 * symtab.c (compare_search_syms): New function.
1691 (sort_search_symbols): New function.
1692 (search_symbols): Sort symbols after searching rather than
1695 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1697 * NEWS: Linux -> GNU/Linux.
1699 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1701 * gdbarch.sh: For for level one methods, disallow a definition
1702 when partially multi-arched. Add comments explaining rationale.
1703 * gdbarch.h: Re-generate.
1705 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1707 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
1710 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1712 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
1714 * gdbarch.c: Re-generate.
1716 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1718 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
1719 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
1722 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1724 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
1726 (PUSH_ARGUMENTS): Switch to using predefault.
1727 * gdbarch.c: Regenerate.
1729 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1731 * valops.c (PUSH_ARGUMENTS): Delete definition.
1732 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
1733 partial. Default to default_push_arguments.
1734 * gdbarch.h, gdbarch.c: Regenerate.
1736 2002-02-09 Andrew Cagney <ac131313@redhat.com>
1738 * defs.h (throw_exception): Rename return_to_top_level. Update
1740 * utils.c (error_stream, internal_verror, quit): Ditto.
1741 * top.c (throw_exception, catcher): Ditto.
1742 * sparclet-rom.c (sparclet_load): Ditto.
1743 * remote.c (interrupt_query, minitelnet): Ditto.
1744 * remote-sds.c (interrupt_query): Ditto.
1745 * remote-mips.c (mips_error, mips_kill): Ditto.
1746 * ocd.c (interrupt_query): Ditto.
1747 * monitor.c (monitor_interrupt_query): Ditto.
1748 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
1749 * target.h: Update comment.
1751 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
1753 2002-02-09 Andrew Cagney <ac131313@redhat.com>
1755 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
1756 default_double_format.
1757 * gdbarch.h, gdbarch.c: Re-generate.
1758 * findvar.c (floatformat_unknown): Delete variable definition.
1759 * doublest.h (floatformat_unknown): Delete variable declaration.
1761 2002-02-09 Jim Blandy <jimb@redhat.com>
1763 * stabsread.c (read_type): Add code to parse Sun's syntax for
1764 prototyped function types.
1766 2002-02-09 Andrew Cagney <ac131313@redhat.com>
1768 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
1769 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
1771 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1773 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
1774 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
1775 now _initialize_xcoffsolib gets called again and overrides the
1776 commands from solib.c in a native configuration.
1778 2002-02-09 Mark Kettenis <kettenis@gnu.org>
1780 * doublest.c (store_typed_floating): Don't try to return a value.
1783 2002-02-08 Jim Blandy <jimb@redhat.com>
1785 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
1786 is prototyped and has no arguments, print its argument list as
1789 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1791 * MAINTAINERS (write-after-approval): Add myself.
1792 (paper-trail): I've escaped!
1794 2002-02-08 Christopher Faylor <cgf@redhat.com>
1796 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
1798 (_initialize_check_for_gdb_ini): Ditto.
1800 2002-02-08 Martin M. Hunt <hunt@redhat.com>
1802 * win32-nat.c (cygwin_pid_to_str): Fix typo.
1803 xaprintf -> xasprintf.
1805 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
1807 * win32-nat.c: Remove use of printf and sprintf functions.
1809 2002-02-08 Richard Earnshaw <rearnsha@arm.com>
1811 * arm-tdep.c (arm_frame_chain_valid): Make static.
1812 (arm_push_arguments): Likewise.
1813 (arm_gdbarch_init): New function.
1814 (_initialize_arm_tdep): Call it.
1815 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
1816 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
1817 (FRAME_CHAIN_VALID): Delete.
1818 (arm_frame_chain_valid): Delete declaration.
1819 (PUSH_ARGUMENTS): Delete.
1820 (arm_push_arguments): Delete declaration.
1821 (CALL_DUMMY_P): Delete.
1823 2002-02-08 Andrew Cagney <ac131313@redhat.com>
1824 Corinna Vinschen <vinschen@redhat.com>
1826 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
1827 on builtin float types.
1829 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
1831 * utils.c: Include <curses.h> before "bfd.h".
1832 * tui/tui-hooks.c: Likewise.
1833 * tui/tui.c: Likewise.
1834 * tui/tuiCommand.c: Likewise.
1835 * tui/tuiData.c: Likewise.
1836 * tui/tuiDataWin.c: Likewise.
1837 * tui/tuiDisassem.c: Likewise.
1838 * tui/tuiGeneralWin.c: Likewise.
1839 * tui/tuiIO.c: Likewise.
1840 * tui/tuiLayout.c: Likewise.
1841 * tui/tuiRegs.c: Likewise.
1842 * tui/tuiSource.c: Likewise.
1843 * tui/tuiSourceWin.c: Likewise.
1844 * tui/tuiStack.c: Likewise.
1845 * tui/tuiWin.c: Likewise.
1847 2002-02-07 Elena Zannoni <ezannoni@redhat.com>
1849 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
1850 to include space for pseudoregs as well. Update loops accordingly.
1851 (sh_fp_frame_init_saved_regs): Ditto.
1852 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
1854 2002-02-07 Andrew Cagney <ac131313@redhat.com>
1856 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
1857 Add Richard Earnshaw to Arm maintainers.
1859 2002-02-07 Andrew Cagney <ac131313@redhat.com>
1861 * defs.h (warning_begin): Delete declaration.
1863 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
1866 2002-02-07 Michael Snyder <msnyder@redhat.com>
1868 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
1869 Logic bug, remove misplaced else.
1871 2002-02-07 Klee Dienes <klee@apple.com>
1873 * fork-inferior.c (fork_inferior): Add '!' to the list of
1874 characters that need to be quoted when building a string for the
1875 shell. Quote '!' specifically with a backslash, since CSH chokes
1876 when trying to evaluate "str!str".
1878 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1880 * rdi-share/host.h: Only provide a typedef for bool if it is not
1883 2002-02-04 Michael Snyder <msnyder@redhat.com>
1885 * breakpoint.h (enum bptype): Add new overlay event bp type.
1886 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
1888 * breakpoint.c (create_internal_breakpoint): New function.
1889 (internal_breakpoint_number): Moved into create_internal_breakpoint.
1890 (create_longjmp_breakpoint): Use create_internal_breakpoint.
1891 (create_thread_event_breakpoint): Ditto.
1892 (create_solib_event_breakpoint): Ditto.
1893 (create_overlay_event_breakpoint): New function.
1894 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
1895 (update_breakpoints_after_exec): Delete and re-initialize
1896 overlay event breakpoints after an exec. Add FIXME comment
1897 about longjmp breakpoint.
1898 (print_it_typical): Ignore overlay event breakpoints.
1899 (print_one_breakpoint): Ditto.
1901 (bpstat_what): Do not stop for overlay event breakpoints.
1902 (delete_breakpoint): Don't delete overlay event breakpoints.
1903 (breakpoint_re_set_one): Delete the overlay event breakpoint.
1904 (breakpoint_re_set): Re-create overlay event breakpoint.
1906 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
1907 (overlay_manual_command): Disable overlay breakpoints.
1908 (overlay_off_command): Disable overlay breakpoints.
1910 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
1912 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
1913 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
1914 to here from config/tm-arm.h.
1915 (coff_sym_is_thumb): Make static.
1916 (arm_elf_make_msymbol_special): New function.
1917 (arm_coff_make_msymbol_special): New function.
1918 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
1919 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
1920 (coff_sym_is_thumb): Delete declaration.
1921 (arm_elf_make_msymbol_special): Declare.
1922 (arm_coff_make_msymbol_special): Declare.
1923 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
1924 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
1926 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
1928 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
1930 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
1932 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
1933 * gdbarch.c gdbarch.h: Regenerate.
1934 * arch-utils.c (default_print_float_info): New function.
1935 * arch-utils.h (default_print_float_info): Prototype it.
1936 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
1937 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
1938 (PRINT_FLOAT_INFO): Document it.
1940 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
1941 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
1942 (PRINT_FLOAT_INFO): Define.
1944 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
1946 * win32-nat.c (_initialize_check_for_gdb_ini):
1947 Add typecast to sprintf argument to suppress a warning.
1949 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
1951 * win32-nat.c (last_sig): Changed type of variable to target_signal,
1952 to allow easier handling of pass state.
1953 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
1954 that gives exception name and address.
1955 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
1956 and set last_sig value to ourstatus->value.sig. Some missing
1958 (child_continue): Correctly report continue_status.
1959 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
1960 TARGET_SIGNAL_0 (new default value).
1961 (child_resume): consider sig argument passed to decide if
1962 the exception should be passed to debuggee or not.
1964 2002-02-05 Michael Snyder <msnyder@redhat.com>
1966 * regcache.c (fetch_register): Call target_fetch_register
1967 only if we don't call FETCH_PSEUDO_REGISTER.
1968 (store_register): Call target_store_register only if we
1969 don't call STORE_PSEUDO_REGISTER.
1971 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
1973 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
1974 ELF_MAKE_MSYMBOL_SPECIAL.
1975 * gdbarch.c, gdbarch.h: Regenerate.
1976 * arch-utils.c (default_make_msymbol_special): New function.
1977 * arch-utils.h (default_make_msymbol_special): Export.
1978 * elfread.c (elf_symtab_read): Compile use of
1979 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
1981 * coffread.c (coff_symtab_read): Ditto, for
1982 COFF_MAKE_MSYMBOL_SPECIAL.
1984 2002-02-05 Jim Blandy <jimb@redhat.com>
1986 * solib-svr4.c (svr4_truncate_ptr): New function.
1987 (svr4_relocate_section_addresses): Do the address arithmetic with
1988 the appropriate truncation for target addresses, even when
1989 CORE_ADDR is larger than a target address.
1991 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1993 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
1996 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1998 * gdbserver/linux-low.c (kill_inferior): Remove commented out
2001 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2003 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
2005 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2007 * gdbserver/linux-low.c: Remove unused include files.
2009 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2011 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
2012 (read_inferior_memory): Use it.
2013 (write_inferior_memory): Likewise.
2015 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2017 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
2018 grubbing through sys_errlist.
2020 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2022 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
2024 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
2025 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
2027 2002-02-04 Andrew Cagney <ac131313@redhat.com>
2029 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
2030 (do_sfunc, set_cmd_sfunc): New functions.
2032 * command.h (struct cmd_list_element): Add field func.
2033 * cli/cli-decode.h (struct cmd_list_element): Ditto.
2034 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
2035 * cli/cli-decode.h: Ditto.
2037 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
2038 (help_all, help_cmd_list): Ditto.
2039 (find_cmd, complete_on_cmdlist): Ditto.
2040 * top.c (execute_command): Ditto.
2042 * cli/cli-setshow.c (do_setshow_command): Call func instead of
2045 * infcmd.c (notice_args_read): Fix function signature.
2047 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
2048 * cli/cli-decode.c (add_set_cmd): Ditto.
2049 * utils.c (initialize_utils): Ditto.
2050 * maint.c (_initialize_maint_cmds): Ditto.
2051 * infrun.c (_initialize_infrun): Ditto.
2052 * demangle.c (_initialize_demangler): Ditto.
2053 * remote.c (add_packet_config_cmd): Ditto.
2054 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2055 * cris-tdep.c (_initialize_cris_tdep): Ditto.
2056 * proc-api.c (_initialize_proc_api): Ditto.
2057 * kod.c (_initialize_kod): Ditto.
2058 * valprint.c (_initialize_valprint): Ditto.
2059 * top.c (init_main): Ditto.
2060 * infcmd.c (_initialize_infcmd): Ditto.
2061 * corefile.c (_initialize_core): Ditto.
2062 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2063 * arch-utils.c (initialize_current_architecture): Ditto.
2064 (_initialize_gdbarch_utils): Ditto.
2065 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2067 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
2068 * wince.c (_initialize_inftarg): Ditto.
2069 * symfile.c (_initialize_symfile): Ditto.
2070 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2071 * language.c (_initialize_language): Ditto.
2072 * arc-tdep.c (_initialize_arc_tdep): Ditto.
2074 2002-02-04 Michael Snyder <msnyder@redhat.com>
2076 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
2078 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
2080 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
2081 Add rules for building the register data files.
2083 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
2085 * regformats/regdat.sh: Add braces to the definition of
2086 expedite_regs_${arch}.
2088 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
2090 * regformats/regdef.h (struct reg): Add comment describing the
2091 requirements for offset and size fields.
2093 2002-02-04 Andreas Schwab <schwab@suse.de>
2095 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
2096 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
2098 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
2100 * gdbarch.sh (copyright): Update years in generated header.
2101 (SMASH_TEXT_ADDRESS): Add rule.
2102 * gdbarch.h, gdbarch.c: Re-generate.
2103 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
2104 * dbxread.c: Likewise.
2105 * dwarfread.c: Likewise.
2106 * elfread.c: Likewise.
2107 * somread.c: Likewise.
2109 * arm-tdep.c (arm_smash_text_address): New function.
2110 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
2112 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
2114 Add support for hardware watchpoints on win32 native.
2115 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
2116 CONTEXT_DEBUG_REGISTERS.
2117 (dr variable): New variable. Static array containing a local copy
2119 (debug_registers_changed): New variable. Reflects when debug registers
2120 are changed and need to be written to inferior.
2121 (debug_registers_used): New variable. Reflects when any debug register
2122 was set, used when new threads are created.
2123 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
2125 (thread_rec): Set dr array if id is the thread of current_event .
2126 (child_continue, child_resume): Change the debug registers for all
2127 threads if debug_registers_changed.
2128 (child_add_thread): Change the debug registers if debug_registers_used.
2129 * config/i386/cygwin.mh: Add use of i386-nat.o file.
2130 Link nm.h to new nm-cygwin.h file.
2131 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
2132 of hardware registers.
2134 2002-02-03 Andrew Cagney <ac131313@redhat.com>
2136 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
2137 Restore behavour broken by 2002-01-20 Andrew Cagney
2138 <ac131313@redhat.com> IEEE_FLOAT removal.
2140 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2142 * c-valprint.c (c_val_print): Pass a proper valaddr to
2143 cp_print_class_method.
2144 * valops.c (search_struct_method): If there is only one method
2145 and args is NULL, return that method.
2147 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2149 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
2150 accessing tag_name directly.
2152 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2154 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
2155 of accessing tag_name directly.
2157 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2160 * gdbtypes.c (replace_type): New function.
2161 * gdbtypes.h (replace_type): Add prototype.
2162 * stabsread.c (read_type): Use replace_type.
2164 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
2166 * Makefile.in (memattr.o): Add missing dependencies rule.
2168 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2170 * breakpoint.c (break_at_finish_command): Really export.
2171 (break_at_finish_at_depth_command): Ditto.
2172 (tbreak_at_finish_command): Ditto.
2173 * hppa-tdep.c: Include completer.h.
2174 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
2175 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
2177 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2179 * utils.c (do_write): New function.
2180 (error_stream): Rewrite combining the code from error_begin and
2182 (verror): Rewrite using error_stream.
2183 (error_begin): Delete function.
2185 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2187 * utils.c (error_begin): Make static.
2188 * defs.h (error_begin): Delete declaration.
2190 * linespec.c (cplusplus_error): Replace cplusplus_hint.
2191 (decode_line_1): Use cplusplus_error instead of error_begin,
2192 cplusplus_hint and return_to_top_level.
2193 * coffread.c (coff_symfile_read): Use error instead of error_begin
2194 and return_to_top_level.
2195 * infrun.c (default_skip_permanent_breakpoint): Ditto.
2197 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2199 * language.h (type_error, range_error): Make string parameter
2201 * language.c (warning_pre_print): Delete extern declaration.
2202 * dwarfread.c (warning_pre_print): Ditto.
2203 * language.c (type_error, range_error): Rewrite to use verror and
2204 vwarning instead of warning_begin.
2206 2002-02-01 Michael Snyder <msnyder@redhat.com>
2208 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
2209 (set_ignore_count): Move misplaced comment back where it belongs.
2211 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2213 * command.h (NO_FUNCTION): Delete macro.
2214 * cli/cli-decode.h (NO_FUNCTION): Ditto.
2215 * top.c (execute_command): Replace NO_FUNCTION with NULL.
2216 * tracepoint.c (_initialize_tracepoint): Ditto.
2217 * cli/cli-decode.c (add_set_cmd): Ditto.
2218 * cli/cli-cmds.c (init_cli_cmds): Ditto.
2220 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
2222 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
2223 Update ``this'' pointer when calling virtual functions.
2225 2002-02-01 Michael Snyder <msnyder@redhat.com>
2227 * breakpoint.c (create_temp_exception_breakpoint): Delete.
2228 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
2230 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
2232 * regformats/reg-arm.dat: New file.
2233 * regformats/reg-i386.dat: New file.
2234 * regformats/reg-ia64.dat: New file.
2235 * regformats/reg-m68k.dat: New file.
2236 * regformats/reg-mips.dat: New file.
2237 * regformats/reg-ppc.dat: New file.
2238 * regformats/reg-sh.dat: New file.
2239 * regformats/regdef.h: New file.
2240 * regformats/regdat.sh: New file.
2242 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
2244 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
2245 (arm_frame_args_address, arm_frame_locals_address): New functions.
2246 (arm_frame_num_args): New function.
2247 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
2248 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
2249 (FRMA_NUM_ARGS): Call arm_frame_num_args.
2251 2002-01-31 Michael Snyder <msnyder@redhat.com>
2253 * breakpoint.c (break_at_finish_command): Export.
2254 (break_at_finish_at_depth_command): Export.
2255 (tbreak_at_finish_command): Export.
2256 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
2257 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
2258 "tbreak" commands, which are HPPA specific.
2260 * printcmd.c (disassemble_command): Remove an ancient
2261 artifact of an old merge.
2263 * symfile.h (enum overlay_debugging_state):
2264 Define enum constant values for overlay mode.
2265 * symfile.c (overlay_debugging): Use enums instead of literals.
2266 (overlay_is_mapped, overlay_auto_command,
2267 overlay_manual_command): Ditto.
2269 * breakpoint.c (insert_breakpoints, remove_breakpoint,
2270 breakpoint_here_p, breakpoint_inserted_here_p,
2271 breakpoint_thread_match, bpstat_stop_status,
2272 describe_other_breakpoints, check_duplicates, clear_command):
2273 Coding standard fixes.
2275 * target.c (target_xfer_memory): Add spaces, coding standard.
2276 (do_xfer_memory): Add missing line to trust-readonly
2277 code: check bfd SEC_READONLY flag for section.
2279 2002-01-31 Andrew Cagney <ac131313@redhat.com>
2281 * PROBLEMS: Fix typo, 5.1->5.1.1.
2283 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2285 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
2286 data symbols, since we search based on textlow and texthigh.
2287 (find_pc_sect_symtab): Likewise.
2289 2002-01-30 Andrew Cagney <ac131313@redhat.com>
2291 * defs.h (vwarning): Declare.
2292 * utils.c (vwarning): New function.
2293 (warning): Call vwarning.
2294 (warning_begin): Delete function.
2296 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
2297 the warning message.
2298 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
2301 2002-01-30 Michael Snyder <msnyder@redhat.com>
2303 * NEWS: Mention "set trust-readonly-sections" command.
2304 Mention generate-core-file command.
2306 2002-01-15 Michael Snyder <msnyder@redhat.com>
2308 * target.c: New command, "set trust-readonly-sections on".
2309 (do_xfer_memory): Honor the suggestion to trust readonly sections
2310 by reading them from the object file instead of from the target.
2311 (initialize_targets): Register command "set trust-readonly-sections".
2313 2002-01-29 Andrew Cagney <ac131313@redhat.com>
2315 * parse.c (target_map_name_to_register): Simplify, search regs and
2316 pseudo-regs using a single loop.
2318 2002-01-30 Andrew Cagney <ac131313@redhat.com>
2320 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
2322 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
2324 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
2325 * config/i386/i386v42mp.mh: Add i387-nat.o .
2326 * i386v4-nat.c: Include i387-nat.h.
2327 (supply_fpregset): Use i387_supply_fsave.
2328 (fill_fpregset): Use i387_fill_fsave.
2330 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
2332 * arm-tdep.c (arm_call_dummy_words): Define.
2333 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
2334 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
2335 (CALL_DUMMY_WORDS): Define.
2336 (arm_call_dummy_words): Declare.
2337 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
2338 (arm_linux_call_dummy_words): Declare.
2340 2002-01-30 Andreas Schwab <schwab@suse.de>
2342 * m68klinux-nat.c: Fix last change to use regcache_collect
2343 instead of referencing registers[] directly.
2345 2002-01-29 Andrew Cagney <ac131313@redhat.com>
2347 * parse.c (target_map_name_to_register): Delete code wrapped in
2348 #ifdef REGISTER_NAME_ALIAS_HOOK.
2350 2002-01-28 Michael Snyder <msnyder@redhat.com>
2352 * regcache.c (legacy_read_register_gen): Need to be able to
2353 read pseudo-register as well as real register.
2354 (legacy_write_register_gen): Ditto.
2356 2002-01-28 Andrew Cagney <ac131313@redhat.com>
2358 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2359 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
2360 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
2361 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
2362 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
2363 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
2364 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
2365 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
2366 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
2367 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2368 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
2369 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
2370 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
2371 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
2372 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
2373 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
2374 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
2375 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
2376 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
2377 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
2379 2002-01-28 Andrew Cagney <ac131313@redhat.com>
2381 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
2382 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
2383 (initialize_current_architecture): Update target_byte_order using
2384 information from BFD.
2385 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
2386 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
2388 2002-01-28 Andrew Cagney <ac131313@redhat.com>
2390 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
2391 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
2393 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
2394 #ifdef INVALID_FLOAT.
2395 * infcmd.c (do_registers_info): Ditto.
2396 * values.c (unpack_double): Ditto. Add comment.
2398 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
2399 already commented out.
2401 2002-01-26 Andreas Schwab <schwab@suse.de>
2403 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
2404 * m68klinux-nat.c: Update ptrace interface for fetching/storing
2405 registers and add support for PTRACE_GETREGS.
2407 2002-01-24 Andrew Cagney <ac131313@redhat.com>
2409 GDB 5.1.1 released from 5.1 branch.
2410 * NEWS: Add 5.1.1 news.
2411 * README: Sync with 5.1 branch.
2413 2002-01-23 Fred Fish <fnf@redhat.com>
2415 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
2416 stabstring on initial malloc. Reallocing will copy it for us,
2419 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
2421 * Makefile.in (hpread_h): Delete.
2422 (HFILES_NO_SRCDIR): Remove hpread.h.
2423 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
2424 (hpread.o): Update dependencies.
2425 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
2427 * hp-psymtab-read.c: Remove file.
2428 * hp-symtab-read.c: Remove file.
2429 * hpread.h: Remove file.
2431 * hpread.c: Merge all contents of hp-psymtab-read.c,
2432 hp-symtab-read.c and hpread.h into this file, as it was prior to
2435 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
2436 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
2437 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
2438 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
2440 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
2442 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
2443 fill_gregset): Call gdbarch_tdep() just once, assign result to
2444 variable and use that, instead of calling the function several
2447 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2449 * configure.host: Accept sparcv9 as alias for sparc64.
2450 * configure.tgt: Likewise.
2452 2002-01-22 Kevin Buettner <kevinb@redhat.com>
2454 * solib-aix5.c (build_so_list_from_mapfile)
2455 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
2456 arguments is not reversed.
2457 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
2458 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
2460 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
2462 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
2463 modified version of obsolete sh_fetch_pseudo_register.
2464 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
2465 (sh4_register_read): New function.
2466 (sh_pseudo_register_write): New function. Renamed and modified
2467 version of obsolete sh_store_pseudo_register.
2468 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
2469 (sh4_register_write): New function.
2470 (sh_gdbarch_init): Remove setting of gdbarch function
2471 fetch_pseudo_register and store_pseudo_register. Remove setting of
2472 register_convert_to_raw, register_convert_to_virtual,
2473 register_convertible.
2474 (sh_sh4_register_convertible): Delete. No longer needed. All is
2475 taken care by architecture specific functions
2476 register_read/register_write.
2477 (sh_sh4_register_convert_to_virtual): Make static.
2478 (sh_sh4_register_convert_to_raw): Ditto.
2480 2002-01-22 Andrew Cagney <ac131313@redhat.com>
2482 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
2483 (floatformat_is_nan, floatformat_mantissa): Ditto.
2485 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
2486 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
2487 builtin_type_ieee_double_little,
2488 builtin_type_ieee_double_littlebyte_bigword,
2489 builtin_type_m68881_ext, builtin_type_i960_ext,
2490 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
2491 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
2492 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
2493 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
2495 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
2497 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
2498 parameter. Set frameless flag if it exists and depended of
2499 whether the scanned function is frameless or not.
2500 (xstormy16_skip_prologue): If function is frameless, return
2501 result of xstormy16_scan_prologue().
2502 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
2505 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
2507 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
2508 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2509 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
2510 sh_sh4_register_byte, sh_sh4_register_raw_size,
2511 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
2512 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
2513 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
2514 sh_store_pseudo_register, sh_do_pseudo_register): Call
2515 gdbarch_tdep() just once, assign result to variable and use that,
2516 instead of calling the function several times.
2518 2002-01-20 Mark Kettenis <kettenis@gnu.org>
2520 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
2521 macros instead of LAST_FPU_CTRL_REGNUM.
2522 (store_register): Likewise.
2524 2002-01-21 Jim Blandy <jimb@redhat.com>
2526 * infcmd.c (run_command): Check that the `exec' target layer's BFD
2527 is up-to-date before running the program, not just when a program
2530 2002-01-21 Fred Fish <fnf@redhat.com>
2532 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
2533 when we have found all instructions we are looking for.
2535 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
2537 * arm-tdep.c (arm_register_name): New function.
2538 (arm_registers_names): Make static.
2539 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
2540 (arm_register_name): Declare.
2541 (REGISTER_NAME): Use it.
2543 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
2544 Kevin Buettner <kevinb@redhat.com>
2546 Convert arm targets to new FRAME interface.
2547 * arm-tdep.c (struct frame_extra_info): Remove fsr.
2548 (arm_frame_find_save_regs): Delete.
2549 (arm_frame_init_saved_regs): New.
2550 (arm_init_extra_frame_info): Alloacte saved_regs as required.
2551 Allocate extra_info as required. Convert all uses of fsr.regs
2552 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
2554 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
2555 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
2556 (check_prologue_cache, save_prologue_cache): Likewise.
2557 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
2558 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
2559 (FRAME_FIND_SAVED_REGS): Delete.
2560 (arm_frame_find_saved_regs): Delete prototype.
2561 (arm_frame_init_saved_regs): New prototype.
2562 (FRAME_INIT_SAVED_REGS): Define.
2564 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2566 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
2568 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2570 From Jeff Law <law@redhat.com>:
2571 * infttrace.c: Include <sys/pstat.h>.
2572 (child_pid_to_exec_file): Revamp. Use pstat call to get the
2573 exec file if the ttrace equivalent fails.
2575 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2577 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
2578 (closeLogFile): Ditto.
2580 2002-01-20 Michael Chastain <mec@shout.net>
2582 * top.c (print_gdb_version): Bump copyright year to 2002.
2584 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2586 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
2587 Zannoni and Eli Zaretskii.
2589 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2591 * buildsym.c: Update copyright years.
2592 * c-typeprint.c: Likewise.
2593 * dwarf2read.c: Likewise.
2594 * f-typeprint.c: Likewise.
2595 * gdbtypes.c: Likewise.
2596 * gdbtypes.h: Likewise.
2597 * hp-symtab-read.c: Likewise.
2598 * hpread.c: Likewise.
2599 * mdebugread.c: Likewise.
2600 * p-typeprint.c: Likewise.
2602 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2604 * remote-sim.c (gdbsim_open): Simplify code testing the macro
2605 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
2606 byte-order selectable.
2607 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
2608 * arch-utils.c: Ditto.
2609 (set_endian): Ditto.
2610 (set_endian_from_file): Ditto.
2611 * gdbserver/low-sim.c (create_inferior): Ditto.
2612 * gdbarch.sh: Ditto.
2613 * gdbarch.h: Re-generate.
2614 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2615 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
2616 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
2617 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2618 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2619 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2620 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
2621 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
2623 * config/mips/tm-wince.h: Remove #undef of macro
2624 TARGET_BYTE_ORDER_SELECTABLE.
2625 * config/sh/tm-wince.h: Ditto.
2627 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2629 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
2630 member function fields. Add accessor macro
2631 TYPE_FN_FIELD_ARTIFICIAL.
2632 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
2633 * c-typeprint.c (c_type_print_base): Skip artificial member
2636 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2638 * f-typeprint.c: Delete unused function f_type_print_args.
2639 * p-typeprint.c: Delete unused function pascal_type_print_args.
2641 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2643 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
2644 comment. Add ``artificial'' to ``union field_location''.
2646 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
2648 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
2649 * mdebugread.c (parse_symbol): Likewise.
2650 * stabsread.c (define_symbol): Likewise.
2651 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
2652 initializing TYPE_FIELD_BITPOS to n (obsolete).
2653 (hpread_doc_function_type): Likewise.
2654 * hpread.c (hpread_function_type): Likewise.
2656 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2658 * configure.in (host_makefile_frag): Only require a host makefile
2659 fragment when a native build.
2660 * configure: Re-generate.
2662 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2664 * doublest.h (floatformat_from_type): Declare.
2665 * doublest.c (floatformat_from_type): New function.
2666 (convert_typed_floating): Use.
2668 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
2669 call to function floatformat_from_type.
2671 * gdbarch.sh (IEEE_FLOAT): Delete.
2672 * gdbarch.h, gdbarch.c: Re-generate.
2673 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
2674 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
2675 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
2676 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
2677 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
2678 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
2679 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
2680 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
2681 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
2682 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
2683 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
2684 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
2686 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
2687 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
2688 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2689 * sh-tdep.c (sh_gdbarch_init): Ditto.
2690 * mips-tdep.c (mips_gdbarch_init): Ditto.
2691 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2692 * cris-tdep.c (cris_gdbarch_init): Ditto.
2694 2002-01-20 Jiri Smid <smid@suse.cz>
2696 * configure.host, configure.tgt: Support x86-64.
2697 * NEWS: Note new target x86-64.
2699 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
2700 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
2701 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
2702 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
2703 x86-64-linux-nat.o): Fix dependencies.
2705 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2707 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
2708 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
2709 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
2710 * config/sparc/xm-sun4os4.h: Delete file.
2711 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
2713 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2715 * config/sparc/sparclynx.mh (XM_FILE): Delete.
2716 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
2717 * config/m68k/m68klynx.mh (XM_FILE): Delete.
2718 * config/i386/i386lynx.mh (XM_FILE): Delete.
2719 * config/rs6000/xm-rs6000ly.h: Delete file.
2720 * config/sparc/xm-sparclynx.h: Delete file.
2721 * config/m68k/xm-m68klynx.h: Delete file.
2722 * config/i386/xm-i386lynx.h: Delete file.
2723 * config/xm-lynx.h: Delete file.
2724 * config/djgpp/fnchange.lst: Update.
2726 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2728 * alpha-tdep.c (alpha_register_byte): New function.
2729 (alpha_register_raw_size): Ditto.
2730 (alpha_register_virtual_size): Ditto.
2731 (alpha_skip_prologue_internal): Renamed from
2732 alpha_skip_prologue.
2733 (alpha_skip_prologue): New version that calls
2734 alpha_skip_prologue_internal.
2735 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
2736 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
2737 second argument from alpha_skip_prologue.
2738 (REGISTER_BYTE): Use alpha_register_byte.
2739 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
2740 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
2741 (FRAMELESS_FUNCTION_INVOCATION): Use
2742 generic_frameless_function_invocation_not.
2743 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
2744 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2746 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2748 * config/mips/xm-news-mips.h: Delete file.
2749 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
2751 * config/m88k/xm-m88k.h: Delete file.
2752 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
2753 * config/m88k/xm-delta88v4.h: Ditto.
2754 * config/m88k/xm-delta88.h: Ditto.
2756 * config/alpha/xm-fbsd.h: Delete file.
2757 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
2759 * config/sparc/xm-sparc.h: Delete file.
2760 * Makefile.in (xm-sun4os4.h): Delete dependency.
2761 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
2762 * config/sparc/xm-sun4os4.h: Ditto.
2763 * config/sparc/xm-linux.h: Ditto.
2765 * config/i386/xm-windows.h: Delete file.
2767 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2769 * utils.c: Include <sys/param.h> for MAXPATHLEN.
2770 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
2772 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2774 * alpha-tdep.c (alpha_call_dummy_words): New.
2775 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
2776 (CALL_DUMMY_P): Define.
2777 (CALL_DUMMY_WORDS): Define.
2778 (SIZEOF_CALL_DUMMY_WORDS): Define.
2780 2002-01-19 Per Bothner <per@bothner.com>
2782 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
2783 isn't NULL, which can happen with some gcj-3.x-produced code.
2785 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2787 * alpha-tdep.c (alpha_register_virtual_type): New function.
2788 (alpha_init_frame_pc_first): Ditto.
2789 (alpha_fix_call_dummy): Ditto.
2790 (alpha_store_struct_return): Ditto.
2791 (alpha_extract_struct_value_address): Ditto.
2792 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
2793 alpha_register_virtual_type.
2794 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
2795 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
2796 alpha_extract_struct_value_address.
2797 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
2798 (INIT_FRAME_PC): Use init_frame_pc_noop.
2799 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2801 2002-01-19 Mark Kettenis <kettenis@gnu.org>
2803 * i386gnu-nat.c: Include "i386-tdep.h".
2804 (fetch_fpregs): Simplify code dealing with uninitialized floating
2805 point states such that it doesn't require FP7_REGNUM.
2807 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2809 * alpha-tdep.c (frame_extra_info): New.
2810 (alpha_find_saved_regs): Make static. Use
2812 (alpha_frame_init_saved_regs): New function.
2813 (alpha_frame_saved_pc): Use frame->extra_info.
2814 (temp_saved_regs): Don't declare as struct frame_saved_regs.
2815 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
2816 (init_extra_frame_info): Rename to...
2817 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
2818 (alpha_print_extra_frame_info): New function.
2819 (alpha_frame_locals_address): Ditto.
2820 (alpha_frame_args_address): Ditto.
2821 (alpha_pop_frame): Use frame->extra_info.
2822 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
2823 alpha_frame_args_address.
2824 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
2825 (alpha_find_saved_regs): Remove prototype.
2826 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
2827 (EXTRA_FRAME_INFO): Remove.
2828 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
2829 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2831 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2833 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
2834 (alpha_cannot_fetch_register): Ditto.
2835 (alpha_cannot_store_register): Ditto.
2836 (alpha_register_convertible): Ditto.
2837 (alpha_use_struct_convention): Ditto.
2838 * config/alpha/tm-alpha.h: Update copyright years.
2839 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
2840 (INNER_THAN): Use core_addr_lessthan.
2841 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
2842 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
2843 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
2844 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
2845 (FRAME_CHAIN): Remove unnecessary cast.
2847 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2849 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
2852 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2854 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
2855 * monitor.c, remote-array.c, remote-bug.c: Ditto.
2856 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
2857 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
2858 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
2859 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
2860 * x86-64-linux-nat.c: Ditto.
2862 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2864 * alpha-tdep.c (alpha_register_name): New function.
2865 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
2866 (REGISTER_NAME): Define.
2868 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2870 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
2872 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2874 * alpha-tdep.c: Update copyright years.
2875 (alpha_next_pc): New function.
2876 (alpha_software_single_step): Ditto.
2877 * config/alpha/tm-alpha.h: Add prototype for
2878 alpha_software_single_step.
2880 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2882 * alphabsd-nat.c: Update copyright years.
2883 (fill_gregset): Use regcache_collect.
2884 (fill_fpregset): Likewise.
2885 (fetch_inferior_registers): Only fetch integer registers
2886 if requested to do so.
2887 (store_inferior_registers): Only store integer registers
2888 if requested to do so.
2890 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2892 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
2893 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
2894 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
2895 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
2896 * config/alpha/fbsd.mh (XDEPFILES): Delete.
2897 * config/arm/linux.mh (XDEPFILES): Delete.
2898 * config/arm/nbsd.mh (XDEPFILES): Delete.
2899 * config/i386/i386dgux.mh (XDEPFILES): Delete.
2900 * config/i386/i386sol2.mh (XDEPFILES): Delete.
2901 * config/i386/i386m3.mh (XDEPFILES): Delete.
2902 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
2903 * config/i386/i386gnu.mh (XDEPFILES): Delete.
2904 * config/i386/fbsd.mh (XDEPFILES): Delete.
2905 * config/i386/i386bsd.mh (XDEPFILES): Delete.
2906 * config/i386/i386sco5.mh (XDEPFILES): Delete.
2907 * config/i386/i386v4.mh (XDEPFILES): Delete.
2908 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
2909 * config/i386/i386sco4.mh (XDEPFILES): Delete.
2910 * config/i386/i386aix.mh (XDEPFILES): Delete.
2911 * config/i386/go32.mh (XDEPFILES): Delete.
2912 * config/i386/cygwin.mh (XDEPFILES): Delete.
2913 * config/i386/i386lynx.mh (XDEPFILES): Delete.
2914 * config/i386/i386mach.mh (XDEPFILES): Delete.
2915 * config/i386/i386v32.mh (XDEPFILES): Delete.
2916 * config/i386/linux.mh (XDEPFILES): Delete.
2917 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
2918 * config/i386/ncr3000.mh (XDEPFILES): Delete.
2919 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
2920 * config/i386/i386sco.mh (XDEPFILES): Delete.
2921 * config/i386/i386v.mh (XDEPFILES): Delete.
2922 * config/i386/nbsd.mh (XDEPFILES): Delete.
2923 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
2924 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
2925 * config/i386/symmetry.mh (XDEPFILES): Delete.
2926 * config/i386/obsd.mh (XDEPFILES): Delete.
2927 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
2928 * config/ia64/linux.mh (XDEPFILES): Delete.
2929 * config/ia64/aix.mh (XDEPFILES): Delete.
2930 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
2931 * config/m68k/dpx2.mh (XDEPFILES): Delete.
2932 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
2933 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
2934 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
2935 * config/m68k/linux.mh (XDEPFILES): Delete.
2936 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
2937 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
2938 * config/m68k/nbsd.mh (XDEPFILES): Delete.
2939 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
2940 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
2941 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
2942 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
2943 * config/m88k/delta88.mh (XDEPFILES): Delete.
2944 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
2945 * config/m88k/m88k.mh (XDEPFILES): Delete.
2946 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
2947 * config/mips/linux.mh (XDEPFILES): Delete.
2948 * config/mips/irix6.mh (XDEPFILES): Delete.
2949 * config/mips/irix5.mh (XDEPFILES): Delete.
2950 * config/mips/irix4.mh (XDEPFILES): Delete.
2951 * config/mips/irix3.mh (XDEPFILES): Delete.
2952 * config/mips/decstation.mh (XDEPFILES): Delete.
2953 * config/mips/mipsm3.mh (XDEPFILES): Delete.
2954 (NATDEPFILES): Move core-aout.o to here.
2955 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
2956 * config/pa/hpux1020.mh (XDEPFILES): Delete.
2957 * config/pa/hppabsd.mh (XDEPFILES): Delete.
2958 * config/pa/hppahpux.mh (XDEPFILES): Delete.
2959 * config/pa/hpux11w.mh (XDEPFILES): Delete.
2960 * config/pa/hppaosf.mh (XDEPFILES): Delete.
2961 * config/pa/hpux11.mh (XDEPFILES): Delete.
2962 * config/powerpc/aix.mh (XDEPFILES): Delete.
2963 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
2964 * config/powerpc/linux.mh (XDEPFILES): Delete.
2965 * config/romp/rtbsd.mh: Rename XDEPFILES.
2966 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
2967 * config/rs6000/aix4.mh (XDEPFILES): Delete.
2968 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
2969 * config/s390/s390.mh (XDEPFILES): Delete.
2970 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
2971 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
2972 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
2973 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
2974 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
2975 * config/sparc/nbsd.mh (XDEPFILES): Delete.
2976 * config/sparc/linux.mh (XDEPFILES): Delete.
2977 * config/vax/vaxult.mh (XDEPFILES): Delete.
2978 * config/vax/vaxult2.mh (XDEPFILES): Delete.
2979 * Makefile.in (DEPFILES): Remove XDEPFILES.
2981 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2983 * utils.c (internal_verror): Fix comments, default is yes not no.
2984 Update queries to match. Default to quit and dump core.
2986 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2988 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
2990 * defs.h, event-top.c, gdbcmd.h: Ditto.
2991 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
2992 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
2993 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
2994 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
2995 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
2996 * mi/mi-main.c:Ditto.
2998 * stack.c, symfile.c: Update copyright.
3000 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
3002 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
3003 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
3004 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
3005 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
3007 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
3009 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
3010 * gdbserver/low-lynx.c (myattach): Likewise.
3011 * gdbserver/low-nbsd.c (myattach): Likewise.
3012 * gdbserver/low-sim.c (myattach): Likewise.
3013 * gdbserver/low-sparc.c (myattach): Likewise.
3014 * gdbserver/low-sun3.c (myattach): Likewise.
3016 * gdbserver/low-linux.c (myattach): New function.
3018 * gdbserver/server.c (attach_inferior): New function.
3019 (main): Handle "--attach".
3021 2002-01-16 Andrew Cagney <ac131313@redhat.com>
3023 * MAINTAINERS (language support): Daniel Jacobwitz is C++
3026 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
3028 * c-typeprint.c (is_type_conversion_operator): Add additional
3029 check for non-conversion operators.
3031 2002-01-15 Michael Snyder <msnyder@redhat.com>
3033 * linux-proc.c: Add "info proc" command, a la procfs.c.
3034 (read_mapping): New function, abstract and re-use code.
3035 (linux_find_memory_regions): Use new func read_mapping.
3036 (linux_info_proc_cmd): New function, implement "info proc".
3037 (_initialize_linux_proc): Add new command "info proc".
3039 2002-01-15 Michael Snyder <msnyder@redhat.com>
3041 * symfile.c (generic_load): Use bfd_map_over_sections method
3042 instead of manipulating bfd structure members directly.
3043 (add_section_size_callback): New function, bfd sections callback
3044 used by generic_load.
3045 (load_sections_callback): New function, bfd sections callback
3046 used by generic_load.
3048 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
3050 [Based on work by Jim Blandy]
3051 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
3052 (builtin_type_vec128): Export.
3053 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
3055 (builtin_type_vec128): New builtin type for 128 bit vector
3057 (build_gdbtypes): Initialize builtin_type_v16qi and
3058 builtin_type_v8hi. Create the vec128 register builtin type
3060 (build_builtin_type_vec128): New function.
3061 (_initialize_gdbtypes): Register builtin_type_v16qi and
3062 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
3063 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
3064 AltiVec register to new builtin type.
3066 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
3068 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
3071 2002-01-14 Andrew Cagney <ac131313@redhat.com>
3073 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
3074 CLEAN_UP_REGISTER_VALUE.
3075 * regcache.c (supply_register): Update only call.
3077 2002-01-14 Andrew Cagney <ac131313@redhat.com>
3079 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3080 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3081 a29k-*-vxworks* targets as obsolete.
3083 2002-01-14 Michael Snyder <msnyder@redhat.com>
3085 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
3086 until we can resolve portability issues.
3087 * gregset.h: Remove references to fpxregs.
3088 * gcore.c (gcore_command): Initialize note_sec to NULL.
3090 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3092 * signals.c (target_signal_to_name): Rewrite. Only use
3093 signals[].name when in bounds and non-NULL.
3095 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3097 From Petr Ledvina <ledvinap@kae.zcu.cz>:
3098 * signals.c (target_signal_to_name): Verify that SIG is within the
3099 bounds of the signals array.
3101 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3103 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
3105 2002-01-13 Keith Seitz <keiths@redhat.com>
3107 * stack.c (print_frame_info_base): Print the frame's pc
3108 only if when print_frame_info_listing_hook is not defined.
3110 2002-01-13 Keith Seitz <keiths@redhat.com>
3112 * varobj.c (varobj_set_value): Make sure that there were no
3113 errors evaluating the object before attempting to set its
3115 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
3116 so this offset adjustment is no longer necessary.
3117 (create_child): Don't set the error flag if the child is
3119 (value_of_child): If value_fetch_lazy fails, return NULL
3120 so that callers will be notified that an error occurred.
3121 (c_value_of_variable): Delay check of variable's validity
3122 until later. We actually want all structs and unions to have
3124 Do not return "???" for variables which could not be evaluated.
3125 This error condition must be returned to the caller so that it
3126 can get the error condition from gdb.
3127 (cplus_name_of_child): Adjust index for vptr before figuring
3128 out the name of the child.
3129 (cplus_value_of_child): If a child's (real) parent is not valid,
3130 don't even bother trying to give a value for it. Just return
3131 an error. Change all instances in this function.
3132 (cplus_type_of_child): If our parent is one of the "fake"
3133 parents, we need to get at the type of the real parent, and
3134 derive the child's true type using this information.
3136 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3138 From 2002-01-09 John Marshall <johnm@falch.net>:
3139 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
3140 sources.redhat.com, and tweak some related URLs which had
3141 suffered from linkrot.
3143 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3146 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
3147 structures passed in registers.
3149 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
3151 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
3152 white space which prevented compilation. Reported by DSK
3153 <dsk@student.unsw.edu.au>.
3155 2002-01-11 Michael Snyder <msnyder@redhat.com>
3157 * symfile.c (build_section_addr_info_from_section_tab):
3158 Use bfd access method instead of manipulating bfd directly.
3159 (syms_from_objfile): Ditto.
3160 (simple_overlay_update_1): Ditto.
3161 (simple_overlay_update): Ditto.
3162 (generic_load): Ditto.
3163 (overlay_unmapped_address): FIXME comment, bfd access methods.
3164 (sections_overlap): FIXME comment, bfd access methods.
3165 (pc_in_mapped_range): FIXME comment, bfd access methods.
3166 (pc_in_unmapped_range): FIXME comment, bfd access methods.
3167 (section_is_mapped): FIXME comment, bfd access methods.
3168 (section_is_overlay): FIXME comment, bfd access methods.
3170 * symfile.c (generic_load): Whitespace and long line cleanups.
3171 Remove duplicate variable, change several local variables to
3172 more appropriate data types.
3173 (print_transfer_performance): Use %lu instead of %ld for ulongs.
3175 2002-01-12 Andrew Cagney <ac131313@redhat.com>
3178 * language.c (longest_local_hex_string_custom): Use phex_nz to
3179 convert NUM to a hex string.
3181 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
3183 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
3185 Update Copyright year.
3187 2002-01-12 Andrew Cagney <ac131313@redhat.com>
3189 * language.c (longest_raw_hex_string): Delete unused function.
3191 2002-01-11 Petr Sorfa <petrs@caldera.com>
3193 * MAINTAINERS (write-after-approval): Add myself.
3194 * dwarf2read.c (read_tag_string_type): Handling of
3196 (read_tag_string_type): FORTRAN fix to prevent propagation of
3198 (set_cu_language): Handling of DW_LANG_Fortran95
3200 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
3202 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
3203 GETPID(inferior_ptid).
3204 (store_inferior_registers): Likewise.
3206 2002-01-10 Jason Merrill <jason@redhat.com>
3208 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
3211 2002-01-10 Andrew Cagney <ac131313@redhat.com>
3213 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
3214 and bfd/elf32-sh-nbsd.c.
3216 2002-01-10 Michael Snyder <msnyder@redhat.com>
3218 * NEWS: Mention --pid and corefile/proc-id behavior change.
3220 * Makefile.in: Add rules for gcore.o and linux-proc.o.
3221 * gcore.c: Include cli/cli-decode.h instead of command.h.
3223 * main.c (captured_main): Add new command line option "--pid".
3224 If the second command line argument (following the symbol-file)
3225 begins with a digit, try to attach to it before trying to open
3227 (print_gdb_help): Document the "--pid" argument.
3229 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
3231 * completer.c (command_completer): New function.
3233 * completer.h <command_completer>: Add prototype.
3235 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
3236 completer for the "help" command.
3238 2002-01-09 Jason Merrill <jason@redhat.com>
3240 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
3242 2002-01-09 Michael Snyder <msnyder@redhat.com>
3244 * i386-linux-nat.c (fill_fpxregset): Make global.
3245 (store_fpxregset): Ditto.
3247 * gregset.h (gdb_fpxregset_t): Define.
3248 (supply_fpxregset): Prototype.
3249 (fill_fpxregset): Prototype.
3251 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
3253 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
3255 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
3256 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
3257 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
3259 2002-01-09 Andrew Cagney <ac131313@redhat.com>
3261 * MAINTAINERS: Update target maintainer rules so that any
3262 Maintainer can approve a tested patch for a maintenance-only
3265 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
3267 * MAINTAINERS (write-after-approval): Add myself.
3269 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
3272 2002-01-08 Michael Snyder <msnyder@redhat.com>
3274 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
3275 real name of the executable, rather than the /proc name.
3277 2002-01-03 Michael Snyder <msnyder@redhat.com>
3279 Implement a "generate-core-file" command in gdb, save target state.
3280 * gcore.c: New file. Implement new command 'generate-core-file'.
3281 Save a corefile image of the current state of the inferior.
3282 * linux-proc.c: Add linux-specific code for saving corefiles.
3283 * target.h (struct target_ops): Add new target vectors for saving
3284 corefiles; to_find_memory_regions and to_make_corefile_notes.
3285 (target_find_memory_regions): New macro.
3286 (target_make_corefile_notes): New macro.
3287 * target.c (update_current_target): Inherit new target methods.
3288 (dummy_find_memory_regions): New place-holder method.
3289 (dummy_make_corefile_notes): New place-holder method.
3290 (init_dummy_target): Initialize new dummy target vectors.
3291 * exec.c (exec_set_find_memory_regions): New function.
3292 Allow the exec_ops vector for memory regions to be taken over.
3293 (exec_make_note_section): New function, target vector method.
3294 * defs.h (exec_set_find_memory_regions): Export prototype.
3295 * procfs.c (proc_find_memory_regions): New function, corefile method.
3296 (procfs_make_note_section): New function, corefile method.
3297 (init_procfs_ops): Set new target vector pointers.
3298 (find_memory_regions_callback): New function.
3299 (procfs_do_thread_registers): New function.
3300 (procfs_corefile_thread_callback): New function.
3301 * sol-thread.c (sol_find_memory_regions): New function.
3302 (sol_make_note_section): New function.
3303 (init_sol_thread_ops): Initialize new target vectors.
3304 * inftarg.c (inftarg_set_find_memory_regions): New function.
3305 Allow to_find_memory_regions vector to be taken over.
3306 (inftarg_set_make_corefile_notes): New function.
3307 Allow to_make_corefile_notes vector to be taken over.
3308 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
3309 interface layer if not target_has_execution (may be a corefile).
3310 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
3311 * config/sparc/sun4sol2.mh: Ditto.
3312 * config/alpha/alpha-linux.mh: Ditto.
3313 * config/arm/linux.mh: Ditto.
3314 * config/i386/x86-64linux.mh: Ditto.
3315 * config/ia64/linux.mh: Ditto.
3316 * config/m68k/linux.mh: Ditto.
3317 * config/mips/linux.mh: Ditto.
3318 * config/powerpc/linux.mh: Ditto.
3319 * config/sparc/linux.mh: Ditto.
3321 2002-01-07 Michael Snyder <msnyder@redhat.com>
3323 * arm-linux-nat.c: Remove references to regcache.c internal data
3324 (registers[] and register_valid[]).
3326 2002-01-07 Michael Snyder <msnyder@redhat.com>
3328 * linux-proc.c: New file. Implement child_pid_to_exec_file,
3329 so that attaching to a pid will automatically read the process's
3330 symbol file and shlibs.
3331 * Makefile.in: Add rule for linux-proc.o.
3332 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
3333 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
3334 * config/arm/linux.mh: Ditto.
3335 * config/i386/linux.mh: Ditto.
3336 * config/i386/x86-64linux.mh: Ditto.
3337 * config/ia64/linux.mh: Ditto.
3338 * config/m68k/linux.mh: Ditto.
3339 * config/mips/linux.mh: Ditto.
3340 * config/powerpc/linux.mh: Ditto.
3341 * config/sparc/linux.mh: Ditto.
3343 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
3345 * win32-nat.c: Add i386-tdep.h dependency.
3347 2002-01-07 Michael Snyder <msnyder@redhat.com>
3349 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
3350 instead of bfd_get_arch_size. Don't bail out just because
3351 there's no exec_bfd.
3353 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
3354 * p-valprint.c (pascal_object_print_value): Ditto.
3355 * somread.c (som_symtab_read): Ditto.
3356 * symfile.c (simple_free_overlay_region_table): Ditto.
3357 * valops.c (value_assign): Ditto.
3359 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
3360 use tilde_expand and strerror for opening save-tracepoints file.
3362 * thread-db.c (thread_db_new_objfile): Indendation fix.
3364 * infptrace.c (GDB_MAX_ALLOCA): New define.
3365 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
3366 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
3367 can be overridden with whatever value is appropriate to the host).
3368 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
3369 alloca to allocate potentially large buffer.
3370 * rs6000-nat.c (child_xfer_memory): Ditto.
3371 * symm-nat.c (child_xfer_memory): Ditto.
3372 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
3374 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
3376 From Nick Clifton <nickc@redhat.com>
3377 * d10v-tdep.c: Set STACK_START to 0x200bffe.
3379 2002-01-07 Michael Snyder <msnyder@redhat.com>
3381 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
3382 Don't use exec_bfd if it's NULL.
3384 2002-01-06 Mark Kettenis <kettenis@gnu.org>
3386 * valops.c (value_arg_coerce): Fix formatting.
3388 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3390 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
3393 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3395 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
3396 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
3397 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
3398 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
3399 z8k-coff have not been multi-arched. Update z8k-coff build
3402 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3404 * MAINTAINERS: Mark a29k target as obsolete.
3405 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
3406 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
3408 * NEWS: Note that a29k targets are obsolete.
3409 * a29k-tdep.c: Mark as obsolete.
3410 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3411 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3412 a29k-*-vxworks* targets as obsolete.
3413 * remote-adapt.c: Obsolete.
3414 * remote-eb.c: Obsolete.
3415 * remote-mm.c: Obsolete.
3416 * remote-udi.c: Obsolete.
3417 * config/a29k/a29k-udi.mt: Obsolete.
3418 * config/a29k/a29k.mt: Obsolete.
3419 * config/a29k/tm-a29k.h: Obsolete.
3420 * config/a29k/tm-vx29k.h: Obsolete.
3421 * config/a29k/vx29k.mt: Obsolete.
3423 2002-01-05 Andrew Cagney <ac131313@redhat.com>
3425 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
3426 with BFD_ENDIAN_BIG.
3428 2002-01-05 Andrew Cagney <ac131313@redhat.com>
3430 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
3431 * configure, config.in: Re-generate.
3432 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
3433 * defs.h: Do not include <endian.h>.
3435 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
3437 * acconfig.h (HAVE_PT_GETXMMREGS): New.
3438 * config.in: Regenerate.
3439 * configure.in: Update copyright years.
3440 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
3441 * configure: Regenerate.
3442 * i386bsd-nat.c: Update copyright years.
3443 (fill_gregset): Use regcache_collect.
3444 (fetch_inferior_registers): Only fetch integer registers
3445 if requested to do so. Add support for XMM registers
3446 using PT_GETXMMREGS.
3447 (store_inferior_registers): Only store integer registers
3448 if requested to do so. Add support for XMM registers
3449 using PT_SETXMMREGS.
3450 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
3451 (store_inferior_registers): Remove.
3452 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
3453 (fetch_elfcore_registers): New function.
3454 (i386nbsd_elfcore_fns): New.
3455 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
3456 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
3458 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
3459 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
3460 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
3461 * config/i386/tm-nbsd.h: Update copyright years.
3462 (HAVE_SSE_REGS): Define.
3463 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
3464 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
3465 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
3466 (SIGCONTEXT_PC_OFFSET): Remove.
3467 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
3469 2002-01-05 Andrew Cagney <ac131313@redhat.com>
3471 * configure.tgt: Remove powerpc-*-macos* target.
3472 * config/m68k/xm-mpw.h: Delete file.
3473 * config/xm-mpw.h: Delete file.
3474 * ser-mac.c: Delete file.
3475 * mpw-make.sed: Delete file.
3476 * mpw-config.in: Delete file.
3477 * mac-xdep.c: Delete file.
3478 * mac-gdb.r: Delete file.
3479 * mac-defs.h: Delete file.
3480 * mac-nat.c: Delete file.
3481 * config/powerpc/macos.mh: Delete file.
3482 * config/powerpc/macos.mt: Delete file.
3483 * config/powerpc/nm-macos.h: Delete file.
3484 * config/powerpc/tm-macos.h: Delete file.
3485 * source.c (openp, open_source_file): Remove obsolete code.
3486 * top.c (gdb_readline): Ditto.
3487 * utils.c (query): Ditto.
3488 * event-top.c (display_gdb_prompt): Ditto.
3489 * Makefile.in (ser-mac.o): Delete obsolete target.
3492 2002-01-04 Andrew Cagney <ac131313@redhat.com>
3494 * defs.h (BIG_ENDIAN): Delete macro definition.
3495 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
3496 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
3497 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
3498 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3499 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
3500 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
3501 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
3502 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
3503 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
3504 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
3505 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
3506 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
3507 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3508 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3509 * gdbarch.c: Re-generate.
3511 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3513 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
3516 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3518 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
3520 2002-01-04 Andrew Cagney <ac131313@redhat.com>
3522 * value.h (value_ptr): Delete typedef.
3524 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3526 * i386nbsd-nat.c: Update copyright years.
3527 Include i386-tdep.h.
3529 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
3531 * stabsread.c: Update copyright years.
3533 From Debashis Mahata <debashis.mahata@wipro.com>:
3534 (read_struct_fields): Deal with Sun C compiler erroneous stab
3535 output for structs and unions.
3538 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3540 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
3543 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3545 * cp-abi.c: Fix whitespace.
3546 (baseclass_offset): New wrapper function.
3547 * cp-abi.h (baseclass_offset): Add prototype.
3548 (struct cp_abi_ops): Add baseclass_offset pointer.
3550 * valops.c (vb_match): Move to...
3551 * gnu-v2-abi.c (vb_match): here.
3552 * valops.c (baseclass_offset): Move to...
3553 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
3555 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
3557 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
3558 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
3559 * hpacc-abi.c (init_hpacc_ops): Likewise.
3561 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3563 * valops.c (find_overload_match): Accept obj as a
3564 reference parameter. Update it before returning.
3565 * value.h (find_overload_match): Update prototype.
3566 * eval.c (evaluate_subexp_standard): Pass object to
3567 find_overload_match by reference.
3569 2002-01-03 Andrew Cagney <ac131313@redhat.com>
3571 * valarith.c: Replace value_ptr with struct value pointer. Remove
3572 register attribute from value declarations.
3575 * scm-lang.c (scm_lookup_name): Ditto.
3577 2002-01-03 Michael Snyder <msnyder@redhat.com>
3579 Abstract the functionality of iterating over mapped memory
3580 regions into a general purpose iterator function.
3581 * procfs.c (iterate_over_mappings): New function, general purpose
3582 iterator for memory sections.
3583 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
3584 (solib_mappings_callback): New function, callback for above.
3585 (info_proc_mappings): Reimpliment using iterate_over_mappings.
3586 (info_mappings_callback): New function, callback for above.
3588 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
3590 2002-01-01 Mark Kettenis <kettenis@gnu.org>
3592 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
3593 * i386-tdep.c: Include "elf-bfd.h".
3594 (process_note_abi_tag_sections): New function.
3595 (i386_gdbarch_init): Add code to recognize various OS/ABI
3598 * maint.c (_initialize_maint_cmds): Add missing \ in
3601 For older changes see ChangeLog-2001
3607 version-control: never