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