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