1 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
3 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
4 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
5 to here from config/tm-arm.h.
6 (coff_sym_is_thumb): Make static.
7 (arm_elf_make_msymbol_special): New function.
8 (arm_coff_make_msymbol_special): New function.
9 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
10 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
11 (coff_sym_is_thumb): Delete declaration.
12 (arm_elf_make_msymbol_special): Declare.
13 (arm_coff_make_msymbol_special): Declare.
14 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
15 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
17 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
19 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
21 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
23 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
24 * gdbarch.c gdbarch.h: Regenerate.
25 * arch-utils.c (default_print_float_info): New function.
26 * arch-utils.h (default_print_float_info): Prototype it.
27 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
28 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
29 (PRINT_FLOAT_INFO): Document it.
31 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
32 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
33 (PRINT_FLOAT_INFO): Define.
35 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
37 * win32-nat.c (_initialize_check_for_gdb_ini):
38 Add typecast to sprintf argument to suppress a warning.
40 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
42 * win32-nat.c (last_sig): Changed type of variable to target_signal,
43 to allow easier handling of pass state.
44 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
45 that gives exception name and address.
46 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
47 and set last_sig value to ourstatus->value.sig. Some missing
49 (child_continue): Correctly report continue_status.
50 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
51 TARGET_SIGNAL_0 (new default value).
52 (child_resume): consider sig argument passed to decide if
53 the exception should be passed to debuggee or not.
55 2002-02-05 Michael Snyder <msnyder@redhat.com>
57 * regcache.c (fetch_register): Call target_fetch_register
58 only if we don't call FETCH_PSEUDO_REGISTER.
59 (store_register): Call target_store_register only if we
60 don't call STORE_PSEUDO_REGISTER.
62 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
64 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
65 ELF_MAKE_MSYMBOL_SPECIAL.
66 * gdbarch.c, gdbarch.h: Regenerate.
67 * arch-utils.c (default_make_msymbol_special): New function.
68 * arch-utils.h (default_make_msymbol_special): Export.
69 * elfread.c (elf_symtab_read): Compile use of
70 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
72 * coffread.c (coff_symtab_read): Ditto, for
73 COFF_MAKE_MSYMBOL_SPECIAL.
75 2002-02-05 Jim Blandy <jimb@redhat.com>
77 * solib-svr4.c (svr4_truncate_ptr): New function.
78 (svr4_relocate_section_addresses): Do the address arithmetic with
79 the appropriate truncation for target addresses, even when
80 CORE_ADDR is larger than a target address.
82 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
84 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
87 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
89 * gdbserver/linux-low.c (kill_inferior): Remove commented out
92 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
94 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
96 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
98 * gdbserver/linux-low.c: Remove unused include files.
100 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
102 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
103 (read_inferior_memory): Use it.
104 (write_inferior_memory): Likewise.
106 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
108 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
109 grubbing through sys_errlist.
111 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
113 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
115 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
116 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
118 2002-02-04 Andrew Cagney <ac131313@redhat.com>
120 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
121 (do_sfunc, set_cmd_sfunc): New functions.
123 * command.h (struct cmd_list_element): Add field func.
124 * cli/cli-decode.h (struct cmd_list_element): Ditto.
125 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
126 * cli/cli-decode.h: Ditto.
128 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
129 (help_all, help_cmd_list): Ditto.
130 (find_cmd, complete_on_cmdlist): Ditto.
131 * top.c (execute_command): Ditto.
133 * cli/cli-setshow.c (do_setshow_command): Call func instead of
136 * infcmd.c (notice_args_read): Fix function signature.
138 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
139 * cli/cli-decode.c (add_set_cmd): Ditto.
140 * utils.c (initialize_utils): Ditto.
141 * maint.c (_initialize_maint_cmds): Ditto.
142 * infrun.c (_initialize_infrun): Ditto.
143 * demangle.c (_initialize_demangler): Ditto.
144 * remote.c (add_packet_config_cmd): Ditto.
145 * mips-tdep.c (_initialize_mips_tdep): Ditto.
146 * cris-tdep.c (_initialize_cris_tdep): Ditto.
147 * proc-api.c (_initialize_proc_api): Ditto.
148 * kod.c (_initialize_kod): Ditto.
149 * valprint.c (_initialize_valprint): Ditto.
150 * top.c (init_main): Ditto.
151 * infcmd.c (_initialize_infcmd): Ditto.
152 * corefile.c (_initialize_core): Ditto.
153 * arm-tdep.c (_initialize_arm_tdep): Ditto.
154 * arch-utils.c (initialize_current_architecture): Ditto.
155 (_initialize_gdbarch_utils): Ditto.
156 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
158 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
159 * wince.c (_initialize_inftarg): Ditto.
160 * symfile.c (_initialize_symfile): Ditto.
161 * mips-tdep.c (_initialize_mips_tdep): Ditto.
162 * language.c (_initialize_language): Ditto.
163 * arc-tdep.c (_initialize_arc_tdep): Ditto.
165 2002-02-04 Michael Snyder <msnyder@redhat.com>
167 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
169 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
171 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
172 Add rules for building the register data files.
174 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
176 * regformats/regdat.sh: Add braces to the definition of
177 expedite_regs_${arch}.
179 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
181 * regformats/regdef.h (struct reg): Add comment describing the
182 requirements for offset and size fields.
184 2002-02-04 Andreas Schwab <schwab@suse.de>
186 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
187 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
189 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
191 * gdbarch.sh (copyright): Update years in generated header.
192 (SMASH_TEXT_ADDRESS): Add rule.
193 * gdbarch.h, gdbarch.c: Re-generate.
194 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
195 * dbxread.c: Likewise.
196 * dwarfread.c: Likewise.
197 * elfread.c: Likewise.
198 * somread.c: Likewise.
200 * arm-tdep.c (arm_smash_text_address): New function.
201 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
203 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
205 Add support for hardware watchpoints on win32 native.
206 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
207 CONTEXT_DEBUG_REGISTERS.
208 (dr variable): New variable. Static array containing a local copy
210 (debug_registers_changed): New variable. Reflects when debug registers
211 are changed and need to be written to inferior.
212 (debug_registers_used): New variable. Reflects when any debug register
213 was set, used when new threads are created.
214 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
216 (thread_rec): Set dr array if id is the thread of current_event .
217 (child_continue, child_resume): Change the debug registers for all
218 threads if debug_registers_changed.
219 (child_add_thread): Change the debug registers if debug_registers_used.
220 * config/i386/cygwin.mh: Add use of i386-nat.o file.
221 Link nm.h to new nm-cygwin.h file.
222 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
223 of hardware registers.
225 2002-02-03 Andrew Cagney <ac131313@redhat.com>
227 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
228 Restore behavour broken by 2002-01-20 Andrew Cagney
229 <ac131313@redhat.com> IEEE_FLOAT removal.
231 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
233 * c-valprint.c (c_val_print): Pass a proper valaddr to
234 cp_print_class_method.
235 * valops.c (search_struct_method): If there is only one method
236 and args is NULL, return that method.
238 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
240 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
241 accessing tag_name directly.
243 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
245 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
246 of accessing tag_name directly.
248 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
251 * gdbtypes.c (replace_type): New function.
252 * gdbtypes.h (replace_type): Add prototype.
253 * stabsread.c (read_type): Use replace_type.
255 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
257 * Makefile.in (memattr.o): Add missing dependencies rule.
259 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
261 * breakpoint.c (break_at_finish_command): Really export.
262 (break_at_finish_at_depth_command): Ditto.
263 (tbreak_at_finish_command): Ditto.
264 * hppa-tdep.c: Include completer.h.
265 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
266 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
268 2002-02-01 Andrew Cagney <ac131313@redhat.com>
270 * utils.c (do_write): New function.
271 (error_stream): Rewrite combining the code from error_begin and
273 (verror): Rewrite using error_stream.
274 (error_begin): Delete function.
276 2002-02-01 Andrew Cagney <ac131313@redhat.com>
278 * utils.c (error_begin): Make static.
279 * defs.h (error_begin): Delete declaration.
281 * linespec.c (cplusplus_error): Replace cplusplus_hint.
282 (decode_line_1): Use cplusplus_error instead of error_begin,
283 cplusplus_hint and return_to_top_level.
284 * coffread.c (coff_symfile_read): Use error instead of error_begin
285 and return_to_top_level.
286 * infrun.c (default_skip_permanent_breakpoint): Ditto.
288 2002-02-01 Andrew Cagney <ac131313@redhat.com>
290 * language.h (type_error, range_error): Make string parameter
292 * language.c (warning_pre_print): Delete extern declaration.
293 * dwarfread.c (warning_pre_print): Ditto.
294 * language.c (type_error, range_error): Rewrite to use verror and
295 vwarning instead of warning_begin.
297 2002-02-01 Michael Snyder <msnyder@redhat.com>
299 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
300 (set_ignore_count): Move misplaced comment back where it belongs.
302 2002-02-01 Andrew Cagney <ac131313@redhat.com>
304 * command.h (NO_FUNCTION): Delete macro.
305 * cli/cli-decode.h (NO_FUNCTION): Ditto.
306 * top.c (execute_command): Replace NO_FUNCTION with NULL.
307 * tracepoint.c (_initialize_tracepoint): Ditto.
308 * cli/cli-decode.c (add_set_cmd): Ditto.
309 * cli/cli-cmds.c (init_cli_cmds): Ditto.
311 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
313 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
314 Update ``this'' pointer when calling virtual functions.
316 2002-02-01 Michael Snyder <msnyder@redhat.com>
318 * breakpoint.c (create_temp_exception_breakpoint): Delete.
319 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
321 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
323 * regformats/reg-arm.dat: New file.
324 * regformats/reg-i386.dat: New file.
325 * regformats/reg-ia64.dat: New file.
326 * regformats/reg-m68k.dat: New file.
327 * regformats/reg-mips.dat: New file.
328 * regformats/reg-ppc.dat: New file.
329 * regformats/reg-sh.dat: New file.
330 * regformats/regdef.h: New file.
331 * regformats/regdat.sh: New file.
333 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
335 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
336 (arm_frame_args_address, arm_frame_locals_address): New functions.
337 (arm_frame_num_args): New function.
338 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
339 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
340 (FRMA_NUM_ARGS): Call arm_frame_num_args.
342 2002-01-31 Michael Snyder <msnyder@redhat.com>
344 * breakpoint.c (break_at_finish_command): Export.
345 (break_at_finish_at_depth_command): Export.
346 (tbreak_at_finish_command): Export.
347 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
348 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
349 "tbreak" commands, which are HPPA specific.
351 * printcmd.c (disassemble_command): Remove an ancient
352 artifact of an old merge.
354 * symfile.h (enum overlay_debugging_state):
355 Define enum constant values for overlay mode.
356 * symfile.c (overlay_debugging): Use enums instead of literals.
357 (overlay_is_mapped, overlay_auto_command,
358 overlay_manual_command): Ditto.
360 * breakpoint.c (insert_breakpoints, remove_breakpoint,
361 breakpoint_here_p, breakpoint_inserted_here_p,
362 breakpoint_thread_match, bpstat_stop_status,
363 describe_other_breakpoints, check_duplicates, clear_command):
364 Coding standard fixes.
366 * target.c (target_xfer_memory): Add spaces, coding standard.
367 (do_xfer_memory): Add missing line to trust-readonly
368 code: check bfd SEC_READONLY flag for section.
370 2002-01-31 Andrew Cagney <ac131313@redhat.com>
372 * PROBLEMS: Fix typo, 5.1->5.1.1.
374 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
376 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
377 data symbols, since we search based on textlow and texthigh.
378 (find_pc_sect_symtab): Likewise.
380 2002-01-30 Andrew Cagney <ac131313@redhat.com>
382 * defs.h (vwarning): Declare.
383 (warning_begin): Delete declaration.
384 * utils.c (vwarning): New function.
385 (warning): Call vwarning.
386 (warning_begin): Delete function.
388 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
390 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
393 2002-01-30 Michael Snyder <msnyder@redhat.com>
395 * NEWS: Mention "set trust-readonly-sections" command.
396 Mention generate-core-file command.
398 2002-01-15 Michael Snyder <msnyder@redhat.com>
400 * target.c: New command, "set trust-readonly-sections on".
401 (do_xfer_memory): Honor the suggestion to trust readonly sections
402 by reading them from the object file instead of from the target.
403 (initialize_targets): Register command "set trust-readonly-sections".
405 2002-01-29 Andrew Cagney <ac131313@redhat.com>
407 * parse.c (target_map_name_to_register): Simplify, search regs and
408 pseudo-regs using a single loop.
410 2002-01-30 Andrew Cagney <ac131313@redhat.com>
412 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
414 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
416 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
417 * config/i386/i386v42mp.mh: Add i387-nat.o .
418 * i386v4-nat.c: Include i387-nat.h.
419 (supply_fpregset): Use i387_supply_fsave.
420 (fill_fpregset): Use i387_fill_fsave.
422 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
424 * arm-tdep.c (arm_call_dummy_words): Define.
425 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
426 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
427 (CALL_DUMMY_WORDS): Define.
428 (arm_call_dummy_words): Declare.
429 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
430 (arm_linux_call_dummy_words): Declare.
432 2002-01-30 Andreas Schwab <schwab@suse.de>
434 * m68klinux-nat.c: Fix last change to use regcache_collect
435 instead of referencing registers[] directly.
437 2002-01-29 Andrew Cagney <ac131313@redhat.com>
439 * parse.c (target_map_name_to_register): Delete code wrapped in
440 #ifdef REGISTER_NAME_ALIAS_HOOK.
442 2002-01-28 Michael Snyder <msnyder@redhat.com>
444 * regcache.c (legacy_read_register_gen): Need to be able to
445 read pseudo-register as well as real register.
446 (legacy_write_register_gen): Ditto.
448 2002-01-28 Andrew Cagney <ac131313@redhat.com>
450 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
451 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
452 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
453 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
454 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
455 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
456 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
457 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
458 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
459 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
460 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
461 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
462 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
463 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
464 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
465 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
466 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
467 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
468 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
469 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
471 2002-01-28 Andrew Cagney <ac131313@redhat.com>
473 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
474 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
475 (initialize_current_architecture): Update target_byte_order using
476 information from BFD.
477 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
478 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
479 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
481 2002-01-28 Andrew Cagney <ac131313@redhat.com>
483 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
484 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
486 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
487 #ifdef INVALID_FLOAT.
488 * infcmd.c (do_registers_info): Ditto.
489 * values.c (unpack_double): Ditto. Add comment.
491 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
492 already commented out.
494 2002-01-26 Andreas Schwab <schwab@suse.de>
496 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
497 * m68klinux-nat.c: Update ptrace interface for fetching/storing
498 registers and add support for PTRACE_GETREGS.
500 2002-01-24 Andrew Cagney <ac131313@redhat.com>
502 GDB 5.1.1 released from 5.1 branch.
503 * NEWS: Add 5.1.1 news.
504 * README: Sync with 5.1 branch.
506 2002-01-23 Fred Fish <fnf@redhat.com>
508 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
509 stabstring on initial malloc. Reallocing will copy it for us,
512 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
514 * Makefile.in (hpread_h): Delete.
515 (HFILES_NO_SRCDIR): Remove hpread.h.
516 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
517 (hpread.o): Update dependencies.
518 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
520 * hp-psymtab-read.c: Remove file.
521 * hp-symtab-read.c: Remove file.
522 * hpread.h: Remove file.
524 * hpread.c: Merge all contents of hp-psymtab-read.c,
525 hp-symtab-read.c and hpread.h into this file, as it was prior to
528 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
529 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
530 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
531 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
533 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
535 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
536 fill_gregset): Call gdbarch_tdep() just once, assign result to
537 variable and use that, instead of calling the function several
540 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
542 * configure.host: Accept sparcv9 as alias for sparc64.
543 * configure.tgt: Likewise.
545 2002-01-22 Kevin Buettner <kevinb@redhat.com>
547 * solib-aix5.c (build_so_list_from_mapfile)
548 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
549 arguments is not reversed.
550 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
551 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
553 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
555 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
556 modified version of obsolete sh_fetch_pseudo_register.
557 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
558 (sh4_register_read): New function.
559 (sh_pseudo_register_write): New function. Renamed and modified
560 version of obsolete sh_store_pseudo_register.
561 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
562 (sh4_register_write): New function.
563 (sh_gdbarch_init): Remove setting of gdbarch function
564 fetch_pseudo_register and store_pseudo_register. Remove setting of
565 register_convert_to_raw, register_convert_to_virtual,
566 register_convertible.
567 (sh_sh4_register_convertible): Delete. No longer needed. All is
568 taken care by architecture specific functions
569 register_read/register_write.
570 (sh_sh4_register_convert_to_virtual): Make static.
571 (sh_sh4_register_convert_to_raw): Ditto.
573 2002-01-22 Andrew Cagney <ac131313@redhat.com>
575 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
576 (floatformat_is_nan, floatformat_mantissa): Ditto.
578 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
579 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
580 builtin_type_ieee_double_little,
581 builtin_type_ieee_double_littlebyte_bigword,
582 builtin_type_m68881_ext, builtin_type_i960_ext,
583 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
584 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
585 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
586 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
588 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
590 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
591 parameter. Set frameless flag if it exists and depended of
592 whether the scanned function is frameless or not.
593 (xstormy16_skip_prologue): If function is frameless, return
594 result of xstormy16_scan_prologue().
595 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
598 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
600 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
601 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
602 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
603 sh_sh4_register_byte, sh_sh4_register_raw_size,
604 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
605 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
606 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
607 sh_store_pseudo_register, sh_do_pseudo_register): Call
608 gdbarch_tdep() just once, assign result to variable and use that,
609 instead of calling the function several times.
611 2002-01-20 Mark Kettenis <kettenis@gnu.org>
613 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
614 macros instead of LAST_FPU_CTRL_REGNUM.
615 (store_register): Likewise.
617 2002-01-21 Jim Blandy <jimb@redhat.com>
619 * infcmd.c (run_command): Check that the `exec' target layer's BFD
620 is up-to-date before running the program, not just when a program
623 2002-01-21 Fred Fish <fnf@redhat.com>
625 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
626 when we have found all instructions we are looking for.
628 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
630 * arm-tdep.c (arm_register_name): New function.
631 (arm_registers_names): Make static.
632 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
633 (arm_register_name): Declare.
634 (REGISTER_NAME): Use it.
636 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
637 Kevin Buettner <kevinb@redhat.com>
639 Convert arm targets to new FRAME interface.
640 * arm-tdep.c (struct frame_extra_info): Remove fsr.
641 (arm_frame_find_save_regs): Delete.
642 (arm_frame_init_saved_regs): New.
643 (arm_init_extra_frame_info): Alloacte saved_regs as required.
644 Allocate extra_info as required. Convert all uses of fsr.regs
645 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
647 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
648 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
649 (check_prologue_cache, save_prologue_cache): Likewise.
650 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
651 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
652 (FRAME_FIND_SAVED_REGS): Delete.
653 (arm_frame_find_saved_regs): Delete prototype.
654 (arm_frame_init_saved_regs): New prototype.
655 (FRAME_INIT_SAVED_REGS): Define.
657 2002-01-20 Andrew Cagney <ac131313@redhat.com>
659 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
661 2002-01-20 Andrew Cagney <ac131313@redhat.com>
663 From Jeff Law <law@redhat.com>:
664 * infttrace.c: Include <sys/pstat.h>.
665 (child_pid_to_exec_file): Revamp. Use pstat call to get the
666 exec file if the ttrace equivalent fails.
668 2002-01-20 Andrew Cagney <ac131313@redhat.com>
670 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
671 (closeLogFile): Ditto.
673 2002-01-20 Michael Chastain <mec@shout.net>
675 * top.c (print_gdb_version): Bump copyright year to 2002.
677 2002-01-20 Andrew Cagney <ac131313@redhat.com>
679 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
680 Zannoni and Eli Zaretskii.
682 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
684 * buildsym.c: Update copyright years.
685 * c-typeprint.c: Likewise.
686 * dwarf2read.c: Likewise.
687 * f-typeprint.c: Likewise.
688 * gdbtypes.c: Likewise.
689 * gdbtypes.h: Likewise.
690 * hp-symtab-read.c: Likewise.
691 * hpread.c: Likewise.
692 * mdebugread.c: Likewise.
693 * p-typeprint.c: Likewise.
695 2002-01-20 Andrew Cagney <ac131313@redhat.com>
697 * remote-sim.c (gdbsim_open): Simplify code testing the macro
698 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
699 byte-order selectable.
700 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
701 * arch-utils.c: Ditto.
703 (set_endian_from_file): Ditto.
704 * gdbserver/low-sim.c (create_inferior): Ditto.
706 * gdbarch.h: Re-generate.
707 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
708 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
709 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
710 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
711 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
712 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
713 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
714 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
716 * config/mips/tm-wince.h: Remove #undef of macro
717 TARGET_BYTE_ORDER_SELECTABLE.
718 * config/sh/tm-wince.h: Ditto.
720 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
722 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
723 member function fields. Add accessor macro
724 TYPE_FN_FIELD_ARTIFICIAL.
725 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
726 * c-typeprint.c (c_type_print_base): Skip artificial member
729 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
731 * f-typeprint.c: Delete unused function f_type_print_args.
732 * p-typeprint.c: Delete unused function pascal_type_print_args.
734 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
736 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
737 comment. Add ``artificial'' to ``union field_location''.
739 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
741 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
742 * mdebugread.c (parse_symbol): Likewise.
743 * stabsread.c (define_symbol): Likewise.
744 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
745 initializing TYPE_FIELD_BITPOS to n (obsolete).
746 (hpread_doc_function_type): Likewise.
747 * hpread.c (hpread_function_type): Likewise.
749 2002-01-20 Andrew Cagney <ac131313@redhat.com>
751 * configure.in (host_makefile_frag): Only require a host makefile
752 fragment when a native build.
753 * configure: Re-generate.
755 2002-01-20 Andrew Cagney <ac131313@redhat.com>
757 * doublest.h (floatformat_from_type): Declare.
758 * doublest.c (floatformat_from_type): New function.
759 (convert_typed_floating): Use.
761 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
762 call to function floatformat_from_type.
764 * gdbarch.sh (IEEE_FLOAT): Delete.
765 * gdbarch.h, gdbarch.c: Re-generate.
766 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
767 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
768 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
769 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
770 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
771 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
772 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
773 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
774 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
775 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
776 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
777 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
779 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
780 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
781 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
782 * sh-tdep.c (sh_gdbarch_init): Ditto.
783 * mips-tdep.c (mips_gdbarch_init): Ditto.
784 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
785 * cris-tdep.c (cris_gdbarch_init): Ditto.
787 2002-01-20 Jiri Smid <smid@suse.cz>
789 * configure.host, configure.tgt: Support x86-64.
790 * NEWS: Note new target x86-64.
792 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
793 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
794 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
795 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
796 x86-64-linux-nat.o): Fix dependencies.
798 2002-01-19 Andrew Cagney <ac131313@redhat.com>
800 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
801 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
802 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
803 * config/sparc/xm-sun4os4.h: Delete file.
804 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
806 2002-01-19 Andrew Cagney <ac131313@redhat.com>
808 * config/sparc/sparclynx.mh (XM_FILE): Delete.
809 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
810 * config/m68k/m68klynx.mh (XM_FILE): Delete.
811 * config/i386/i386lynx.mh (XM_FILE): Delete.
812 * config/rs6000/xm-rs6000ly.h: Delete file.
813 * config/sparc/xm-sparclynx.h: Delete file.
814 * config/m68k/xm-m68klynx.h: Delete file.
815 * config/i386/xm-i386lynx.h: Delete file.
816 * config/xm-lynx.h: Delete file.
817 * config/djgpp/fnchange.lst: Update.
819 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
821 * alpha-tdep.c (alpha_register_byte): New function.
822 (alpha_register_raw_size): Ditto.
823 (alpha_register_virtual_size): Ditto.
824 (alpha_skip_prologue_internal): Renamed from
826 (alpha_skip_prologue): New version that calls
827 alpha_skip_prologue_internal.
828 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
829 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
830 second argument from alpha_skip_prologue.
831 (REGISTER_BYTE): Use alpha_register_byte.
832 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
833 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
834 (FRAMELESS_FUNCTION_INVOCATION): Use
835 generic_frameless_function_invocation_not.
836 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
837 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
839 2002-01-19 Andrew Cagney <ac131313@redhat.com>
841 * config/mips/xm-news-mips.h: Delete file.
842 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
844 * config/m88k/xm-m88k.h: Delete file.
845 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
846 * config/m88k/xm-delta88v4.h: Ditto.
847 * config/m88k/xm-delta88.h: Ditto.
849 * config/alpha/xm-fbsd.h: Delete file.
850 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
852 * config/sparc/xm-sparc.h: Delete file.
853 * Makefile.in (xm-sun4os4.h): Delete dependency.
854 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
855 * config/sparc/xm-sun4os4.h: Ditto.
856 * config/sparc/xm-linux.h: Ditto.
858 * config/i386/xm-windows.h: Delete file.
860 2002-01-19 Andrew Cagney <ac131313@redhat.com>
862 * utils.c: Include <sys/param.h> for MAXPATHLEN.
863 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
865 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
867 * alpha-tdep.c (alpha_call_dummy_words): New.
868 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
869 (CALL_DUMMY_P): Define.
870 (CALL_DUMMY_WORDS): Define.
871 (SIZEOF_CALL_DUMMY_WORDS): Define.
873 2002-01-19 Per Bothner <per@bothner.com>
875 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
876 isn't NULL, which can happen with some gcj-3.x-produced code.
878 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
880 * alpha-tdep.c (alpha_register_virtual_type): New function.
881 (alpha_init_frame_pc_first): Ditto.
882 (alpha_fix_call_dummy): Ditto.
883 (alpha_store_struct_return): Ditto.
884 (alpha_extract_struct_value_address): Ditto.
885 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
886 alpha_register_virtual_type.
887 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
888 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
889 alpha_extract_struct_value_address.
890 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
891 (INIT_FRAME_PC): Use init_frame_pc_noop.
892 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
894 2002-01-19 Mark Kettenis <kettenis@gnu.org>
896 * i386gnu-nat.c: Include "i386-tdep.h".
897 (fetch_fpregs): Simplify code dealing with uninitialized floating
898 point states such that it doesn't require FP7_REGNUM.
900 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
902 * alpha-tdep.c (frame_extra_info): New.
903 (alpha_find_saved_regs): Make static. Use
905 (alpha_frame_init_saved_regs): New function.
906 (alpha_frame_saved_pc): Use frame->extra_info.
907 (temp_saved_regs): Don't declare as struct frame_saved_regs.
908 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
909 (init_extra_frame_info): Rename to...
910 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
911 (alpha_print_extra_frame_info): New function.
912 (alpha_frame_locals_address): Ditto.
913 (alpha_frame_args_address): Ditto.
914 (alpha_pop_frame): Use frame->extra_info.
915 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
916 alpha_frame_args_address.
917 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
918 (alpha_find_saved_regs): Remove prototype.
919 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
920 (EXTRA_FRAME_INFO): Remove.
921 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
922 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
924 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
926 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
927 (alpha_cannot_fetch_register): Ditto.
928 (alpha_cannot_store_register): Ditto.
929 (alpha_register_convertible): Ditto.
930 (alpha_use_struct_convention): Ditto.
931 * config/alpha/tm-alpha.h: Update copyright years.
932 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
933 (INNER_THAN): Use core_addr_lessthan.
934 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
935 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
936 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
937 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
938 (FRAME_CHAIN): Remove unnecessary cast.
940 2002-01-18 Andrew Cagney <ac131313@redhat.com>
942 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
945 2002-01-18 Andrew Cagney <ac131313@redhat.com>
947 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
948 * monitor.c, remote-array.c, remote-bug.c: Ditto.
949 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
950 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
951 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
952 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
953 * x86-64-linux-nat.c: Ditto.
955 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
957 * alpha-tdep.c (alpha_register_name): New function.
958 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
959 (REGISTER_NAME): Define.
961 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
963 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
965 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
967 * alpha-tdep.c: Update copyright years.
968 (alpha_next_pc): New function.
969 (alpha_software_single_step): Ditto.
970 * config/alpha/tm-alpha.h: Add prototype for
971 alpha_software_single_step.
973 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
975 * alphabsd-nat.c: Update copyright years.
976 (fill_gregset): Use regcache_collect.
977 (fill_fpregset): Likewise.
978 (fetch_inferior_registers): Only fetch integer registers
979 if requested to do so.
980 (store_inferior_registers): Only store integer registers
981 if requested to do so.
983 2002-01-17 Andrew Cagney <ac131313@redhat.com>
985 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
986 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
987 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
988 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
989 * config/alpha/fbsd.mh (XDEPFILES): Delete.
990 * config/arm/linux.mh (XDEPFILES): Delete.
991 * config/arm/nbsd.mh (XDEPFILES): Delete.
992 * config/i386/i386dgux.mh (XDEPFILES): Delete.
993 * config/i386/i386sol2.mh (XDEPFILES): Delete.
994 * config/i386/i386m3.mh (XDEPFILES): Delete.
995 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
996 * config/i386/i386gnu.mh (XDEPFILES): Delete.
997 * config/i386/fbsd.mh (XDEPFILES): Delete.
998 * config/i386/i386bsd.mh (XDEPFILES): Delete.
999 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1000 * config/i386/i386v4.mh (XDEPFILES): Delete.
1001 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1002 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1003 * config/i386/i386aix.mh (XDEPFILES): Delete.
1004 * config/i386/go32.mh (XDEPFILES): Delete.
1005 * config/i386/cygwin.mh (XDEPFILES): Delete.
1006 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1007 * config/i386/i386mach.mh (XDEPFILES): Delete.
1008 * config/i386/i386v32.mh (XDEPFILES): Delete.
1009 * config/i386/linux.mh (XDEPFILES): Delete.
1010 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1011 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1012 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1013 * config/i386/i386sco.mh (XDEPFILES): Delete.
1014 * config/i386/i386v.mh (XDEPFILES): Delete.
1015 * config/i386/nbsd.mh (XDEPFILES): Delete.
1016 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1017 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1018 * config/i386/symmetry.mh (XDEPFILES): Delete.
1019 * config/i386/obsd.mh (XDEPFILES): Delete.
1020 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
1021 * config/ia64/linux.mh (XDEPFILES): Delete.
1022 * config/ia64/aix.mh (XDEPFILES): Delete.
1023 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
1024 * config/m68k/dpx2.mh (XDEPFILES): Delete.
1025 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
1026 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
1027 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
1028 * config/m68k/linux.mh (XDEPFILES): Delete.
1029 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
1030 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
1031 * config/m68k/nbsd.mh (XDEPFILES): Delete.
1032 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
1033 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
1034 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
1035 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
1036 * config/m88k/delta88.mh (XDEPFILES): Delete.
1037 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
1038 * config/m88k/m88k.mh (XDEPFILES): Delete.
1039 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
1040 * config/mips/linux.mh (XDEPFILES): Delete.
1041 * config/mips/irix6.mh (XDEPFILES): Delete.
1042 * config/mips/irix5.mh (XDEPFILES): Delete.
1043 * config/mips/irix4.mh (XDEPFILES): Delete.
1044 * config/mips/irix3.mh (XDEPFILES): Delete.
1045 * config/mips/decstation.mh (XDEPFILES): Delete.
1046 * config/mips/mipsm3.mh (XDEPFILES): Delete.
1047 (NATDEPFILES): Move core-aout.o to here.
1048 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
1049 * config/pa/hpux1020.mh (XDEPFILES): Delete.
1050 * config/pa/hppabsd.mh (XDEPFILES): Delete.
1051 * config/pa/hppahpux.mh (XDEPFILES): Delete.
1052 * config/pa/hpux11w.mh (XDEPFILES): Delete.
1053 * config/pa/hppaosf.mh (XDEPFILES): Delete.
1054 * config/pa/hpux11.mh (XDEPFILES): Delete.
1055 * config/powerpc/aix.mh (XDEPFILES): Delete.
1056 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
1057 * config/powerpc/linux.mh (XDEPFILES): Delete.
1058 * config/romp/rtbsd.mh: Rename XDEPFILES.
1059 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
1060 * config/rs6000/aix4.mh (XDEPFILES): Delete.
1061 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
1062 * config/s390/s390.mh (XDEPFILES): Delete.
1063 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
1064 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
1065 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
1066 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
1067 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
1068 * config/sparc/nbsd.mh (XDEPFILES): Delete.
1069 * config/sparc/linux.mh (XDEPFILES): Delete.
1070 * config/vax/vaxult.mh (XDEPFILES): Delete.
1071 * config/vax/vaxult2.mh (XDEPFILES): Delete.
1072 * Makefile.in (DEPFILES): Remove XDEPFILES.
1074 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1076 * utils.c (internal_verror): Fix comments, default is yes not no.
1077 Update queries to match. Default to quit and dump core.
1079 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1081 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
1083 * defs.h, event-top.c, gdbcmd.h: Ditto.
1084 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
1085 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
1086 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
1087 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
1088 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
1089 * mi/mi-main.c:Ditto.
1091 * stack.c, symfile.c: Update copyright.
1093 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
1095 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1096 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1097 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1098 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
1100 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
1102 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1103 * gdbserver/low-lynx.c (myattach): Likewise.
1104 * gdbserver/low-nbsd.c (myattach): Likewise.
1105 * gdbserver/low-sim.c (myattach): Likewise.
1106 * gdbserver/low-sparc.c (myattach): Likewise.
1107 * gdbserver/low-sun3.c (myattach): Likewise.
1109 * gdbserver/low-linux.c (myattach): New function.
1111 * gdbserver/server.c (attach_inferior): New function.
1112 (main): Handle "--attach".
1114 2002-01-16 Andrew Cagney <ac131313@redhat.com>
1116 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1119 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
1121 * c-typeprint.c (is_type_conversion_operator): Add additional
1122 check for non-conversion operators.
1124 2002-01-15 Michael Snyder <msnyder@redhat.com>
1126 * linux-proc.c: Add "info proc" command, a la procfs.c.
1127 (read_mapping): New function, abstract and re-use code.
1128 (linux_find_memory_regions): Use new func read_mapping.
1129 (linux_info_proc_cmd): New function, implement "info proc".
1130 (_initialize_linux_proc): Add new command "info proc".
1132 2002-01-15 Michael Snyder <msnyder@redhat.com>
1134 * symfile.c (generic_load): Use bfd_map_over_sections method
1135 instead of manipulating bfd structure members directly.
1136 (add_section_size_callback): New function, bfd sections callback
1137 used by generic_load.
1138 (load_sections_callback): New function, bfd sections callback
1139 used by generic_load.
1141 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
1143 [Based on work by Jim Blandy]
1144 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1145 (builtin_type_vec128): Export.
1146 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1148 (builtin_type_vec128): New builtin type for 128 bit vector
1150 (build_gdbtypes): Initialize builtin_type_v16qi and
1151 builtin_type_v8hi. Create the vec128 register builtin type
1153 (build_builtin_type_vec128): New function.
1154 (_initialize_gdbtypes): Register builtin_type_v16qi and
1155 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1156 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1157 AltiVec register to new builtin type.
1159 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
1161 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1164 2002-01-14 Andrew Cagney <ac131313@redhat.com>
1166 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1167 CLEAN_UP_REGISTER_VALUE.
1168 * regcache.c (supply_register): Update only call.
1170 2002-01-14 Andrew Cagney <ac131313@redhat.com>
1172 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1173 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1174 a29k-*-vxworks* targets as obsolete.
1176 2002-01-14 Michael Snyder <msnyder@redhat.com>
1178 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1179 until we can resolve portability issues.
1180 * gregset.h: Remove references to fpxregs.
1181 * gcore.c (gcore_command): Initialize note_sec to NULL.
1183 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1185 * signals.c (target_signal_to_name): Rewrite. Only use
1186 signals[].name when in bounds and non-NULL.
1188 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1190 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1191 * signals.c (target_signal_to_name): Verify that SIG is within the
1192 bounds of the signals array.
1194 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1196 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1198 2002-01-13 Keith Seitz <keiths@redhat.com>
1200 * stack.c (print_frame_info_base): Print the frame's pc
1201 only if when print_frame_info_listing_hook is not defined.
1203 2002-01-13 Keith Seitz <keiths@redhat.com>
1205 * varobj.c (varobj_set_value): Make sure that there were no
1206 errors evaluating the object before attempting to set its
1208 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1209 so this offset adjustment is no longer necessary.
1210 (create_child): Don't set the error flag if the child is
1212 (value_of_child): If value_fetch_lazy fails, return NULL
1213 so that callers will be notified that an error occurred.
1214 (c_value_of_variable): Delay check of variable's validity
1215 until later. We actually want all structs and unions to have
1217 Do not return "???" for variables which could not be evaluated.
1218 This error condition must be returned to the caller so that it
1219 can get the error condition from gdb.
1220 (cplus_name_of_child): Adjust index for vptr before figuring
1221 out the name of the child.
1222 (cplus_value_of_child): If a child's (real) parent is not valid,
1223 don't even bother trying to give a value for it. Just return
1224 an error. Change all instances in this function.
1225 (cplus_type_of_child): If our parent is one of the "fake"
1226 parents, we need to get at the type of the real parent, and
1227 derive the child's true type using this information.
1229 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1231 From 2002-01-09 John Marshall <johnm@falch.net>:
1232 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1233 sources.redhat.com, and tweak some related URLs which had
1234 suffered from linkrot.
1236 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1239 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1240 structures passed in registers.
1242 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1244 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1245 white space which prevented compilation. Reported by DSK
1246 <dsk@student.unsw.edu.au>.
1248 2002-01-11 Michael Snyder <msnyder@redhat.com>
1250 * symfile.c (build_section_addr_info_from_section_tab):
1251 Use bfd access method instead of manipulating bfd directly.
1252 (syms_from_objfile): Ditto.
1253 (simple_overlay_update_1): Ditto.
1254 (simple_overlay_update): Ditto.
1255 (generic_load): Ditto.
1256 (overlay_unmapped_address): FIXME comment, bfd access methods.
1257 (sections_overlap): FIXME comment, bfd access methods.
1258 (pc_in_mapped_range): FIXME comment, bfd access methods.
1259 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1260 (section_is_mapped): FIXME comment, bfd access methods.
1261 (section_is_overlay): FIXME comment, bfd access methods.
1263 * symfile.c (generic_load): Whitespace and long line cleanups.
1264 Remove duplicate variable, change several local variables to
1265 more appropriate data types.
1266 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1268 2002-01-12 Andrew Cagney <ac131313@redhat.com>
1271 * language.c (longest_local_hex_string_custom): Use phex_nz to
1272 convert NUM to a hex string.
1274 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
1276 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1278 Update Copyright year.
1280 2002-01-12 Andrew Cagney <ac131313@redhat.com>
1282 * language.c (longest_raw_hex_string): Delete unused function.
1284 2002-01-11 Petr Sorfa <petrs@caldera.com>
1286 * MAINTAINERS (write-after-approval): Add myself.
1287 * dwarf2read.c (read_tag_string_type): Handling of
1289 (read_tag_string_type): FORTRAN fix to prevent propagation of
1291 (set_cu_language): Handling of DW_LANG_Fortran95
1293 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
1295 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1296 GETPID(inferior_ptid).
1297 (store_inferior_registers): Likewise.
1299 2002-01-10 Jason Merrill <jason@redhat.com>
1301 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1304 2002-01-10 Andrew Cagney <ac131313@redhat.com>
1306 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1307 and bfd/elf32-sh-nbsd.c.
1309 2002-01-10 Michael Snyder <msnyder@redhat.com>
1311 * NEWS: Mention --pid and corefile/proc-id behavior change.
1313 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1314 * gcore.c: Include cli/cli-decode.h instead of command.h.
1316 * main.c (captured_main): Add new command line option "--pid".
1317 If the second command line argument (following the symbol-file)
1318 begins with a digit, try to attach to it before trying to open
1320 (print_gdb_help): Document the "--pid" argument.
1322 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1324 * completer.c (command_completer): New function.
1326 * completer.h <command_completer>: Add prototype.
1328 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1329 completer for the "help" command.
1331 2002-01-09 Jason Merrill <jason@redhat.com>
1333 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1335 2002-01-09 Michael Snyder <msnyder@redhat.com>
1337 * i386-linux-nat.c (fill_fpxregset): Make global.
1338 (store_fpxregset): Ditto.
1340 * gregset.h (gdb_fpxregset_t): Define.
1341 (supply_fpxregset): Prototype.
1342 (fill_fpxregset): Prototype.
1344 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1346 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
1348 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1349 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1350 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1352 2002-01-09 Andrew Cagney <ac131313@redhat.com>
1354 * MAINTAINERS: Update target maintainer rules so that any
1355 Maintainer can approve a tested patch for a maintenance-only
1358 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
1360 * MAINTAINERS (write-after-approval): Add myself.
1362 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
1365 2002-01-08 Michael Snyder <msnyder@redhat.com>
1367 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1368 real name of the executable, rather than the /proc name.
1370 2002-01-03 Michael Snyder <msnyder@redhat.com>
1372 Implement a "generate-core-file" command in gdb, save target state.
1373 * gcore.c: New file. Implement new command 'generate-core-file'.
1374 Save a corefile image of the current state of the inferior.
1375 * linux-proc.c: Add linux-specific code for saving corefiles.
1376 * target.h (struct target_ops): Add new target vectors for saving
1377 corefiles; to_find_memory_regions and to_make_corefile_notes.
1378 (target_find_memory_regions): New macro.
1379 (target_make_corefile_notes): New macro.
1380 * target.c (update_current_target): Inherit new target methods.
1381 (dummy_find_memory_regions): New place-holder method.
1382 (dummy_make_corefile_notes): New place-holder method.
1383 (init_dummy_target): Initialize new dummy target vectors.
1384 * exec.c (exec_set_find_memory_regions): New function.
1385 Allow the exec_ops vector for memory regions to be taken over.
1386 (exec_make_note_section): New function, target vector method.
1387 * defs.h (exec_set_find_memory_regions): Export prototype.
1388 * procfs.c (proc_find_memory_regions): New function, corefile method.
1389 (procfs_make_note_section): New function, corefile method.
1390 (init_procfs_ops): Set new target vector pointers.
1391 (find_memory_regions_callback): New function.
1392 (procfs_do_thread_registers): New function.
1393 (procfs_corefile_thread_callback): New function.
1394 * sol-thread.c (sol_find_memory_regions): New function.
1395 (sol_make_note_section): New function.
1396 (init_sol_thread_ops): Initialize new target vectors.
1397 * inftarg.c (inftarg_set_find_memory_regions): New function.
1398 Allow to_find_memory_regions vector to be taken over.
1399 (inftarg_set_make_corefile_notes): New function.
1400 Allow to_make_corefile_notes vector to be taken over.
1401 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1402 interface layer if not target_has_execution (may be a corefile).
1403 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1404 * config/sparc/sun4sol2.mh: Ditto.
1405 * config/alpha/alpha-linux.mh: Ditto.
1406 * config/arm/linux.mh: Ditto.
1407 * config/i386/x86-64linux.mh: Ditto.
1408 * config/ia64/linux.mh: Ditto.
1409 * config/m68k/linux.mh: Ditto.
1410 * config/mips/linux.mh: Ditto.
1411 * config/powerpc/linux.mh: Ditto.
1412 * config/sparc/linux.mh: Ditto.
1414 2002-01-07 Michael Snyder <msnyder@redhat.com>
1416 * arm-linux-nat.c: Remove references to regcache.c internal data
1417 (registers[] and register_valid[]).
1419 2002-01-07 Michael Snyder <msnyder@redhat.com>
1421 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1422 so that attaching to a pid will automatically read the process's
1423 symbol file and shlibs.
1424 * Makefile.in: Add rule for linux-proc.o.
1425 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1426 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1427 * config/arm/linux.mh: Ditto.
1428 * config/i386/linux.mh: Ditto.
1429 * config/i386/x86-64linux.mh: Ditto.
1430 * config/ia64/linux.mh: Ditto.
1431 * config/m68k/linux.mh: Ditto.
1432 * config/mips/linux.mh: Ditto.
1433 * config/powerpc/linux.mh: Ditto.
1434 * config/sparc/linux.mh: Ditto.
1436 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1438 * win32-nat.c: Add i386-tdep.h dependency.
1440 2002-01-07 Michael Snyder <msnyder@redhat.com>
1442 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1443 instead of bfd_get_arch_size. Don't bail out just because
1444 there's no exec_bfd.
1446 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1447 * p-valprint.c (pascal_object_print_value): Ditto.
1448 * somread.c (som_symtab_read): Ditto.
1449 * symfile.c (simple_free_overlay_region_table): Ditto.
1450 * valops.c (value_assign): Ditto.
1452 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1453 use tilde_expand and strerror for opening save-tracepoints file.
1455 * thread-db.c (thread_db_new_objfile): Indendation fix.
1457 * infptrace.c (GDB_MAX_ALLOCA): New define.
1458 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
1459 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
1460 can be overridden with whatever value is appropriate to the host).
1461 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1462 alloca to allocate potentially large buffer.
1463 * rs6000-nat.c (child_xfer_memory): Ditto.
1464 * symm-nat.c (child_xfer_memory): Ditto.
1465 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1467 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1469 From Nick Clifton <nickc@redhat.com>
1470 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1472 2002-01-07 Michael Snyder <msnyder@redhat.com>
1474 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
1475 Don't use exec_bfd if it's NULL.
1477 2002-01-06 Mark Kettenis <kettenis@gnu.org>
1479 * valops.c (value_arg_coerce): Fix formatting.
1481 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1483 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1486 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1488 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1489 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1490 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1491 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1492 z8k-coff have not been multi-arched. Update z8k-coff build
1495 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1497 * MAINTAINERS: Mark a29k target as obsolete.
1498 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1499 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1501 * NEWS: Note that a29k targets are obsolete.
1502 * a29k-tdep.c: Mark as obsolete.
1503 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1504 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1505 a29k-*-vxworks* targets as obsolete.
1506 * remote-adapt.c: Obsolete.
1507 * remote-eb.c: Obsolete.
1508 * remote-mm.c: Obsolete.
1509 * remote-udi.c: Obsolete.
1510 * config/a29k/a29k-udi.mt: Obsolete.
1511 * config/a29k/a29k.mt: Obsolete.
1512 * config/a29k/tm-a29k.h: Obsolete.
1513 * config/a29k/tm-vx29k.h: Obsolete.
1514 * config/a29k/vx29k.mt: Obsolete.
1516 2002-01-05 Andrew Cagney <ac131313@redhat.com>
1518 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1519 with BFD_ENDIAN_BIG.
1521 2002-01-05 Andrew Cagney <ac131313@redhat.com>
1523 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1524 * configure, config.in: Re-generate.
1525 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1526 * defs.h: Do not include <endian.h>.
1528 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1530 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1531 * config.in: Regenerate.
1532 * configure.in: Update copyright years.
1533 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1534 * configure: Regenerate.
1535 * i386bsd-nat.c: Update copyright years.
1536 (fill_gregset): Use regcache_collect.
1537 (fetch_inferior_registers): Only fetch integer registers
1538 if requested to do so. Add support for XMM registers
1539 using PT_GETXMMREGS.
1540 (store_inferior_registers): Only store integer registers
1541 if requested to do so. Add support for XMM registers
1542 using PT_SETXMMREGS.
1543 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1544 (store_inferior_registers): Remove.
1545 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1546 (fetch_elfcore_registers): New function.
1547 (i386nbsd_elfcore_fns): New.
1548 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1549 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1551 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1552 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1553 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1554 * config/i386/tm-nbsd.h: Update copyright years.
1555 (HAVE_SSE_REGS): Define.
1556 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1557 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1558 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1559 (SIGCONTEXT_PC_OFFSET): Remove.
1560 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1562 2002-01-05 Andrew Cagney <ac131313@redhat.com>
1564 * configure.tgt: Remove powerpc-*-macos* target.
1565 * config/m68k/xm-mpw.h: Delete file.
1566 * config/xm-mpw.h: Delete file.
1567 * ser-mac.c: Delete file.
1568 * mpw-make.sed: Delete file.
1569 * mpw-config.in: Delete file.
1570 * mac-xdep.c: Delete file.
1571 * mac-gdb.r: Delete file.
1572 * mac-defs.h: Delete file.
1573 * mac-nat.c: Delete file.
1574 * config/powerpc/macos.mh: Delete file.
1575 * config/powerpc/macos.mt: Delete file.
1576 * config/powerpc/nm-macos.h: Delete file.
1577 * config/powerpc/tm-macos.h: Delete file.
1578 * source.c (openp, open_source_file): Remove obsolete code.
1579 * top.c (gdb_readline): Ditto.
1580 * utils.c (query): Ditto.
1581 * event-top.c (display_gdb_prompt): Ditto.
1582 * Makefile.in (ser-mac.o): Delete obsolete target.
1585 2002-01-04 Andrew Cagney <ac131313@redhat.com>
1587 * defs.h (BIG_ENDIAN): Delete macro definition.
1588 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1589 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1590 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1591 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1592 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1593 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1594 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1595 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1596 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1597 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1598 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1599 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1600 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1601 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1602 * gdbarch.c: Re-generate.
1604 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1606 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1609 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1611 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1613 2002-01-04 Andrew Cagney <ac131313@redhat.com>
1615 * value.h (value_ptr): Delete typedef.
1617 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1619 * i386nbsd-nat.c: Update copyright years.
1620 Include i386-tdep.h.
1622 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
1624 * stabsread.c: Update copyright years.
1626 From Debashis Mahata <debashis.mahata@wipro.com>:
1627 (read_struct_fields): Deal with Sun C compiler erroneous stab
1628 output for structs and unions.
1631 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1633 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1636 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1638 * cp-abi.c: Fix whitespace.
1639 (baseclass_offset): New wrapper function.
1640 * cp-abi.h (baseclass_offset): Add prototype.
1641 (struct cp_abi_ops): Add baseclass_offset pointer.
1643 * valops.c (vb_match): Move to...
1644 * gnu-v2-abi.c (vb_match): here.
1645 * valops.c (baseclass_offset): Move to...
1646 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1648 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1650 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1651 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1652 * hpacc-abi.c (init_hpacc_ops): Likewise.
1654 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1656 * valops.c (find_overload_match): Accept obj as a
1657 reference parameter. Update it before returning.
1658 * value.h (find_overload_match): Update prototype.
1659 * eval.c (evaluate_subexp_standard): Pass object to
1660 find_overload_match by reference.
1662 2002-01-03 Andrew Cagney <ac131313@redhat.com>
1664 * valarith.c: Replace value_ptr with struct value pointer. Remove
1665 register attribute from value declarations.
1668 * scm-lang.c (scm_lookup_name): Ditto.
1670 2002-01-03 Michael Snyder <msnyder@redhat.com>
1672 Abstract the functionality of iterating over mapped memory
1673 regions into a general purpose iterator function.
1674 * procfs.c (iterate_over_mappings): New function, general purpose
1675 iterator for memory sections.
1676 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1677 (solib_mappings_callback): New function, callback for above.
1678 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1679 (info_mappings_callback): New function, callback for above.
1681 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1683 2002-01-01 Mark Kettenis <kettenis@gnu.org>
1685 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1686 * i386-tdep.c: Include "elf-bfd.h".
1687 (process_note_abi_tag_sections): New function.
1688 (i386_gdbarch_init): Add code to recognize various OS/ABI
1691 * maint.c (_initialize_maint_cmds): Add missing \ in
1694 For older changes see ChangeLog-2001
1700 version-control: never