1 2002-02-04 Andrew Cagney <ac131313@redhat.com>
3 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
4 (do_sfunc, set_cmd_sfunc): New functions.
6 * command.h (struct cmd_list_element): Add field func.
7 * cli/cli-decode.h (struct cmd_list_element): Ditto.
8 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
9 * cli/cli-decode.h: Ditto.
11 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
12 (help_all, help_cmd_list): Ditto.
13 (find_cmd, complete_on_cmdlist): Ditto.
14 * top.c (execute_command): Ditto.
16 * cli/cli-setshow.c (do_setshow_command): Call func instead of
19 * infcmd.c (notice_args_read): Fix function signature.
21 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
22 * cli/cli-decode.c (add_set_cmd): Ditto.
23 * utils.c (initialize_utils): Ditto.
24 * maint.c (_initialize_maint_cmds): Ditto.
25 * infrun.c (_initialize_infrun): Ditto.
26 * demangle.c (_initialize_demangler): Ditto.
27 * remote.c (add_packet_config_cmd): Ditto.
28 * mips-tdep.c (_initialize_mips_tdep): Ditto.
29 * cris-tdep.c (_initialize_cris_tdep): Ditto.
30 * proc-api.c (_initialize_proc_api): Ditto.
31 * kod.c (_initialize_kod): Ditto.
32 * valprint.c (_initialize_valprint): Ditto.
33 * top.c (init_main): Ditto.
34 * infcmd.c (_initialize_infcmd): Ditto.
35 * corefile.c (_initialize_core): Ditto.
36 * arm-tdep.c (_initialize_arm_tdep): Ditto.
37 * arch-utils.c (initialize_current_architecture): Ditto.
38 (_initialize_gdbarch_utils): Ditto.
39 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
41 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
42 * wince.c (_initialize_inftarg): Ditto.
43 * symfile.c (_initialize_symfile): Ditto.
44 * mips-tdep.c (_initialize_mips_tdep): Ditto.
45 * language.c (_initialize_language): Ditto.
46 * arc-tdep.c (_initialize_arc_tdep): Ditto.
48 2002-02-04 Michael Snyder <msnyder@redhat.com>
50 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
52 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
54 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
55 Add rules for building the register data files.
57 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
59 * regformats/regdat.sh: Add braces to the definition of
60 expedite_regs_${arch}.
62 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
64 * regformats/regdef.h (struct reg): Add comment describing the
65 requirements for offset and size fields.
67 2002-02-04 Andreas Schwab <schwab@suse.de>
69 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
70 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
72 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
74 * gdbarch.sh (copyright): Update years in generated header.
75 (SMASH_TEXT_ADDRESS): Add rule.
76 * gdbarch.h, gdbarch.c: Re-generate.
77 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
78 * dbxread.c: Likewise.
79 * dwarfread.c: Likewise.
80 * elfread.c: Likewise.
81 * somread.c: Likewise.
83 * arm-tdep.c (arm_smash_text_address): New function.
84 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
86 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
88 Add support for hardware watchpoints on win32 native.
89 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
90 CONTEXT_DEBUG_REGISTERS.
91 (dr variable): New variable. Static array containing a local copy
93 (debug_registers_changed): New variable. Reflects when debug registers
94 are changed and need to be written to inferior.
95 (debug_registers_used): New variable. Reflects when any debug register
96 was set, used when new threads are created.
97 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
99 (thread_rec): Set dr array if id is the thread of current_event .
100 (child_continue, child_resume): Change the debug registers for all
101 threads if debug_registers_changed.
102 (child_add_thread): Change the debug registers if debug_registers_used.
103 * config/i386/cygwin.mh: Add use of i386-nat.o file.
104 Link nm.h to new nm-cygwin.h file.
105 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
106 of hardware registers.
108 2002-02-03 Andrew Cagney <ac131313@redhat.com>
110 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
111 Restore behavour broken by 2002-01-20 Andrew Cagney
112 <ac131313@redhat.com> IEEE_FLOAT removal.
114 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
116 * c-valprint.c (c_val_print): Pass a proper valaddr to
117 cp_print_class_method.
118 * valops.c (search_struct_method): If there is only one method
119 and args is NULL, return that method.
121 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
123 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
124 accessing tag_name directly.
126 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
128 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
129 of accessing tag_name directly.
131 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
134 * gdbtypes.c (replace_type): New function.
135 * gdbtypes.h (replace_type): Add prototype.
136 * stabsread.c (read_type): Use replace_type.
138 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
140 * Makefile.in (memattr.o): Add missing dependencies rule.
142 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
144 * breakpoint.c (break_at_finish_command): Really export.
145 (break_at_finish_at_depth_command): Ditto.
146 (tbreak_at_finish_command): Ditto.
147 * hppa-tdep.c: Include completer.h.
148 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
149 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
151 2002-02-01 Andrew Cagney <ac131313@redhat.com>
153 * utils.c (do_write): New function.
154 (error_stream): Rewrite combining the code from error_begin and
156 (verror): Rewrite using error_stream.
157 (error_begin): Delete function.
159 2002-02-01 Andrew Cagney <ac131313@redhat.com>
161 * utils.c (error_begin): Make static.
162 * defs.h (error_begin): Delete declaration.
164 * linespec.c (cplusplus_error): Replace cplusplus_hint.
165 (decode_line_1): Use cplusplus_error instead of error_begin,
166 cplusplus_hint and return_to_top_level.
167 * coffread.c (coff_symfile_read): Use error instead of error_begin
168 and return_to_top_level.
169 * infrun.c (default_skip_permanent_breakpoint): Ditto.
171 2002-02-01 Andrew Cagney <ac131313@redhat.com>
173 * language.h (type_error, range_error): Make string parameter
175 * language.c (warning_pre_print): Delete extern declaration.
176 * dwarfread.c (warning_pre_print): Ditto.
177 * language.c (type_error, range_error): Rewrite to use verror and
178 vwarning instead of warning_begin.
180 2002-02-01 Michael Snyder <msnyder@redhat.com>
182 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
183 (set_ignore_count): Move misplaced comment back where it belongs.
185 2002-02-01 Andrew Cagney <ac131313@redhat.com>
187 * command.h (NO_FUNCTION): Delete macro.
188 * cli/cli-decode.h (NO_FUNCTION): Ditto.
189 * top.c (execute_command): Replace NO_FUNCTION with NULL.
190 * tracepoint.c (_initialize_tracepoint): Ditto.
191 * cli/cli-decode.c (add_set_cmd): Ditto.
192 * cli/cli-cmds.c (init_cli_cmds): Ditto.
194 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
196 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
197 Update ``this'' pointer when calling virtual functions.
199 2002-02-01 Michael Snyder <msnyder@redhat.com>
201 * breakpoint.c (create_temp_exception_breakpoint): Delete.
202 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
204 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
206 * regformats/reg-arm.dat: New file.
207 * regformats/reg-i386.dat: New file.
208 * regformats/reg-ia64.dat: New file.
209 * regformats/reg-m68k.dat: New file.
210 * regformats/reg-mips.dat: New file.
211 * regformats/reg-ppc.dat: New file.
212 * regformats/reg-sh.dat: New file.
213 * regformats/regdef.h: New file.
214 * regformats/regdat.sh: New file.
216 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
218 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
219 (arm_frame_args_address, arm_frame_locals_address): New functions.
220 (arm_frame_num_args): New function.
221 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
222 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
223 (FRMA_NUM_ARGS): Call arm_frame_num_args.
225 2002-01-31 Michael Snyder <msnyder@redhat.com>
227 * breakpoint.c (break_at_finish_command): Export.
228 (break_at_finish_at_depth_command): Export.
229 (tbreak_at_finish_command): Export.
230 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
231 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
232 "tbreak" commands, which are HPPA specific.
234 * printcmd.c (disassemble_command): Remove an ancient
235 artifact of an old merge.
237 * symfile.h (enum overlay_debugging_state):
238 Define enum constant values for overlay mode.
239 * symfile.c (overlay_debugging): Use enums instead of literals.
240 (overlay_is_mapped, overlay_auto_command,
241 overlay_manual_command): Ditto.
243 * breakpoint.c (insert_breakpoints, remove_breakpoint,
244 breakpoint_here_p, breakpoint_inserted_here_p,
245 breakpoint_thread_match, bpstat_stop_status,
246 describe_other_breakpoints, check_duplicates, clear_command):
247 Coding standard fixes.
249 * target.c (target_xfer_memory): Add spaces, coding standard.
250 (do_xfer_memory): Add missing line to trust-readonly
251 code: check bfd SEC_READONLY flag for section.
253 2002-01-31 Andrew Cagney <ac131313@redhat.com>
255 * PROBLEMS: Fix typo, 5.1->5.1.1.
257 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
259 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
260 data symbols, since we search based on textlow and texthigh.
261 (find_pc_sect_symtab): Likewise.
263 2002-01-30 Andrew Cagney <ac131313@redhat.com>
265 * defs.h (vwarning): Declare.
266 (warning_begin): Delete declaration.
267 * utils.c (vwarning): New function.
268 (warning): Call vwarning.
269 (warning_begin): Delete function.
271 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
273 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
276 2002-01-30 Michael Snyder <msnyder@redhat.com>
278 * NEWS: Mention "set trust-readonly-sections" command.
279 Mention generate-core-file command.
281 2002-01-15 Michael Snyder <msnyder@redhat.com>
283 * target.c: New command, "set trust-readonly-sections on".
284 (do_xfer_memory): Honor the suggestion to trust readonly sections
285 by reading them from the object file instead of from the target.
286 (initialize_targets): Register command "set trust-readonly-sections".
288 2002-01-29 Andrew Cagney <ac131313@redhat.com>
290 * parse.c (target_map_name_to_register): Simplify, search regs and
291 pseudo-regs using a single loop.
293 2002-01-30 Andrew Cagney <ac131313@redhat.com>
295 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
297 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
299 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
300 * config/i386/i386v42mp.mh: Add i387-nat.o .
301 * i386v4-nat.c: Include i387-nat.h.
302 (supply_fpregset): Use i387_supply_fsave.
303 (fill_fpregset): Use i387_fill_fsave.
305 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
307 * arm-tdep.c (arm_call_dummy_words): Define.
308 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
309 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
310 (CALL_DUMMY_WORDS): Define.
311 (arm_call_dummy_words): Declare.
312 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
313 (arm_linux_call_dummy_words): Declare.
315 2002-01-30 Andreas Schwab <schwab@suse.de>
317 * m68klinux-nat.c: Fix last change to use regcache_collect
318 instead of referencing registers[] directly.
320 2002-01-29 Andrew Cagney <ac131313@redhat.com>
322 * parse.c (target_map_name_to_register): Delete code wrapped in
323 #ifdef REGISTER_NAME_ALIAS_HOOK.
325 2002-01-28 Michael Snyder <msnyder@redhat.com>
327 * regcache.c (legacy_read_register_gen): Need to be able to
328 read pseudo-register as well as real register.
329 (legacy_write_register_gen): Ditto.
331 2002-01-28 Andrew Cagney <ac131313@redhat.com>
333 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
334 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
335 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
336 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
337 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
338 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
339 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
340 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
341 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
342 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
343 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
344 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
345 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
346 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
347 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
348 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
349 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
350 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
351 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
352 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
354 2002-01-28 Andrew Cagney <ac131313@redhat.com>
356 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
357 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
358 (initialize_current_architecture): Update target_byte_order using
359 information from BFD.
360 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
361 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
362 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
364 2002-01-28 Andrew Cagney <ac131313@redhat.com>
366 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
367 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
369 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
370 #ifdef INVALID_FLOAT.
371 * infcmd.c (do_registers_info): Ditto.
372 * values.c (unpack_double): Ditto. Add comment.
374 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
375 already commented out.
377 2002-01-26 Andreas Schwab <schwab@suse.de>
379 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
380 * m68klinux-nat.c: Update ptrace interface for fetching/storing
381 registers and add support for PTRACE_GETREGS.
383 2002-01-24 Andrew Cagney <ac131313@redhat.com>
385 GDB 5.1.1 released from 5.1 branch.
386 * NEWS: Add 5.1.1 news.
387 * README: Sync with 5.1 branch.
389 2002-01-23 Fred Fish <fnf@redhat.com>
391 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
392 stabstring on initial malloc. Reallocing will copy it for us,
395 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
397 * Makefile.in (hpread_h): Delete.
398 (HFILES_NO_SRCDIR): Remove hpread.h.
399 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
400 (hpread.o): Update dependencies.
401 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
403 * hp-psymtab-read.c: Remove file.
404 * hp-symtab-read.c: Remove file.
405 * hpread.h: Remove file.
407 * hpread.c: Merge all contents of hp-psymtab-read.c,
408 hp-symtab-read.c and hpread.h into this file, as it was prior to
411 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
412 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
413 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
414 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
416 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
418 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
419 fill_gregset): Call gdbarch_tdep() just once, assign result to
420 variable and use that, instead of calling the function several
423 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
425 * configure.host: Accept sparcv9 as alias for sparc64.
426 * configure.tgt: Likewise.
428 2002-01-22 Kevin Buettner <kevinb@redhat.com>
430 * solib-aix5.c (build_so_list_from_mapfile)
431 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
432 arguments is not reversed.
433 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
434 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
436 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
438 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
439 modified version of obsolete sh_fetch_pseudo_register.
440 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
441 (sh4_register_read): New function.
442 (sh_pseudo_register_write): New function. Renamed and modified
443 version of obsolete sh_store_pseudo_register.
444 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
445 (sh4_register_write): New function.
446 (sh_gdbarch_init): Remove setting of gdbarch function
447 fetch_pseudo_register and store_pseudo_register. Remove setting of
448 register_convert_to_raw, register_convert_to_virtual,
449 register_convertible.
450 (sh_sh4_register_convertible): Delete. No longer needed. All is
451 taken care by architecture specific functions
452 register_read/register_write.
453 (sh_sh4_register_convert_to_virtual): Make static.
454 (sh_sh4_register_convert_to_raw): Ditto.
456 2002-01-22 Andrew Cagney <ac131313@redhat.com>
458 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
459 (floatformat_is_nan, floatformat_mantissa): Ditto.
461 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
462 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
463 builtin_type_ieee_double_little,
464 builtin_type_ieee_double_littlebyte_bigword,
465 builtin_type_m68881_ext, builtin_type_i960_ext,
466 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
467 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
468 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
469 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
471 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
473 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
474 parameter. Set frameless flag if it exists and depended of
475 whether the scanned function is frameless or not.
476 (xstormy16_skip_prologue): If function is frameless, return
477 result of xstormy16_scan_prologue().
478 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
481 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
483 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
484 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
485 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
486 sh_sh4_register_byte, sh_sh4_register_raw_size,
487 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
488 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
489 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
490 sh_store_pseudo_register, sh_do_pseudo_register): Call
491 gdbarch_tdep() just once, assign result to variable and use that,
492 instead of calling the function several times.
494 2002-01-20 Mark Kettenis <kettenis@gnu.org>
496 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
497 macros instead of LAST_FPU_CTRL_REGNUM.
498 (store_register): Likewise.
500 2002-01-21 Jim Blandy <jimb@redhat.com>
502 * infcmd.c (run_command): Check that the `exec' target layer's BFD
503 is up-to-date before running the program, not just when a program
506 2002-01-21 Fred Fish <fnf@redhat.com>
508 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
509 when we have found all instructions we are looking for.
511 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
513 * arm-tdep.c (arm_register_name): New function.
514 (arm_registers_names): Make static.
515 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
516 (arm_register_name): Declare.
517 (REGISTER_NAME): Use it.
519 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
520 Kevin Buettner <kevinb@redhat.com>
522 Convert arm targets to new FRAME interface.
523 * arm-tdep.c (struct frame_extra_info): Remove fsr.
524 (arm_frame_find_save_regs): Delete.
525 (arm_frame_init_saved_regs): New.
526 (arm_init_extra_frame_info): Alloacte saved_regs as required.
527 Allocate extra_info as required. Convert all uses of fsr.regs
528 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
530 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
531 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
532 (check_prologue_cache, save_prologue_cache): Likewise.
533 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
534 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
535 (FRAME_FIND_SAVED_REGS): Delete.
536 (arm_frame_find_saved_regs): Delete prototype.
537 (arm_frame_init_saved_regs): New prototype.
538 (FRAME_INIT_SAVED_REGS): Define.
540 2002-01-20 Andrew Cagney <ac131313@redhat.com>
542 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
544 2002-01-20 Andrew Cagney <ac131313@redhat.com>
546 From Jeff Law <law@redhat.com>:
547 * infttrace.c: Include <sys/pstat.h>.
548 (child_pid_to_exec_file): Revamp. Use pstat call to get the
549 exec file if the ttrace equivalent fails.
551 2002-01-20 Andrew Cagney <ac131313@redhat.com>
553 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
554 (closeLogFile): Ditto.
556 2002-01-20 Michael Chastain <mec@shout.net>
558 * top.c (print_gdb_version): Bump copyright year to 2002.
560 2002-01-20 Andrew Cagney <ac131313@redhat.com>
562 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
563 Zannoni and Eli Zaretskii.
565 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
567 * buildsym.c: Update copyright years.
568 * c-typeprint.c: Likewise.
569 * dwarf2read.c: Likewise.
570 * f-typeprint.c: Likewise.
571 * gdbtypes.c: Likewise.
572 * gdbtypes.h: Likewise.
573 * hp-symtab-read.c: Likewise.
574 * hpread.c: Likewise.
575 * mdebugread.c: Likewise.
576 * p-typeprint.c: Likewise.
578 2002-01-20 Andrew Cagney <ac131313@redhat.com>
580 * remote-sim.c (gdbsim_open): Simplify code testing the macro
581 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
582 byte-order selectable.
583 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
584 * arch-utils.c: Ditto.
586 (set_endian_from_file): Ditto.
587 * gdbserver/low-sim.c (create_inferior): Ditto.
589 * gdbarch.h: Re-generate.
590 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
591 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
592 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
593 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
594 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
595 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
596 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
597 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
599 * config/mips/tm-wince.h: Remove #undef of macro
600 TARGET_BYTE_ORDER_SELECTABLE.
601 * config/sh/tm-wince.h: Ditto.
603 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
605 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
606 member function fields. Add accessor macro
607 TYPE_FN_FIELD_ARTIFICIAL.
608 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
609 * c-typeprint.c (c_type_print_base): Skip artificial member
612 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
614 * f-typeprint.c: Delete unused function f_type_print_args.
615 * p-typeprint.c: Delete unused function pascal_type_print_args.
617 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
619 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
620 comment. Add ``artificial'' to ``union field_location''.
622 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
624 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
625 * mdebugread.c (parse_symbol): Likewise.
626 * stabsread.c (define_symbol): Likewise.
627 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
628 initializing TYPE_FIELD_BITPOS to n (obsolete).
629 (hpread_doc_function_type): Likewise.
630 * hpread.c (hpread_function_type): Likewise.
632 2002-01-20 Andrew Cagney <ac131313@redhat.com>
634 * configure.in (host_makefile_frag): Only require a host makefile
635 fragment when a native build.
636 * configure: Re-generate.
638 2002-01-20 Andrew Cagney <ac131313@redhat.com>
640 * doublest.h (floatformat_from_type): Declare.
641 * doublest.c (floatformat_from_type): New function.
642 (convert_typed_floating): Use.
644 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
645 call to function floatformat_from_type.
647 * gdbarch.sh (IEEE_FLOAT): Delete.
648 * gdbarch.h, gdbarch.c: Re-generate.
649 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
650 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
651 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
652 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
653 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
654 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
655 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
656 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
657 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
658 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
659 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
660 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
662 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
663 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
664 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
665 * sh-tdep.c (sh_gdbarch_init): Ditto.
666 * mips-tdep.c (mips_gdbarch_init): Ditto.
667 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
668 * cris-tdep.c (cris_gdbarch_init): Ditto.
670 2002-01-20 Jiri Smid <smid@suse.cz>
672 * configure.host, configure.tgt: Support x86-64.
673 * NEWS: Note new target x86-64.
675 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
676 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
677 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
678 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
679 x86-64-linux-nat.o): Fix dependencies.
681 2002-01-19 Andrew Cagney <ac131313@redhat.com>
683 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
684 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
685 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
686 * config/sparc/xm-sun4os4.h: Delete file.
687 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
689 2002-01-19 Andrew Cagney <ac131313@redhat.com>
691 * config/sparc/sparclynx.mh (XM_FILE): Delete.
692 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
693 * config/m68k/m68klynx.mh (XM_FILE): Delete.
694 * config/i386/i386lynx.mh (XM_FILE): Delete.
695 * config/rs6000/xm-rs6000ly.h: Delete file.
696 * config/sparc/xm-sparclynx.h: Delete file.
697 * config/m68k/xm-m68klynx.h: Delete file.
698 * config/i386/xm-i386lynx.h: Delete file.
699 * config/xm-lynx.h: Delete file.
700 * config/djgpp/fnchange.lst: Update.
702 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
704 * alpha-tdep.c (alpha_register_byte): New function.
705 (alpha_register_raw_size): Ditto.
706 (alpha_register_virtual_size): Ditto.
707 (alpha_skip_prologue_internal): Renamed from
709 (alpha_skip_prologue): New version that calls
710 alpha_skip_prologue_internal.
711 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
712 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
713 second argument from alpha_skip_prologue.
714 (REGISTER_BYTE): Use alpha_register_byte.
715 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
716 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
717 (FRAMELESS_FUNCTION_INVOCATION): Use
718 generic_frameless_function_invocation_not.
719 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
720 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
722 2002-01-19 Andrew Cagney <ac131313@redhat.com>
724 * config/mips/xm-news-mips.h: Delete file.
725 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
727 * config/m88k/xm-m88k.h: Delete file.
728 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
729 * config/m88k/xm-delta88v4.h: Ditto.
730 * config/m88k/xm-delta88.h: Ditto.
732 * config/alpha/xm-fbsd.h: Delete file.
733 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
735 * config/sparc/xm-sparc.h: Delete file.
736 * Makefile.in (xm-sun4os4.h): Delete dependency.
737 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
738 * config/sparc/xm-sun4os4.h: Ditto.
739 * config/sparc/xm-linux.h: Ditto.
741 * config/i386/xm-windows.h: Delete file.
743 2002-01-19 Andrew Cagney <ac131313@redhat.com>
745 * utils.c: Include <sys/param.h> for MAXPATHLEN.
746 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
748 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
750 * alpha-tdep.c (alpha_call_dummy_words): New.
751 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
752 (CALL_DUMMY_P): Define.
753 (CALL_DUMMY_WORDS): Define.
754 (SIZEOF_CALL_DUMMY_WORDS): Define.
756 2002-01-19 Per Bothner <per@bothner.com>
758 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
759 isn't NULL, which can happen with some gcj-3.x-produced code.
761 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
763 * alpha-tdep.c (alpha_register_virtual_type): New function.
764 (alpha_init_frame_pc_first): Ditto.
765 (alpha_fix_call_dummy): Ditto.
766 (alpha_store_struct_return): Ditto.
767 (alpha_extract_struct_value_address): Ditto.
768 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
769 alpha_register_virtual_type.
770 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
771 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
772 alpha_extract_struct_value_address.
773 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
774 (INIT_FRAME_PC): Use init_frame_pc_noop.
775 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
777 2002-01-19 Mark Kettenis <kettenis@gnu.org>
779 * i386gnu-nat.c: Include "i386-tdep.h".
780 (fetch_fpregs): Simplify code dealing with uninitialized floating
781 point states such that it doesn't require FP7_REGNUM.
783 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
785 * alpha-tdep.c (frame_extra_info): New.
786 (alpha_find_saved_regs): Make static. Use
788 (alpha_frame_init_saved_regs): New function.
789 (alpha_frame_saved_pc): Use frame->extra_info.
790 (temp_saved_regs): Don't declare as struct frame_saved_regs.
791 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
792 (init_extra_frame_info): Rename to...
793 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
794 (alpha_print_extra_frame_info): New function.
795 (alpha_frame_locals_address): Ditto.
796 (alpha_frame_args_address): Ditto.
797 (alpha_pop_frame): Use frame->extra_info.
798 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
799 alpha_frame_args_address.
800 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
801 (alpha_find_saved_regs): Remove prototype.
802 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
803 (EXTRA_FRAME_INFO): Remove.
804 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
805 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
807 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
809 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
810 (alpha_cannot_fetch_register): Ditto.
811 (alpha_cannot_store_register): Ditto.
812 (alpha_register_convertible): Ditto.
813 (alpha_use_struct_convention): Ditto.
814 * config/alpha/tm-alpha.h: Update copyright years.
815 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
816 (INNER_THAN): Use core_addr_lessthan.
817 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
818 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
819 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
820 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
821 (FRAME_CHAIN): Remove unnecessary cast.
823 2002-01-18 Andrew Cagney <ac131313@redhat.com>
825 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
828 2002-01-18 Andrew Cagney <ac131313@redhat.com>
830 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
831 * monitor.c, remote-array.c, remote-bug.c: Ditto.
832 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
833 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
834 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
835 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
836 * x86-64-linux-nat.c: Ditto.
838 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
840 * alpha-tdep.c (alpha_register_name): New function.
841 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
842 (REGISTER_NAME): Define.
844 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
846 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
848 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
850 * alpha-tdep.c: Update copyright years.
851 (alpha_next_pc): New function.
852 (alpha_software_single_step): Ditto.
853 * config/alpha/tm-alpha.h: Add prototype for
854 alpha_software_single_step.
856 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
858 * alphabsd-nat.c: Update copyright years.
859 (fill_gregset): Use regcache_collect.
860 (fill_fpregset): Likewise.
861 (fetch_inferior_registers): Only fetch integer registers
862 if requested to do so.
863 (store_inferior_registers): Only store integer registers
864 if requested to do so.
866 2002-01-17 Andrew Cagney <ac131313@redhat.com>
868 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
869 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
870 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
871 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
872 * config/alpha/fbsd.mh (XDEPFILES): Delete.
873 * config/arm/linux.mh (XDEPFILES): Delete.
874 * config/arm/nbsd.mh (XDEPFILES): Delete.
875 * config/i386/i386dgux.mh (XDEPFILES): Delete.
876 * config/i386/i386sol2.mh (XDEPFILES): Delete.
877 * config/i386/i386m3.mh (XDEPFILES): Delete.
878 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
879 * config/i386/i386gnu.mh (XDEPFILES): Delete.
880 * config/i386/fbsd.mh (XDEPFILES): Delete.
881 * config/i386/i386bsd.mh (XDEPFILES): Delete.
882 * config/i386/i386sco5.mh (XDEPFILES): Delete.
883 * config/i386/i386v4.mh (XDEPFILES): Delete.
884 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
885 * config/i386/i386sco4.mh (XDEPFILES): Delete.
886 * config/i386/i386aix.mh (XDEPFILES): Delete.
887 * config/i386/go32.mh (XDEPFILES): Delete.
888 * config/i386/cygwin.mh (XDEPFILES): Delete.
889 * config/i386/i386lynx.mh (XDEPFILES): Delete.
890 * config/i386/i386mach.mh (XDEPFILES): Delete.
891 * config/i386/i386v32.mh (XDEPFILES): Delete.
892 * config/i386/linux.mh (XDEPFILES): Delete.
893 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
894 * config/i386/ncr3000.mh (XDEPFILES): Delete.
895 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
896 * config/i386/i386sco.mh (XDEPFILES): Delete.
897 * config/i386/i386v.mh (XDEPFILES): Delete.
898 * config/i386/nbsd.mh (XDEPFILES): Delete.
899 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
900 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
901 * config/i386/symmetry.mh (XDEPFILES): Delete.
902 * config/i386/obsd.mh (XDEPFILES): Delete.
903 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
904 * config/ia64/linux.mh (XDEPFILES): Delete.
905 * config/ia64/aix.mh (XDEPFILES): Delete.
906 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
907 * config/m68k/dpx2.mh (XDEPFILES): Delete.
908 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
909 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
910 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
911 * config/m68k/linux.mh (XDEPFILES): Delete.
912 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
913 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
914 * config/m68k/nbsd.mh (XDEPFILES): Delete.
915 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
916 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
917 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
918 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
919 * config/m88k/delta88.mh (XDEPFILES): Delete.
920 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
921 * config/m88k/m88k.mh (XDEPFILES): Delete.
922 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
923 * config/mips/linux.mh (XDEPFILES): Delete.
924 * config/mips/irix6.mh (XDEPFILES): Delete.
925 * config/mips/irix5.mh (XDEPFILES): Delete.
926 * config/mips/irix4.mh (XDEPFILES): Delete.
927 * config/mips/irix3.mh (XDEPFILES): Delete.
928 * config/mips/decstation.mh (XDEPFILES): Delete.
929 * config/mips/mipsm3.mh (XDEPFILES): Delete.
930 (NATDEPFILES): Move core-aout.o to here.
931 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
932 * config/pa/hpux1020.mh (XDEPFILES): Delete.
933 * config/pa/hppabsd.mh (XDEPFILES): Delete.
934 * config/pa/hppahpux.mh (XDEPFILES): Delete.
935 * config/pa/hpux11w.mh (XDEPFILES): Delete.
936 * config/pa/hppaosf.mh (XDEPFILES): Delete.
937 * config/pa/hpux11.mh (XDEPFILES): Delete.
938 * config/powerpc/aix.mh (XDEPFILES): Delete.
939 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
940 * config/powerpc/linux.mh (XDEPFILES): Delete.
941 * config/romp/rtbsd.mh: Rename XDEPFILES.
942 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
943 * config/rs6000/aix4.mh (XDEPFILES): Delete.
944 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
945 * config/s390/s390.mh (XDEPFILES): Delete.
946 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
947 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
948 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
949 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
950 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
951 * config/sparc/nbsd.mh (XDEPFILES): Delete.
952 * config/sparc/linux.mh (XDEPFILES): Delete.
953 * config/vax/vaxult.mh (XDEPFILES): Delete.
954 * config/vax/vaxult2.mh (XDEPFILES): Delete.
955 * Makefile.in (DEPFILES): Remove XDEPFILES.
957 2002-01-17 Andrew Cagney <ac131313@redhat.com>
959 * utils.c (internal_verror): Fix comments, default is yes not no.
960 Update queries to match. Default to quit and dump core.
962 2002-01-17 Andrew Cagney <ac131313@redhat.com>
964 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
966 * defs.h, event-top.c, gdbcmd.h: Ditto.
967 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
968 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
969 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
970 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
971 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
972 * mi/mi-main.c:Ditto.
974 * stack.c, symfile.c: Update copyright.
976 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
978 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
979 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
980 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
981 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
983 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
985 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
986 * gdbserver/low-lynx.c (myattach): Likewise.
987 * gdbserver/low-nbsd.c (myattach): Likewise.
988 * gdbserver/low-sim.c (myattach): Likewise.
989 * gdbserver/low-sparc.c (myattach): Likewise.
990 * gdbserver/low-sun3.c (myattach): Likewise.
992 * gdbserver/low-linux.c (myattach): New function.
994 * gdbserver/server.c (attach_inferior): New function.
995 (main): Handle "--attach".
997 2002-01-16 Andrew Cagney <ac131313@redhat.com>
999 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1002 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
1004 * c-typeprint.c (is_type_conversion_operator): Add additional
1005 check for non-conversion operators.
1007 2002-01-15 Michael Snyder <msnyder@redhat.com>
1009 * linux-proc.c: Add "info proc" command, a la procfs.c.
1010 (read_mapping): New function, abstract and re-use code.
1011 (linux_find_memory_regions): Use new func read_mapping.
1012 (linux_info_proc_cmd): New function, implement "info proc".
1013 (_initialize_linux_proc): Add new command "info proc".
1015 2002-01-15 Michael Snyder <msnyder@redhat.com>
1017 * symfile.c (generic_load): Use bfd_map_over_sections method
1018 instead of manipulating bfd structure members directly.
1019 (add_section_size_callback): New function, bfd sections callback
1020 used by generic_load.
1021 (load_sections_callback): New function, bfd sections callback
1022 used by generic_load.
1024 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
1026 [Based on work by Jim Blandy]
1027 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1028 (builtin_type_vec128): Export.
1029 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1031 (builtin_type_vec128): New builtin type for 128 bit vector
1033 (build_gdbtypes): Initialize builtin_type_v16qi and
1034 builtin_type_v8hi. Create the vec128 register builtin type
1036 (build_builtin_type_vec128): New function.
1037 (_initialize_gdbtypes): Register builtin_type_v16qi and
1038 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1039 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1040 AltiVec register to new builtin type.
1042 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
1044 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1047 2002-01-14 Andrew Cagney <ac131313@redhat.com>
1049 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1050 CLEAN_UP_REGISTER_VALUE.
1051 * regcache.c (supply_register): Update only call.
1053 2002-01-14 Andrew Cagney <ac131313@redhat.com>
1055 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1056 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1057 a29k-*-vxworks* targets as obsolete.
1059 2002-01-14 Michael Snyder <msnyder@redhat.com>
1061 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1062 until we can resolve portability issues.
1063 * gregset.h: Remove references to fpxregs.
1064 * gcore.c (gcore_command): Initialize note_sec to NULL.
1066 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1068 * signals.c (target_signal_to_name): Rewrite. Only use
1069 signals[].name when in bounds and non-NULL.
1071 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1073 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1074 * signals.c (target_signal_to_name): Verify that SIG is within the
1075 bounds of the signals array.
1077 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1079 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1081 2002-01-13 Keith Seitz <keiths@redhat.com>
1083 * stack.c (print_frame_info_base): Print the frame's pc
1084 only if when print_frame_info_listing_hook is not defined.
1086 2002-01-13 Keith Seitz <keiths@redhat.com>
1088 * varobj.c (varobj_set_value): Make sure that there were no
1089 errors evaluating the object before attempting to set its
1091 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1092 so this offset adjustment is no longer necessary.
1093 (create_child): Don't set the error flag if the child is
1095 (value_of_child): If value_fetch_lazy fails, return NULL
1096 so that callers will be notified that an error occurred.
1097 (c_value_of_variable): Delay check of variable's validity
1098 until later. We actually want all structs and unions to have
1100 Do not return "???" for variables which could not be evaluated.
1101 This error condition must be returned to the caller so that it
1102 can get the error condition from gdb.
1103 (cplus_name_of_child): Adjust index for vptr before figuring
1104 out the name of the child.
1105 (cplus_value_of_child): If a child's (real) parent is not valid,
1106 don't even bother trying to give a value for it. Just return
1107 an error. Change all instances in this function.
1108 (cplus_type_of_child): If our parent is one of the "fake"
1109 parents, we need to get at the type of the real parent, and
1110 derive the child's true type using this information.
1112 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1114 From 2002-01-09 John Marshall <johnm@falch.net>:
1115 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1116 sources.redhat.com, and tweak some related URLs which had
1117 suffered from linkrot.
1119 2002-01-13 Andrew Cagney <ac131313@redhat.com>
1122 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1123 structures passed in registers.
1125 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1127 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1128 white space which prevented compilation. Reported by DSK
1129 <dsk@student.unsw.edu.au>.
1131 2002-01-11 Michael Snyder <msnyder@redhat.com>
1133 * symfile.c (build_section_addr_info_from_section_tab):
1134 Use bfd access method instead of manipulating bfd directly.
1135 (syms_from_objfile): Ditto.
1136 (simple_overlay_update_1): Ditto.
1137 (simple_overlay_update): Ditto.
1138 (generic_load): Ditto.
1139 (overlay_unmapped_address): FIXME comment, bfd access methods.
1140 (sections_overlap): FIXME comment, bfd access methods.
1141 (pc_in_mapped_range): FIXME comment, bfd access methods.
1142 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1143 (section_is_mapped): FIXME comment, bfd access methods.
1144 (section_is_overlay): FIXME comment, bfd access methods.
1146 * symfile.c (generic_load): Whitespace and long line cleanups.
1147 Remove duplicate variable, change several local variables to
1148 more appropriate data types.
1149 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1151 2002-01-12 Andrew Cagney <ac131313@redhat.com>
1154 * language.c (longest_local_hex_string_custom): Use phex_nz to
1155 convert NUM to a hex string.
1157 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
1159 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1161 Update Copyright year.
1163 2002-01-12 Andrew Cagney <ac131313@redhat.com>
1165 * language.c (longest_raw_hex_string): Delete unused function.
1167 2002-01-11 Petr Sorfa <petrs@caldera.com>
1169 * MAINTAINERS (write-after-approval): Add myself.
1170 * dwarf2read.c (read_tag_string_type): Handling of
1172 (read_tag_string_type): FORTRAN fix to prevent propagation of
1174 (set_cu_language): Handling of DW_LANG_Fortran95
1176 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
1178 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1179 GETPID(inferior_ptid).
1180 (store_inferior_registers): Likewise.
1182 2002-01-10 Jason Merrill <jason@redhat.com>
1184 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1187 2002-01-10 Andrew Cagney <ac131313@redhat.com>
1189 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1190 and bfd/elf32-sh-nbsd.c.
1192 2002-01-10 Michael Snyder <msnyder@redhat.com>
1194 * NEWS: Mention --pid and corefile/proc-id behavior change.
1196 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1197 * gcore.c: Include cli/cli-decode.h instead of command.h.
1199 * main.c (captured_main): Add new command line option "--pid".
1200 If the second command line argument (following the symbol-file)
1201 begins with a digit, try to attach to it before trying to open
1203 (print_gdb_help): Document the "--pid" argument.
1205 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1207 * completer.c (command_completer): New function.
1209 * completer.h <command_completer>: Add prototype.
1211 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1212 completer for the "help" command.
1214 2002-01-09 Jason Merrill <jason@redhat.com>
1216 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1218 2002-01-09 Michael Snyder <msnyder@redhat.com>
1220 * i386-linux-nat.c (fill_fpxregset): Make global.
1221 (store_fpxregset): Ditto.
1223 * gregset.h (gdb_fpxregset_t): Define.
1224 (supply_fpxregset): Prototype.
1225 (fill_fpxregset): Prototype.
1227 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1229 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
1231 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1232 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1233 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1235 2002-01-09 Andrew Cagney <ac131313@redhat.com>
1237 * MAINTAINERS: Update target maintainer rules so that any
1238 Maintainer can approve a tested patch for a maintenance-only
1241 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
1243 * MAINTAINERS (write-after-approval): Add myself.
1245 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
1248 2002-01-08 Michael Snyder <msnyder@redhat.com>
1250 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1251 real name of the executable, rather than the /proc name.
1253 2002-01-03 Michael Snyder <msnyder@redhat.com>
1255 Implement a "generate-core-file" command in gdb, save target state.
1256 * gcore.c: New file. Implement new command 'generate-core-file'.
1257 Save a corefile image of the current state of the inferior.
1258 * linux-proc.c: Add linux-specific code for saving corefiles.
1259 * target.h (struct target_ops): Add new target vectors for saving
1260 corefiles; to_find_memory_regions and to_make_corefile_notes.
1261 (target_find_memory_regions): New macro.
1262 (target_make_corefile_notes): New macro.
1263 * target.c (update_current_target): Inherit new target methods.
1264 (dummy_find_memory_regions): New place-holder method.
1265 (dummy_make_corefile_notes): New place-holder method.
1266 (init_dummy_target): Initialize new dummy target vectors.
1267 * exec.c (exec_set_find_memory_regions): New function.
1268 Allow the exec_ops vector for memory regions to be taken over.
1269 (exec_make_note_section): New function, target vector method.
1270 * defs.h (exec_set_find_memory_regions): Export prototype.
1271 * procfs.c (proc_find_memory_regions): New function, corefile method.
1272 (procfs_make_note_section): New function, corefile method.
1273 (init_procfs_ops): Set new target vector pointers.
1274 (find_memory_regions_callback): New function.
1275 (procfs_do_thread_registers): New function.
1276 (procfs_corefile_thread_callback): New function.
1277 * sol-thread.c (sol_find_memory_regions): New function.
1278 (sol_make_note_section): New function.
1279 (init_sol_thread_ops): Initialize new target vectors.
1280 * inftarg.c (inftarg_set_find_memory_regions): New function.
1281 Allow to_find_memory_regions vector to be taken over.
1282 (inftarg_set_make_corefile_notes): New function.
1283 Allow to_make_corefile_notes vector to be taken over.
1284 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1285 interface layer if not target_has_execution (may be a corefile).
1286 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1287 * config/sparc/sun4sol2.mh: Ditto.
1288 * config/alpha/alpha-linux.mh: Ditto.
1289 * config/arm/linux.mh: Ditto.
1290 * config/i386/x86-64linux.mh: Ditto.
1291 * config/ia64/linux.mh: Ditto.
1292 * config/m68k/linux.mh: Ditto.
1293 * config/mips/linux.mh: Ditto.
1294 * config/powerpc/linux.mh: Ditto.
1295 * config/sparc/linux.mh: Ditto.
1297 2002-01-07 Michael Snyder <msnyder@redhat.com>
1299 * arm-linux-nat.c: Remove references to regcache.c internal data
1300 (registers[] and register_valid[]).
1302 2002-01-07 Michael Snyder <msnyder@redhat.com>
1304 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1305 so that attaching to a pid will automatically read the process's
1306 symbol file and shlibs.
1307 * Makefile.in: Add rule for linux-proc.o.
1308 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1309 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1310 * config/arm/linux.mh: Ditto.
1311 * config/i386/linux.mh: Ditto.
1312 * config/i386/x86-64linux.mh: Ditto.
1313 * config/ia64/linux.mh: Ditto.
1314 * config/m68k/linux.mh: Ditto.
1315 * config/mips/linux.mh: Ditto.
1316 * config/powerpc/linux.mh: Ditto.
1317 * config/sparc/linux.mh: Ditto.
1319 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1321 * win32-nat.c: Add i386-tdep.h dependency.
1323 2002-01-07 Michael Snyder <msnyder@redhat.com>
1325 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1326 instead of bfd_get_arch_size. Don't bail out just because
1327 there's no exec_bfd.
1329 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1330 * p-valprint.c (pascal_object_print_value): Ditto.
1331 * somread.c (som_symtab_read): Ditto.
1332 * symfile.c (simple_free_overlay_region_table): Ditto.
1333 * valops.c (value_assign): Ditto.
1335 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1336 use tilde_expand and strerror for opening save-tracepoints file.
1338 * thread-db.c (thread_db_new_objfile): Indendation fix.
1340 * infptrace.c (GDB_MAX_ALLOCA): New define.
1341 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
1342 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
1343 can be overridden with whatever value is appropriate to the host).
1344 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1345 alloca to allocate potentially large buffer.
1346 * rs6000-nat.c (child_xfer_memory): Ditto.
1347 * symm-nat.c (child_xfer_memory): Ditto.
1348 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1350 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1352 From Nick Clifton <nickc@redhat.com>
1353 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1355 2002-01-07 Michael Snyder <msnyder@redhat.com>
1357 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
1358 Don't use exec_bfd if it's NULL.
1360 2002-01-06 Mark Kettenis <kettenis@gnu.org>
1362 * valops.c (value_arg_coerce): Fix formatting.
1364 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1366 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1369 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1371 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1372 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1373 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1374 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1375 z8k-coff have not been multi-arched. Update z8k-coff build
1378 2002-01-06 Andrew Cagney <ac131313@redhat.com>
1380 * MAINTAINERS: Mark a29k target as obsolete.
1381 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1382 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1384 * NEWS: Note that a29k targets are obsolete.
1385 * a29k-tdep.c: Mark as obsolete.
1386 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1387 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1388 a29k-*-vxworks* targets as obsolete.
1389 * remote-adapt.c: Obsolete.
1390 * remote-eb.c: Obsolete.
1391 * remote-mm.c: Obsolete.
1392 * remote-udi.c: Obsolete.
1393 * config/a29k/a29k-udi.mt: Obsolete.
1394 * config/a29k/a29k.mt: Obsolete.
1395 * config/a29k/tm-a29k.h: Obsolete.
1396 * config/a29k/tm-vx29k.h: Obsolete.
1397 * config/a29k/vx29k.mt: Obsolete.
1399 2002-01-05 Andrew Cagney <ac131313@redhat.com>
1401 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1402 with BFD_ENDIAN_BIG.
1404 2002-01-05 Andrew Cagney <ac131313@redhat.com>
1406 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1407 * configure, config.in: Re-generate.
1408 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1409 * defs.h: Do not include <endian.h>.
1411 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1413 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1414 * config.in: Regenerate.
1415 * configure.in: Update copyright years.
1416 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1417 * configure: Regenerate.
1418 * i386bsd-nat.c: Update copyright years.
1419 (fill_gregset): Use regcache_collect.
1420 (fetch_inferior_registers): Only fetch integer registers
1421 if requested to do so. Add support for XMM registers
1422 using PT_GETXMMREGS.
1423 (store_inferior_registers): Only store integer registers
1424 if requested to do so. Add support for XMM registers
1425 using PT_SETXMMREGS.
1426 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1427 (store_inferior_registers): Remove.
1428 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1429 (fetch_elfcore_registers): New function.
1430 (i386nbsd_elfcore_fns): New.
1431 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1432 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1434 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1435 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1436 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1437 * config/i386/tm-nbsd.h: Update copyright years.
1438 (HAVE_SSE_REGS): Define.
1439 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1440 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1441 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1442 (SIGCONTEXT_PC_OFFSET): Remove.
1443 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1445 2002-01-05 Andrew Cagney <ac131313@redhat.com>
1447 * configure.tgt: Remove powerpc-*-macos* target.
1448 * config/m68k/xm-mpw.h: Delete file.
1449 * config/xm-mpw.h: Delete file.
1450 * ser-mac.c: Delete file.
1451 * mpw-make.sed: Delete file.
1452 * mpw-config.in: Delete file.
1453 * mac-xdep.c: Delete file.
1454 * mac-gdb.r: Delete file.
1455 * mac-defs.h: Delete file.
1456 * mac-nat.c: Delete file.
1457 * config/powerpc/macos.mh: Delete file.
1458 * config/powerpc/macos.mt: Delete file.
1459 * config/powerpc/nm-macos.h: Delete file.
1460 * config/powerpc/tm-macos.h: Delete file.
1461 * source.c (openp, open_source_file): Remove obsolete code.
1462 * top.c (gdb_readline): Ditto.
1463 * utils.c (query): Ditto.
1464 * event-top.c (display_gdb_prompt): Ditto.
1465 * Makefile.in (ser-mac.o): Delete obsolete target.
1468 2002-01-04 Andrew Cagney <ac131313@redhat.com>
1470 * defs.h (BIG_ENDIAN): Delete macro definition.
1471 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1472 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1473 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1474 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1475 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1476 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1477 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1478 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1479 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1480 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1481 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1482 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1483 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1484 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1485 * gdbarch.c: Re-generate.
1487 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1489 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1492 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1494 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1496 2002-01-04 Andrew Cagney <ac131313@redhat.com>
1498 * value.h (value_ptr): Delete typedef.
1500 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1502 * i386nbsd-nat.c: Update copyright years.
1503 Include i386-tdep.h.
1505 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
1507 * stabsread.c: Update copyright years.
1509 From Debashis Mahata <debashis.mahata@wipro.com>:
1510 (read_struct_fields): Deal with Sun C compiler erroneous stab
1511 output for structs and unions.
1514 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1516 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1519 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1521 * cp-abi.c: Fix whitespace.
1522 (baseclass_offset): New wrapper function.
1523 * cp-abi.h (baseclass_offset): Add prototype.
1524 (struct cp_abi_ops): Add baseclass_offset pointer.
1526 * valops.c (vb_match): Move to...
1527 * gnu-v2-abi.c (vb_match): here.
1528 * valops.c (baseclass_offset): Move to...
1529 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1531 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1533 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1534 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1535 * hpacc-abi.c (init_hpacc_ops): Likewise.
1537 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1539 * valops.c (find_overload_match): Accept obj as a
1540 reference parameter. Update it before returning.
1541 * value.h (find_overload_match): Update prototype.
1542 * eval.c (evaluate_subexp_standard): Pass object to
1543 find_overload_match by reference.
1545 2002-01-03 Andrew Cagney <ac131313@redhat.com>
1547 * valarith.c: Replace value_ptr with struct value pointer. Remove
1548 register attribute from value declarations.
1551 * scm-lang.c (scm_lookup_name): Ditto.
1553 2002-01-03 Michael Snyder <msnyder@redhat.com>
1555 Abstract the functionality of iterating over mapped memory
1556 regions into a general purpose iterator function.
1557 * procfs.c (iterate_over_mappings): New function, general purpose
1558 iterator for memory sections.
1559 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1560 (solib_mappings_callback): New function, callback for above.
1561 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1562 (info_mappings_callback): New function, callback for above.
1564 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1566 2002-01-01 Mark Kettenis <kettenis@gnu.org>
1568 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1569 * i386-tdep.c: Include "elf-bfd.h".
1570 (process_note_abi_tag_sections): New function.
1571 (i386_gdbarch_init): Add code to recognize various OS/ABI
1574 * maint.c (_initialize_maint_cmds): Add missing \ in
1577 For older changes see ChangeLog-2001
1583 version-control: never