Fix compile time warning messages
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
cd4bffcf
EZ
12002-02-07 Elena Zannoni <ezannoni@redhat.com>
2
3 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
4 to include space for pseudoregs as well. Update loops accordingly.
5 (sh_fp_frame_init_saved_regs): Ditto.
6 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
7
26806ce2
AC
82002-02-07 Andrew Cagney <ac131313@redhat.com>
9
10 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
11 Add Richard Earnshaw to Arm maintainers.
12
97fdab62
AC
132002-02-07 Andrew Cagney <ac131313@redhat.com>
14
a6b98203
AC
15 * defs.h (warning_begin): Delete declaration.
16
97fdab62
AC
17 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
18 Delete macro.
19
78b29b40
MS
202002-02-07 Michael Snyder <msnyder@redhat.com>
21
22 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
23 Logic bug, remove misplaced else.
24
d8849953
KD
252002-02-07 Klee Dienes <klee@apple.com>
26
27 * fork-inferior.c (fork_inferior): Add '!' to the list of
28 characters that need to be quoted when building a string for the
29 shell. Quote '!' specifically with a backslash, since CSH chokes
30 when trying to evaluate "str!str".
31
095778a0
NC
322002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
33
34 * rdi-share/host.h: Only provide a typedef for bool if it is not
35 defined.
36
1900040c
MS
372002-02-04 Michael Snyder <msnyder@redhat.com>
38
39 * breakpoint.h (enum bptype): Add new overlay event bp type.
40 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
41
42 * breakpoint.c (create_internal_breakpoint): New function.
43 (internal_breakpoint_number): Moved into create_internal_breakpoint.
44 (create_longjmp_breakpoint): Use create_internal_breakpoint.
45 (create_thread_event_breakpoint): Ditto.
46 (create_solib_event_breakpoint): Ditto.
47 (create_overlay_event_breakpoint): New function.
48 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
49 (update_breakpoints_after_exec): Delete and re-initialize
50 overlay event breakpoints after an exec. Add FIXME comment
51 about longjmp breakpoint.
52 (print_it_typical): Ignore overlay event breakpoints.
53 (print_one_breakpoint): Ditto.
54 (mention): Ditto.
55 (bpstat_what): Do not stop for overlay event breakpoints.
56 (delete_breakpoint): Don't delete overlay event breakpoints.
57 (breakpoint_re_set_one): Delete the overlay event breakpoint.
58 (breakpoint_re_set): Re-create overlay event breakpoint.
59
60 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
61 (overlay_manual_command): Disable overlay breakpoints.
62 (overlay_off_command): Disable overlay breakpoints.
63
082fc60d
RE
642002-02-06 Richard Earnshaw <rearnsha@arm.com>
65
66 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
67 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
68 to here from config/tm-arm.h.
69 (coff_sym_is_thumb): Make static.
70 (arm_elf_make_msymbol_special): New function.
71 (arm_coff_make_msymbol_special): New function.
72 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
73 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
74 (coff_sym_is_thumb): Delete declaration.
75 (arm_elf_make_msymbol_special): Declare.
76 (arm_coff_make_msymbol_special): Declare.
77 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
78 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
79
039c5766
RE
802002-02-06 Richard Earnshaw <rearnsha@arm.com>
81
82 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
83
842002-02-06 Richard Earnshaw <rearnsha@arm.com>
85
86 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
87 * gdbarch.c gdbarch.h: Regenerate.
88 * arch-utils.c (default_print_float_info): New function.
89 * arch-utils.h (default_print_float_info): Prototype it.
90 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
91 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
92 (PRINT_FLOAT_INFO): Document it.
93
94 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
95 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
96 (PRINT_FLOAT_INFO): Define.
97
58fa08f0
PM
982002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
99
100 * win32-nat.c (_initialize_check_for_gdb_ini):
101 Add typecast to sprintf argument to suppress a warning.
102
7393af7c
PM
1032002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
104
58fa08f0 105 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
106 to allow easier handling of pass state.
107 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
108 that gives exception name and address.
109 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
110 and set last_sig value to ourstatus->value.sig. Some missing
111 exceptions added.
112 (child_continue): Correctly report continue_status.
113 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
114 TARGET_SIGNAL_0 (new default value).
115 (child_resume): consider sig argument passed to decide if
116 the exception should be passed to debuggee or not.
117
6af4589c
MS
1182002-02-05 Michael Snyder <msnyder@redhat.com>
119
120 * regcache.c (fetch_register): Call target_fetch_register
121 only if we don't call FETCH_PSEUDO_REGISTER.
122 (store_register): Call target_store_register only if we
123 don't call STORE_PSEUDO_REGISTER.
124
a2cf933a
EZ
1252002-02-05 Elena Zannoni <ezannoni@redhat.com>
126
127 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
128 ELF_MAKE_MSYMBOL_SPECIAL.
129 * gdbarch.c, gdbarch.h: Regenerate.
130 * arch-utils.c (default_make_msymbol_special): New function.
131 * arch-utils.h (default_make_msymbol_special): Export.
132 * elfread.c (elf_symtab_read): Compile use of
133 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
134 multiarched.
135 * coffread.c (coff_symtab_read): Ditto, for
136 COFF_MAKE_MSYMBOL_SPECIAL.
137
6bb7be43
JB
1382002-02-05 Jim Blandy <jimb@redhat.com>
139
140 * solib-svr4.c (svr4_truncate_ptr): New function.
141 (svr4_relocate_section_addresses): Do the address arithmetic with
142 the appropriate truncation for target addresses, even when
143 CORE_ADDR is larger than a target address.
144
e18651ec
DJ
1452002-02-05 Daniel Jacobowitz <drow@mvista.com>
146
147 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
148 to (int *).
149
6b2725be
DJ
1502002-02-05 Daniel Jacobowitz <drow@mvista.com>
151
152 * gdbserver/linux-low.c (kill_inferior): Remove commented out
153 code.
154
fca9e603
DJ
1552002-02-05 Daniel Jacobowitz <drow@mvista.com>
156
157 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
158
6c537a52
DJ
1592002-02-05 Daniel Jacobowitz <drow@mvista.com>
160
161 * gdbserver/linux-low.c: Remove unused include files.
162
d844cde6
DJ
1632002-02-05 Daniel Jacobowitz <drow@mvista.com>
164
165 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
166 (read_inferior_memory): Use it.
167 (write_inferior_memory): Likewise.
168
d07c63e7
DJ
1692002-02-05 Daniel Jacobowitz <drow@mvista.com>
170
171 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
172 grubbing through sys_errlist.
173
da6d8c04
DJ
1742002-02-05 Daniel Jacobowitz <drow@mvista.com>
175
176 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
177
5b421780
PM
1782002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
179 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
180
9f60d481
AC
1812002-02-04 Andrew Cagney <ac131313@redhat.com>
182
183 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
184 (do_sfunc, set_cmd_sfunc): New functions.
185
186 * command.h (struct cmd_list_element): Add field func.
187 * cli/cli-decode.h (struct cmd_list_element): Ditto.
188 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
189 * cli/cli-decode.h: Ditto.
190
191 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
192 (help_all, help_cmd_list): Ditto.
193 (find_cmd, complete_on_cmdlist): Ditto.
194 * top.c (execute_command): Ditto.
195
196 * cli/cli-setshow.c (do_setshow_command): Call func instead of
197 function.sfunc.
198
199 * infcmd.c (notice_args_read): Fix function signature.
200
201 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
202 * cli/cli-decode.c (add_set_cmd): Ditto.
203 * utils.c (initialize_utils): Ditto.
204 * maint.c (_initialize_maint_cmds): Ditto.
205 * infrun.c (_initialize_infrun): Ditto.
206 * demangle.c (_initialize_demangler): Ditto.
207 * remote.c (add_packet_config_cmd): Ditto.
208 * mips-tdep.c (_initialize_mips_tdep): Ditto.
209 * cris-tdep.c (_initialize_cris_tdep): Ditto.
210 * proc-api.c (_initialize_proc_api): Ditto.
211 * kod.c (_initialize_kod): Ditto.
212 * valprint.c (_initialize_valprint): Ditto.
213 * top.c (init_main): Ditto.
214 * infcmd.c (_initialize_infcmd): Ditto.
215 * corefile.c (_initialize_core): Ditto.
216 * arm-tdep.c (_initialize_arm_tdep): Ditto.
217 * arch-utils.c (initialize_current_architecture): Ditto.
218 (_initialize_gdbarch_utils): Ditto.
219 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
220
221 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
222 * wince.c (_initialize_inftarg): Ditto.
223 * symfile.c (_initialize_symfile): Ditto.
224 * mips-tdep.c (_initialize_mips_tdep): Ditto.
225 * language.c (_initialize_language): Ditto.
226 * arc-tdep.c (_initialize_arc_tdep): Ditto.
227
f9ba0717
MS
2282002-02-04 Michael Snyder <msnyder@redhat.com>
229
230 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
231
0c74b2a7
DJ
2322002-02-04 Daniel Jacobowitz <drow@mvista.com>
233
234 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
235 Add rules for building the register data files.
236
c638789f
DJ
2372002-02-04 Daniel Jacobowitz <drow@mvista.com>
238
239 * regformats/regdat.sh: Add braces to the definition of
240 expedite_regs_${arch}.
241
db253027
DJ
2422002-02-04 Daniel Jacobowitz <drow@mvista.com>
243
244 * regformats/regdef.h (struct reg): Add comment describing the
245 requirements for offset and size fields.
246
206be19c
AS
2472002-02-04 Andreas Schwab <schwab@suse.de>
248
249 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
250 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
251
181c1381
RE
2522002-02-04 Richard Earnshaw <rearnsha@arm.com>
253
254 * gdbarch.sh (copyright): Update years in generated header.
255 (SMASH_TEXT_ADDRESS): Add rule.
db253027 256 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
257 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
258 * dbxread.c: Likewise.
259 * dwarfread.c: Likewise.
260 * elfread.c: Likewise.
261 * somread.c: Likewise.
262
263 * arm-tdep.c (arm_smash_text_address): New function.
264 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
265
fa4ba8da
PM
2662002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
267
268 Add support for hardware watchpoints on win32 native.
269 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
270 CONTEXT_DEBUG_REGISTERS.
271 (dr variable): New variable. Static array containing a local copy
272 of debug registers.
273 (debug_registers_changed): New variable. Reflects when debug registers
274 are changed and need to be written to inferior.
275 (debug_registers_used): New variable. Reflects when any debug register
276 was set, used when new threads are created.
277 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
278 i386-nat code.
279 (thread_rec): Set dr array if id is the thread of current_event .
280 (child_continue, child_resume): Change the debug registers for all
281 threads if debug_registers_changed.
282 (child_add_thread): Change the debug registers if debug_registers_used.
283 * config/i386/cygwin.mh: Add use of i386-nat.o file.
284 Link nm.h to new nm-cygwin.h file.
285 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
286 of hardware registers.
287
a73c86fb
AC
2882002-02-03 Andrew Cagney <ac131313@redhat.com>
289
290 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
291 Restore behavour broken by 2002-01-20 Andrew Cagney
292 <ac131313@redhat.com> IEEE_FLOAT removal.
293
acf5ed49
DJ
2942002-02-03 Daniel Jacobowitz <drow@mvista.com>
295
296 * c-valprint.c (c_val_print): Pass a proper valaddr to
297 cp_print_class_method.
298 * valops.c (search_struct_method): If there is only one method
299 and args is NULL, return that method.
300
493d28d5
DJ
3012002-02-03 Daniel Jacobowitz <drow@mvista.com>
302
303 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
304 accessing tag_name directly.
305
7495dfdb
DJ
3062002-02-03 Daniel Jacobowitz <drow@mvista.com>
307
308 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
309 of accessing tag_name directly.
310
dd6bda65
DJ
3112002-02-03 Daniel Jacobowitz <drow@mvista.com>
312
313 PR gdb/280
314 * gdbtypes.c (replace_type): New function.
315 * gdbtypes.h (replace_type): Add prototype.
316 * stabsread.c (read_type): Use replace_type.
317
88fe217c
RE
3182002-02-03 Richard Earnshaw <rearnsha@arm.com>
319
320 * Makefile.in (memattr.o): Add missing dependencies rule.
321
e5d66720
PS
3222002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
323
324 * breakpoint.c (break_at_finish_command): Really export.
325 (break_at_finish_at_depth_command): Ditto.
326 (tbreak_at_finish_command): Ditto.
327 * hppa-tdep.c: Include completer.h.
328 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
329 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
330
fffee0be
AC
3312002-02-01 Andrew Cagney <ac131313@redhat.com>
332
333 * utils.c (do_write): New function.
334 (error_stream): Rewrite combining the code from error_begin and
335 verror.
336 (verror): Rewrite using error_stream.
337 (error_begin): Delete function.
338
255e7dbf
AC
3392002-02-01 Andrew Cagney <ac131313@redhat.com>
340
341 * utils.c (error_begin): Make static.
342 * defs.h (error_begin): Delete declaration.
343
344 * linespec.c (cplusplus_error): Replace cplusplus_hint.
345 (decode_line_1): Use cplusplus_error instead of error_begin,
346 cplusplus_hint and return_to_top_level.
347 * coffread.c (coff_symfile_read): Use error instead of error_begin
348 and return_to_top_level.
349 * infrun.c (default_skip_permanent_breakpoint): Ditto.
350
ddfe3c15
AC
3512002-02-01 Andrew Cagney <ac131313@redhat.com>
352
353 * language.h (type_error, range_error): Make string parameter
354 constant.
355 * language.c (warning_pre_print): Delete extern declaration.
356 * dwarfread.c (warning_pre_print): Ditto.
357 * language.c (type_error, range_error): Rewrite to use verror and
358 vwarning instead of warning_begin.
359
03ac34d5
MS
3602002-02-01 Michael Snyder <msnyder@redhat.com>
361
261c4ca2
MS
362 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
363 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 364
e00d1dc8
AC
3652002-02-01 Andrew Cagney <ac131313@redhat.com>
366
367 * command.h (NO_FUNCTION): Delete macro.
368 * cli/cli-decode.h (NO_FUNCTION): Ditto.
369 * top.c (execute_command): Replace NO_FUNCTION with NULL.
370 * tracepoint.c (_initialize_tracepoint): Ditto.
371 * cli/cli-decode.c (add_set_cmd): Ditto.
372 * cli/cli-cmds.c (init_cli_cmds): Ditto.
373
76b79d6e
DJ
3742002-02-01 Daniel Jacobowitz <drow@mvista.com>
375
376 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
377 Update ``this'' pointer when calling virtual functions.
378
799f9e91
MS
3792002-02-01 Michael Snyder <msnyder@redhat.com>
380
c7bd442c 381 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
382 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
383
3cf384d4
DJ
3842002-02-01 Daniel Jacobowitz <drow@mvista.com>
385
386 * regformats/reg-arm.dat: New file.
387 * regformats/reg-i386.dat: New file.
388 * regformats/reg-ia64.dat: New file.
389 * regformats/reg-m68k.dat: New file.
390 * regformats/reg-mips.dat: New file.
391 * regformats/reg-ppc.dat: New file.
392 * regformats/reg-sh.dat: New file.
393 * regformats/regdef.h: New file.
394 * regformats/regdat.sh: New file.
395
0defa245
RE
3962002-02-01 Richard Earnshaw <reanrsha@arm.com>
397
398 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
399 (arm_frame_args_address, arm_frame_locals_address): New functions.
400 (arm_frame_num_args): New function.
401 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
402 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
403 (FRMA_NUM_ARGS): Call arm_frame_num_args.
404
405f26e6
MS
4052002-01-31 Michael Snyder <msnyder@redhat.com>
406
502fd408
MS
407 * breakpoint.c (break_at_finish_command): Export.
408 (break_at_finish_at_depth_command): Export.
409 (tbreak_at_finish_command): Export.
410 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
411 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
412 "tbreak" commands, which are HPPA specific.
413
7d35e135
MS
414 * printcmd.c (disassemble_command): Remove an ancient
415 artifact of an old merge.
416
d874f1e2
MS
417 * symfile.h (enum overlay_debugging_state):
418 Define enum constant values for overlay mode.
419 * symfile.c (overlay_debugging): Use enums instead of literals.
420 (overlay_is_mapped, overlay_auto_command,
421 overlay_manual_command): Ditto.
422
9f04af04
MS
423 * breakpoint.c (insert_breakpoints, remove_breakpoint,
424 breakpoint_here_p, breakpoint_inserted_here_p,
425 breakpoint_thread_match, bpstat_stop_status,
426 describe_other_breakpoints, check_duplicates, clear_command):
427 Coding standard fixes.
428
8add0441 429 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 430 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
431 code: check bfd SEC_READONLY flag for section.
432
e351066e
AC
4332002-01-31 Andrew Cagney <ac131313@redhat.com>
434
7d35e135 435 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 436
8a48e967
DJ
4372002-01-30 Daniel Jacobowitz <drow@mvista.com>
438
439 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
440 data symbols, since we search based on textlow and texthigh.
441 (find_pc_sect_symtab): Likewise.
442
f5a96129
AC
4432002-01-30 Andrew Cagney <ac131313@redhat.com>
444
445 * defs.h (vwarning): Declare.
f5a96129
AC
446 * utils.c (vwarning): New function.
447 (warning): Call vwarning.
448 (warning_begin): Delete function.
449
450 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
451 the warning message.
452 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
453 warning_begin.
454
cefd4ef5
MS
4552002-01-30 Michael Snyder <msnyder@redhat.com>
456
1a703748
MS
457 * NEWS: Mention "set trust-readonly-sections" command.
458 Mention generate-core-file command.
cefd4ef5 459
3a11626d
MS
4602002-01-15 Michael Snyder <msnyder@redhat.com>
461
462 * target.c: New command, "set trust-readonly-sections on".
463 (do_xfer_memory): Honor the suggestion to trust readonly sections
464 by reading them from the object file instead of from the target.
465 (initialize_targets): Register command "set trust-readonly-sections".
466
d1c7e53b
AC
4672002-01-29 Andrew Cagney <ac131313@redhat.com>
468
469 * parse.c (target_map_name_to_register): Simplify, search regs and
470 pseudo-regs using a single loop.
471
e2c9a72c
AC
4722002-01-30 Andrew Cagney <ac131313@redhat.com>
473
474 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
475
69824b4e
MK
4762002-01-15 Rodney Brown <rbrown64@csc.com.au>
477
478 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
479 * config/i386/i386v42mp.mh: Add i387-nat.o .
480 * i386v4-nat.c: Include i387-nat.h.
481 (supply_fpregset): Use i387_supply_fsave.
482 (fill_fpregset): Use i387_fill_fsave.
483
6eb69eab
RE
4842002-01-30 Richard Earnshaw <rearnsha@arm.com>
485
486 * arm-tdep.c (arm_call_dummy_words): Define.
487 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
488 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
489 (CALL_DUMMY_WORDS): Define.
490 (arm_call_dummy_words): Declare.
491 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
492 (arm_linux_call_dummy_words): Declare.
493
9852326a
AS
4942002-01-30 Andreas Schwab <schwab@suse.de>
495
496 * m68klinux-nat.c: Fix last change to use regcache_collect
497 instead of referencing registers[] directly.
498
977a3030
AC
4992002-01-29 Andrew Cagney <ac131313@redhat.com>
500
501 * parse.c (target_map_name_to_register): Delete code wrapped in
502 #ifdef REGISTER_NAME_ALIAS_HOOK.
503
2076c72b
MS
5042002-01-28 Michael Snyder <msnyder@redhat.com>
505
506 * regcache.c (legacy_read_register_gen): Need to be able to
507 read pseudo-register as well as real register.
508 (legacy_write_register_gen): Ditto.
509
8fcc723b
AC
5102002-01-28 Andrew Cagney <ac131313@redhat.com>
511
512 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
513 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
514 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
515 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
516 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
517 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
518 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
519 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
520 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
521 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
522 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
523 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
524 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
525 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
526 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
527 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
528 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
529 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
530 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
531 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
532
afe64c1a
AC
5332002-01-28 Andrew Cagney <ac131313@redhat.com>
534
535 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
536 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
537 (initialize_current_architecture): Update target_byte_order using
538 information from BFD.
afe64c1a
AC
539 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
540 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
541
75bc7ddf
AC
5422002-01-28 Andrew Cagney <ac131313@redhat.com>
543
544 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
545 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
546
547 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
548 #ifdef INVALID_FLOAT.
549 * infcmd.c (do_registers_info): Ditto.
550 * values.c (unpack_double): Ditto. Add comment.
551
552 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
553 already commented out.
554
0280a90a
AS
5552002-01-26 Andreas Schwab <schwab@suse.de>
556
557 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
558 * m68klinux-nat.c: Update ptrace interface for fetching/storing
559 registers and add support for PTRACE_GETREGS.
560
7072a954
AC
5612002-01-24 Andrew Cagney <ac131313@redhat.com>
562
563 GDB 5.1.1 released from 5.1 branch.
564 * NEWS: Add 5.1.1 news.
565 * README: Sync with 5.1 branch.
566
86f902e0
FF
5672002-01-23 Fred Fish <fnf@redhat.com>
568
569 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
570 stabstring on initial malloc. Reallocing will copy it for us,
571 if necessary.
572
8af51c36
EZ
5732002-01-23 Elena Zannoni <ezannoni@redhat.com>
574
575 * Makefile.in (hpread_h): Delete.
576 (HFILES_NO_SRCDIR): Remove hpread.h.
577 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
578 (hpread.o): Update dependencies.
579 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
580
581 * hp-psymtab-read.c: Remove file.
582 * hp-symtab-read.c: Remove file.
583 * hpread.h: Remove file.
584
585 * hpread.c: Merge all contents of hp-psymtab-read.c,
586 hp-symtab-read.c and hpread.h into this file, as it was prior to
587 January 1999.
588
589 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
590 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
591 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
592 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
593
dc5cfeb6
EZ
5942002-01-23 Elena Zannoni <ezannoni@redhat.com>
595
596 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
597 fill_gregset): Call gdbarch_tdep() just once, assign result to
598 variable and use that, instead of calling the function several
599 times.
600
ea87b71b
AO
6012002-01-24 Alexandre Oliva <aoliva@redhat.com>
602
603 * configure.host: Accept sparcv9 as alias for sparc64.
604 * configure.tgt: Likewise.
605
13fc0c2f
KB
6062002-01-22 Kevin Buettner <kevinb@redhat.com>
607
608 * solib-aix5.c (build_so_list_from_mapfile)
609 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
610 arguments is not reversed.
611 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
612 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
613
7bd872fe
EZ
6142002-01-22 Elena Zannoni <ezannoni@redhat.com>
615
616 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
617 modified version of obsolete sh_fetch_pseudo_register.
618 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
619 (sh4_register_read): New function.
620 (sh_pseudo_register_write): New function. Renamed and modified
621 version of obsolete sh_store_pseudo_register.
622 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
623 (sh4_register_write): New function.
624 (sh_gdbarch_init): Remove setting of gdbarch function
625 fetch_pseudo_register and store_pseudo_register. Remove setting of
626 register_convert_to_raw, register_convert_to_virtual,
627 register_convertible.
628 (sh_sh4_register_convertible): Delete. No longer needed. All is
629 taken care by architecture specific functions
630 register_read/register_write.
631 (sh_sh4_register_convert_to_virtual): Make static.
632 (sh_sh4_register_convert_to_raw): Ditto.
633
069e84fd
AC
6342002-01-22 Andrew Cagney <ac131313@redhat.com>
635
636 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
637 (floatformat_is_nan, floatformat_mantissa): Ditto.
638
639 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
640 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
641 builtin_type_ieee_double_little,
642 builtin_type_ieee_double_littlebyte_bigword,
643 builtin_type_m68881_ext, builtin_type_i960_ext,
644 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
645 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
646 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
647 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
648
211a4f69
CV
6492002-01-22 Corinna Vinschen <vinschen@redhat.com>
650
651 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
652 parameter. Set frameless flag if it exists and depended of
653 whether the scanned function is frameless or not.
654 (xstormy16_skip_prologue): If function is frameless, return
655 result of xstormy16_scan_prologue().
656 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
657 call.
658
f81353e4
EZ
6592002-01-21 Elena Zannoni <ezannoni@redhat.com>
660
661 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
662 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
663 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
664 sh_sh4_register_byte, sh_sh4_register_raw_size,
665 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
666 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
667 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
668 sh_store_pseudo_register, sh_do_pseudo_register): Call
669 gdbarch_tdep() just once, assign result to variable and use that,
670 instead of calling the function several times.
671
63c73a17
MK
6722002-01-20 Mark Kettenis <kettenis@gnu.org>
673
674 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
675 macros instead of LAST_FPU_CTRL_REGNUM.
676 (store_register): Likewise.
677
39ad761d
JB
6782002-01-21 Jim Blandy <jimb@redhat.com>
679
680 * infcmd.c (run_command): Check that the `exec' target layer's BFD
681 is up-to-date before running the program, not just when a program
682 exits.
683
3d74b771
FF
6842002-01-21 Fred Fish <fnf@redhat.com>
685
686 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
687 when we have found all instructions we are looking for.
688
966fbf70
RE
6892002-01-21 Richard Earnshaw <rearnsha@arm.com>
690
691 * arm-tdep.c (arm_register_name): New function.
692 (arm_registers_names): Make static.
693 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
694 (arm_register_name): Declare.
695 (REGISTER_NAME): Use it.
696
c3b4394c
RE
6972002-01-21 Richard Earnshaw <rearnsha@arm.com>
698 Kevin Buettner <kevinb@redhat.com>
699
700 Convert arm targets to new FRAME interface.
701 * arm-tdep.c (struct frame_extra_info): Remove fsr.
702 (arm_frame_find_save_regs): Delete.
703 (arm_frame_init_saved_regs): New.
704 (arm_init_extra_frame_info): Alloacte saved_regs as required.
705 Allocate extra_info as required. Convert all uses of fsr.regs
706 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
707 to use extra_info.
708 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
709 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
710 (check_prologue_cache, save_prologue_cache): Likewise.
711 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
712 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
713 (FRAME_FIND_SAVED_REGS): Delete.
714 (arm_frame_find_saved_regs): Delete prototype.
715 (arm_frame_init_saved_regs): New prototype.
716 (FRAME_INIT_SAVED_REGS): Define.
717
61d99182
AC
7182002-01-20 Andrew Cagney <ac131313@redhat.com>
719
720 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
721
6aaea291
AC
7222002-01-20 Andrew Cagney <ac131313@redhat.com>
723
724 From Jeff Law <law@redhat.com>:
725 * infttrace.c: Include <sys/pstat.h>.
726 (child_pid_to_exec_file): Revamp. Use pstat call to get the
727 exec file if the ttrace equivalent fails.
728
15f698d2
AC
7292002-01-20 Andrew Cagney <ac131313@redhat.com>
730
731 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
732 (closeLogFile): Ditto.
733
f86ddd7c
MC
7342002-01-20 Michael Chastain <mec@shout.net>
735
736 * top.c (print_gdb_version): Bump copyright year to 2002.
737
904507ce
AC
7382002-01-20 Andrew Cagney <ac131313@redhat.com>
739
740 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
741 Zannoni and Eli Zaretskii.
742
d7f0b9ce
DJ
7432002-01-20 Daniel Jacobowitz <drow@mvista.com>
744
745 * buildsym.c: Update copyright years.
746 * c-typeprint.c: Likewise.
747 * dwarf2read.c: Likewise.
748 * f-typeprint.c: Likewise.
749 * gdbtypes.c: Likewise.
750 * gdbtypes.h: Likewise.
751 * hp-symtab-read.c: Likewise.
752 * hpread.c: Likewise.
753 * mdebugread.c: Likewise.
754 * p-typeprint.c: Likewise.
755
3fd3d7d2
AC
7562002-01-20 Andrew Cagney <ac131313@redhat.com>
757
758 * remote-sim.c (gdbsim_open): Simplify code testing the macro
759 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
760 byte-order selectable.
761 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
762 * arch-utils.c: Ditto.
763 (set_endian): Ditto.
764 (set_endian_from_file): Ditto.
765 * gdbserver/low-sim.c (create_inferior): Ditto.
766 * gdbarch.sh: Ditto.
767 * gdbarch.h: Re-generate.
768 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
769 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
770 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
771 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
772 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
773 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
774 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
775 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
776 macro definition.
777 * config/mips/tm-wince.h: Remove #undef of macro
778 TARGET_BYTE_ORDER_SELECTABLE.
779 * config/sh/tm-wince.h: Ditto.
780
b02dede2
DJ
7812002-01-20 Daniel Jacobowitz <drow@mvista.com>
782
783 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
784 member function fields. Add accessor macro
785 TYPE_FN_FIELD_ARTIFICIAL.
786 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
787 * c-typeprint.c (c_type_print_base): Skip artificial member
788 functions.
789
c3643761
DJ
7902002-01-20 Daniel Jacobowitz <drow@mvista.com>
791
792 * f-typeprint.c: Delete unused function f_type_print_args.
793 * p-typeprint.c: Delete unused function pascal_type_print_args.
794
8176bb6d
DJ
7952002-01-20 Daniel Jacobowitz <drow@mvista.com>
796
797 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
798 comment. Add ``artificial'' to ``union field_location''.
799
800 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
801
802 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
803 * mdebugread.c (parse_symbol): Likewise.
804 * stabsread.c (define_symbol): Likewise.
805 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
806 initializing TYPE_FIELD_BITPOS to n (obsolete).
807 (hpread_doc_function_type): Likewise.
808 * hpread.c (hpread_function_type): Likewise.
809
7fd60527
AC
8102002-01-20 Andrew Cagney <ac131313@redhat.com>
811
812 * configure.in (host_makefile_frag): Only require a host makefile
813 fragment when a native build.
814 * configure: Re-generate.
815
c2f05ac9
AC
8162002-01-20 Andrew Cagney <ac131313@redhat.com>
817
818 * doublest.h (floatformat_from_type): Declare.
819 * doublest.c (floatformat_from_type): New function.
820 (convert_typed_floating): Use.
821
822 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
823 call to function floatformat_from_type.
824
825 * gdbarch.sh (IEEE_FLOAT): Delete.
826 * gdbarch.h, gdbarch.c: Re-generate.
827 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
828 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
829 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
830 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
831 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
832 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
833 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
834 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
835 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
836 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
837 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
838 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
839
840 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
841 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
842 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
843 * sh-tdep.c (sh_gdbarch_init): Ditto.
844 * mips-tdep.c (mips_gdbarch_init): Ditto.
845 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
846 * cris-tdep.c (cris_gdbarch_init): Ditto.
847
abf22e64
AJ
8482002-01-20 Jiri Smid <smid@suse.cz>
849
850 * configure.host, configure.tgt: Support x86-64.
851 * NEWS: Note new target x86-64.
852
b7c4cbf8
AJ
853 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
854 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
855 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
856 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
857 x86-64-linux-nat.o): Fix dependencies.
858
82600034
AC
8592002-01-19 Andrew Cagney <ac131313@redhat.com>
860
861 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
862 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
863 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
864 * config/sparc/xm-sun4os4.h: Delete file.
865 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 866
bbe5c628
AC
8672002-01-19 Andrew Cagney <ac131313@redhat.com>
868
869 * config/sparc/sparclynx.mh (XM_FILE): Delete.
870 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
871 * config/m68k/m68klynx.mh (XM_FILE): Delete.
872 * config/i386/i386lynx.mh (XM_FILE): Delete.
873 * config/rs6000/xm-rs6000ly.h: Delete file.
874 * config/sparc/xm-sparclynx.h: Delete file.
875 * config/m68k/xm-m68klynx.h: Delete file.
876 * config/i386/xm-i386lynx.h: Delete file.
877 * config/xm-lynx.h: Delete file.
878 * config/djgpp/fnchange.lst: Update.
879
f8453e34
JT
8802002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
881
882 * alpha-tdep.c (alpha_register_byte): New function.
883 (alpha_register_raw_size): Ditto.
884 (alpha_register_virtual_size): Ditto.
885 (alpha_skip_prologue_internal): Renamed from
886 alpha_skip_prologue.
887 (alpha_skip_prologue): New version that calls
888 alpha_skip_prologue_internal.
889 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
890 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
891 second argument from alpha_skip_prologue.
892 (REGISTER_BYTE): Use alpha_register_byte.
893 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
894 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
895 (FRAMELESS_FUNCTION_INVOCATION): Use
896 generic_frameless_function_invocation_not.
897 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
898 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
899
52d9e613
AC
9002002-01-19 Andrew Cagney <ac131313@redhat.com>
901
902 * config/mips/xm-news-mips.h: Delete file.
903 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
904
905 * config/m88k/xm-m88k.h: Delete file.
906 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
907 * config/m88k/xm-delta88v4.h: Ditto.
908 * config/m88k/xm-delta88.h: Ditto.
909
910 * config/alpha/xm-fbsd.h: Delete file.
911 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
912
913 * config/sparc/xm-sparc.h: Delete file.
914 * Makefile.in (xm-sun4os4.h): Delete dependency.
915 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
916 * config/sparc/xm-sun4os4.h: Ditto.
917 * config/sparc/xm-linux.h: Ditto.
918
919 * config/i386/xm-windows.h: Delete file.
920
2d1b2124
AC
9212002-01-19 Andrew Cagney <ac131313@redhat.com>
922
923 * utils.c: Include <sys/param.h> for MAXPATHLEN.
924 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
925
ee1f65f0
JT
9262002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
927
928 * alpha-tdep.c (alpha_call_dummy_words): New.
929 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
930 (CALL_DUMMY_P): Define.
931 (CALL_DUMMY_WORDS): Define.
932 (SIZEOF_CALL_DUMMY_WORDS): Define.
933
98081e55
PB
9342002-01-19 Per Bothner <per@bothner.com>
935
936 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
937 isn't NULL, which can happen with some gcj-3.x-produced code.
938
0d056799
JT
9392002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
940
941 * alpha-tdep.c (alpha_register_virtual_type): New function.
942 (alpha_init_frame_pc_first): Ditto.
943 (alpha_fix_call_dummy): Ditto.
944 (alpha_store_struct_return): Ditto.
945 (alpha_extract_struct_value_address): Ditto.
946 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
947 alpha_register_virtual_type.
948 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
949 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
950 alpha_extract_struct_value_address.
951 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
952 (INIT_FRAME_PC): Use init_frame_pc_noop.
953 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
954
4604bcad
MK
9552002-01-19 Mark Kettenis <kettenis@gnu.org>
956
957 * i386gnu-nat.c: Include "i386-tdep.h".
958 (fetch_fpregs): Simplify code dealing with uninitialized floating
959 point states such that it doesn't require FP7_REGNUM.
960
140f9984
JT
9612002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
962
abf22e64
AJ
963 * alpha-tdep.c (frame_extra_info): New.
964 (alpha_find_saved_regs): Make static. Use
140f9984
JT
965 frame->extra_info.
966 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
967 (alpha_frame_saved_pc): Use frame->extra_info.
968 (temp_saved_regs): Don't declare as struct frame_saved_regs.
969 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
970 (init_extra_frame_info): Rename to...
971 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 972 (alpha_print_extra_frame_info): New function.
140f9984
JT
973 (alpha_frame_locals_address): Ditto.
974 (alpha_frame_args_address): Ditto.
abf22e64 975 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
976 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
977 alpha_frame_args_address.
abf22e64 978 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 979 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
980 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
981 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
982 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
983 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
984
d734c450
JT
9852002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
986
987 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
988 (alpha_cannot_fetch_register): Ditto.
989 (alpha_cannot_store_register): Ditto.
990 (alpha_register_convertible): Ditto.
991 (alpha_use_struct_convention): Ditto.
992 * config/alpha/tm-alpha.h: Update copyright years.
993 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
994 (INNER_THAN): Use core_addr_lessthan.
995 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
996 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
997 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
998 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
999 (FRAME_CHAIN): Remove unnecessary cast.
1000
b4ceaee6
AC
10012002-01-18 Andrew Cagney <ac131313@redhat.com>
1002
1003 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
1004 obsolete.
1005
0a65a603
AC
10062002-01-18 Andrew Cagney <ac131313@redhat.com>
1007
1008 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
1009 * monitor.c, remote-array.c, remote-bug.c: Ditto.
1010 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
1011 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
1012 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
1013 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
1014 * x86-64-linux-nat.c: Ditto.
1015
636a6dfc
JT
10162002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1017
abf22e64 1018 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
1019 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
1020 (REGISTER_NAME): Define.
1021
acceddb6
JT
10222002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1023
1024 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
1025
ec32e4be
JT
10262002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1027
1028 * alpha-tdep.c: Update copyright years.
1029 (alpha_next_pc): New function.
1030 (alpha_software_single_step): Ditto.
1031 * config/alpha/tm-alpha.h: Add prototype for
1032 alpha_software_single_step.
1033
e771a871
JT
10342002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1035
1036 * alphabsd-nat.c: Update copyright years.
1037 (fill_gregset): Use regcache_collect.
1038 (fill_fpregset): Likewise.
1039 (fetch_inferior_registers): Only fetch integer registers
1040 if requested to do so.
1041 (store_inferior_registers): Only store integer registers
1042 if requested to do so.
1043
7708fa01
AC
10442002-01-17 Andrew Cagney <ac131313@redhat.com>
1045
1046 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
1047 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
1048 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
1049 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
1050 * config/alpha/fbsd.mh (XDEPFILES): Delete.
1051 * config/arm/linux.mh (XDEPFILES): Delete.
1052 * config/arm/nbsd.mh (XDEPFILES): Delete.
1053 * config/i386/i386dgux.mh (XDEPFILES): Delete.
1054 * config/i386/i386sol2.mh (XDEPFILES): Delete.
1055 * config/i386/i386m3.mh (XDEPFILES): Delete.
1056 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
1057 * config/i386/i386gnu.mh (XDEPFILES): Delete.
1058 * config/i386/fbsd.mh (XDEPFILES): Delete.
1059 * config/i386/i386bsd.mh (XDEPFILES): Delete.
1060 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1061 * config/i386/i386v4.mh (XDEPFILES): Delete.
1062 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1063 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1064 * config/i386/i386aix.mh (XDEPFILES): Delete.
1065 * config/i386/go32.mh (XDEPFILES): Delete.
1066 * config/i386/cygwin.mh (XDEPFILES): Delete.
1067 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1068 * config/i386/i386mach.mh (XDEPFILES): Delete.
1069 * config/i386/i386v32.mh (XDEPFILES): Delete.
1070 * config/i386/linux.mh (XDEPFILES): Delete.
1071 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1072 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1073 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1074 * config/i386/i386sco.mh (XDEPFILES): Delete.
1075 * config/i386/i386v.mh (XDEPFILES): Delete.
1076 * config/i386/nbsd.mh (XDEPFILES): Delete.
1077 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1078 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1079 * config/i386/symmetry.mh (XDEPFILES): Delete.
1080 * config/i386/obsd.mh (XDEPFILES): Delete.
1081 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
1082 * config/ia64/linux.mh (XDEPFILES): Delete.
1083 * config/ia64/aix.mh (XDEPFILES): Delete.
1084 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
1085 * config/m68k/dpx2.mh (XDEPFILES): Delete.
1086 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
1087 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
1088 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
1089 * config/m68k/linux.mh (XDEPFILES): Delete.
1090 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
1091 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
1092 * config/m68k/nbsd.mh (XDEPFILES): Delete.
1093 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
1094 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
1095 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
1096 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
1097 * config/m88k/delta88.mh (XDEPFILES): Delete.
1098 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
1099 * config/m88k/m88k.mh (XDEPFILES): Delete.
1100 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
1101 * config/mips/linux.mh (XDEPFILES): Delete.
1102 * config/mips/irix6.mh (XDEPFILES): Delete.
1103 * config/mips/irix5.mh (XDEPFILES): Delete.
1104 * config/mips/irix4.mh (XDEPFILES): Delete.
1105 * config/mips/irix3.mh (XDEPFILES): Delete.
1106 * config/mips/decstation.mh (XDEPFILES): Delete.
1107 * config/mips/mipsm3.mh (XDEPFILES): Delete.
1108 (NATDEPFILES): Move core-aout.o to here.
1109 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
1110 * config/pa/hpux1020.mh (XDEPFILES): Delete.
1111 * config/pa/hppabsd.mh (XDEPFILES): Delete.
1112 * config/pa/hppahpux.mh (XDEPFILES): Delete.
1113 * config/pa/hpux11w.mh (XDEPFILES): Delete.
1114 * config/pa/hppaosf.mh (XDEPFILES): Delete.
1115 * config/pa/hpux11.mh (XDEPFILES): Delete.
1116 * config/powerpc/aix.mh (XDEPFILES): Delete.
1117 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
1118 * config/powerpc/linux.mh (XDEPFILES): Delete.
1119 * config/romp/rtbsd.mh: Rename XDEPFILES.
1120 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
1121 * config/rs6000/aix4.mh (XDEPFILES): Delete.
1122 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
1123 * config/s390/s390.mh (XDEPFILES): Delete.
1124 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
1125 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
1126 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
1127 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
1128 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
1129 * config/sparc/nbsd.mh (XDEPFILES): Delete.
1130 * config/sparc/linux.mh (XDEPFILES): Delete.
1131 * config/vax/vaxult.mh (XDEPFILES): Delete.
1132 * config/vax/vaxult2.mh (XDEPFILES): Delete.
1133 * Makefile.in (DEPFILES): Remove XDEPFILES.
1134
375fc983
AC
11352002-01-17 Andrew Cagney <ac131313@redhat.com>
1136
1137 * utils.c (internal_verror): Fix comments, default is yes not no.
1138 Update queries to match. Default to quit and dump core.
1139
8926118c
AC
11402002-01-17 Andrew Cagney <ac131313@redhat.com>
1141
1142 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
1143 copyright.
1144 * defs.h, event-top.c, gdbcmd.h: Ditto.
1145 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
1146 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
1147 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
1148 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
1149 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
1150 * mi/mi-main.c:Ditto.
1151
1152 * stack.c, symfile.c: Update copyright.
1153
45b7b345
DJ
11542002-01-17 Daniel Jacobowitz <drow@mvista.com>
1155
db728ff7
DJ
1156 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1157 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1158 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1159 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 1160
db728ff7
DJ
11612002-01-17 Daniel Jacobowitz <drow@mvista.com>
1162
1163 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1164 * gdbserver/low-lynx.c (myattach): Likewise.
1165 * gdbserver/low-nbsd.c (myattach): Likewise.
1166 * gdbserver/low-sim.c (myattach): Likewise.
1167 * gdbserver/low-sparc.c (myattach): Likewise.
1168 * gdbserver/low-sun3.c (myattach): Likewise.
1169
1170 * gdbserver/low-linux.c (myattach): New function.
45b7b345 1171
db728ff7 1172 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
1173 (main): Handle "--attach".
1174
8de3c354
AC
11752002-01-16 Andrew Cagney <ac131313@redhat.com>
1176
1177 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1178 maintainer.
1179
b0129042
DJ
11802002-01-15 Daniel Jacobowitz <drow@mvista.com>
1181
1182 * c-typeprint.c (is_type_conversion_operator): Add additional
1183 check for non-conversion operators.
1184
ba8679fb 11852002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
1186
1187 * linux-proc.c: Add "info proc" command, a la procfs.c.
1188 (read_mapping): New function, abstract and re-use code.
1189 (linux_find_memory_regions): Use new func read_mapping.
1190 (linux_info_proc_cmd): New function, implement "info proc".
1191 (_initialize_linux_proc): Add new command "info proc".
1192
e4f9b4d5
MS
11932002-01-15 Michael Snyder <msnyder@redhat.com>
1194
1195 * symfile.c (generic_load): Use bfd_map_over_sections method
1196 instead of manipulating bfd structure members directly.
1197 (add_section_size_callback): New function, bfd sections callback
1198 used by generic_load.
1199 (load_sections_callback): New function, bfd sections callback
1200 used by generic_load.
1201
08cf96df
EZ
12022002-01-15 Elena Zannoni <ezannoni@redhat.com>
1203
abf22e64 1204 [Based on work by Jim Blandy]
08cf96df
EZ
1205 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1206 (builtin_type_vec128): Export.
1207 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1208 types.
1209 (builtin_type_vec128): New builtin type for 128 bit vector
1210 registers.
1211 (build_gdbtypes): Initialize builtin_type_v16qi and
1212 builtin_type_v8hi. Create the vec128 register builtin type
1213 structure.
1214 (build_builtin_type_vec128): New function.
abf22e64 1215 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
1216 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1217 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1218 AltiVec register to new builtin type.
1219
d7242108
DJ
12202001-01-15 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1223 to make_cv_type.
1224
4ee3352d
AC
12252002-01-14 Andrew Cagney <ac131313@redhat.com>
1226
1227 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1228 CLEAN_UP_REGISTER_VALUE.
1229 * regcache.c (supply_register): Update only call.
1230
f015b2e7
AC
12312002-01-14 Andrew Cagney <ac131313@redhat.com>
1232
1233 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1234 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1235 a29k-*-vxworks* targets as obsolete.
1236
356ae49d
MS
12372002-01-14 Michael Snyder <msnyder@redhat.com>
1238
1239 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1240 until we can resolve portability issues.
1241 * gregset.h: Remove references to fpxregs.
1242 * gcore.c (gcore_command): Initialize note_sec to NULL.
1243
ade8f45e
AC
12442002-01-13 Andrew Cagney <ac131313@redhat.com>
1245
1246 * signals.c (target_signal_to_name): Rewrite. Only use
1247 signals[].name when in bounds and non-NULL.
abf22e64 1248
89c49e7a
AC
12492002-01-13 Andrew Cagney <ac131313@redhat.com>
1250
1251 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1252 * signals.c (target_signal_to_name): Verify that SIG is within the
1253 bounds of the signals array.
1254
4daa9f9f
AC
12552002-01-13 Andrew Cagney <ac131313@redhat.com>
1256
1257 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1258
ba4bbdcb
KS
12592002-01-13 Keith Seitz <keiths@redhat.com>
1260
1261 * stack.c (print_frame_info_base): Print the frame's pc
1262 only if when print_frame_info_listing_hook is not defined.
1263
575bbeb6
KS
12642002-01-13 Keith Seitz <keiths@redhat.com>
1265
1266 * varobj.c (varobj_set_value): Make sure that there were no
1267 errors evaluating the object before attempting to set its
1268 value.
1269 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1270 so this offset adjustment is no longer necessary.
1271 (create_child): Don't set the error flag if the child is
1272 a CPLUS_FAKE_CHILD.
1273 (value_of_child): If value_fetch_lazy fails, return NULL
1274 so that callers will be notified that an error occurred.
1275 (c_value_of_variable): Delay check of variable's validity
1276 until later. We actually want all structs and unions to have
1277 the value "{...}".
1278 Do not return "???" for variables which could not be evaluated.
1279 This error condition must be returned to the caller so that it
1280 can get the error condition from gdb.
1281 (cplus_name_of_child): Adjust index for vptr before figuring
1282 out the name of the child.
1283 (cplus_value_of_child): If a child's (real) parent is not valid,
1284 don't even bother trying to give a value for it. Just return
1285 an error. Change all instances in this function.
1286 (cplus_type_of_child): If our parent is one of the "fake"
1287 parents, we need to get at the type of the real parent, and
1288 derive the child's true type using this information.
1289
b76898ab
AC
12902002-01-13 Andrew Cagney <ac131313@redhat.com>
1291
1292 From 2002-01-09 John Marshall <johnm@falch.net>:
1293 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1294 sources.redhat.com, and tweak some related URLs which had
1295 suffered from linkrot.
1296
b6649e88
AC
12972002-01-13 Andrew Cagney <ac131313@redhat.com>
1298
1299 From Jeff law:
1300 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1301 structures passed in registers.
1302
82cc5033
EZ
13032002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1304
1305 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1306 white space which prevented compilation. Reported by DSK
1307 <dsk@student.unsw.edu.au>.
1308
ba5f2f8a
MS
13092002-01-11 Michael Snyder <msnyder@redhat.com>
1310
fbd35540
MS
1311 * symfile.c (build_section_addr_info_from_section_tab):
1312 Use bfd access method instead of manipulating bfd directly.
1313 (syms_from_objfile): Ditto.
1314 (simple_overlay_update_1): Ditto.
1315 (simple_overlay_update): Ditto.
1316 (generic_load): Ditto.
1317 (overlay_unmapped_address): FIXME comment, bfd access methods.
1318 (sections_overlap): FIXME comment, bfd access methods.
1319 (pc_in_mapped_range): FIXME comment, bfd access methods.
1320 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1321 (section_is_mapped): FIXME comment, bfd access methods.
1322 (section_is_overlay): FIXME comment, bfd access methods.
1323
ba5f2f8a
MS
1324 * symfile.c (generic_load): Whitespace and long line cleanups.
1325 Remove duplicate variable, change several local variables to
1326 more appropriate data types.
1327 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1328
17df2af6
AC
13292002-01-12 Andrew Cagney <ac131313@redhat.com>
1330
1331 From Peter Schauer:
1332 * language.c (longest_local_hex_string_custom): Use phex_nz to
1333 convert NUM to a hex string.
1334
ec920329
EZ
13352002-01-12 Elena Zannoni <ezannoni@redhat.com>
1336
1337 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1338 the function.
538a76d6 1339 Update Copyright year.
ec920329 1340
3abd2e01
AC
13412002-01-12 Andrew Cagney <ac131313@redhat.com>
1342
1343 * language.c (longest_raw_hex_string): Delete unused function.
1344
b21b22e0
PS
13452002-01-11 Petr Sorfa <petrs@caldera.com>
1346
1347 * MAINTAINERS (write-after-approval): Add myself.
1348 * dwarf2read.c (read_tag_string_type): Handling of
1349 DW_AT_byte_size.
1350 (read_tag_string_type): FORTRAN fix to prevent propagation of
1351 first string size.
1352 (set_cu_language): Handling of DW_LANG_Fortran95
1353
747fe712
RE
13542002-01-11 Richard Earnshaw <rearnsha@arm.com>
1355
1356 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1357 GETPID(inferior_ptid).
1358 (store_inferior_registers): Likewise.
1359
f1bea926
JM
13602002-01-10 Jason Merrill <jason@redhat.com>
1361
1362 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1363 Fix DW_OP_minus.
1364
ae940673
AC
13652002-01-10 Andrew Cagney <ac131313@redhat.com>
1366
1367 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1368 and bfd/elf32-sh-nbsd.c.
1369
00546b04
MS
13702002-01-10 Michael Snyder <msnyder@redhat.com>
1371
352ed7b4
MS
1372 * NEWS: Mention --pid and corefile/proc-id behavior change.
1373
c18be923
MS
1374 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1375 * gcore.c: Include cli/cli-decode.h instead of command.h.
1376
00546b04
MS
1377 * main.c (captured_main): Add new command line option "--pid".
1378 If the second command line argument (following the symbol-file)
1379 begins with a digit, try to attach to it before trying to open
1380 it as a corefile.
1381 (print_gdb_help): Document the "--pid" argument.
1382
db60ec62
EZ
13832002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1384
1385 * completer.c (command_completer): New function.
1386
1387 * completer.h <command_completer>: Add prototype.
1388
1389 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1390 completer for the "help" command.
1391
39c22d1a
JM
13922002-01-09 Jason Merrill <jason@redhat.com>
1393
1394 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1395
c564377f
MS
13962002-01-09 Michael Snyder <msnyder@redhat.com>
1397
975aec09
MS
1398 * i386-linux-nat.c (fill_fpxregset): Make global.
1399 (store_fpxregset): Ditto.
1400
db4a10fa
MS
1401 * gregset.h (gdb_fpxregset_t): Define.
1402 (supply_fpxregset): Prototype.
1403 (fill_fpxregset): Prototype.
1404
c564377f
MS
1405 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1406
c3d45d70
RE
14072002-01-09 Richard Earnshaw <rearnsha@arm.com>
1408
1409 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1410 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1411 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1412
fcc87af1
AC
14132002-01-09 Andrew Cagney <ac131313@redhat.com>
1414
1415 * MAINTAINERS: Update target maintainer rules so that any
1416 Maintainer can approve a tested patch for a maintenance-only
1417 target.
1418
dd96c05b
RE
14192002-01-09 Richard Earnshaw <rearnsha@arm.com>
1420
d4297db9 1421 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 1422
d4297db9 1423 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
1424 IN_SIGTRAMP.
1425
145fdc6e
MS
14262002-01-08 Michael Snyder <msnyder@redhat.com>
1427
1428 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1429 real name of the executable, rather than the /proc name.
1430
be4d1333
MS
14312002-01-03 Michael Snyder <msnyder@redhat.com>
1432
1433 Implement a "generate-core-file" command in gdb, save target state.
1434 * gcore.c: New file. Implement new command 'generate-core-file'.
1435 Save a corefile image of the current state of the inferior.
1436 * linux-proc.c: Add linux-specific code for saving corefiles.
1437 * target.h (struct target_ops): Add new target vectors for saving
1438 corefiles; to_find_memory_regions and to_make_corefile_notes.
1439 (target_find_memory_regions): New macro.
1440 (target_make_corefile_notes): New macro.
1441 * target.c (update_current_target): Inherit new target methods.
1442 (dummy_find_memory_regions): New place-holder method.
1443 (dummy_make_corefile_notes): New place-holder method.
1444 (init_dummy_target): Initialize new dummy target vectors.
1445 * exec.c (exec_set_find_memory_regions): New function.
1446 Allow the exec_ops vector for memory regions to be taken over.
1447 (exec_make_note_section): New function, target vector method.
1448 * defs.h (exec_set_find_memory_regions): Export prototype.
1449 * procfs.c (proc_find_memory_regions): New function, corefile method.
1450 (procfs_make_note_section): New function, corefile method.
1451 (init_procfs_ops): Set new target vector pointers.
1452 (find_memory_regions_callback): New function.
1453 (procfs_do_thread_registers): New function.
1454 (procfs_corefile_thread_callback): New function.
1455 * sol-thread.c (sol_find_memory_regions): New function.
1456 (sol_make_note_section): New function.
1457 (init_sol_thread_ops): Initialize new target vectors.
1458 * inftarg.c (inftarg_set_find_memory_regions): New function.
1459 Allow to_find_memory_regions vector to be taken over.
1460 (inftarg_set_make_corefile_notes): New function.
1461 Allow to_make_corefile_notes vector to be taken over.
1462 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1463 interface layer if not target_has_execution (may be a corefile).
1464 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1465 * config/sparc/sun4sol2.mh: Ditto.
1466 * config/alpha/alpha-linux.mh: Ditto.
1467 * config/arm/linux.mh: Ditto.
1468 * config/i386/x86-64linux.mh: Ditto.
1469 * config/ia64/linux.mh: Ditto.
1470 * config/m68k/linux.mh: Ditto.
1471 * config/mips/linux.mh: Ditto.
1472 * config/powerpc/linux.mh: Ditto.
1473 * config/sparc/linux.mh: Ditto.
1474
c6b92abd
MS
14752002-01-07 Michael Snyder <msnyder@redhat.com>
1476
1477 * arm-linux-nat.c: Remove references to regcache.c internal data
1478 (registers[] and register_valid[]).
1479
4b09dc8c
MS
14802002-01-07 Michael Snyder <msnyder@redhat.com>
1481
abf22e64
AJ
1482 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1483 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
1484 symbol file and shlibs.
1485 * Makefile.in: Add rule for linux-proc.o.
1486 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1487 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1488 * config/arm/linux.mh: Ditto.
1489 * config/i386/linux.mh: Ditto.
1490 * config/i386/x86-64linux.mh: Ditto.
1491 * config/ia64/linux.mh: Ditto.
1492 * config/m68k/linux.mh: Ditto.
1493 * config/mips/linux.mh: Ditto.
1494 * config/powerpc/linux.mh: Ditto.
1495 * config/sparc/linux.mh: Ditto.
1496
c25b74ac
PM
14972002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1498
1499 * win32-nat.c: Add i386-tdep.h dependency.
1500
94cd915f
MS
15012002-01-07 Michael Snyder <msnyder@redhat.com>
1502
c7cccb76
MS
1503 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1504 instead of bfd_get_arch_size. Don't bail out just because
1505 there's no exec_bfd.
abf22e64 1506
34c0bd93
MS
1507 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1508 * p-valprint.c (pascal_object_print_value): Ditto.
1509 * somread.c (som_symtab_read): Ditto.
1510 * symfile.c (simple_free_overlay_region_table): Ditto.
1511 * valops.c (value_assign): Ditto.
1512
21c1c920
MS
1513 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1514 use tilde_expand and strerror for opening save-tracepoints file.
1515
5bbd998e
MS
1516 * thread-db.c (thread_db_new_objfile): Indendation fix.
1517
94cd915f
MS
1518 * infptrace.c (GDB_MAX_ALLOCA): New define.
1519 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 1520 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
1521 can be overridden with whatever value is appropriate to the host).
1522 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1523 alloca to allocate potentially large buffer.
1524 * rs6000-nat.c (child_xfer_memory): Ditto.
1525 * symm-nat.c (child_xfer_memory): Ditto.
1526 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1527
494e8a93
JSC
15282002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1529
1530 From Nick Clifton <nickc@redhat.com>
1531 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1532
d0e1d48e
MS
15332002-01-07 Michael Snyder <msnyder@redhat.com>
1534
abf22e64 1535 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
1536 Don't use exec_bfd if it's NULL.
1537
290b2c7a
MK
15382002-01-06 Mark Kettenis <kettenis@gnu.org>
1539
abf22e64 1540 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 1541
aef21287
AC
15422002-01-06 Andrew Cagney <ac131313@redhat.com>
1543
1544 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1545 * gnu-nat.c: Ditto.
1546
30efa627
AC
15472002-01-06 Andrew Cagney <ac131313@redhat.com>
1548
1549 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1550 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1551 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1552 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1553 z8k-coff have not been multi-arched. Update z8k-coff build
1554 status.
1555
9b4ff276
AC
15562002-01-06 Andrew Cagney <ac131313@redhat.com>
1557
1558 * MAINTAINERS: Mark a29k target as obsolete.
1559 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1560 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1561 comments.
1562 * NEWS: Note that a29k targets are obsolete.
1563 * a29k-tdep.c: Mark as obsolete.
1564 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1565 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1566 a29k-*-vxworks* targets as obsolete.
1567 * remote-adapt.c: Obsolete.
1568 * remote-eb.c: Obsolete.
1569 * remote-mm.c: Obsolete.
1570 * remote-udi.c: Obsolete.
1571 * config/a29k/a29k-udi.mt: Obsolete.
1572 * config/a29k/a29k.mt: Obsolete.
1573 * config/a29k/tm-a29k.h: Obsolete.
1574 * config/a29k/tm-vx29k.h: Obsolete.
1575 * config/a29k/vx29k.mt: Obsolete.
1576
a9011d31
AC
15772002-01-05 Andrew Cagney <ac131313@redhat.com>
1578
1579 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1580 with BFD_ENDIAN_BIG.
1581
9299404e
AC
15822002-01-05 Andrew Cagney <ac131313@redhat.com>
1583
1584 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1585 * configure, config.in: Re-generate.
1586 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1587 * defs.h: Do not include <endian.h>.
1588
7e89e357
JT
15892002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1590
1591 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1592 * config.in: Regenerate.
1593 * configure.in: Update copyright years.
1594 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1595 * configure: Regenerate.
1596 * i386bsd-nat.c: Update copyright years.
1597 (fill_gregset): Use regcache_collect.
1598 (fetch_inferior_registers): Only fetch integer registers
1599 if requested to do so. Add support for XMM registers
1600 using PT_GETXMMREGS.
1601 (store_inferior_registers): Only store integer registers
1602 if requested to do so. Add support for XMM registers
1603 using PT_SETXMMREGS.
1604 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1605 (store_inferior_registers): Remove.
1606 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1607 (fetch_elfcore_registers): New function.
1608 (i386nbsd_elfcore_fns): New.
1609 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1610 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1611 i386bsd-nat.o.
1612 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1613 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1614 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1615 * config/i386/tm-nbsd.h: Update copyright years.
1616 (HAVE_SSE_REGS): Define.
1617 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1618 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1619 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1620 (SIGCONTEXT_PC_OFFSET): Remove.
1621 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1622
a752853e
AC
16232002-01-05 Andrew Cagney <ac131313@redhat.com>
1624
1625 * configure.tgt: Remove powerpc-*-macos* target.
1626 * config/m68k/xm-mpw.h: Delete file.
1627 * config/xm-mpw.h: Delete file.
1628 * ser-mac.c: Delete file.
1629 * mpw-make.sed: Delete file.
1630 * mpw-config.in: Delete file.
1631 * mac-xdep.c: Delete file.
1632 * mac-gdb.r: Delete file.
1633 * mac-defs.h: Delete file.
1634 * mac-nat.c: Delete file.
1635 * config/powerpc/macos.mh: Delete file.
1636 * config/powerpc/macos.mt: Delete file.
1637 * config/powerpc/nm-macos.h: Delete file.
1638 * config/powerpc/tm-macos.h: Delete file.
1639 * source.c (openp, open_source_file): Remove obsolete code.
1640 * top.c (gdb_readline): Ditto.
1641 * utils.c (query): Ditto.
1642 * event-top.c (display_gdb_prompt): Ditto.
1643 * Makefile.in (ser-mac.o): Delete obsolete target.
1644 * NEWS: Update.
1645
d7449b42
AC
16462002-01-04 Andrew Cagney <ac131313@redhat.com>
1647
1648 * defs.h (BIG_ENDIAN): Delete macro definition.
1649 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1650 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1651 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1652 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1653 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1654 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1655 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1656 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1657 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1658 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1659 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1660 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1661 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1662 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1663 * gdbarch.c: Re-generate.
1664
356374e8
DJ
16652002-01-04 Daniel Jacobowitz <drow@mvista.com>
1666
1667 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1668 for core files.
1669
a2b8f8f8
JT
16702002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1671
1672 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1673
12466af9
AC
16742002-01-04 Andrew Cagney <ac131313@redhat.com>
1675
1676 * value.h (value_ptr): Delete typedef.
1677
3549ab40
JT
16782002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1679
1680 * i386nbsd-nat.c: Update copyright years.
1681 Include i386-tdep.h.
1682
fedbd091
EZ
16832002-01-04 Elena Zannoni <ezannoni@redhat.com>
1684
1685 * stabsread.c: Update copyright years.
1686
1687 From Debashis Mahata <debashis.mahata@wipro.com>:
1688 (read_struct_fields): Deal with Sun C compiler erroneous stab
1689 output for structs and unions.
fec8b34f 1690 Fix PR gdb/269.
fedbd091 1691
eb43544b
DJ
16922002-01-04 Daniel Jacobowitz <drow@mvista.com>
1693
1694 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1695 prototype.
1696
1514d34e
DJ
16972002-01-04 Daniel Jacobowitz <drow@mvista.com>
1698
1699 * cp-abi.c: Fix whitespace.
1700 (baseclass_offset): New wrapper function.
1701 * cp-abi.h (baseclass_offset): Add prototype.
1702 (struct cp_abi_ops): Add baseclass_offset pointer.
1703
1704 * valops.c (vb_match): Move to...
1705 * gnu-v2-abi.c (vb_match): here.
1706 * valops.c (baseclass_offset): Move to...
1707 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1708
1709 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1710
1711 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1712 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1713 * hpacc-abi.c (init_hpacc_ops): Likewise.
1714
7f8c9282
DJ
17152002-01-04 Daniel Jacobowitz <drow@mvista.com>
1716
1717 * valops.c (find_overload_match): Accept obj as a
1718 reference parameter. Update it before returning.
1719 * value.h (find_overload_match): Update prototype.
1720 * eval.c (evaluate_subexp_standard): Pass object to
1721 find_overload_match by reference.
1722
f23631e4
AC
17232002-01-03 Andrew Cagney <ac131313@redhat.com>
1724
1725 * valarith.c: Replace value_ptr with struct value pointer. Remove
1726 register attribute from value declarations.
1727 * valops.c: Ditto.
1728 * value.h: Ditto.
1729 * scm-lang.c (scm_lookup_name): Ditto.
1730
79e10fab 17312002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 1732
79e10fab
AC
1733 Abstract the functionality of iterating over mapped memory
1734 regions into a general purpose iterator function.
abf22e64 1735 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
1736 iterator for memory sections.
1737 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1738 (solib_mappings_callback): New function, callback for above.
1739 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1740 (info_mappings_callback): New function, callback for above.
1741
1742 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1743
c5ad026a
MK
17442002-01-01 Mark Kettenis <kettenis@gnu.org>
1745
d2a7c97a
MK
1746 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1747 * i386-tdep.c: Include "elf-bfd.h".
1748 (process_note_abi_tag_sections): New function.
1749 (i386_gdbarch_init): Add code to recognize various OS/ABI
1750 combinations.
1751
c5ad026a
MK
1752 * maint.c (_initialize_maint_cmds): Add missing \ in
1753 string-literal.
1754
a1a5b71e 1755For older changes see ChangeLog-2001
c906108c
SS
1756\f
1757Local Variables:
1758mode: change-log
1759left-margin: 8
1760fill-column: 74
1761version-control: never
1762End:
This page took 0.30795 seconds and 4 git commands to generate.