]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
*** empty log message ***
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
aeb98c60
RE
12002-02-11 Richard Earnshaw <rearnsha@arm.com>
2
3 * arm-linux-nat.c: Really include arm-tdep.h.
4 * config/arm/tm-linux.h (struct type, struct value): Declare.
5
34e8f22d
RE
62002-02-11 Richard Earnshaw <rearnsha@arm.com>
7
8 * arm-tdep.h: New file.
9 * arm-tdep.c: Include arm-tdep.h.
10 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
11 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
12 (arm_print_float_info, arm_register_type, convert_to_extended)
13 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
14 (arm_extract_return_value, arm_register_name): Make static.
15 (arm_software_single_step): Similarly. Fix types in declaration.
16 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
17 (arm_store_return_value, arm_store_struct_return): New functions.
18 (arm_gdbarch_init): Register the above functions. Also register
19 call_dummy_start_offset, sizeof_call_dummy_words,
20 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
21 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
22 max_register_virtual_size, register_size. Set up
23 prologue_cache.saved_regs here, rather than ...
24 (_initialize_arm_tdep): ... here.
25 * config/arm/tm-arm.h (struct type, struct value): Delete forward
26 declarations.
27 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
28 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
29 (arm_print_float_info, arm_register_type, convert_to_extended)
30 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
31 (arm_extract_return_value, arm_register_name): Delete declarations.
32 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
33 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
34 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
35 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
36 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
37 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
38 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
39 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
40 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
41 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
42 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
43 (arm_get_next_pc): No-longer static -- these are needed by the RDI
44 interface.
45 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
46 * remote-rdi.c remote-rdp.c: Likewise.
47 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
48 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
49 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
50 definition.
51
52 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
53 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
54 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
55 from non-ARM_ prefixed definitions.
56 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
57 all uses of above.
58 * remote-rdi.c remote-rdp.c: Likewise.
59 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
60
148754e5
RE
612002-02-11 Richard Earnshaw <rearnsha@arm.com>
62
63 * arm-tdep.c (arm_frameless_function_invocation)
64 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
65 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
66 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
67 (arm_pop_frame, arm_get_next_pc): Make static.
68 (arm_gdbarch_init): Register above in gdbarch structure.
69 (arm_read_fp): Renamed from arm_target_read_fp.
70 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
71 * config/arm/tm-arm.h (arm_frameless_function_invocation)
72 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
73 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
74 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
75 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
76 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
77 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
78 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
79 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
80 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 81
434d2d4f
DJ
822002-02-10 Daniel Jacobowitz <drow@mvista.com>
83
84 * symtab.c (compare_search_syms): New function.
85 (sort_search_symbols): New function.
86 (search_symbols): Sort symbols after searching rather than
87 before.
88
55241689
AC
892002-02-10 Andrew Cagney <ac131313@redhat.com>
90
91 * NEWS: Linux -> GNU/Linux.
92
028c194b
AC
932002-02-10 Andrew Cagney <ac131313@redhat.com>
94
95 * gdbarch.sh: For for level one methods, disallow a definition
96 when partially multi-arched. Add comments explaining rationale.
97 * gdbarch.h: Re-generate.
98
6acf50cd
AC
992002-02-10 Andrew Cagney <ac131313@redhat.com>
100
101 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
102 multi-arch partial.
103
50248794
AC
1042002-02-10 Andrew Cagney <ac131313@redhat.com>
105
106 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
107 field. Use diff -u.
108 * gdbarch.c: Re-generate.
109
c30e0066
AC
1102002-02-10 Andrew Cagney <ac131313@redhat.com>
111
9b56c5f3 112 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
113 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
114 partial.
115
6e6d6484
AC
1162002-02-10 Andrew Cagney <ac131313@redhat.com>
117
118 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
119 multi-arch partial.
120 (PUSH_ARGUMENTS): Switch to using predefault.
121 * gdbarch.c: Regenerate.
122
c203844d
AC
1232002-02-10 Andrew Cagney <ac131313@redhat.com>
124
125 * valops.c (PUSH_ARGUMENTS): Delete definition.
126 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
127 partial. Default to default_push_arguments.
128 * gdbarch.h, gdbarch.c: Regenerate.
129
b5a2688f
AC
1302002-02-09 Andrew Cagney <ac131313@redhat.com>
131
132 * defs.h (throw_exception): Rename return_to_top_level. Update
133 comments.
134 * utils.c (error_stream, internal_verror, quit): Ditto.
135 * top.c (throw_exception, catcher): Ditto.
136 * sparclet-rom.c (sparclet_load): Ditto.
137 * remote.c (interrupt_query, minitelnet): Ditto.
138 * remote-sds.c (interrupt_query): Ditto.
139 * remote-mips.c (mips_error, mips_kill): Ditto.
140 * ocd.c (interrupt_query): Ditto.
141 * monitor.c (monitor_interrupt_query): Ditto.
142 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
143 * target.h: Update comment.
144
145 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
146
2fa5c1e0
AC
1472002-02-09 Andrew Cagney <ac131313@redhat.com>
148
149 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
150 default_double_format.
151 * gdbarch.h, gdbarch.c: Re-generate.
152 * findvar.c (floatformat_unknown): Delete variable definition.
153 * doublest.h (floatformat_unknown): Delete variable declaration.
154
da966255
JB
1552002-02-09 Jim Blandy <jimb@redhat.com>
156
157 * stabsread.c (read_type): Add code to parse Sun's syntax for
158 prototyped function types.
159
123a4891
AC
1602002-02-09 Andrew Cagney <ac131313@redhat.com>
161
162 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
163 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
164
fb39c8f3
PS
1652002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
166
167 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
168 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
169 now _initialize_xcoffsolib gets called again and overrides the
170 commands from solib.c in a native configuration.
171
0b87a11d
MK
1722002-02-09 Mark Kettenis <kettenis@gnu.org>
173
174 * doublest.c (store_typed_floating): Don't try to return a value.
175 Fixes PR gdb/290.
176
bdc2fc72
JB
1772002-02-08 Jim Blandy <jimb@redhat.com>
178
179 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
180 is prototyped and has no arguments, print its argument list as
181 `(void)'.
182
da69bbcf
CD
1832002-02-08 Chris Demetriou <cgd@broadcom.com>
184
185 * MAINTAINERS (write-after-approval): Add myself.
186 (paper-trail): I've escaped!
187
b69571f5
CF
1882002-02-08 Christopher Faylor <cgf@redhat.com>
189
190 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
191 changes.
192 (_initialize_check_for_gdb_ini): Ditto.
193
f6871398
MH
1942002-02-08 Martin M. Hunt <hunt@redhat.com>
195
196 * win32-nat.c (cygwin_pid_to_str): Fix typo.
197 xaprintf -> xasprintf.
198
4e52d31c
PM
1992002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
200
201 * win32-nat.c: Remove use of printf and sprintf functions.
202
39bbf761
RE
2032002-02-08 Richard Earnshaw <rearnsha@arm.com>
204
205 * arm-tdep.c (arm_frame_chain_valid): Make static.
206 (arm_push_arguments): Likewise.
207 (arm_gdbarch_init): New function.
208 (_initialize_arm_tdep): Call it.
209 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
210 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
211 (FRAME_CHAIN_VALID): Delete.
212 (arm_frame_chain_valid): Delete declaration.
213 (PUSH_ARGUMENTS): Delete.
214 (arm_push_arguments): Delete declaration.
215 (CALL_DUMMY_P): Delete.
216
9c9532c9
CV
2172002-02-08 Andrew Cagney <ac131313@redhat.com>
218 Corinna Vinschen <vinschen@redhat.com>
219
220 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
221 on builtin float types.
222
4e8f7a8b
DJ
2232002-02-08 Daniel Jacobowitz <drow@mvista.com>
224
225 * utils.c: Include <curses.h> before "bfd.h".
226 * tui/tui-hooks.c: Likewise.
227 * tui/tui.c: Likewise.
228 * tui/tuiCommand.c: Likewise.
229 * tui/tuiData.c: Likewise.
230 * tui/tuiDataWin.c: Likewise.
231 * tui/tuiDisassem.c: Likewise.
232 * tui/tuiGeneralWin.c: Likewise.
233 * tui/tuiIO.c: Likewise.
234 * tui/tuiLayout.c: Likewise.
235 * tui/tuiRegs.c: Likewise.
236 * tui/tuiSource.c: Likewise.
237 * tui/tuiSourceWin.c: Likewise.
238 * tui/tuiStack.c: Likewise.
239 * tui/tuiWin.c: Likewise.
240
cd4bffcf
EZ
2412002-02-07 Elena Zannoni <ezannoni@redhat.com>
242
243 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
244 to include space for pseudoregs as well. Update loops accordingly.
245 (sh_fp_frame_init_saved_regs): Ditto.
246 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
247
26806ce2
AC
2482002-02-07 Andrew Cagney <ac131313@redhat.com>
249
250 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
251 Add Richard Earnshaw to Arm maintainers.
252
97fdab62
AC
2532002-02-07 Andrew Cagney <ac131313@redhat.com>
254
a6b98203
AC
255 * defs.h (warning_begin): Delete declaration.
256
97fdab62
AC
257 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
258 Delete macro.
259
78b29b40
MS
2602002-02-07 Michael Snyder <msnyder@redhat.com>
261
262 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
263 Logic bug, remove misplaced else.
264
d8849953
KD
2652002-02-07 Klee Dienes <klee@apple.com>
266
267 * fork-inferior.c (fork_inferior): Add '!' to the list of
268 characters that need to be quoted when building a string for the
269 shell. Quote '!' specifically with a backslash, since CSH chokes
270 when trying to evaluate "str!str".
271
095778a0
NC
2722002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
273
274 * rdi-share/host.h: Only provide a typedef for bool if it is not
275 defined.
276
1900040c
MS
2772002-02-04 Michael Snyder <msnyder@redhat.com>
278
279 * breakpoint.h (enum bptype): Add new overlay event bp type.
280 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
281
282 * breakpoint.c (create_internal_breakpoint): New function.
283 (internal_breakpoint_number): Moved into create_internal_breakpoint.
284 (create_longjmp_breakpoint): Use create_internal_breakpoint.
285 (create_thread_event_breakpoint): Ditto.
286 (create_solib_event_breakpoint): Ditto.
287 (create_overlay_event_breakpoint): New function.
288 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
289 (update_breakpoints_after_exec): Delete and re-initialize
290 overlay event breakpoints after an exec. Add FIXME comment
291 about longjmp breakpoint.
292 (print_it_typical): Ignore overlay event breakpoints.
293 (print_one_breakpoint): Ditto.
294 (mention): Ditto.
295 (bpstat_what): Do not stop for overlay event breakpoints.
296 (delete_breakpoint): Don't delete overlay event breakpoints.
297 (breakpoint_re_set_one): Delete the overlay event breakpoint.
298 (breakpoint_re_set): Re-create overlay event breakpoint.
299
300 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
301 (overlay_manual_command): Disable overlay breakpoints.
302 (overlay_off_command): Disable overlay breakpoints.
303
082fc60d
RE
3042002-02-06 Richard Earnshaw <rearnsha@arm.com>
305
306 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
307 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
308 to here from config/tm-arm.h.
309 (coff_sym_is_thumb): Make static.
310 (arm_elf_make_msymbol_special): New function.
311 (arm_coff_make_msymbol_special): New function.
312 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
313 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
314 (coff_sym_is_thumb): Delete declaration.
315 (arm_elf_make_msymbol_special): Declare.
316 (arm_coff_make_msymbol_special): Declare.
317 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
318 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
319
039c5766
RE
3202002-02-06 Richard Earnshaw <rearnsha@arm.com>
321
322 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
323
3242002-02-06 Richard Earnshaw <rearnsha@arm.com>
325
326 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
327 * gdbarch.c gdbarch.h: Regenerate.
328 * arch-utils.c (default_print_float_info): New function.
329 * arch-utils.h (default_print_float_info): Prototype it.
330 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
331 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
332 (PRINT_FLOAT_INFO): Document it.
333
334 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
335 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
336 (PRINT_FLOAT_INFO): Define.
337
58fa08f0
PM
3382002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
339
340 * win32-nat.c (_initialize_check_for_gdb_ini):
341 Add typecast to sprintf argument to suppress a warning.
342
7393af7c
PM
3432002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
344
58fa08f0 345 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
346 to allow easier handling of pass state.
347 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
348 that gives exception name and address.
349 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
350 and set last_sig value to ourstatus->value.sig. Some missing
351 exceptions added.
352 (child_continue): Correctly report continue_status.
353 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
354 TARGET_SIGNAL_0 (new default value).
355 (child_resume): consider sig argument passed to decide if
356 the exception should be passed to debuggee or not.
357
6af4589c
MS
3582002-02-05 Michael Snyder <msnyder@redhat.com>
359
360 * regcache.c (fetch_register): Call target_fetch_register
361 only if we don't call FETCH_PSEUDO_REGISTER.
362 (store_register): Call target_store_register only if we
363 don't call STORE_PSEUDO_REGISTER.
364
a2cf933a
EZ
3652002-02-05 Elena Zannoni <ezannoni@redhat.com>
366
367 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
368 ELF_MAKE_MSYMBOL_SPECIAL.
369 * gdbarch.c, gdbarch.h: Regenerate.
370 * arch-utils.c (default_make_msymbol_special): New function.
371 * arch-utils.h (default_make_msymbol_special): Export.
372 * elfread.c (elf_symtab_read): Compile use of
373 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
374 multiarched.
375 * coffread.c (coff_symtab_read): Ditto, for
376 COFF_MAKE_MSYMBOL_SPECIAL.
377
6bb7be43
JB
3782002-02-05 Jim Blandy <jimb@redhat.com>
379
380 * solib-svr4.c (svr4_truncate_ptr): New function.
381 (svr4_relocate_section_addresses): Do the address arithmetic with
382 the appropriate truncation for target addresses, even when
383 CORE_ADDR is larger than a target address.
384
e18651ec
DJ
3852002-02-05 Daniel Jacobowitz <drow@mvista.com>
386
387 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
388 to (int *).
389
6b2725be
DJ
3902002-02-05 Daniel Jacobowitz <drow@mvista.com>
391
392 * gdbserver/linux-low.c (kill_inferior): Remove commented out
393 code.
394
fca9e603
DJ
3952002-02-05 Daniel Jacobowitz <drow@mvista.com>
396
397 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
398
6c537a52
DJ
3992002-02-05 Daniel Jacobowitz <drow@mvista.com>
400
401 * gdbserver/linux-low.c: Remove unused include files.
402
d844cde6
DJ
4032002-02-05 Daniel Jacobowitz <drow@mvista.com>
404
405 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
406 (read_inferior_memory): Use it.
407 (write_inferior_memory): Likewise.
408
d07c63e7
DJ
4092002-02-05 Daniel Jacobowitz <drow@mvista.com>
410
411 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
412 grubbing through sys_errlist.
413
da6d8c04
DJ
4142002-02-05 Daniel Jacobowitz <drow@mvista.com>
415
416 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
417
5b421780
PM
4182002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
419 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
420
9f60d481
AC
4212002-02-04 Andrew Cagney <ac131313@redhat.com>
422
423 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
424 (do_sfunc, set_cmd_sfunc): New functions.
425
426 * command.h (struct cmd_list_element): Add field func.
427 * cli/cli-decode.h (struct cmd_list_element): Ditto.
428 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
429 * cli/cli-decode.h: Ditto.
430
431 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
432 (help_all, help_cmd_list): Ditto.
433 (find_cmd, complete_on_cmdlist): Ditto.
434 * top.c (execute_command): Ditto.
435
436 * cli/cli-setshow.c (do_setshow_command): Call func instead of
437 function.sfunc.
438
439 * infcmd.c (notice_args_read): Fix function signature.
440
441 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
442 * cli/cli-decode.c (add_set_cmd): Ditto.
443 * utils.c (initialize_utils): Ditto.
444 * maint.c (_initialize_maint_cmds): Ditto.
445 * infrun.c (_initialize_infrun): Ditto.
446 * demangle.c (_initialize_demangler): Ditto.
447 * remote.c (add_packet_config_cmd): Ditto.
448 * mips-tdep.c (_initialize_mips_tdep): Ditto.
449 * cris-tdep.c (_initialize_cris_tdep): Ditto.
450 * proc-api.c (_initialize_proc_api): Ditto.
451 * kod.c (_initialize_kod): Ditto.
452 * valprint.c (_initialize_valprint): Ditto.
453 * top.c (init_main): Ditto.
454 * infcmd.c (_initialize_infcmd): Ditto.
455 * corefile.c (_initialize_core): Ditto.
456 * arm-tdep.c (_initialize_arm_tdep): Ditto.
457 * arch-utils.c (initialize_current_architecture): Ditto.
458 (_initialize_gdbarch_utils): Ditto.
459 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
460
461 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
462 * wince.c (_initialize_inftarg): Ditto.
463 * symfile.c (_initialize_symfile): Ditto.
464 * mips-tdep.c (_initialize_mips_tdep): Ditto.
465 * language.c (_initialize_language): Ditto.
466 * arc-tdep.c (_initialize_arc_tdep): Ditto.
467
f9ba0717
MS
4682002-02-04 Michael Snyder <msnyder@redhat.com>
469
470 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
471
0c74b2a7
DJ
4722002-02-04 Daniel Jacobowitz <drow@mvista.com>
473
474 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
475 Add rules for building the register data files.
476
c638789f
DJ
4772002-02-04 Daniel Jacobowitz <drow@mvista.com>
478
479 * regformats/regdat.sh: Add braces to the definition of
480 expedite_regs_${arch}.
481
db253027
DJ
4822002-02-04 Daniel Jacobowitz <drow@mvista.com>
483
484 * regformats/regdef.h (struct reg): Add comment describing the
485 requirements for offset and size fields.
486
206be19c
AS
4872002-02-04 Andreas Schwab <schwab@suse.de>
488
489 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
490 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
491
181c1381
RE
4922002-02-04 Richard Earnshaw <rearnsha@arm.com>
493
494 * gdbarch.sh (copyright): Update years in generated header.
495 (SMASH_TEXT_ADDRESS): Add rule.
db253027 496 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
497 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
498 * dbxread.c: Likewise.
499 * dwarfread.c: Likewise.
500 * elfread.c: Likewise.
501 * somread.c: Likewise.
502
503 * arm-tdep.c (arm_smash_text_address): New function.
504 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
505
fa4ba8da
PM
5062002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
507
508 Add support for hardware watchpoints on win32 native.
509 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
510 CONTEXT_DEBUG_REGISTERS.
511 (dr variable): New variable. Static array containing a local copy
512 of debug registers.
513 (debug_registers_changed): New variable. Reflects when debug registers
514 are changed and need to be written to inferior.
515 (debug_registers_used): New variable. Reflects when any debug register
516 was set, used when new threads are created.
517 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
518 i386-nat code.
519 (thread_rec): Set dr array if id is the thread of current_event .
520 (child_continue, child_resume): Change the debug registers for all
521 threads if debug_registers_changed.
522 (child_add_thread): Change the debug registers if debug_registers_used.
523 * config/i386/cygwin.mh: Add use of i386-nat.o file.
524 Link nm.h to new nm-cygwin.h file.
525 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
526 of hardware registers.
527
a73c86fb
AC
5282002-02-03 Andrew Cagney <ac131313@redhat.com>
529
530 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
531 Restore behavour broken by 2002-01-20 Andrew Cagney
532 <ac131313@redhat.com> IEEE_FLOAT removal.
533
acf5ed49
DJ
5342002-02-03 Daniel Jacobowitz <drow@mvista.com>
535
536 * c-valprint.c (c_val_print): Pass a proper valaddr to
537 cp_print_class_method.
538 * valops.c (search_struct_method): If there is only one method
539 and args is NULL, return that method.
540
493d28d5
DJ
5412002-02-03 Daniel Jacobowitz <drow@mvista.com>
542
543 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
544 accessing tag_name directly.
545
7495dfdb
DJ
5462002-02-03 Daniel Jacobowitz <drow@mvista.com>
547
548 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
549 of accessing tag_name directly.
550
dd6bda65
DJ
5512002-02-03 Daniel Jacobowitz <drow@mvista.com>
552
553 PR gdb/280
554 * gdbtypes.c (replace_type): New function.
555 * gdbtypes.h (replace_type): Add prototype.
556 * stabsread.c (read_type): Use replace_type.
557
88fe217c
RE
5582002-02-03 Richard Earnshaw <rearnsha@arm.com>
559
560 * Makefile.in (memattr.o): Add missing dependencies rule.
561
e5d66720
PS
5622002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
563
564 * breakpoint.c (break_at_finish_command): Really export.
565 (break_at_finish_at_depth_command): Ditto.
566 (tbreak_at_finish_command): Ditto.
567 * hppa-tdep.c: Include completer.h.
568 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
569 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
570
fffee0be
AC
5712002-02-01 Andrew Cagney <ac131313@redhat.com>
572
573 * utils.c (do_write): New function.
574 (error_stream): Rewrite combining the code from error_begin and
575 verror.
576 (verror): Rewrite using error_stream.
577 (error_begin): Delete function.
578
255e7dbf
AC
5792002-02-01 Andrew Cagney <ac131313@redhat.com>
580
581 * utils.c (error_begin): Make static.
582 * defs.h (error_begin): Delete declaration.
583
584 * linespec.c (cplusplus_error): Replace cplusplus_hint.
585 (decode_line_1): Use cplusplus_error instead of error_begin,
586 cplusplus_hint and return_to_top_level.
587 * coffread.c (coff_symfile_read): Use error instead of error_begin
588 and return_to_top_level.
589 * infrun.c (default_skip_permanent_breakpoint): Ditto.
590
ddfe3c15
AC
5912002-02-01 Andrew Cagney <ac131313@redhat.com>
592
593 * language.h (type_error, range_error): Make string parameter
594 constant.
595 * language.c (warning_pre_print): Delete extern declaration.
596 * dwarfread.c (warning_pre_print): Ditto.
597 * language.c (type_error, range_error): Rewrite to use verror and
598 vwarning instead of warning_begin.
599
03ac34d5
MS
6002002-02-01 Michael Snyder <msnyder@redhat.com>
601
261c4ca2
MS
602 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
603 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 604
e00d1dc8
AC
6052002-02-01 Andrew Cagney <ac131313@redhat.com>
606
607 * command.h (NO_FUNCTION): Delete macro.
608 * cli/cli-decode.h (NO_FUNCTION): Ditto.
609 * top.c (execute_command): Replace NO_FUNCTION with NULL.
610 * tracepoint.c (_initialize_tracepoint): Ditto.
611 * cli/cli-decode.c (add_set_cmd): Ditto.
612 * cli/cli-cmds.c (init_cli_cmds): Ditto.
613
76b79d6e
DJ
6142002-02-01 Daniel Jacobowitz <drow@mvista.com>
615
616 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
617 Update ``this'' pointer when calling virtual functions.
618
799f9e91
MS
6192002-02-01 Michael Snyder <msnyder@redhat.com>
620
c7bd442c 621 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
622 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
623
3cf384d4
DJ
6242002-02-01 Daniel Jacobowitz <drow@mvista.com>
625
626 * regformats/reg-arm.dat: New file.
627 * regformats/reg-i386.dat: New file.
628 * regformats/reg-ia64.dat: New file.
629 * regformats/reg-m68k.dat: New file.
630 * regformats/reg-mips.dat: New file.
631 * regformats/reg-ppc.dat: New file.
632 * regformats/reg-sh.dat: New file.
633 * regformats/regdef.h: New file.
634 * regformats/regdat.sh: New file.
635
0defa245
RE
6362002-02-01 Richard Earnshaw <reanrsha@arm.com>
637
638 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
639 (arm_frame_args_address, arm_frame_locals_address): New functions.
640 (arm_frame_num_args): New function.
641 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
642 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
643 (FRMA_NUM_ARGS): Call arm_frame_num_args.
644
405f26e6
MS
6452002-01-31 Michael Snyder <msnyder@redhat.com>
646
502fd408
MS
647 * breakpoint.c (break_at_finish_command): Export.
648 (break_at_finish_at_depth_command): Export.
649 (tbreak_at_finish_command): Export.
650 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
651 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
652 "tbreak" commands, which are HPPA specific.
653
7d35e135
MS
654 * printcmd.c (disassemble_command): Remove an ancient
655 artifact of an old merge.
656
d874f1e2
MS
657 * symfile.h (enum overlay_debugging_state):
658 Define enum constant values for overlay mode.
659 * symfile.c (overlay_debugging): Use enums instead of literals.
660 (overlay_is_mapped, overlay_auto_command,
661 overlay_manual_command): Ditto.
662
9f04af04
MS
663 * breakpoint.c (insert_breakpoints, remove_breakpoint,
664 breakpoint_here_p, breakpoint_inserted_here_p,
665 breakpoint_thread_match, bpstat_stop_status,
666 describe_other_breakpoints, check_duplicates, clear_command):
667 Coding standard fixes.
668
8add0441 669 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 670 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
671 code: check bfd SEC_READONLY flag for section.
672
e351066e
AC
6732002-01-31 Andrew Cagney <ac131313@redhat.com>
674
7d35e135 675 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 676
8a48e967
DJ
6772002-01-30 Daniel Jacobowitz <drow@mvista.com>
678
679 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
680 data symbols, since we search based on textlow and texthigh.
681 (find_pc_sect_symtab): Likewise.
682
f5a96129
AC
6832002-01-30 Andrew Cagney <ac131313@redhat.com>
684
685 * defs.h (vwarning): Declare.
f5a96129
AC
686 * utils.c (vwarning): New function.
687 (warning): Call vwarning.
688 (warning_begin): Delete function.
689
690 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
691 the warning message.
692 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
693 warning_begin.
694
cefd4ef5
MS
6952002-01-30 Michael Snyder <msnyder@redhat.com>
696
1a703748
MS
697 * NEWS: Mention "set trust-readonly-sections" command.
698 Mention generate-core-file command.
cefd4ef5 699
3a11626d
MS
7002002-01-15 Michael Snyder <msnyder@redhat.com>
701
702 * target.c: New command, "set trust-readonly-sections on".
703 (do_xfer_memory): Honor the suggestion to trust readonly sections
704 by reading them from the object file instead of from the target.
705 (initialize_targets): Register command "set trust-readonly-sections".
706
d1c7e53b
AC
7072002-01-29 Andrew Cagney <ac131313@redhat.com>
708
709 * parse.c (target_map_name_to_register): Simplify, search regs and
710 pseudo-regs using a single loop.
711
e2c9a72c
AC
7122002-01-30 Andrew Cagney <ac131313@redhat.com>
713
714 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
715
69824b4e
MK
7162002-01-15 Rodney Brown <rbrown64@csc.com.au>
717
718 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
719 * config/i386/i386v42mp.mh: Add i387-nat.o .
720 * i386v4-nat.c: Include i387-nat.h.
721 (supply_fpregset): Use i387_supply_fsave.
722 (fill_fpregset): Use i387_fill_fsave.
723
6eb69eab
RE
7242002-01-30 Richard Earnshaw <rearnsha@arm.com>
725
726 * arm-tdep.c (arm_call_dummy_words): Define.
727 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
728 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
729 (CALL_DUMMY_WORDS): Define.
730 (arm_call_dummy_words): Declare.
731 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
732 (arm_linux_call_dummy_words): Declare.
733
9852326a
AS
7342002-01-30 Andreas Schwab <schwab@suse.de>
735
736 * m68klinux-nat.c: Fix last change to use regcache_collect
737 instead of referencing registers[] directly.
738
977a3030
AC
7392002-01-29 Andrew Cagney <ac131313@redhat.com>
740
741 * parse.c (target_map_name_to_register): Delete code wrapped in
742 #ifdef REGISTER_NAME_ALIAS_HOOK.
743
2076c72b
MS
7442002-01-28 Michael Snyder <msnyder@redhat.com>
745
746 * regcache.c (legacy_read_register_gen): Need to be able to
747 read pseudo-register as well as real register.
748 (legacy_write_register_gen): Ditto.
749
8fcc723b
AC
7502002-01-28 Andrew Cagney <ac131313@redhat.com>
751
752 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
753 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
754 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
755 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
756 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
757 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
758 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
759 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
760 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
761 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
762 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
763 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
764 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
765 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
766 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
767 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
768 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
769 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
770 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
771 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
772
afe64c1a
AC
7732002-01-28 Andrew Cagney <ac131313@redhat.com>
774
775 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
776 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
777 (initialize_current_architecture): Update target_byte_order using
778 information from BFD.
afe64c1a
AC
779 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
780 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
781
75bc7ddf
AC
7822002-01-28 Andrew Cagney <ac131313@redhat.com>
783
784 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
785 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
786
787 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
788 #ifdef INVALID_FLOAT.
789 * infcmd.c (do_registers_info): Ditto.
790 * values.c (unpack_double): Ditto. Add comment.
791
792 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
793 already commented out.
794
0280a90a
AS
7952002-01-26 Andreas Schwab <schwab@suse.de>
796
797 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
798 * m68klinux-nat.c: Update ptrace interface for fetching/storing
799 registers and add support for PTRACE_GETREGS.
800
7072a954
AC
8012002-01-24 Andrew Cagney <ac131313@redhat.com>
802
803 GDB 5.1.1 released from 5.1 branch.
804 * NEWS: Add 5.1.1 news.
805 * README: Sync with 5.1 branch.
806
86f902e0
FF
8072002-01-23 Fred Fish <fnf@redhat.com>
808
809 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
810 stabstring on initial malloc. Reallocing will copy it for us,
811 if necessary.
812
8af51c36
EZ
8132002-01-23 Elena Zannoni <ezannoni@redhat.com>
814
815 * Makefile.in (hpread_h): Delete.
816 (HFILES_NO_SRCDIR): Remove hpread.h.
817 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
818 (hpread.o): Update dependencies.
819 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
820
821 * hp-psymtab-read.c: Remove file.
822 * hp-symtab-read.c: Remove file.
823 * hpread.h: Remove file.
824
825 * hpread.c: Merge all contents of hp-psymtab-read.c,
826 hp-symtab-read.c and hpread.h into this file, as it was prior to
827 January 1999.
828
829 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
830 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
831 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
832 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
833
dc5cfeb6
EZ
8342002-01-23 Elena Zannoni <ezannoni@redhat.com>
835
836 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
837 fill_gregset): Call gdbarch_tdep() just once, assign result to
838 variable and use that, instead of calling the function several
839 times.
840
ea87b71b
AO
8412002-01-24 Alexandre Oliva <aoliva@redhat.com>
842
843 * configure.host: Accept sparcv9 as alias for sparc64.
844 * configure.tgt: Likewise.
845
13fc0c2f
KB
8462002-01-22 Kevin Buettner <kevinb@redhat.com>
847
848 * solib-aix5.c (build_so_list_from_mapfile)
849 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
850 arguments is not reversed.
851 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
852 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
853
7bd872fe
EZ
8542002-01-22 Elena Zannoni <ezannoni@redhat.com>
855
856 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
857 modified version of obsolete sh_fetch_pseudo_register.
858 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
859 (sh4_register_read): New function.
860 (sh_pseudo_register_write): New function. Renamed and modified
861 version of obsolete sh_store_pseudo_register.
862 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
863 (sh4_register_write): New function.
864 (sh_gdbarch_init): Remove setting of gdbarch function
865 fetch_pseudo_register and store_pseudo_register. Remove setting of
866 register_convert_to_raw, register_convert_to_virtual,
867 register_convertible.
868 (sh_sh4_register_convertible): Delete. No longer needed. All is
869 taken care by architecture specific functions
870 register_read/register_write.
871 (sh_sh4_register_convert_to_virtual): Make static.
872 (sh_sh4_register_convert_to_raw): Ditto.
873
069e84fd
AC
8742002-01-22 Andrew Cagney <ac131313@redhat.com>
875
876 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
877 (floatformat_is_nan, floatformat_mantissa): Ditto.
878
879 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
880 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
881 builtin_type_ieee_double_little,
882 builtin_type_ieee_double_littlebyte_bigword,
883 builtin_type_m68881_ext, builtin_type_i960_ext,
884 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
885 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
886 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
887 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
888
211a4f69
CV
8892002-01-22 Corinna Vinschen <vinschen@redhat.com>
890
891 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
892 parameter. Set frameless flag if it exists and depended of
893 whether the scanned function is frameless or not.
894 (xstormy16_skip_prologue): If function is frameless, return
895 result of xstormy16_scan_prologue().
896 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
897 call.
898
f81353e4
EZ
8992002-01-21 Elena Zannoni <ezannoni@redhat.com>
900
901 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
902 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
903 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
904 sh_sh4_register_byte, sh_sh4_register_raw_size,
905 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
906 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
907 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
908 sh_store_pseudo_register, sh_do_pseudo_register): Call
909 gdbarch_tdep() just once, assign result to variable and use that,
910 instead of calling the function several times.
911
63c73a17
MK
9122002-01-20 Mark Kettenis <kettenis@gnu.org>
913
914 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
915 macros instead of LAST_FPU_CTRL_REGNUM.
916 (store_register): Likewise.
917
39ad761d
JB
9182002-01-21 Jim Blandy <jimb@redhat.com>
919
920 * infcmd.c (run_command): Check that the `exec' target layer's BFD
921 is up-to-date before running the program, not just when a program
922 exits.
923
3d74b771
FF
9242002-01-21 Fred Fish <fnf@redhat.com>
925
926 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
927 when we have found all instructions we are looking for.
928
966fbf70
RE
9292002-01-21 Richard Earnshaw <rearnsha@arm.com>
930
931 * arm-tdep.c (arm_register_name): New function.
932 (arm_registers_names): Make static.
933 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
934 (arm_register_name): Declare.
935 (REGISTER_NAME): Use it.
936
c3b4394c
RE
9372002-01-21 Richard Earnshaw <rearnsha@arm.com>
938 Kevin Buettner <kevinb@redhat.com>
939
940 Convert arm targets to new FRAME interface.
941 * arm-tdep.c (struct frame_extra_info): Remove fsr.
942 (arm_frame_find_save_regs): Delete.
943 (arm_frame_init_saved_regs): New.
944 (arm_init_extra_frame_info): Alloacte saved_regs as required.
945 Allocate extra_info as required. Convert all uses of fsr.regs
946 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
947 to use extra_info.
948 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
949 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
950 (check_prologue_cache, save_prologue_cache): Likewise.
951 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
952 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
953 (FRAME_FIND_SAVED_REGS): Delete.
954 (arm_frame_find_saved_regs): Delete prototype.
955 (arm_frame_init_saved_regs): New prototype.
956 (FRAME_INIT_SAVED_REGS): Define.
957
61d99182
AC
9582002-01-20 Andrew Cagney <ac131313@redhat.com>
959
960 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
961
6aaea291
AC
9622002-01-20 Andrew Cagney <ac131313@redhat.com>
963
964 From Jeff Law <law@redhat.com>:
965 * infttrace.c: Include <sys/pstat.h>.
966 (child_pid_to_exec_file): Revamp. Use pstat call to get the
967 exec file if the ttrace equivalent fails.
968
15f698d2
AC
9692002-01-20 Andrew Cagney <ac131313@redhat.com>
970
971 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
972 (closeLogFile): Ditto.
973
f86ddd7c
MC
9742002-01-20 Michael Chastain <mec@shout.net>
975
976 * top.c (print_gdb_version): Bump copyright year to 2002.
977
904507ce
AC
9782002-01-20 Andrew Cagney <ac131313@redhat.com>
979
980 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
981 Zannoni and Eli Zaretskii.
982
d7f0b9ce
DJ
9832002-01-20 Daniel Jacobowitz <drow@mvista.com>
984
985 * buildsym.c: Update copyright years.
986 * c-typeprint.c: Likewise.
987 * dwarf2read.c: Likewise.
988 * f-typeprint.c: Likewise.
989 * gdbtypes.c: Likewise.
990 * gdbtypes.h: Likewise.
991 * hp-symtab-read.c: Likewise.
992 * hpread.c: Likewise.
993 * mdebugread.c: Likewise.
994 * p-typeprint.c: Likewise.
995
3fd3d7d2
AC
9962002-01-20 Andrew Cagney <ac131313@redhat.com>
997
998 * remote-sim.c (gdbsim_open): Simplify code testing the macro
999 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
1000 byte-order selectable.
1001 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
1002 * arch-utils.c: Ditto.
1003 (set_endian): Ditto.
1004 (set_endian_from_file): Ditto.
1005 * gdbserver/low-sim.c (create_inferior): Ditto.
1006 * gdbarch.sh: Ditto.
1007 * gdbarch.h: Re-generate.
1008 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1009 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
1010 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
1011 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1012 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1013 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1014 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
1015 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
1016 macro definition.
1017 * config/mips/tm-wince.h: Remove #undef of macro
1018 TARGET_BYTE_ORDER_SELECTABLE.
1019 * config/sh/tm-wince.h: Ditto.
1020
b02dede2
DJ
10212002-01-20 Daniel Jacobowitz <drow@mvista.com>
1022
1023 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
1024 member function fields. Add accessor macro
1025 TYPE_FN_FIELD_ARTIFICIAL.
1026 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
1027 * c-typeprint.c (c_type_print_base): Skip artificial member
1028 functions.
1029
c3643761
DJ
10302002-01-20 Daniel Jacobowitz <drow@mvista.com>
1031
1032 * f-typeprint.c: Delete unused function f_type_print_args.
1033 * p-typeprint.c: Delete unused function pascal_type_print_args.
1034
8176bb6d
DJ
10352002-01-20 Daniel Jacobowitz <drow@mvista.com>
1036
1037 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
1038 comment. Add ``artificial'' to ``union field_location''.
1039
1040 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
1041
1042 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
1043 * mdebugread.c (parse_symbol): Likewise.
1044 * stabsread.c (define_symbol): Likewise.
1045 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
1046 initializing TYPE_FIELD_BITPOS to n (obsolete).
1047 (hpread_doc_function_type): Likewise.
1048 * hpread.c (hpread_function_type): Likewise.
1049
7fd60527
AC
10502002-01-20 Andrew Cagney <ac131313@redhat.com>
1051
1052 * configure.in (host_makefile_frag): Only require a host makefile
1053 fragment when a native build.
1054 * configure: Re-generate.
1055
c2f05ac9
AC
10562002-01-20 Andrew Cagney <ac131313@redhat.com>
1057
1058 * doublest.h (floatformat_from_type): Declare.
1059 * doublest.c (floatformat_from_type): New function.
1060 (convert_typed_floating): Use.
1061
1062 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
1063 call to function floatformat_from_type.
1064
1065 * gdbarch.sh (IEEE_FLOAT): Delete.
1066 * gdbarch.h, gdbarch.c: Re-generate.
1067 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
1068 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
1069 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
1070 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
1071 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
1072 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
1073 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
1074 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
1075 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
1076 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
1077 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
1078 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
1079
1080 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
1081 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
1082 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1083 * sh-tdep.c (sh_gdbarch_init): Ditto.
1084 * mips-tdep.c (mips_gdbarch_init): Ditto.
1085 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1086 * cris-tdep.c (cris_gdbarch_init): Ditto.
1087
abf22e64
AJ
10882002-01-20 Jiri Smid <smid@suse.cz>
1089
1090 * configure.host, configure.tgt: Support x86-64.
1091 * NEWS: Note new target x86-64.
1092
b7c4cbf8
AJ
1093 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
1094 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
1095 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
1096 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
1097 x86-64-linux-nat.o): Fix dependencies.
1098
82600034
AC
10992002-01-19 Andrew Cagney <ac131313@redhat.com>
1100
1101 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
1102 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
1103 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
1104 * config/sparc/xm-sun4os4.h: Delete file.
1105 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 1106
bbe5c628
AC
11072002-01-19 Andrew Cagney <ac131313@redhat.com>
1108
1109 * config/sparc/sparclynx.mh (XM_FILE): Delete.
1110 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
1111 * config/m68k/m68klynx.mh (XM_FILE): Delete.
1112 * config/i386/i386lynx.mh (XM_FILE): Delete.
1113 * config/rs6000/xm-rs6000ly.h: Delete file.
1114 * config/sparc/xm-sparclynx.h: Delete file.
1115 * config/m68k/xm-m68klynx.h: Delete file.
1116 * config/i386/xm-i386lynx.h: Delete file.
1117 * config/xm-lynx.h: Delete file.
1118 * config/djgpp/fnchange.lst: Update.
1119
f8453e34
JT
11202002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1121
1122 * alpha-tdep.c (alpha_register_byte): New function.
1123 (alpha_register_raw_size): Ditto.
1124 (alpha_register_virtual_size): Ditto.
1125 (alpha_skip_prologue_internal): Renamed from
1126 alpha_skip_prologue.
1127 (alpha_skip_prologue): New version that calls
1128 alpha_skip_prologue_internal.
1129 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
1130 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
1131 second argument from alpha_skip_prologue.
1132 (REGISTER_BYTE): Use alpha_register_byte.
1133 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
1134 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
1135 (FRAMELESS_FUNCTION_INVOCATION): Use
1136 generic_frameless_function_invocation_not.
1137 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
1138 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
1139
52d9e613
AC
11402002-01-19 Andrew Cagney <ac131313@redhat.com>
1141
1142 * config/mips/xm-news-mips.h: Delete file.
1143 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
1144
1145 * config/m88k/xm-m88k.h: Delete file.
1146 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
1147 * config/m88k/xm-delta88v4.h: Ditto.
1148 * config/m88k/xm-delta88.h: Ditto.
1149
1150 * config/alpha/xm-fbsd.h: Delete file.
1151 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
1152
1153 * config/sparc/xm-sparc.h: Delete file.
1154 * Makefile.in (xm-sun4os4.h): Delete dependency.
1155 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
1156 * config/sparc/xm-sun4os4.h: Ditto.
1157 * config/sparc/xm-linux.h: Ditto.
1158
1159 * config/i386/xm-windows.h: Delete file.
1160
2d1b2124
AC
11612002-01-19 Andrew Cagney <ac131313@redhat.com>
1162
1163 * utils.c: Include <sys/param.h> for MAXPATHLEN.
1164 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
1165
ee1f65f0
JT
11662002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1167
1168 * alpha-tdep.c (alpha_call_dummy_words): New.
1169 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
1170 (CALL_DUMMY_P): Define.
1171 (CALL_DUMMY_WORDS): Define.
1172 (SIZEOF_CALL_DUMMY_WORDS): Define.
1173
98081e55
PB
11742002-01-19 Per Bothner <per@bothner.com>
1175
1176 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
1177 isn't NULL, which can happen with some gcj-3.x-produced code.
1178
0d056799
JT
11792002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1180
1181 * alpha-tdep.c (alpha_register_virtual_type): New function.
1182 (alpha_init_frame_pc_first): Ditto.
1183 (alpha_fix_call_dummy): Ditto.
1184 (alpha_store_struct_return): Ditto.
1185 (alpha_extract_struct_value_address): Ditto.
1186 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
1187 alpha_register_virtual_type.
1188 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
1189 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
1190 alpha_extract_struct_value_address.
1191 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
1192 (INIT_FRAME_PC): Use init_frame_pc_noop.
1193 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
1194
4604bcad
MK
11952002-01-19 Mark Kettenis <kettenis@gnu.org>
1196
1197 * i386gnu-nat.c: Include "i386-tdep.h".
1198 (fetch_fpregs): Simplify code dealing with uninitialized floating
1199 point states such that it doesn't require FP7_REGNUM.
1200
140f9984
JT
12012002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1202
abf22e64
AJ
1203 * alpha-tdep.c (frame_extra_info): New.
1204 (alpha_find_saved_regs): Make static. Use
140f9984
JT
1205 frame->extra_info.
1206 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
1207 (alpha_frame_saved_pc): Use frame->extra_info.
1208 (temp_saved_regs): Don't declare as struct frame_saved_regs.
1209 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
1210 (init_extra_frame_info): Rename to...
1211 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 1212 (alpha_print_extra_frame_info): New function.
140f9984
JT
1213 (alpha_frame_locals_address): Ditto.
1214 (alpha_frame_args_address): Ditto.
abf22e64 1215 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
1216 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
1217 alpha_frame_args_address.
abf22e64 1218 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 1219 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
1220 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
1221 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
1222 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
1223 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
1224
d734c450
JT
12252002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1226
1227 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
1228 (alpha_cannot_fetch_register): Ditto.
1229 (alpha_cannot_store_register): Ditto.
1230 (alpha_register_convertible): Ditto.
1231 (alpha_use_struct_convention): Ditto.
1232 * config/alpha/tm-alpha.h: Update copyright years.
1233 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
1234 (INNER_THAN): Use core_addr_lessthan.
1235 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
1236 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
1237 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
1238 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
1239 (FRAME_CHAIN): Remove unnecessary cast.
1240
b4ceaee6
AC
12412002-01-18 Andrew Cagney <ac131313@redhat.com>
1242
1243 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
1244 obsolete.
1245
0a65a603
AC
12462002-01-18 Andrew Cagney <ac131313@redhat.com>
1247
1248 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
1249 * monitor.c, remote-array.c, remote-bug.c: Ditto.
1250 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
1251 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
1252 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
1253 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
1254 * x86-64-linux-nat.c: Ditto.
1255
636a6dfc
JT
12562002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1257
abf22e64 1258 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
1259 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
1260 (REGISTER_NAME): Define.
1261
acceddb6
JT
12622002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1263
1264 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
1265
ec32e4be
JT
12662002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1267
1268 * alpha-tdep.c: Update copyright years.
1269 (alpha_next_pc): New function.
1270 (alpha_software_single_step): Ditto.
1271 * config/alpha/tm-alpha.h: Add prototype for
1272 alpha_software_single_step.
1273
e771a871
JT
12742002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1275
1276 * alphabsd-nat.c: Update copyright years.
1277 (fill_gregset): Use regcache_collect.
1278 (fill_fpregset): Likewise.
1279 (fetch_inferior_registers): Only fetch integer registers
1280 if requested to do so.
1281 (store_inferior_registers): Only store integer registers
1282 if requested to do so.
1283
7708fa01
AC
12842002-01-17 Andrew Cagney <ac131313@redhat.com>
1285
1286 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
1287 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
1288 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
1289 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
1290 * config/alpha/fbsd.mh (XDEPFILES): Delete.
1291 * config/arm/linux.mh (XDEPFILES): Delete.
1292 * config/arm/nbsd.mh (XDEPFILES): Delete.
1293 * config/i386/i386dgux.mh (XDEPFILES): Delete.
1294 * config/i386/i386sol2.mh (XDEPFILES): Delete.
1295 * config/i386/i386m3.mh (XDEPFILES): Delete.
1296 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
1297 * config/i386/i386gnu.mh (XDEPFILES): Delete.
1298 * config/i386/fbsd.mh (XDEPFILES): Delete.
1299 * config/i386/i386bsd.mh (XDEPFILES): Delete.
1300 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1301 * config/i386/i386v4.mh (XDEPFILES): Delete.
1302 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1303 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1304 * config/i386/i386aix.mh (XDEPFILES): Delete.
1305 * config/i386/go32.mh (XDEPFILES): Delete.
1306 * config/i386/cygwin.mh (XDEPFILES): Delete.
1307 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1308 * config/i386/i386mach.mh (XDEPFILES): Delete.
1309 * config/i386/i386v32.mh (XDEPFILES): Delete.
1310 * config/i386/linux.mh (XDEPFILES): Delete.
1311 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1312 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1313 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1314 * config/i386/i386sco.mh (XDEPFILES): Delete.
1315 * config/i386/i386v.mh (XDEPFILES): Delete.
1316 * config/i386/nbsd.mh (XDEPFILES): Delete.
1317 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1318 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1319 * config/i386/symmetry.mh (XDEPFILES): Delete.
1320 * config/i386/obsd.mh (XDEPFILES): Delete.
1321 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
1322 * config/ia64/linux.mh (XDEPFILES): Delete.
1323 * config/ia64/aix.mh (XDEPFILES): Delete.
1324 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
1325 * config/m68k/dpx2.mh (XDEPFILES): Delete.
1326 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
1327 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
1328 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
1329 * config/m68k/linux.mh (XDEPFILES): Delete.
1330 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
1331 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
1332 * config/m68k/nbsd.mh (XDEPFILES): Delete.
1333 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
1334 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
1335 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
1336 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
1337 * config/m88k/delta88.mh (XDEPFILES): Delete.
1338 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
1339 * config/m88k/m88k.mh (XDEPFILES): Delete.
1340 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
1341 * config/mips/linux.mh (XDEPFILES): Delete.
1342 * config/mips/irix6.mh (XDEPFILES): Delete.
1343 * config/mips/irix5.mh (XDEPFILES): Delete.
1344 * config/mips/irix4.mh (XDEPFILES): Delete.
1345 * config/mips/irix3.mh (XDEPFILES): Delete.
1346 * config/mips/decstation.mh (XDEPFILES): Delete.
1347 * config/mips/mipsm3.mh (XDEPFILES): Delete.
1348 (NATDEPFILES): Move core-aout.o to here.
1349 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
1350 * config/pa/hpux1020.mh (XDEPFILES): Delete.
1351 * config/pa/hppabsd.mh (XDEPFILES): Delete.
1352 * config/pa/hppahpux.mh (XDEPFILES): Delete.
1353 * config/pa/hpux11w.mh (XDEPFILES): Delete.
1354 * config/pa/hppaosf.mh (XDEPFILES): Delete.
1355 * config/pa/hpux11.mh (XDEPFILES): Delete.
1356 * config/powerpc/aix.mh (XDEPFILES): Delete.
1357 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
1358 * config/powerpc/linux.mh (XDEPFILES): Delete.
1359 * config/romp/rtbsd.mh: Rename XDEPFILES.
1360 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
1361 * config/rs6000/aix4.mh (XDEPFILES): Delete.
1362 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
1363 * config/s390/s390.mh (XDEPFILES): Delete.
1364 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
1365 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
1366 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
1367 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
1368 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
1369 * config/sparc/nbsd.mh (XDEPFILES): Delete.
1370 * config/sparc/linux.mh (XDEPFILES): Delete.
1371 * config/vax/vaxult.mh (XDEPFILES): Delete.
1372 * config/vax/vaxult2.mh (XDEPFILES): Delete.
1373 * Makefile.in (DEPFILES): Remove XDEPFILES.
1374
375fc983
AC
13752002-01-17 Andrew Cagney <ac131313@redhat.com>
1376
1377 * utils.c (internal_verror): Fix comments, default is yes not no.
1378 Update queries to match. Default to quit and dump core.
1379
8926118c
AC
13802002-01-17 Andrew Cagney <ac131313@redhat.com>
1381
1382 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
1383 copyright.
1384 * defs.h, event-top.c, gdbcmd.h: Ditto.
1385 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
1386 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
1387 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
1388 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
1389 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
1390 * mi/mi-main.c:Ditto.
1391
1392 * stack.c, symfile.c: Update copyright.
1393
45b7b345
DJ
13942002-01-17 Daniel Jacobowitz <drow@mvista.com>
1395
db728ff7
DJ
1396 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1397 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1398 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1399 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 1400
db728ff7
DJ
14012002-01-17 Daniel Jacobowitz <drow@mvista.com>
1402
1403 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1404 * gdbserver/low-lynx.c (myattach): Likewise.
1405 * gdbserver/low-nbsd.c (myattach): Likewise.
1406 * gdbserver/low-sim.c (myattach): Likewise.
1407 * gdbserver/low-sparc.c (myattach): Likewise.
1408 * gdbserver/low-sun3.c (myattach): Likewise.
1409
1410 * gdbserver/low-linux.c (myattach): New function.
45b7b345 1411
db728ff7 1412 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
1413 (main): Handle "--attach".
1414
8de3c354
AC
14152002-01-16 Andrew Cagney <ac131313@redhat.com>
1416
1417 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1418 maintainer.
1419
b0129042
DJ
14202002-01-15 Daniel Jacobowitz <drow@mvista.com>
1421
1422 * c-typeprint.c (is_type_conversion_operator): Add additional
1423 check for non-conversion operators.
1424
ba8679fb 14252002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
1426
1427 * linux-proc.c: Add "info proc" command, a la procfs.c.
1428 (read_mapping): New function, abstract and re-use code.
1429 (linux_find_memory_regions): Use new func read_mapping.
1430 (linux_info_proc_cmd): New function, implement "info proc".
1431 (_initialize_linux_proc): Add new command "info proc".
1432
e4f9b4d5
MS
14332002-01-15 Michael Snyder <msnyder@redhat.com>
1434
1435 * symfile.c (generic_load): Use bfd_map_over_sections method
1436 instead of manipulating bfd structure members directly.
1437 (add_section_size_callback): New function, bfd sections callback
1438 used by generic_load.
1439 (load_sections_callback): New function, bfd sections callback
1440 used by generic_load.
1441
08cf96df
EZ
14422002-01-15 Elena Zannoni <ezannoni@redhat.com>
1443
abf22e64 1444 [Based on work by Jim Blandy]
08cf96df
EZ
1445 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1446 (builtin_type_vec128): Export.
1447 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1448 types.
1449 (builtin_type_vec128): New builtin type for 128 bit vector
1450 registers.
1451 (build_gdbtypes): Initialize builtin_type_v16qi and
1452 builtin_type_v8hi. Create the vec128 register builtin type
1453 structure.
1454 (build_builtin_type_vec128): New function.
abf22e64 1455 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
1456 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1457 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1458 AltiVec register to new builtin type.
1459
d7242108
DJ
14602001-01-15 Daniel Jacobowitz <drow@mvista.com>
1461
1462 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1463 to make_cv_type.
1464
4ee3352d
AC
14652002-01-14 Andrew Cagney <ac131313@redhat.com>
1466
1467 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1468 CLEAN_UP_REGISTER_VALUE.
1469 * regcache.c (supply_register): Update only call.
1470
f015b2e7
AC
14712002-01-14 Andrew Cagney <ac131313@redhat.com>
1472
1473 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1474 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1475 a29k-*-vxworks* targets as obsolete.
1476
356ae49d
MS
14772002-01-14 Michael Snyder <msnyder@redhat.com>
1478
1479 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1480 until we can resolve portability issues.
1481 * gregset.h: Remove references to fpxregs.
1482 * gcore.c (gcore_command): Initialize note_sec to NULL.
1483
ade8f45e
AC
14842002-01-13 Andrew Cagney <ac131313@redhat.com>
1485
1486 * signals.c (target_signal_to_name): Rewrite. Only use
1487 signals[].name when in bounds and non-NULL.
abf22e64 1488
89c49e7a
AC
14892002-01-13 Andrew Cagney <ac131313@redhat.com>
1490
1491 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1492 * signals.c (target_signal_to_name): Verify that SIG is within the
1493 bounds of the signals array.
1494
4daa9f9f
AC
14952002-01-13 Andrew Cagney <ac131313@redhat.com>
1496
1497 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1498
ba4bbdcb
KS
14992002-01-13 Keith Seitz <keiths@redhat.com>
1500
1501 * stack.c (print_frame_info_base): Print the frame's pc
1502 only if when print_frame_info_listing_hook is not defined.
1503
575bbeb6
KS
15042002-01-13 Keith Seitz <keiths@redhat.com>
1505
1506 * varobj.c (varobj_set_value): Make sure that there were no
1507 errors evaluating the object before attempting to set its
1508 value.
1509 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1510 so this offset adjustment is no longer necessary.
1511 (create_child): Don't set the error flag if the child is
1512 a CPLUS_FAKE_CHILD.
1513 (value_of_child): If value_fetch_lazy fails, return NULL
1514 so that callers will be notified that an error occurred.
1515 (c_value_of_variable): Delay check of variable's validity
1516 until later. We actually want all structs and unions to have
1517 the value "{...}".
1518 Do not return "???" for variables which could not be evaluated.
1519 This error condition must be returned to the caller so that it
1520 can get the error condition from gdb.
1521 (cplus_name_of_child): Adjust index for vptr before figuring
1522 out the name of the child.
1523 (cplus_value_of_child): If a child's (real) parent is not valid,
1524 don't even bother trying to give a value for it. Just return
1525 an error. Change all instances in this function.
1526 (cplus_type_of_child): If our parent is one of the "fake"
1527 parents, we need to get at the type of the real parent, and
1528 derive the child's true type using this information.
1529
b76898ab
AC
15302002-01-13 Andrew Cagney <ac131313@redhat.com>
1531
1532 From 2002-01-09 John Marshall <johnm@falch.net>:
1533 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1534 sources.redhat.com, and tweak some related URLs which had
1535 suffered from linkrot.
1536
b6649e88
AC
15372002-01-13 Andrew Cagney <ac131313@redhat.com>
1538
1539 From Jeff law:
1540 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1541 structures passed in registers.
1542
82cc5033
EZ
15432002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1544
1545 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1546 white space which prevented compilation. Reported by DSK
1547 <dsk@student.unsw.edu.au>.
1548
ba5f2f8a
MS
15492002-01-11 Michael Snyder <msnyder@redhat.com>
1550
fbd35540
MS
1551 * symfile.c (build_section_addr_info_from_section_tab):
1552 Use bfd access method instead of manipulating bfd directly.
1553 (syms_from_objfile): Ditto.
1554 (simple_overlay_update_1): Ditto.
1555 (simple_overlay_update): Ditto.
1556 (generic_load): Ditto.
1557 (overlay_unmapped_address): FIXME comment, bfd access methods.
1558 (sections_overlap): FIXME comment, bfd access methods.
1559 (pc_in_mapped_range): FIXME comment, bfd access methods.
1560 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1561 (section_is_mapped): FIXME comment, bfd access methods.
1562 (section_is_overlay): FIXME comment, bfd access methods.
1563
ba5f2f8a
MS
1564 * symfile.c (generic_load): Whitespace and long line cleanups.
1565 Remove duplicate variable, change several local variables to
1566 more appropriate data types.
1567 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1568
17df2af6
AC
15692002-01-12 Andrew Cagney <ac131313@redhat.com>
1570
1571 From Peter Schauer:
1572 * language.c (longest_local_hex_string_custom): Use phex_nz to
1573 convert NUM to a hex string.
1574
ec920329
EZ
15752002-01-12 Elena Zannoni <ezannoni@redhat.com>
1576
1577 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1578 the function.
538a76d6 1579 Update Copyright year.
ec920329 1580
3abd2e01
AC
15812002-01-12 Andrew Cagney <ac131313@redhat.com>
1582
1583 * language.c (longest_raw_hex_string): Delete unused function.
1584
b21b22e0
PS
15852002-01-11 Petr Sorfa <petrs@caldera.com>
1586
1587 * MAINTAINERS (write-after-approval): Add myself.
1588 * dwarf2read.c (read_tag_string_type): Handling of
1589 DW_AT_byte_size.
1590 (read_tag_string_type): FORTRAN fix to prevent propagation of
1591 first string size.
1592 (set_cu_language): Handling of DW_LANG_Fortran95
1593
747fe712
RE
15942002-01-11 Richard Earnshaw <rearnsha@arm.com>
1595
1596 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1597 GETPID(inferior_ptid).
1598 (store_inferior_registers): Likewise.
1599
f1bea926
JM
16002002-01-10 Jason Merrill <jason@redhat.com>
1601
1602 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1603 Fix DW_OP_minus.
1604
ae940673
AC
16052002-01-10 Andrew Cagney <ac131313@redhat.com>
1606
1607 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1608 and bfd/elf32-sh-nbsd.c.
1609
00546b04
MS
16102002-01-10 Michael Snyder <msnyder@redhat.com>
1611
352ed7b4
MS
1612 * NEWS: Mention --pid and corefile/proc-id behavior change.
1613
c18be923
MS
1614 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1615 * gcore.c: Include cli/cli-decode.h instead of command.h.
1616
00546b04
MS
1617 * main.c (captured_main): Add new command line option "--pid".
1618 If the second command line argument (following the symbol-file)
1619 begins with a digit, try to attach to it before trying to open
1620 it as a corefile.
1621 (print_gdb_help): Document the "--pid" argument.
1622
db60ec62
EZ
16232002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1624
1625 * completer.c (command_completer): New function.
1626
1627 * completer.h <command_completer>: Add prototype.
1628
1629 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1630 completer for the "help" command.
1631
39c22d1a
JM
16322002-01-09 Jason Merrill <jason@redhat.com>
1633
1634 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1635
c564377f
MS
16362002-01-09 Michael Snyder <msnyder@redhat.com>
1637
975aec09
MS
1638 * i386-linux-nat.c (fill_fpxregset): Make global.
1639 (store_fpxregset): Ditto.
1640
db4a10fa
MS
1641 * gregset.h (gdb_fpxregset_t): Define.
1642 (supply_fpxregset): Prototype.
1643 (fill_fpxregset): Prototype.
1644
c564377f
MS
1645 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1646
c3d45d70
RE
16472002-01-09 Richard Earnshaw <rearnsha@arm.com>
1648
1649 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1650 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1651 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1652
fcc87af1
AC
16532002-01-09 Andrew Cagney <ac131313@redhat.com>
1654
1655 * MAINTAINERS: Update target maintainer rules so that any
1656 Maintainer can approve a tested patch for a maintenance-only
1657 target.
1658
dd96c05b
RE
16592002-01-09 Richard Earnshaw <rearnsha@arm.com>
1660
d4297db9 1661 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 1662
d4297db9 1663 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
1664 IN_SIGTRAMP.
1665
145fdc6e
MS
16662002-01-08 Michael Snyder <msnyder@redhat.com>
1667
1668 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1669 real name of the executable, rather than the /proc name.
1670
be4d1333
MS
16712002-01-03 Michael Snyder <msnyder@redhat.com>
1672
1673 Implement a "generate-core-file" command in gdb, save target state.
1674 * gcore.c: New file. Implement new command 'generate-core-file'.
1675 Save a corefile image of the current state of the inferior.
1676 * linux-proc.c: Add linux-specific code for saving corefiles.
1677 * target.h (struct target_ops): Add new target vectors for saving
1678 corefiles; to_find_memory_regions and to_make_corefile_notes.
1679 (target_find_memory_regions): New macro.
1680 (target_make_corefile_notes): New macro.
1681 * target.c (update_current_target): Inherit new target methods.
1682 (dummy_find_memory_regions): New place-holder method.
1683 (dummy_make_corefile_notes): New place-holder method.
1684 (init_dummy_target): Initialize new dummy target vectors.
1685 * exec.c (exec_set_find_memory_regions): New function.
1686 Allow the exec_ops vector for memory regions to be taken over.
1687 (exec_make_note_section): New function, target vector method.
1688 * defs.h (exec_set_find_memory_regions): Export prototype.
1689 * procfs.c (proc_find_memory_regions): New function, corefile method.
1690 (procfs_make_note_section): New function, corefile method.
1691 (init_procfs_ops): Set new target vector pointers.
1692 (find_memory_regions_callback): New function.
1693 (procfs_do_thread_registers): New function.
1694 (procfs_corefile_thread_callback): New function.
1695 * sol-thread.c (sol_find_memory_regions): New function.
1696 (sol_make_note_section): New function.
1697 (init_sol_thread_ops): Initialize new target vectors.
1698 * inftarg.c (inftarg_set_find_memory_regions): New function.
1699 Allow to_find_memory_regions vector to be taken over.
1700 (inftarg_set_make_corefile_notes): New function.
1701 Allow to_make_corefile_notes vector to be taken over.
1702 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1703 interface layer if not target_has_execution (may be a corefile).
1704 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1705 * config/sparc/sun4sol2.mh: Ditto.
1706 * config/alpha/alpha-linux.mh: Ditto.
1707 * config/arm/linux.mh: Ditto.
1708 * config/i386/x86-64linux.mh: Ditto.
1709 * config/ia64/linux.mh: Ditto.
1710 * config/m68k/linux.mh: Ditto.
1711 * config/mips/linux.mh: Ditto.
1712 * config/powerpc/linux.mh: Ditto.
1713 * config/sparc/linux.mh: Ditto.
1714
c6b92abd
MS
17152002-01-07 Michael Snyder <msnyder@redhat.com>
1716
1717 * arm-linux-nat.c: Remove references to regcache.c internal data
1718 (registers[] and register_valid[]).
1719
4b09dc8c
MS
17202002-01-07 Michael Snyder <msnyder@redhat.com>
1721
abf22e64
AJ
1722 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1723 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
1724 symbol file and shlibs.
1725 * Makefile.in: Add rule for linux-proc.o.
1726 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1727 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1728 * config/arm/linux.mh: Ditto.
1729 * config/i386/linux.mh: Ditto.
1730 * config/i386/x86-64linux.mh: Ditto.
1731 * config/ia64/linux.mh: Ditto.
1732 * config/m68k/linux.mh: Ditto.
1733 * config/mips/linux.mh: Ditto.
1734 * config/powerpc/linux.mh: Ditto.
1735 * config/sparc/linux.mh: Ditto.
1736
c25b74ac
PM
17372002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1738
1739 * win32-nat.c: Add i386-tdep.h dependency.
1740
94cd915f
MS
17412002-01-07 Michael Snyder <msnyder@redhat.com>
1742
c7cccb76
MS
1743 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1744 instead of bfd_get_arch_size. Don't bail out just because
1745 there's no exec_bfd.
abf22e64 1746
34c0bd93
MS
1747 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1748 * p-valprint.c (pascal_object_print_value): Ditto.
1749 * somread.c (som_symtab_read): Ditto.
1750 * symfile.c (simple_free_overlay_region_table): Ditto.
1751 * valops.c (value_assign): Ditto.
1752
21c1c920
MS
1753 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1754 use tilde_expand and strerror for opening save-tracepoints file.
1755
5bbd998e
MS
1756 * thread-db.c (thread_db_new_objfile): Indendation fix.
1757
94cd915f
MS
1758 * infptrace.c (GDB_MAX_ALLOCA): New define.
1759 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 1760 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
1761 can be overridden with whatever value is appropriate to the host).
1762 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1763 alloca to allocate potentially large buffer.
1764 * rs6000-nat.c (child_xfer_memory): Ditto.
1765 * symm-nat.c (child_xfer_memory): Ditto.
1766 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1767
494e8a93
JSC
17682002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1769
1770 From Nick Clifton <nickc@redhat.com>
1771 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1772
d0e1d48e
MS
17732002-01-07 Michael Snyder <msnyder@redhat.com>
1774
abf22e64 1775 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
1776 Don't use exec_bfd if it's NULL.
1777
290b2c7a
MK
17782002-01-06 Mark Kettenis <kettenis@gnu.org>
1779
abf22e64 1780 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 1781
aef21287
AC
17822002-01-06 Andrew Cagney <ac131313@redhat.com>
1783
1784 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1785 * gnu-nat.c: Ditto.
1786
30efa627
AC
17872002-01-06 Andrew Cagney <ac131313@redhat.com>
1788
1789 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1790 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1791 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1792 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1793 z8k-coff have not been multi-arched. Update z8k-coff build
1794 status.
1795
9b4ff276
AC
17962002-01-06 Andrew Cagney <ac131313@redhat.com>
1797
1798 * MAINTAINERS: Mark a29k target as obsolete.
1799 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1800 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1801 comments.
1802 * NEWS: Note that a29k targets are obsolete.
1803 * a29k-tdep.c: Mark as obsolete.
1804 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1805 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1806 a29k-*-vxworks* targets as obsolete.
1807 * remote-adapt.c: Obsolete.
1808 * remote-eb.c: Obsolete.
1809 * remote-mm.c: Obsolete.
1810 * remote-udi.c: Obsolete.
1811 * config/a29k/a29k-udi.mt: Obsolete.
1812 * config/a29k/a29k.mt: Obsolete.
1813 * config/a29k/tm-a29k.h: Obsolete.
1814 * config/a29k/tm-vx29k.h: Obsolete.
1815 * config/a29k/vx29k.mt: Obsolete.
1816
a9011d31
AC
18172002-01-05 Andrew Cagney <ac131313@redhat.com>
1818
1819 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1820 with BFD_ENDIAN_BIG.
1821
9299404e
AC
18222002-01-05 Andrew Cagney <ac131313@redhat.com>
1823
1824 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1825 * configure, config.in: Re-generate.
1826 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1827 * defs.h: Do not include <endian.h>.
1828
7e89e357
JT
18292002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1830
1831 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1832 * config.in: Regenerate.
1833 * configure.in: Update copyright years.
1834 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1835 * configure: Regenerate.
1836 * i386bsd-nat.c: Update copyright years.
1837 (fill_gregset): Use regcache_collect.
1838 (fetch_inferior_registers): Only fetch integer registers
1839 if requested to do so. Add support for XMM registers
1840 using PT_GETXMMREGS.
1841 (store_inferior_registers): Only store integer registers
1842 if requested to do so. Add support for XMM registers
1843 using PT_SETXMMREGS.
1844 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1845 (store_inferior_registers): Remove.
1846 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1847 (fetch_elfcore_registers): New function.
1848 (i386nbsd_elfcore_fns): New.
1849 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1850 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1851 i386bsd-nat.o.
1852 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1853 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1854 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1855 * config/i386/tm-nbsd.h: Update copyright years.
1856 (HAVE_SSE_REGS): Define.
1857 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1858 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1859 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1860 (SIGCONTEXT_PC_OFFSET): Remove.
1861 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1862
a752853e
AC
18632002-01-05 Andrew Cagney <ac131313@redhat.com>
1864
1865 * configure.tgt: Remove powerpc-*-macos* target.
1866 * config/m68k/xm-mpw.h: Delete file.
1867 * config/xm-mpw.h: Delete file.
1868 * ser-mac.c: Delete file.
1869 * mpw-make.sed: Delete file.
1870 * mpw-config.in: Delete file.
1871 * mac-xdep.c: Delete file.
1872 * mac-gdb.r: Delete file.
1873 * mac-defs.h: Delete file.
1874 * mac-nat.c: Delete file.
1875 * config/powerpc/macos.mh: Delete file.
1876 * config/powerpc/macos.mt: Delete file.
1877 * config/powerpc/nm-macos.h: Delete file.
1878 * config/powerpc/tm-macos.h: Delete file.
1879 * source.c (openp, open_source_file): Remove obsolete code.
1880 * top.c (gdb_readline): Ditto.
1881 * utils.c (query): Ditto.
1882 * event-top.c (display_gdb_prompt): Ditto.
1883 * Makefile.in (ser-mac.o): Delete obsolete target.
1884 * NEWS: Update.
1885
d7449b42
AC
18862002-01-04 Andrew Cagney <ac131313@redhat.com>
1887
1888 * defs.h (BIG_ENDIAN): Delete macro definition.
1889 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1890 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1891 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1892 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1893 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1894 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1895 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1896 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1897 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1898 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1899 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1900 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1901 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1902 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1903 * gdbarch.c: Re-generate.
1904
356374e8
DJ
19052002-01-04 Daniel Jacobowitz <drow@mvista.com>
1906
1907 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1908 for core files.
1909
a2b8f8f8
JT
19102002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1911
1912 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1913
12466af9
AC
19142002-01-04 Andrew Cagney <ac131313@redhat.com>
1915
1916 * value.h (value_ptr): Delete typedef.
1917
3549ab40
JT
19182002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1919
1920 * i386nbsd-nat.c: Update copyright years.
1921 Include i386-tdep.h.
1922
fedbd091
EZ
19232002-01-04 Elena Zannoni <ezannoni@redhat.com>
1924
1925 * stabsread.c: Update copyright years.
1926
1927 From Debashis Mahata <debashis.mahata@wipro.com>:
1928 (read_struct_fields): Deal with Sun C compiler erroneous stab
1929 output for structs and unions.
fec8b34f 1930 Fix PR gdb/269.
fedbd091 1931
eb43544b
DJ
19322002-01-04 Daniel Jacobowitz <drow@mvista.com>
1933
1934 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1935 prototype.
1936
1514d34e
DJ
19372002-01-04 Daniel Jacobowitz <drow@mvista.com>
1938
1939 * cp-abi.c: Fix whitespace.
1940 (baseclass_offset): New wrapper function.
1941 * cp-abi.h (baseclass_offset): Add prototype.
1942 (struct cp_abi_ops): Add baseclass_offset pointer.
1943
1944 * valops.c (vb_match): Move to...
1945 * gnu-v2-abi.c (vb_match): here.
1946 * valops.c (baseclass_offset): Move to...
1947 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1948
1949 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1950
1951 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1952 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1953 * hpacc-abi.c (init_hpacc_ops): Likewise.
1954
7f8c9282
DJ
19552002-01-04 Daniel Jacobowitz <drow@mvista.com>
1956
1957 * valops.c (find_overload_match): Accept obj as a
1958 reference parameter. Update it before returning.
1959 * value.h (find_overload_match): Update prototype.
1960 * eval.c (evaluate_subexp_standard): Pass object to
1961 find_overload_match by reference.
1962
f23631e4
AC
19632002-01-03 Andrew Cagney <ac131313@redhat.com>
1964
1965 * valarith.c: Replace value_ptr with struct value pointer. Remove
1966 register attribute from value declarations.
1967 * valops.c: Ditto.
1968 * value.h: Ditto.
1969 * scm-lang.c (scm_lookup_name): Ditto.
1970
79e10fab 19712002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 1972
79e10fab
AC
1973 Abstract the functionality of iterating over mapped memory
1974 regions into a general purpose iterator function.
abf22e64 1975 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
1976 iterator for memory sections.
1977 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1978 (solib_mappings_callback): New function, callback for above.
1979 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1980 (info_mappings_callback): New function, callback for above.
1981
1982 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1983
c5ad026a
MK
19842002-01-01 Mark Kettenis <kettenis@gnu.org>
1985
d2a7c97a
MK
1986 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1987 * i386-tdep.c: Include "elf-bfd.h".
1988 (process_note_abi_tag_sections): New function.
1989 (i386_gdbarch_init): Add code to recognize various OS/ABI
1990 combinations.
1991
c5ad026a
MK
1992 * maint.c (_initialize_maint_cmds): Add missing \ in
1993 string-literal.
1994
a1a5b71e 1995For older changes see ChangeLog-2001
c906108c
SS
1996\f
1997Local Variables:
1998mode: change-log
1999left-margin: 8
2000fill-column: 74
2001version-control: never
2002End: