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