]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
2002-02-04 Michael Snyder <msnyder@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f9ba0717
MS
12002-02-04 Michael Snyder <msnyder@redhat.com>
2
3 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
4
0c74b2a7
DJ
52002-02-04 Daniel Jacobowitz <drow@mvista.com>
6
7 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
8 Add rules for building the register data files.
9
c638789f
DJ
102002-02-04 Daniel Jacobowitz <drow@mvista.com>
11
12 * regformats/regdat.sh: Add braces to the definition of
13 expedite_regs_${arch}.
14
db253027
DJ
152002-02-04 Daniel Jacobowitz <drow@mvista.com>
16
17 * regformats/regdef.h (struct reg): Add comment describing the
18 requirements for offset and size fields.
19
206be19c
AS
202002-02-04 Andreas Schwab <schwab@suse.de>
21
22 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
23 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
24
181c1381
RE
252002-02-04 Richard Earnshaw <rearnsha@arm.com>
26
27 * gdbarch.sh (copyright): Update years in generated header.
28 (SMASH_TEXT_ADDRESS): Add rule.
db253027 29 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
30 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
31 * dbxread.c: Likewise.
32 * dwarfread.c: Likewise.
33 * elfread.c: Likewise.
34 * somread.c: Likewise.
35
36 * arm-tdep.c (arm_smash_text_address): New function.
37 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
38
fa4ba8da
PM
392002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
40
41 Add support for hardware watchpoints on win32 native.
42 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
43 CONTEXT_DEBUG_REGISTERS.
44 (dr variable): New variable. Static array containing a local copy
45 of debug registers.
46 (debug_registers_changed): New variable. Reflects when debug registers
47 are changed and need to be written to inferior.
48 (debug_registers_used): New variable. Reflects when any debug register
49 was set, used when new threads are created.
50 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
51 i386-nat code.
52 (thread_rec): Set dr array if id is the thread of current_event .
53 (child_continue, child_resume): Change the debug registers for all
54 threads if debug_registers_changed.
55 (child_add_thread): Change the debug registers if debug_registers_used.
56 * config/i386/cygwin.mh: Add use of i386-nat.o file.
57 Link nm.h to new nm-cygwin.h file.
58 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
59 of hardware registers.
60
a73c86fb
AC
612002-02-03 Andrew Cagney <ac131313@redhat.com>
62
63 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
64 Restore behavour broken by 2002-01-20 Andrew Cagney
65 <ac131313@redhat.com> IEEE_FLOAT removal.
66
acf5ed49
DJ
672002-02-03 Daniel Jacobowitz <drow@mvista.com>
68
69 * c-valprint.c (c_val_print): Pass a proper valaddr to
70 cp_print_class_method.
71 * valops.c (search_struct_method): If there is only one method
72 and args is NULL, return that method.
73
493d28d5
DJ
742002-02-03 Daniel Jacobowitz <drow@mvista.com>
75
76 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
77 accessing tag_name directly.
78
7495dfdb
DJ
792002-02-03 Daniel Jacobowitz <drow@mvista.com>
80
81 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
82 of accessing tag_name directly.
83
dd6bda65
DJ
842002-02-03 Daniel Jacobowitz <drow@mvista.com>
85
86 PR gdb/280
87 * gdbtypes.c (replace_type): New function.
88 * gdbtypes.h (replace_type): Add prototype.
89 * stabsread.c (read_type): Use replace_type.
90
88fe217c
RE
912002-02-03 Richard Earnshaw <rearnsha@arm.com>
92
93 * Makefile.in (memattr.o): Add missing dependencies rule.
94
e5d66720
PS
952002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
96
97 * breakpoint.c (break_at_finish_command): Really export.
98 (break_at_finish_at_depth_command): Ditto.
99 (tbreak_at_finish_command): Ditto.
100 * hppa-tdep.c: Include completer.h.
101 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
102 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
103
fffee0be
AC
1042002-02-01 Andrew Cagney <ac131313@redhat.com>
105
106 * utils.c (do_write): New function.
107 (error_stream): Rewrite combining the code from error_begin and
108 verror.
109 (verror): Rewrite using error_stream.
110 (error_begin): Delete function.
111
255e7dbf
AC
1122002-02-01 Andrew Cagney <ac131313@redhat.com>
113
114 * utils.c (error_begin): Make static.
115 * defs.h (error_begin): Delete declaration.
116
117 * linespec.c (cplusplus_error): Replace cplusplus_hint.
118 (decode_line_1): Use cplusplus_error instead of error_begin,
119 cplusplus_hint and return_to_top_level.
120 * coffread.c (coff_symfile_read): Use error instead of error_begin
121 and return_to_top_level.
122 * infrun.c (default_skip_permanent_breakpoint): Ditto.
123
ddfe3c15
AC
1242002-02-01 Andrew Cagney <ac131313@redhat.com>
125
126 * language.h (type_error, range_error): Make string parameter
127 constant.
128 * language.c (warning_pre_print): Delete extern declaration.
129 * dwarfread.c (warning_pre_print): Ditto.
130 * language.c (type_error, range_error): Rewrite to use verror and
131 vwarning instead of warning_begin.
132
03ac34d5
MS
1332002-02-01 Michael Snyder <msnyder@redhat.com>
134
261c4ca2
MS
135 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
136 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 137
e00d1dc8
AC
1382002-02-01 Andrew Cagney <ac131313@redhat.com>
139
140 * command.h (NO_FUNCTION): Delete macro.
141 * cli/cli-decode.h (NO_FUNCTION): Ditto.
142 * top.c (execute_command): Replace NO_FUNCTION with NULL.
143 * tracepoint.c (_initialize_tracepoint): Ditto.
144 * cli/cli-decode.c (add_set_cmd): Ditto.
145 * cli/cli-cmds.c (init_cli_cmds): Ditto.
146
76b79d6e
DJ
1472002-02-01 Daniel Jacobowitz <drow@mvista.com>
148
149 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
150 Update ``this'' pointer when calling virtual functions.
151
799f9e91
MS
1522002-02-01 Michael Snyder <msnyder@redhat.com>
153
c7bd442c 154 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
155 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
156
3cf384d4
DJ
1572002-02-01 Daniel Jacobowitz <drow@mvista.com>
158
159 * regformats/reg-arm.dat: New file.
160 * regformats/reg-i386.dat: New file.
161 * regformats/reg-ia64.dat: New file.
162 * regformats/reg-m68k.dat: New file.
163 * regformats/reg-mips.dat: New file.
164 * regformats/reg-ppc.dat: New file.
165 * regformats/reg-sh.dat: New file.
166 * regformats/regdef.h: New file.
167 * regformats/regdat.sh: New file.
168
0defa245
RE
1692002-02-01 Richard Earnshaw <reanrsha@arm.com>
170
171 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
172 (arm_frame_args_address, arm_frame_locals_address): New functions.
173 (arm_frame_num_args): New function.
174 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
175 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
176 (FRMA_NUM_ARGS): Call arm_frame_num_args.
177
405f26e6
MS
1782002-01-31 Michael Snyder <msnyder@redhat.com>
179
502fd408
MS
180 * breakpoint.c (break_at_finish_command): Export.
181 (break_at_finish_at_depth_command): Export.
182 (tbreak_at_finish_command): Export.
183 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
184 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
185 "tbreak" commands, which are HPPA specific.
186
7d35e135
MS
187 * printcmd.c (disassemble_command): Remove an ancient
188 artifact of an old merge.
189
d874f1e2
MS
190 * symfile.h (enum overlay_debugging_state):
191 Define enum constant values for overlay mode.
192 * symfile.c (overlay_debugging): Use enums instead of literals.
193 (overlay_is_mapped, overlay_auto_command,
194 overlay_manual_command): Ditto.
195
9f04af04
MS
196 * breakpoint.c (insert_breakpoints, remove_breakpoint,
197 breakpoint_here_p, breakpoint_inserted_here_p,
198 breakpoint_thread_match, bpstat_stop_status,
199 describe_other_breakpoints, check_duplicates, clear_command):
200 Coding standard fixes.
201
8add0441 202 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 203 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
204 code: check bfd SEC_READONLY flag for section.
205
e351066e
AC
2062002-01-31 Andrew Cagney <ac131313@redhat.com>
207
7d35e135 208 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 209
8a48e967
DJ
2102002-01-30 Daniel Jacobowitz <drow@mvista.com>
211
212 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
213 data symbols, since we search based on textlow and texthigh.
214 (find_pc_sect_symtab): Likewise.
215
f5a96129
AC
2162002-01-30 Andrew Cagney <ac131313@redhat.com>
217
218 * defs.h (vwarning): Declare.
219 (warning_begin): Delete declaration.
220 * utils.c (vwarning): New function.
221 (warning): Call vwarning.
222 (warning_begin): Delete function.
223
224 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
225 the warning message.
226 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
227 warning_begin.
228
cefd4ef5
MS
2292002-01-30 Michael Snyder <msnyder@redhat.com>
230
1a703748
MS
231 * NEWS: Mention "set trust-readonly-sections" command.
232 Mention generate-core-file command.
cefd4ef5 233
3a11626d
MS
2342002-01-15 Michael Snyder <msnyder@redhat.com>
235
236 * target.c: New command, "set trust-readonly-sections on".
237 (do_xfer_memory): Honor the suggestion to trust readonly sections
238 by reading them from the object file instead of from the target.
239 (initialize_targets): Register command "set trust-readonly-sections".
240
d1c7e53b
AC
2412002-01-29 Andrew Cagney <ac131313@redhat.com>
242
243 * parse.c (target_map_name_to_register): Simplify, search regs and
244 pseudo-regs using a single loop.
245
e2c9a72c
AC
2462002-01-30 Andrew Cagney <ac131313@redhat.com>
247
248 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
249
69824b4e
MK
2502002-01-15 Rodney Brown <rbrown64@csc.com.au>
251
252 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
253 * config/i386/i386v42mp.mh: Add i387-nat.o .
254 * i386v4-nat.c: Include i387-nat.h.
255 (supply_fpregset): Use i387_supply_fsave.
256 (fill_fpregset): Use i387_fill_fsave.
257
6eb69eab
RE
2582002-01-30 Richard Earnshaw <rearnsha@arm.com>
259
260 * arm-tdep.c (arm_call_dummy_words): Define.
261 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
262 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
263 (CALL_DUMMY_WORDS): Define.
264 (arm_call_dummy_words): Declare.
265 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
266 (arm_linux_call_dummy_words): Declare.
267
9852326a
AS
2682002-01-30 Andreas Schwab <schwab@suse.de>
269
270 * m68klinux-nat.c: Fix last change to use regcache_collect
271 instead of referencing registers[] directly.
272
977a3030
AC
2732002-01-29 Andrew Cagney <ac131313@redhat.com>
274
275 * parse.c (target_map_name_to_register): Delete code wrapped in
276 #ifdef REGISTER_NAME_ALIAS_HOOK.
277
2076c72b
MS
2782002-01-28 Michael Snyder <msnyder@redhat.com>
279
280 * regcache.c (legacy_read_register_gen): Need to be able to
281 read pseudo-register as well as real register.
282 (legacy_write_register_gen): Ditto.
283
8fcc723b
AC
2842002-01-28 Andrew Cagney <ac131313@redhat.com>
285
286 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
287 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
288 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
289 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
290 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
291 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
292 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
293 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
294 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
295 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
296 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
297 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
298 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
299 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
300 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
301 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
302 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
303 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
304 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
305 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
306
afe64c1a
AC
3072002-01-28 Andrew Cagney <ac131313@redhat.com>
308
309 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
310 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
311 (initialize_current_architecture): Update target_byte_order using
312 information from BFD.
313 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
314 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
315 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
316
75bc7ddf
AC
3172002-01-28 Andrew Cagney <ac131313@redhat.com>
318
319 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
320 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
321
322 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
323 #ifdef INVALID_FLOAT.
324 * infcmd.c (do_registers_info): Ditto.
325 * values.c (unpack_double): Ditto. Add comment.
326
327 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
328 already commented out.
329
0280a90a
AS
3302002-01-26 Andreas Schwab <schwab@suse.de>
331
332 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
333 * m68klinux-nat.c: Update ptrace interface for fetching/storing
334 registers and add support for PTRACE_GETREGS.
335
7072a954
AC
3362002-01-24 Andrew Cagney <ac131313@redhat.com>
337
338 GDB 5.1.1 released from 5.1 branch.
339 * NEWS: Add 5.1.1 news.
340 * README: Sync with 5.1 branch.
341
86f902e0
FF
3422002-01-23 Fred Fish <fnf@redhat.com>
343
344 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
345 stabstring on initial malloc. Reallocing will copy it for us,
346 if necessary.
347
8af51c36
EZ
3482002-01-23 Elena Zannoni <ezannoni@redhat.com>
349
350 * Makefile.in (hpread_h): Delete.
351 (HFILES_NO_SRCDIR): Remove hpread.h.
352 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
353 (hpread.o): Update dependencies.
354 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
355
356 * hp-psymtab-read.c: Remove file.
357 * hp-symtab-read.c: Remove file.
358 * hpread.h: Remove file.
359
360 * hpread.c: Merge all contents of hp-psymtab-read.c,
361 hp-symtab-read.c and hpread.h into this file, as it was prior to
362 January 1999.
363
364 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
365 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
366 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
367 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
368
dc5cfeb6
EZ
3692002-01-23 Elena Zannoni <ezannoni@redhat.com>
370
371 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
372 fill_gregset): Call gdbarch_tdep() just once, assign result to
373 variable and use that, instead of calling the function several
374 times.
375
ea87b71b
AO
3762002-01-24 Alexandre Oliva <aoliva@redhat.com>
377
378 * configure.host: Accept sparcv9 as alias for sparc64.
379 * configure.tgt: Likewise.
380
13fc0c2f
KB
3812002-01-22 Kevin Buettner <kevinb@redhat.com>
382
383 * solib-aix5.c (build_so_list_from_mapfile)
384 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
385 arguments is not reversed.
386 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
387 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
388
7bd872fe
EZ
3892002-01-22 Elena Zannoni <ezannoni@redhat.com>
390
391 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
392 modified version of obsolete sh_fetch_pseudo_register.
393 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
394 (sh4_register_read): New function.
395 (sh_pseudo_register_write): New function. Renamed and modified
396 version of obsolete sh_store_pseudo_register.
397 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
398 (sh4_register_write): New function.
399 (sh_gdbarch_init): Remove setting of gdbarch function
400 fetch_pseudo_register and store_pseudo_register. Remove setting of
401 register_convert_to_raw, register_convert_to_virtual,
402 register_convertible.
403 (sh_sh4_register_convertible): Delete. No longer needed. All is
404 taken care by architecture specific functions
405 register_read/register_write.
406 (sh_sh4_register_convert_to_virtual): Make static.
407 (sh_sh4_register_convert_to_raw): Ditto.
408
069e84fd
AC
4092002-01-22 Andrew Cagney <ac131313@redhat.com>
410
411 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
412 (floatformat_is_nan, floatformat_mantissa): Ditto.
413
414 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
415 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
416 builtin_type_ieee_double_little,
417 builtin_type_ieee_double_littlebyte_bigword,
418 builtin_type_m68881_ext, builtin_type_i960_ext,
419 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
420 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
421 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
422 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
423
211a4f69
CV
4242002-01-22 Corinna Vinschen <vinschen@redhat.com>
425
426 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
427 parameter. Set frameless flag if it exists and depended of
428 whether the scanned function is frameless or not.
429 (xstormy16_skip_prologue): If function is frameless, return
430 result of xstormy16_scan_prologue().
431 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
432 call.
433
f81353e4
EZ
4342002-01-21 Elena Zannoni <ezannoni@redhat.com>
435
436 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
437 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
438 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
439 sh_sh4_register_byte, sh_sh4_register_raw_size,
440 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
441 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
442 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
443 sh_store_pseudo_register, sh_do_pseudo_register): Call
444 gdbarch_tdep() just once, assign result to variable and use that,
445 instead of calling the function several times.
446
63c73a17
MK
4472002-01-20 Mark Kettenis <kettenis@gnu.org>
448
449 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
450 macros instead of LAST_FPU_CTRL_REGNUM.
451 (store_register): Likewise.
452
39ad761d
JB
4532002-01-21 Jim Blandy <jimb@redhat.com>
454
455 * infcmd.c (run_command): Check that the `exec' target layer's BFD
456 is up-to-date before running the program, not just when a program
457 exits.
458
3d74b771
FF
4592002-01-21 Fred Fish <fnf@redhat.com>
460
461 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
462 when we have found all instructions we are looking for.
463
966fbf70
RE
4642002-01-21 Richard Earnshaw <rearnsha@arm.com>
465
466 * arm-tdep.c (arm_register_name): New function.
467 (arm_registers_names): Make static.
468 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
469 (arm_register_name): Declare.
470 (REGISTER_NAME): Use it.
471
c3b4394c
RE
4722002-01-21 Richard Earnshaw <rearnsha@arm.com>
473 Kevin Buettner <kevinb@redhat.com>
474
475 Convert arm targets to new FRAME interface.
476 * arm-tdep.c (struct frame_extra_info): Remove fsr.
477 (arm_frame_find_save_regs): Delete.
478 (arm_frame_init_saved_regs): New.
479 (arm_init_extra_frame_info): Alloacte saved_regs as required.
480 Allocate extra_info as required. Convert all uses of fsr.regs
481 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
482 to use extra_info.
483 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
484 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
485 (check_prologue_cache, save_prologue_cache): Likewise.
486 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
487 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
488 (FRAME_FIND_SAVED_REGS): Delete.
489 (arm_frame_find_saved_regs): Delete prototype.
490 (arm_frame_init_saved_regs): New prototype.
491 (FRAME_INIT_SAVED_REGS): Define.
492
61d99182
AC
4932002-01-20 Andrew Cagney <ac131313@redhat.com>
494
495 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
496
6aaea291
AC
4972002-01-20 Andrew Cagney <ac131313@redhat.com>
498
499 From Jeff Law <law@redhat.com>:
500 * infttrace.c: Include <sys/pstat.h>.
501 (child_pid_to_exec_file): Revamp. Use pstat call to get the
502 exec file if the ttrace equivalent fails.
503
15f698d2
AC
5042002-01-20 Andrew Cagney <ac131313@redhat.com>
505
506 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
507 (closeLogFile): Ditto.
508
f86ddd7c
MC
5092002-01-20 Michael Chastain <mec@shout.net>
510
511 * top.c (print_gdb_version): Bump copyright year to 2002.
512
904507ce
AC
5132002-01-20 Andrew Cagney <ac131313@redhat.com>
514
515 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
516 Zannoni and Eli Zaretskii.
517
d7f0b9ce
DJ
5182002-01-20 Daniel Jacobowitz <drow@mvista.com>
519
520 * buildsym.c: Update copyright years.
521 * c-typeprint.c: Likewise.
522 * dwarf2read.c: Likewise.
523 * f-typeprint.c: Likewise.
524 * gdbtypes.c: Likewise.
525 * gdbtypes.h: Likewise.
526 * hp-symtab-read.c: Likewise.
527 * hpread.c: Likewise.
528 * mdebugread.c: Likewise.
529 * p-typeprint.c: Likewise.
530
3fd3d7d2
AC
5312002-01-20 Andrew Cagney <ac131313@redhat.com>
532
533 * remote-sim.c (gdbsim_open): Simplify code testing the macro
534 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
535 byte-order selectable.
536 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
537 * arch-utils.c: Ditto.
538 (set_endian): Ditto.
539 (set_endian_from_file): Ditto.
540 * gdbserver/low-sim.c (create_inferior): Ditto.
541 * gdbarch.sh: Ditto.
542 * gdbarch.h: Re-generate.
543 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
544 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
545 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
546 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
547 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
548 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
549 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
550 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
551 macro definition.
552 * config/mips/tm-wince.h: Remove #undef of macro
553 TARGET_BYTE_ORDER_SELECTABLE.
554 * config/sh/tm-wince.h: Ditto.
555
b02dede2
DJ
5562002-01-20 Daniel Jacobowitz <drow@mvista.com>
557
558 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
559 member function fields. Add accessor macro
560 TYPE_FN_FIELD_ARTIFICIAL.
561 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
562 * c-typeprint.c (c_type_print_base): Skip artificial member
563 functions.
564
c3643761
DJ
5652002-01-20 Daniel Jacobowitz <drow@mvista.com>
566
567 * f-typeprint.c: Delete unused function f_type_print_args.
568 * p-typeprint.c: Delete unused function pascal_type_print_args.
569
8176bb6d
DJ
5702002-01-20 Daniel Jacobowitz <drow@mvista.com>
571
572 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
573 comment. Add ``artificial'' to ``union field_location''.
574
575 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
576
577 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
578 * mdebugread.c (parse_symbol): Likewise.
579 * stabsread.c (define_symbol): Likewise.
580 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
581 initializing TYPE_FIELD_BITPOS to n (obsolete).
582 (hpread_doc_function_type): Likewise.
583 * hpread.c (hpread_function_type): Likewise.
584
7fd60527
AC
5852002-01-20 Andrew Cagney <ac131313@redhat.com>
586
587 * configure.in (host_makefile_frag): Only require a host makefile
588 fragment when a native build.
589 * configure: Re-generate.
590
c2f05ac9
AC
5912002-01-20 Andrew Cagney <ac131313@redhat.com>
592
593 * doublest.h (floatformat_from_type): Declare.
594 * doublest.c (floatformat_from_type): New function.
595 (convert_typed_floating): Use.
596
597 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
598 call to function floatformat_from_type.
599
600 * gdbarch.sh (IEEE_FLOAT): Delete.
601 * gdbarch.h, gdbarch.c: Re-generate.
602 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
603 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
604 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
605 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
606 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
607 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
608 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
609 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
610 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
611 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
612 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
613 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
614
615 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
616 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
617 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
618 * sh-tdep.c (sh_gdbarch_init): Ditto.
619 * mips-tdep.c (mips_gdbarch_init): Ditto.
620 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
621 * cris-tdep.c (cris_gdbarch_init): Ditto.
622
abf22e64
AJ
6232002-01-20 Jiri Smid <smid@suse.cz>
624
625 * configure.host, configure.tgt: Support x86-64.
626 * NEWS: Note new target x86-64.
627
b7c4cbf8
AJ
628 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
629 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
630 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
631 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
632 x86-64-linux-nat.o): Fix dependencies.
633
82600034
AC
6342002-01-19 Andrew Cagney <ac131313@redhat.com>
635
636 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
637 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
638 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
639 * config/sparc/xm-sun4os4.h: Delete file.
640 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 641
bbe5c628
AC
6422002-01-19 Andrew Cagney <ac131313@redhat.com>
643
644 * config/sparc/sparclynx.mh (XM_FILE): Delete.
645 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
646 * config/m68k/m68klynx.mh (XM_FILE): Delete.
647 * config/i386/i386lynx.mh (XM_FILE): Delete.
648 * config/rs6000/xm-rs6000ly.h: Delete file.
649 * config/sparc/xm-sparclynx.h: Delete file.
650 * config/m68k/xm-m68klynx.h: Delete file.
651 * config/i386/xm-i386lynx.h: Delete file.
652 * config/xm-lynx.h: Delete file.
653 * config/djgpp/fnchange.lst: Update.
654
f8453e34
JT
6552002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
656
657 * alpha-tdep.c (alpha_register_byte): New function.
658 (alpha_register_raw_size): Ditto.
659 (alpha_register_virtual_size): Ditto.
660 (alpha_skip_prologue_internal): Renamed from
661 alpha_skip_prologue.
662 (alpha_skip_prologue): New version that calls
663 alpha_skip_prologue_internal.
664 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
665 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
666 second argument from alpha_skip_prologue.
667 (REGISTER_BYTE): Use alpha_register_byte.
668 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
669 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
670 (FRAMELESS_FUNCTION_INVOCATION): Use
671 generic_frameless_function_invocation_not.
672 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
673 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
674
52d9e613
AC
6752002-01-19 Andrew Cagney <ac131313@redhat.com>
676
677 * config/mips/xm-news-mips.h: Delete file.
678 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
679
680 * config/m88k/xm-m88k.h: Delete file.
681 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
682 * config/m88k/xm-delta88v4.h: Ditto.
683 * config/m88k/xm-delta88.h: Ditto.
684
685 * config/alpha/xm-fbsd.h: Delete file.
686 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
687
688 * config/sparc/xm-sparc.h: Delete file.
689 * Makefile.in (xm-sun4os4.h): Delete dependency.
690 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
691 * config/sparc/xm-sun4os4.h: Ditto.
692 * config/sparc/xm-linux.h: Ditto.
693
694 * config/i386/xm-windows.h: Delete file.
695
2d1b2124
AC
6962002-01-19 Andrew Cagney <ac131313@redhat.com>
697
698 * utils.c: Include <sys/param.h> for MAXPATHLEN.
699 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
700
ee1f65f0
JT
7012002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
702
703 * alpha-tdep.c (alpha_call_dummy_words): New.
704 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
705 (CALL_DUMMY_P): Define.
706 (CALL_DUMMY_WORDS): Define.
707 (SIZEOF_CALL_DUMMY_WORDS): Define.
708
98081e55
PB
7092002-01-19 Per Bothner <per@bothner.com>
710
711 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
712 isn't NULL, which can happen with some gcj-3.x-produced code.
713
0d056799
JT
7142002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
715
716 * alpha-tdep.c (alpha_register_virtual_type): New function.
717 (alpha_init_frame_pc_first): Ditto.
718 (alpha_fix_call_dummy): Ditto.
719 (alpha_store_struct_return): Ditto.
720 (alpha_extract_struct_value_address): Ditto.
721 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
722 alpha_register_virtual_type.
723 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
724 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
725 alpha_extract_struct_value_address.
726 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
727 (INIT_FRAME_PC): Use init_frame_pc_noop.
728 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
729
4604bcad
MK
7302002-01-19 Mark Kettenis <kettenis@gnu.org>
731
732 * i386gnu-nat.c: Include "i386-tdep.h".
733 (fetch_fpregs): Simplify code dealing with uninitialized floating
734 point states such that it doesn't require FP7_REGNUM.
735
140f9984
JT
7362002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
737
abf22e64
AJ
738 * alpha-tdep.c (frame_extra_info): New.
739 (alpha_find_saved_regs): Make static. Use
140f9984
JT
740 frame->extra_info.
741 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
742 (alpha_frame_saved_pc): Use frame->extra_info.
743 (temp_saved_regs): Don't declare as struct frame_saved_regs.
744 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
745 (init_extra_frame_info): Rename to...
746 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 747 (alpha_print_extra_frame_info): New function.
140f9984
JT
748 (alpha_frame_locals_address): Ditto.
749 (alpha_frame_args_address): Ditto.
abf22e64 750 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
751 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
752 alpha_frame_args_address.
abf22e64 753 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 754 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
755 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
756 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
757 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
758 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
759
d734c450
JT
7602002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
761
762 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
763 (alpha_cannot_fetch_register): Ditto.
764 (alpha_cannot_store_register): Ditto.
765 (alpha_register_convertible): Ditto.
766 (alpha_use_struct_convention): Ditto.
767 * config/alpha/tm-alpha.h: Update copyright years.
768 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
769 (INNER_THAN): Use core_addr_lessthan.
770 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
771 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
772 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
773 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
774 (FRAME_CHAIN): Remove unnecessary cast.
775
b4ceaee6
AC
7762002-01-18 Andrew Cagney <ac131313@redhat.com>
777
778 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
779 obsolete.
780
0a65a603
AC
7812002-01-18 Andrew Cagney <ac131313@redhat.com>
782
783 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
784 * monitor.c, remote-array.c, remote-bug.c: Ditto.
785 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
786 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
787 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
788 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
789 * x86-64-linux-nat.c: Ditto.
790
636a6dfc
JT
7912002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
792
abf22e64 793 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
794 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
795 (REGISTER_NAME): Define.
796
acceddb6
JT
7972002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
798
799 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
800
ec32e4be
JT
8012002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
802
803 * alpha-tdep.c: Update copyright years.
804 (alpha_next_pc): New function.
805 (alpha_software_single_step): Ditto.
806 * config/alpha/tm-alpha.h: Add prototype for
807 alpha_software_single_step.
808
e771a871
JT
8092002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
810
811 * alphabsd-nat.c: Update copyright years.
812 (fill_gregset): Use regcache_collect.
813 (fill_fpregset): Likewise.
814 (fetch_inferior_registers): Only fetch integer registers
815 if requested to do so.
816 (store_inferior_registers): Only store integer registers
817 if requested to do so.
818
7708fa01
AC
8192002-01-17 Andrew Cagney <ac131313@redhat.com>
820
821 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
822 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
823 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
824 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
825 * config/alpha/fbsd.mh (XDEPFILES): Delete.
826 * config/arm/linux.mh (XDEPFILES): Delete.
827 * config/arm/nbsd.mh (XDEPFILES): Delete.
828 * config/i386/i386dgux.mh (XDEPFILES): Delete.
829 * config/i386/i386sol2.mh (XDEPFILES): Delete.
830 * config/i386/i386m3.mh (XDEPFILES): Delete.
831 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
832 * config/i386/i386gnu.mh (XDEPFILES): Delete.
833 * config/i386/fbsd.mh (XDEPFILES): Delete.
834 * config/i386/i386bsd.mh (XDEPFILES): Delete.
835 * config/i386/i386sco5.mh (XDEPFILES): Delete.
836 * config/i386/i386v4.mh (XDEPFILES): Delete.
837 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
838 * config/i386/i386sco4.mh (XDEPFILES): Delete.
839 * config/i386/i386aix.mh (XDEPFILES): Delete.
840 * config/i386/go32.mh (XDEPFILES): Delete.
841 * config/i386/cygwin.mh (XDEPFILES): Delete.
842 * config/i386/i386lynx.mh (XDEPFILES): Delete.
843 * config/i386/i386mach.mh (XDEPFILES): Delete.
844 * config/i386/i386v32.mh (XDEPFILES): Delete.
845 * config/i386/linux.mh (XDEPFILES): Delete.
846 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
847 * config/i386/ncr3000.mh (XDEPFILES): Delete.
848 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
849 * config/i386/i386sco.mh (XDEPFILES): Delete.
850 * config/i386/i386v.mh (XDEPFILES): Delete.
851 * config/i386/nbsd.mh (XDEPFILES): Delete.
852 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
853 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
854 * config/i386/symmetry.mh (XDEPFILES): Delete.
855 * config/i386/obsd.mh (XDEPFILES): Delete.
856 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
857 * config/ia64/linux.mh (XDEPFILES): Delete.
858 * config/ia64/aix.mh (XDEPFILES): Delete.
859 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
860 * config/m68k/dpx2.mh (XDEPFILES): Delete.
861 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
862 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
863 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
864 * config/m68k/linux.mh (XDEPFILES): Delete.
865 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
866 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
867 * config/m68k/nbsd.mh (XDEPFILES): Delete.
868 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
869 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
870 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
871 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
872 * config/m88k/delta88.mh (XDEPFILES): Delete.
873 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
874 * config/m88k/m88k.mh (XDEPFILES): Delete.
875 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
876 * config/mips/linux.mh (XDEPFILES): Delete.
877 * config/mips/irix6.mh (XDEPFILES): Delete.
878 * config/mips/irix5.mh (XDEPFILES): Delete.
879 * config/mips/irix4.mh (XDEPFILES): Delete.
880 * config/mips/irix3.mh (XDEPFILES): Delete.
881 * config/mips/decstation.mh (XDEPFILES): Delete.
882 * config/mips/mipsm3.mh (XDEPFILES): Delete.
883 (NATDEPFILES): Move core-aout.o to here.
884 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
885 * config/pa/hpux1020.mh (XDEPFILES): Delete.
886 * config/pa/hppabsd.mh (XDEPFILES): Delete.
887 * config/pa/hppahpux.mh (XDEPFILES): Delete.
888 * config/pa/hpux11w.mh (XDEPFILES): Delete.
889 * config/pa/hppaosf.mh (XDEPFILES): Delete.
890 * config/pa/hpux11.mh (XDEPFILES): Delete.
891 * config/powerpc/aix.mh (XDEPFILES): Delete.
892 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
893 * config/powerpc/linux.mh (XDEPFILES): Delete.
894 * config/romp/rtbsd.mh: Rename XDEPFILES.
895 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
896 * config/rs6000/aix4.mh (XDEPFILES): Delete.
897 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
898 * config/s390/s390.mh (XDEPFILES): Delete.
899 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
900 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
901 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
902 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
903 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
904 * config/sparc/nbsd.mh (XDEPFILES): Delete.
905 * config/sparc/linux.mh (XDEPFILES): Delete.
906 * config/vax/vaxult.mh (XDEPFILES): Delete.
907 * config/vax/vaxult2.mh (XDEPFILES): Delete.
908 * Makefile.in (DEPFILES): Remove XDEPFILES.
909
375fc983
AC
9102002-01-17 Andrew Cagney <ac131313@redhat.com>
911
912 * utils.c (internal_verror): Fix comments, default is yes not no.
913 Update queries to match. Default to quit and dump core.
914
8926118c
AC
9152002-01-17 Andrew Cagney <ac131313@redhat.com>
916
917 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
918 copyright.
919 * defs.h, event-top.c, gdbcmd.h: Ditto.
920 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
921 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
922 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
923 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
924 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
925 * mi/mi-main.c:Ditto.
926
927 * stack.c, symfile.c: Update copyright.
928
45b7b345
DJ
9292002-01-17 Daniel Jacobowitz <drow@mvista.com>
930
db728ff7
DJ
931 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
932 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
933 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
934 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 935
db728ff7
DJ
9362002-01-17 Daniel Jacobowitz <drow@mvista.com>
937
938 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
939 * gdbserver/low-lynx.c (myattach): Likewise.
940 * gdbserver/low-nbsd.c (myattach): Likewise.
941 * gdbserver/low-sim.c (myattach): Likewise.
942 * gdbserver/low-sparc.c (myattach): Likewise.
943 * gdbserver/low-sun3.c (myattach): Likewise.
944
945 * gdbserver/low-linux.c (myattach): New function.
45b7b345 946
db728ff7 947 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
948 (main): Handle "--attach".
949
8de3c354
AC
9502002-01-16 Andrew Cagney <ac131313@redhat.com>
951
952 * MAINTAINERS (language support): Daniel Jacobwitz is C++
953 maintainer.
954
b0129042
DJ
9552002-01-15 Daniel Jacobowitz <drow@mvista.com>
956
957 * c-typeprint.c (is_type_conversion_operator): Add additional
958 check for non-conversion operators.
959
ba8679fb 9602002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
961
962 * linux-proc.c: Add "info proc" command, a la procfs.c.
963 (read_mapping): New function, abstract and re-use code.
964 (linux_find_memory_regions): Use new func read_mapping.
965 (linux_info_proc_cmd): New function, implement "info proc".
966 (_initialize_linux_proc): Add new command "info proc".
967
e4f9b4d5
MS
9682002-01-15 Michael Snyder <msnyder@redhat.com>
969
970 * symfile.c (generic_load): Use bfd_map_over_sections method
971 instead of manipulating bfd structure members directly.
972 (add_section_size_callback): New function, bfd sections callback
973 used by generic_load.
974 (load_sections_callback): New function, bfd sections callback
975 used by generic_load.
976
08cf96df
EZ
9772002-01-15 Elena Zannoni <ezannoni@redhat.com>
978
abf22e64 979 [Based on work by Jim Blandy]
08cf96df
EZ
980 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
981 (builtin_type_vec128): Export.
982 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
983 types.
984 (builtin_type_vec128): New builtin type for 128 bit vector
985 registers.
986 (build_gdbtypes): Initialize builtin_type_v16qi and
987 builtin_type_v8hi. Create the vec128 register builtin type
988 structure.
989 (build_builtin_type_vec128): New function.
abf22e64 990 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
991 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
992 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
993 AltiVec register to new builtin type.
994
d7242108
DJ
9952001-01-15 Daniel Jacobowitz <drow@mvista.com>
996
997 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
998 to make_cv_type.
999
4ee3352d
AC
10002002-01-14 Andrew Cagney <ac131313@redhat.com>
1001
1002 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1003 CLEAN_UP_REGISTER_VALUE.
1004 * regcache.c (supply_register): Update only call.
1005
f015b2e7
AC
10062002-01-14 Andrew Cagney <ac131313@redhat.com>
1007
1008 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1009 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1010 a29k-*-vxworks* targets as obsolete.
1011
356ae49d
MS
10122002-01-14 Michael Snyder <msnyder@redhat.com>
1013
1014 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1015 until we can resolve portability issues.
1016 * gregset.h: Remove references to fpxregs.
1017 * gcore.c (gcore_command): Initialize note_sec to NULL.
1018
ade8f45e
AC
10192002-01-13 Andrew Cagney <ac131313@redhat.com>
1020
1021 * signals.c (target_signal_to_name): Rewrite. Only use
1022 signals[].name when in bounds and non-NULL.
abf22e64 1023
89c49e7a
AC
10242002-01-13 Andrew Cagney <ac131313@redhat.com>
1025
1026 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1027 * signals.c (target_signal_to_name): Verify that SIG is within the
1028 bounds of the signals array.
1029
4daa9f9f
AC
10302002-01-13 Andrew Cagney <ac131313@redhat.com>
1031
1032 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1033
ba4bbdcb
KS
10342002-01-13 Keith Seitz <keiths@redhat.com>
1035
1036 * stack.c (print_frame_info_base): Print the frame's pc
1037 only if when print_frame_info_listing_hook is not defined.
1038
575bbeb6
KS
10392002-01-13 Keith Seitz <keiths@redhat.com>
1040
1041 * varobj.c (varobj_set_value): Make sure that there were no
1042 errors evaluating the object before attempting to set its
1043 value.
1044 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1045 so this offset adjustment is no longer necessary.
1046 (create_child): Don't set the error flag if the child is
1047 a CPLUS_FAKE_CHILD.
1048 (value_of_child): If value_fetch_lazy fails, return NULL
1049 so that callers will be notified that an error occurred.
1050 (c_value_of_variable): Delay check of variable's validity
1051 until later. We actually want all structs and unions to have
1052 the value "{...}".
1053 Do not return "???" for variables which could not be evaluated.
1054 This error condition must be returned to the caller so that it
1055 can get the error condition from gdb.
1056 (cplus_name_of_child): Adjust index for vptr before figuring
1057 out the name of the child.
1058 (cplus_value_of_child): If a child's (real) parent is not valid,
1059 don't even bother trying to give a value for it. Just return
1060 an error. Change all instances in this function.
1061 (cplus_type_of_child): If our parent is one of the "fake"
1062 parents, we need to get at the type of the real parent, and
1063 derive the child's true type using this information.
1064
b76898ab
AC
10652002-01-13 Andrew Cagney <ac131313@redhat.com>
1066
1067 From 2002-01-09 John Marshall <johnm@falch.net>:
1068 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1069 sources.redhat.com, and tweak some related URLs which had
1070 suffered from linkrot.
1071
b6649e88
AC
10722002-01-13 Andrew Cagney <ac131313@redhat.com>
1073
1074 From Jeff law:
1075 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1076 structures passed in registers.
1077
82cc5033
EZ
10782002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1079
1080 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1081 white space which prevented compilation. Reported by DSK
1082 <dsk@student.unsw.edu.au>.
1083
ba5f2f8a
MS
10842002-01-11 Michael Snyder <msnyder@redhat.com>
1085
fbd35540
MS
1086 * symfile.c (build_section_addr_info_from_section_tab):
1087 Use bfd access method instead of manipulating bfd directly.
1088 (syms_from_objfile): Ditto.
1089 (simple_overlay_update_1): Ditto.
1090 (simple_overlay_update): Ditto.
1091 (generic_load): Ditto.
1092 (overlay_unmapped_address): FIXME comment, bfd access methods.
1093 (sections_overlap): FIXME comment, bfd access methods.
1094 (pc_in_mapped_range): FIXME comment, bfd access methods.
1095 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1096 (section_is_mapped): FIXME comment, bfd access methods.
1097 (section_is_overlay): FIXME comment, bfd access methods.
1098
ba5f2f8a
MS
1099 * symfile.c (generic_load): Whitespace and long line cleanups.
1100 Remove duplicate variable, change several local variables to
1101 more appropriate data types.
1102 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1103
17df2af6
AC
11042002-01-12 Andrew Cagney <ac131313@redhat.com>
1105
1106 From Peter Schauer:
1107 * language.c (longest_local_hex_string_custom): Use phex_nz to
1108 convert NUM to a hex string.
1109
ec920329
EZ
11102002-01-12 Elena Zannoni <ezannoni@redhat.com>
1111
1112 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1113 the function.
538a76d6 1114 Update Copyright year.
ec920329 1115
3abd2e01
AC
11162002-01-12 Andrew Cagney <ac131313@redhat.com>
1117
1118 * language.c (longest_raw_hex_string): Delete unused function.
1119
b21b22e0
PS
11202002-01-11 Petr Sorfa <petrs@caldera.com>
1121
1122 * MAINTAINERS (write-after-approval): Add myself.
1123 * dwarf2read.c (read_tag_string_type): Handling of
1124 DW_AT_byte_size.
1125 (read_tag_string_type): FORTRAN fix to prevent propagation of
1126 first string size.
1127 (set_cu_language): Handling of DW_LANG_Fortran95
1128
747fe712
RE
11292002-01-11 Richard Earnshaw <rearnsha@arm.com>
1130
1131 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1132 GETPID(inferior_ptid).
1133 (store_inferior_registers): Likewise.
1134
f1bea926
JM
11352002-01-10 Jason Merrill <jason@redhat.com>
1136
1137 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1138 Fix DW_OP_minus.
1139
ae940673
AC
11402002-01-10 Andrew Cagney <ac131313@redhat.com>
1141
1142 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1143 and bfd/elf32-sh-nbsd.c.
1144
00546b04
MS
11452002-01-10 Michael Snyder <msnyder@redhat.com>
1146
352ed7b4
MS
1147 * NEWS: Mention --pid and corefile/proc-id behavior change.
1148
c18be923
MS
1149 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1150 * gcore.c: Include cli/cli-decode.h instead of command.h.
1151
00546b04
MS
1152 * main.c (captured_main): Add new command line option "--pid".
1153 If the second command line argument (following the symbol-file)
1154 begins with a digit, try to attach to it before trying to open
1155 it as a corefile.
1156 (print_gdb_help): Document the "--pid" argument.
1157
db60ec62
EZ
11582002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1159
1160 * completer.c (command_completer): New function.
1161
1162 * completer.h <command_completer>: Add prototype.
1163
1164 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1165 completer for the "help" command.
1166
39c22d1a
JM
11672002-01-09 Jason Merrill <jason@redhat.com>
1168
1169 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1170
c564377f
MS
11712002-01-09 Michael Snyder <msnyder@redhat.com>
1172
975aec09
MS
1173 * i386-linux-nat.c (fill_fpxregset): Make global.
1174 (store_fpxregset): Ditto.
1175
db4a10fa
MS
1176 * gregset.h (gdb_fpxregset_t): Define.
1177 (supply_fpxregset): Prototype.
1178 (fill_fpxregset): Prototype.
1179
c564377f
MS
1180 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1181
c3d45d70
RE
11822002-01-09 Richard Earnshaw <rearnsha@arm.com>
1183
1184 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1185 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1186 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1187
fcc87af1
AC
11882002-01-09 Andrew Cagney <ac131313@redhat.com>
1189
1190 * MAINTAINERS: Update target maintainer rules so that any
1191 Maintainer can approve a tested patch for a maintenance-only
1192 target.
1193
dd96c05b
RE
11942002-01-09 Richard Earnshaw <rearnsha@arm.com>
1195
d4297db9 1196 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 1197
d4297db9 1198 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
1199 IN_SIGTRAMP.
1200
145fdc6e
MS
12012002-01-08 Michael Snyder <msnyder@redhat.com>
1202
1203 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1204 real name of the executable, rather than the /proc name.
1205
be4d1333
MS
12062002-01-03 Michael Snyder <msnyder@redhat.com>
1207
1208 Implement a "generate-core-file" command in gdb, save target state.
1209 * gcore.c: New file. Implement new command 'generate-core-file'.
1210 Save a corefile image of the current state of the inferior.
1211 * linux-proc.c: Add linux-specific code for saving corefiles.
1212 * target.h (struct target_ops): Add new target vectors for saving
1213 corefiles; to_find_memory_regions and to_make_corefile_notes.
1214 (target_find_memory_regions): New macro.
1215 (target_make_corefile_notes): New macro.
1216 * target.c (update_current_target): Inherit new target methods.
1217 (dummy_find_memory_regions): New place-holder method.
1218 (dummy_make_corefile_notes): New place-holder method.
1219 (init_dummy_target): Initialize new dummy target vectors.
1220 * exec.c (exec_set_find_memory_regions): New function.
1221 Allow the exec_ops vector for memory regions to be taken over.
1222 (exec_make_note_section): New function, target vector method.
1223 * defs.h (exec_set_find_memory_regions): Export prototype.
1224 * procfs.c (proc_find_memory_regions): New function, corefile method.
1225 (procfs_make_note_section): New function, corefile method.
1226 (init_procfs_ops): Set new target vector pointers.
1227 (find_memory_regions_callback): New function.
1228 (procfs_do_thread_registers): New function.
1229 (procfs_corefile_thread_callback): New function.
1230 * sol-thread.c (sol_find_memory_regions): New function.
1231 (sol_make_note_section): New function.
1232 (init_sol_thread_ops): Initialize new target vectors.
1233 * inftarg.c (inftarg_set_find_memory_regions): New function.
1234 Allow to_find_memory_regions vector to be taken over.
1235 (inftarg_set_make_corefile_notes): New function.
1236 Allow to_make_corefile_notes vector to be taken over.
1237 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1238 interface layer if not target_has_execution (may be a corefile).
1239 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1240 * config/sparc/sun4sol2.mh: Ditto.
1241 * config/alpha/alpha-linux.mh: Ditto.
1242 * config/arm/linux.mh: Ditto.
1243 * config/i386/x86-64linux.mh: Ditto.
1244 * config/ia64/linux.mh: Ditto.
1245 * config/m68k/linux.mh: Ditto.
1246 * config/mips/linux.mh: Ditto.
1247 * config/powerpc/linux.mh: Ditto.
1248 * config/sparc/linux.mh: Ditto.
1249
c6b92abd
MS
12502002-01-07 Michael Snyder <msnyder@redhat.com>
1251
1252 * arm-linux-nat.c: Remove references to regcache.c internal data
1253 (registers[] and register_valid[]).
1254
4b09dc8c
MS
12552002-01-07 Michael Snyder <msnyder@redhat.com>
1256
abf22e64
AJ
1257 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1258 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
1259 symbol file and shlibs.
1260 * Makefile.in: Add rule for linux-proc.o.
1261 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1262 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1263 * config/arm/linux.mh: Ditto.
1264 * config/i386/linux.mh: Ditto.
1265 * config/i386/x86-64linux.mh: Ditto.
1266 * config/ia64/linux.mh: Ditto.
1267 * config/m68k/linux.mh: Ditto.
1268 * config/mips/linux.mh: Ditto.
1269 * config/powerpc/linux.mh: Ditto.
1270 * config/sparc/linux.mh: Ditto.
1271
c25b74ac
PM
12722002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1273
1274 * win32-nat.c: Add i386-tdep.h dependency.
1275
94cd915f
MS
12762002-01-07 Michael Snyder <msnyder@redhat.com>
1277
c7cccb76
MS
1278 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1279 instead of bfd_get_arch_size. Don't bail out just because
1280 there's no exec_bfd.
abf22e64 1281
34c0bd93
MS
1282 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1283 * p-valprint.c (pascal_object_print_value): Ditto.
1284 * somread.c (som_symtab_read): Ditto.
1285 * symfile.c (simple_free_overlay_region_table): Ditto.
1286 * valops.c (value_assign): Ditto.
1287
21c1c920
MS
1288 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1289 use tilde_expand and strerror for opening save-tracepoints file.
1290
5bbd998e
MS
1291 * thread-db.c (thread_db_new_objfile): Indendation fix.
1292
94cd915f
MS
1293 * infptrace.c (GDB_MAX_ALLOCA): New define.
1294 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 1295 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
1296 can be overridden with whatever value is appropriate to the host).
1297 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1298 alloca to allocate potentially large buffer.
1299 * rs6000-nat.c (child_xfer_memory): Ditto.
1300 * symm-nat.c (child_xfer_memory): Ditto.
1301 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1302
494e8a93
JSC
13032002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1304
1305 From Nick Clifton <nickc@redhat.com>
1306 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1307
d0e1d48e
MS
13082002-01-07 Michael Snyder <msnyder@redhat.com>
1309
abf22e64 1310 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
1311 Don't use exec_bfd if it's NULL.
1312
290b2c7a
MK
13132002-01-06 Mark Kettenis <kettenis@gnu.org>
1314
abf22e64 1315 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 1316
aef21287
AC
13172002-01-06 Andrew Cagney <ac131313@redhat.com>
1318
1319 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1320 * gnu-nat.c: Ditto.
1321
30efa627
AC
13222002-01-06 Andrew Cagney <ac131313@redhat.com>
1323
1324 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1325 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1326 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1327 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1328 z8k-coff have not been multi-arched. Update z8k-coff build
1329 status.
1330
9b4ff276
AC
13312002-01-06 Andrew Cagney <ac131313@redhat.com>
1332
1333 * MAINTAINERS: Mark a29k target as obsolete.
1334 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1335 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1336 comments.
1337 * NEWS: Note that a29k targets are obsolete.
1338 * a29k-tdep.c: Mark as obsolete.
1339 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1340 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1341 a29k-*-vxworks* targets as obsolete.
1342 * remote-adapt.c: Obsolete.
1343 * remote-eb.c: Obsolete.
1344 * remote-mm.c: Obsolete.
1345 * remote-udi.c: Obsolete.
1346 * config/a29k/a29k-udi.mt: Obsolete.
1347 * config/a29k/a29k.mt: Obsolete.
1348 * config/a29k/tm-a29k.h: Obsolete.
1349 * config/a29k/tm-vx29k.h: Obsolete.
1350 * config/a29k/vx29k.mt: Obsolete.
1351
a9011d31
AC
13522002-01-05 Andrew Cagney <ac131313@redhat.com>
1353
1354 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1355 with BFD_ENDIAN_BIG.
1356
9299404e
AC
13572002-01-05 Andrew Cagney <ac131313@redhat.com>
1358
1359 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1360 * configure, config.in: Re-generate.
1361 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1362 * defs.h: Do not include <endian.h>.
1363
7e89e357
JT
13642002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1365
1366 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1367 * config.in: Regenerate.
1368 * configure.in: Update copyright years.
1369 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1370 * configure: Regenerate.
1371 * i386bsd-nat.c: Update copyright years.
1372 (fill_gregset): Use regcache_collect.
1373 (fetch_inferior_registers): Only fetch integer registers
1374 if requested to do so. Add support for XMM registers
1375 using PT_GETXMMREGS.
1376 (store_inferior_registers): Only store integer registers
1377 if requested to do so. Add support for XMM registers
1378 using PT_SETXMMREGS.
1379 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1380 (store_inferior_registers): Remove.
1381 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1382 (fetch_elfcore_registers): New function.
1383 (i386nbsd_elfcore_fns): New.
1384 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1385 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1386 i386bsd-nat.o.
1387 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1388 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1389 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1390 * config/i386/tm-nbsd.h: Update copyright years.
1391 (HAVE_SSE_REGS): Define.
1392 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1393 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1394 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1395 (SIGCONTEXT_PC_OFFSET): Remove.
1396 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1397
a752853e
AC
13982002-01-05 Andrew Cagney <ac131313@redhat.com>
1399
1400 * configure.tgt: Remove powerpc-*-macos* target.
1401 * config/m68k/xm-mpw.h: Delete file.
1402 * config/xm-mpw.h: Delete file.
1403 * ser-mac.c: Delete file.
1404 * mpw-make.sed: Delete file.
1405 * mpw-config.in: Delete file.
1406 * mac-xdep.c: Delete file.
1407 * mac-gdb.r: Delete file.
1408 * mac-defs.h: Delete file.
1409 * mac-nat.c: Delete file.
1410 * config/powerpc/macos.mh: Delete file.
1411 * config/powerpc/macos.mt: Delete file.
1412 * config/powerpc/nm-macos.h: Delete file.
1413 * config/powerpc/tm-macos.h: Delete file.
1414 * source.c (openp, open_source_file): Remove obsolete code.
1415 * top.c (gdb_readline): Ditto.
1416 * utils.c (query): Ditto.
1417 * event-top.c (display_gdb_prompt): Ditto.
1418 * Makefile.in (ser-mac.o): Delete obsolete target.
1419 * NEWS: Update.
1420
d7449b42
AC
14212002-01-04 Andrew Cagney <ac131313@redhat.com>
1422
1423 * defs.h (BIG_ENDIAN): Delete macro definition.
1424 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1425 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1426 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1427 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1428 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1429 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1430 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1431 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1432 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1433 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1434 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1435 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1436 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1437 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1438 * gdbarch.c: Re-generate.
1439
356374e8
DJ
14402002-01-04 Daniel Jacobowitz <drow@mvista.com>
1441
1442 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1443 for core files.
1444
a2b8f8f8
JT
14452002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1446
1447 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1448
12466af9
AC
14492002-01-04 Andrew Cagney <ac131313@redhat.com>
1450
1451 * value.h (value_ptr): Delete typedef.
1452
3549ab40
JT
14532002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1454
1455 * i386nbsd-nat.c: Update copyright years.
1456 Include i386-tdep.h.
1457
fedbd091
EZ
14582002-01-04 Elena Zannoni <ezannoni@redhat.com>
1459
1460 * stabsread.c: Update copyright years.
1461
1462 From Debashis Mahata <debashis.mahata@wipro.com>:
1463 (read_struct_fields): Deal with Sun C compiler erroneous stab
1464 output for structs and unions.
fec8b34f 1465 Fix PR gdb/269.
fedbd091 1466
eb43544b
DJ
14672002-01-04 Daniel Jacobowitz <drow@mvista.com>
1468
1469 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1470 prototype.
1471
1514d34e
DJ
14722002-01-04 Daniel Jacobowitz <drow@mvista.com>
1473
1474 * cp-abi.c: Fix whitespace.
1475 (baseclass_offset): New wrapper function.
1476 * cp-abi.h (baseclass_offset): Add prototype.
1477 (struct cp_abi_ops): Add baseclass_offset pointer.
1478
1479 * valops.c (vb_match): Move to...
1480 * gnu-v2-abi.c (vb_match): here.
1481 * valops.c (baseclass_offset): Move to...
1482 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1483
1484 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1485
1486 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1487 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1488 * hpacc-abi.c (init_hpacc_ops): Likewise.
1489
7f8c9282
DJ
14902002-01-04 Daniel Jacobowitz <drow@mvista.com>
1491
1492 * valops.c (find_overload_match): Accept obj as a
1493 reference parameter. Update it before returning.
1494 * value.h (find_overload_match): Update prototype.
1495 * eval.c (evaluate_subexp_standard): Pass object to
1496 find_overload_match by reference.
1497
f23631e4
AC
14982002-01-03 Andrew Cagney <ac131313@redhat.com>
1499
1500 * valarith.c: Replace value_ptr with struct value pointer. Remove
1501 register attribute from value declarations.
1502 * valops.c: Ditto.
1503 * value.h: Ditto.
1504 * scm-lang.c (scm_lookup_name): Ditto.
1505
79e10fab 15062002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 1507
79e10fab
AC
1508 Abstract the functionality of iterating over mapped memory
1509 regions into a general purpose iterator function.
abf22e64 1510 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
1511 iterator for memory sections.
1512 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1513 (solib_mappings_callback): New function, callback for above.
1514 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1515 (info_mappings_callback): New function, callback for above.
1516
1517 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1518
c5ad026a
MK
15192002-01-01 Mark Kettenis <kettenis@gnu.org>
1520
d2a7c97a
MK
1521 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1522 * i386-tdep.c: Include "elf-bfd.h".
1523 (process_note_abi_tag_sections): New function.
1524 (i386_gdbarch_init): Add code to recognize various OS/ABI
1525 combinations.
1526
c5ad026a
MK
1527 * maint.c (_initialize_maint_cmds): Add missing \ in
1528 string-literal.
1529
a1a5b71e 1530For older changes see ChangeLog-2001
c906108c
SS
1531\f
1532Local Variables:
1533mode: change-log
1534left-margin: 8
1535fill-column: 74
1536version-control: never
1537End: