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