* Makefile.in (linux-thread.o): Delete target.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8ed32cc0
AC
12002-02-23 Andrew Cagney <ac131313@redhat.com>
2
8b6e7932
AC
3 * Makefile.in (linux-thread.o): Delete target.
4 * linux-thread.c: Delete file.
5
d155c46b
AC
6 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
7 renamed SH files to be consistent.
8
8ed32cc0
AC
9 * symtab.c (sort_search_symbols): Use xfree.
10
0e18d038
RE
112002-02-23 Richard Earnshaw <rearnsha@arm.com>
12
13 * arm-linux-tdep.c (arm_linux_init_abi): Register
14 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
15 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
16 definition with undef, since we don't want the sysvr4 definition.
17 (SKIP_TRAMPOLINE_CODE): Likewise.
18
27aac7ff
AC
192002-02-23 Andrew Cagney <ac131313@redhat.com>
20
21 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
22
23 * configure.in: (AC_CHECK_FUNCS) Added test for
24 canonicalize_file_name Regenerated.
25 * config.in, configure: Regenerated.
26 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
27 defined use canonicalize_file_name.
28
65a6e0ee
MC
292002-02-23 Michael Chastain <mec@shout.net>
30
31 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
32
47b95330
AC
332002-02-23 Andrew Cagney <ac131313@redhat.com>
34
35 * README: Remove references to cygnus.com.
36 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
37 dot com'' form. Remove references to cygnus.com and sourceware.
38
696f451b
AC
392002-02-23 Andrew Cagney <ac131313@redhat.com>
40
41 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
42 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
43 1003.1-2001 no longer allows "head -1".
44 * gdb/Makefile.in (version.c): Likewise.
45 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
46 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
47 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
48
bbaca940
AC
492002-02-23 Andrew Cagney <ac131313@redhat.com>
50
51 * cli/cli-decode.c (cmd_cfunc_eq): New function.
52 * command.h (cmd_cfunc_eq): Declare.
53 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
54
55 * cli/cli-cmds.h (is_complete_command): Change parameter to a
56 ``struct cmd_list_element *''.
57 * cli/cli-cmds.c (is_complete_command): Update. Use
58 cmd_cfunc_eq.
59 * top.c (execute_command): Pass the command to
60 is_complete_command.
61 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
62
b8b8b047
AC
632002-02-23 Andrew Cagney <ac131313@redhat.com>
64
65 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
66 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
67 architecture defines.
68 * s390-tdep.c (s390_gdbarch_init): Likewise.
69
19d3fc80
RE
702002-02-23 Richard Earnshaw <rearnsha@arm.com>
71
72 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
73 (arm_linux_push_arguments): Likewise.
74 (arm_linux_init_abi): Register them. Also register linux-specific
75 call_dummy_words.
76 (find_minsym_and_objfile): Use strcmp, not STREQ.
77 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
78 (arm_linux_call_dummy_words): Delete declaration.
79 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
80 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
81 declarations.
82 (LOWEST_PC): Delete.
83
3ab13650
PS
842002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
85
86 * maint.c (print_section_info): Do not prepend `0x' to filepos
87 output, it will be handled by local_hex_string_custom.
88
19d3fc80 892002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
90
91 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
92 (store_newfpe_double, store_newfpe_extended, store_fpregister)
93 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
94
d85a5daf
JB
952002-02-22 Jim Blandy <jimb@redhat.com>
96
97 Indicate that the bcache functions don't change the strings
98 they're passed.
99 * bcache.h (bcache, hash): Add `const' keywords to declarations.
100 * bcache.c (bcache, hash): Add `const' keywords to definitions.
101
eeb25b8a
PM
1022002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
103
104 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
105
6badb179
CF
1062002-02-21 Christopher Faylor <cgf@redhat.com>
107
108 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
109 find the complete path to a loaded DLL.
110
e8717518
FF
1112002-02-21 Fred Fish <fnf@redhat.com>
112
113 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
114 that marks the end of the range of a function, enter a line number
115 entry that has a line number of zero and a PC offset that matches
116 the end of the function. This starts a range of PC's for which no
117 line number information is known.
118 * symtab.c (find_pc_sect_line): If our best fit is in a range of
119 PC's for which no line number info is found (line number is zero)
120 then we didn't find any valid line information.
121 * symtab.h: Document use of zero line number entry.
122
9abe5450
EZ
1232002-02-21 Elena Zannoni <ezannoni@redhat.com>
124
125 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
126 (have_ptrace_getvrregs): Define for run time checks.
127 (gdb_vrregset_t): New type for Altivec register handling.
128 (fetch_register, store_register): Fetch/store altivec register
129 when needed.
130 (fetch_altivec_register, store_altivec_register): New functions.
131 (supply_vrregset, fill_vrregset): New functions.
132 (fetch_altivec_registers, store_altivec_registers): New functions.
133 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
134 registers as well.
135
aaa38bb5
AJ
1362002-02-21 Jiri Smid <smid@suse.cz>
137
138 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
139
b34db576
RE
1402002-02-21 Richard Earnshaw <rearnsha@arm.com>
141
142 * Makefile.in (armnbsd-nat.o): Update dependencies.
143 * armnbsd-nat.c (supply_gregset): New function. Common code to
144 supply the integer register set.
145 (supply_fparegset): New function. Similar for FPA registers.
146 (fetch_regs, fetch_fp_regs): Use them.
147 (fetch_core_registers): Likewise.
148 (fetch_elfcore_registers): New function.
149 (arm_netbsd_elfcore_fns): New core-file type specification.
150 (_initialize_arm_netbsd_nat): Register it.
151
3e56fc4b
RE
1522002-02-21 Richard Earnshaw <rearnsha@arm.com>
153
154 * armnbsd-nat.c: Include gdbcore.h.
155 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
156 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
157 'void' to declaration, to shut up ARI.
158 (fetch_core_registers): Make static. Rewrite using supply_register.
159 (arm_netbsd_core_fns): New core-file type specification.
160 (_initialize_arm_netbsd_nat): New function.
161
097f6b0b
CF
1622002-02-21 Christopher Faylor <cgf@redhat.com>
163
164 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
165 value.
166
c914e0cc
CF
1672002-02-20 Christopher Faylor <cgf@redhat.com>
168
169 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
170 fails.
171
385fa495
DJ
1722002-02-20 Daniel Jacobowitz <drow@mvista.com>
173
174 * jv-exp.y (parse_number): Change type of implicit longs
175 to builtin_type_uint64.
176
e5f1222d
DJ
1772002-02-20 Daniel Jacobowitz <drow@mvista.com>
178
179 * gdbserver/linux-low.c (mywait): Change argument to waitpid
180 to be an integer instead of a `union wait'.
181
75c9abc6
DJ
1822002-02-20 Daniel Jacobowitz <drow@mvista.com>
183
184 * mips-linux-nat.c: Call the operating system GNU/Linux.
185 * mips-linux-tdep.c: Likewise.
186 * mips-tdep.c: Likewise.
187
551792a5
DJ
1882002-02-20 Daniel Jacobowitz <drow@mvista.com>
189
190 Fix PR gdb/265.
191 * jv-exp.y (parse_number): Handle 64-bit integers.
192
ee6e2b82
DJ
1932002-02-20 Daniel Jacobowitz <drow@mvista.com>
194
195 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
196 AC_STDC_HEADERS to AC_HEADER_STDC.
197 * gdbserver/configure: Regenerated.
198
a48442a0
RE
1992002-02-20 Richard Earnshaw <rearnsha@arm.com>
200
201 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
202 is defined.
203 * sparc-tdep.c (get_longjmp_target): Likewise.
204
fe419ffc
RE
2052002-02-20 Richard Earnshaw <rearnsha@arm.com>
206
207 * News: Add news about ARM and Multi-arch. Mention the new target
208 arm*-*-netbsd*.
209
5832ed7e
JB
2102002-02-19 Jim Blandy <jimb@redhat.com>
211
212 * stabsread.c (error_type_complaint): Improve error message.
213
84563040
DJ
2142002-02-19 Daniel Jacobowitz <drow@mvista.com>
215
216 * gdbserver/README: Update documentation.
217 * gdbserver/configure.in: Update configury to match documentation.
218 * gdbserver/Makefile.in: Likewise.
219 * gdbserver/configure: Regenerated.
220 * gdbserver/aclocal.m4: New file, generated by aclocal.
221 * gdbserver/config.in: New file, generated by autoheader.
222
375fd65b
RE
2232002-02-19 Richard Earnshaw <rearnsha@arm.com>
224
225 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
226 armnbsd-nat.c.
227
08216dd7
RE
2282002-02-19 Richard Earnshaw <rearnsha@arm.com>
229
230 * arm-tdep.h (enum arm_float_model): New enum.
231 (struct gdbarch_tdep): Add fp_model.
232 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
233 up floating-point conversions until we know the floating-point model
234 in use by the inferior. Don't complain about being unable to
235 determine the ABI of the inferior when we don't have one.
236 (arm_extract_return_value): Support different floating-point models.
237 (arm_store_return_value): Likewise.
aaa38bb5 238 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
239 ARM_FLOAT_SOFT.
240 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
241
65d6d66a
PS
2422002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
243
244 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
245 of ``current_gdbarch''.
246
47221191
RE
2472002-02-19 Richard Earnshaw <rearnsha@arm.com>
248
249 * armnbsd-nat.c : ANSIfy all function declarations.
250 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
251 (fetch_inferior_registers): Re-implement in terms of above.
252 (store_register, store_regs, store_fp_register, store_fp_regs): New.
253 (store_inferior_registers): Re-implement in terms of above.
254
fdf39c9a
RE
2552002-02-19 Richard Earnshaw <rearnsha@arm.com>
256
aaa38bb5 257 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
258 kernel.
259 * arm-linux-tdep.c: Likewise.
260 * config/arm/tm-linux.h: Likewise.
261
93247f88
RE
2622002-02-19 Richard Earnshaw <rearnsha@arm.com>
263
264 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
265 * config/arm/nbsd.mt (TM_FILE): Delete.
266 * config/arm/tm-nbsd.h: Delete.
267
d7b486e7
RE
2682002-02-19 Richard Earnshaw <rearnsha@arm.com>
269
270 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
271 Initialize CALL_DUMMY_LENGTH.
272
41d39a95
RE
2732002-02-19 Richard Earnshaw <rearnsha@arm.com>
274
275 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
276 function.
277 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 278 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
279 defines one thing and that is incorrect for this port.
280 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
281
e1195560
PM
2822002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
283
284 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
285
c1748f97
PM
2862002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
287
288 * win32-nat.c (display_selector): New function. Displays information
289 about the information returned by GetThreadSelectorEntry API function.
290 (display_selectors): New function. Displays the infomation of
291 the selector given as argument, or of CS, DS ans FS selectors
292 if no argument is given.
293 ( _initialize_inftarg): Add "w32" as info prefix command.
294 Add "info w32 selector" as command calling display_selectors.
295
e41e6bbf
PM
2962002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
297
298 * i386-tdep.c (get_longjmp_target): Fix compilation failure
299 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
300 if not defined.
301
0d3a9f48
RE
3022002-02-18 Richard Earnshaw <rearnsha@arm.com>
303
304 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
305
3fb4b924
RE
3062002-02-18 Richard Earnshaw <rearnsha@arm.com>
307
308 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
309 (arm_fix_call_dummy): Call it.
310 (arm_call_dummy_breakpoint_offset): Delete.
311 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
312 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
313
7f55af32
AC
3142002-02-18 Andrew Cagney <ac131313@redhat.com>
315
316 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
317 Default to func_frame_chain_valid.
318 * gdbarch.h, gdbarch.c: Re-generate.
319 * frame.h (FRAME_CHAIN_VALID): Delete definition.
320
05f13b9c
EZ
3212002-02-18 Elena Zannoni <ezannoni@redhat.com>
322
323 * ppc-linux-nat.c: Update copyright.
324 (fetch_register, store_register): Add tid parameter, don't compute
325 tid here.
326 (fetch_ppc_registers, store_ppc_registers): Add tid
327 parameter. Pass it along to callees.
328 (fetch_inferior_registers, store_inferior_registers): Compute tid
329 here, and pass it to calleed functions.
330 (fill_gregset, supply_fpregset): Clean up formatting.
331
d7afb4c9
RE
3322002-02-18 Richard Earnshaw <rearnsha@arm.com>
333
334 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
335 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
336
9df628e0
RE
3372002-02-18 Richard Earnshaw <rearnsha@arm.com>
338
339 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
340 * gdbarch.c gdbarch.h: Regenerate.
341 * breakpoint.c (create_longjmp_breakpoint): Always compile this
342 function.
343 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
344 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
345 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
346
347 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
348 * arm-tdep.c (arm_get_longjmp_target): New function.
349 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
350 this to a positive value register arm_get_longjmp_target as the
351 longjmp handler.
352 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
353 (arm_linux_init_abi): Set up longjmp description in tdep.
354 * armnbsd-nat.c (get_longjmp_target): Delete.
355 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
356 description in tdep.
357 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
358 (get_longjmp_target): Delete declaration.
359 (GET_LONGJMP_TARGET): Delete.
360 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
361 (GET_LONGJMP_TARGET): Delete.
362
57bc8964
KB
3632002-02-17 Kevin Buettner <kevinb@redhat.com>
364
365 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
366 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
367 of ``current_gdbarch''.
368
83d31a92
TT
3692002-02-17 Tom Tromey <tromey@redhat.com>
370
371 * cli/cli-cmds.c (compare_strings): New function.
372 (complete_command): Only print each unique item once.
373 * completer.h (complete_line): Declare.
374 * completer.c (complete_line): New function.
375 (line_completion_function): Use it.
376
17ef5d92
AC
3772002-02-16 Andrew Cagney <ac131313@redhat.com>
378
379 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
380 * gdbarch.h, gdbarch.c: Re-generate.
381
491b8946
DJ
3822002-02-16 Daniel Jacobowitz <drow@mvista.com>
383
384 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
385
3862002-02-16 Daniel Jacobowitz <drow@mvista.com>
387
388 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
389 * valops.c (value_arg_coerce): Don't take the address of a reference
390 to convert an argument to a reference.
391
dfe7f3ac
CF
3922002-02-15 Christopher Faylor <cgf@redhat.com>
393
394 * win32-nat.c (get_image_name): New function.
395 (handle_load_dll): Use get_image_name function.
396 (get_child_debug_event): Avoid registering debug events until possibly
397 execed process is started.
398 (child_create_inferior): Allow invocation via shell so that command
399 line redirection, etc. works ok.
400 (_initialize_inftarg): Add new command: "set shell" to control whether
401 a shell is used to start a process.
402
1d33e73a
DJ
4032002-02-15 Daniel Jacobowitz <drow@mvista.com>
404
405 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
406 instead of find_register_by_number.
407 (cannot_store_register): Likewise.
408
48cd0caa
PM
4092002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
410
aaa38bb5 411 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
412 fprintf_unfiltered (gdb_stderr, ...).
413
8656e7d8
DJ
4142002-02-15 Daniel Jacobowitz <drow@mvista.com>
415
416 * gdbserver/gdbserver.1: Document --attach.
417
66e810cd
RE
4182002-02-15 Richard Earnshaw <rearnsha@arm.com>
419
420 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
421 descriptions.
422 * arm-tdep.c (arm_default_arm_le_breakpoint)
423 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
424 (arm_default_thumb_be_breakpoint): New. Initialize them from
425 traditional breakpoint defines.
426 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
427 (arm_gdbarch_init): Initialize new breakpoint variables.
428 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
429 (arm_linux_init_abi): Initialize linux-specific breakpoint.
430 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
431 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
432 code out to ...
433 (arm_netbsd_init_abi_common): ... here; new function.
434 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
435 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
436 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
437 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
438
97e03143
RE
4392002-02-15 Richard Earnshaw <rearnsha@arm.com>
440
441 * arm-tdep.h (enum arm_abi): New enum.
442 (struct gdbarch_tdep): New structure.
443 (LOWEST_PC): Provide a default.
444 (arm_gdbarch_register_os_abi): Declare new function.
445 * arm-tdep.c (arm_abi_names): New array.
446 (process_note_abi_tag_sections): New function.
447 (get_elfosabi): New function.
448 (arm_gdbarch_register_os_abi): New function.
449 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
450 support for that ABI has been built in, then call the appropriate
451 configuration routine. Use gdbarch_num_regs() to get the number
452 of registers.
453 (arm_dump_tdep): New function.
454 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
455 place-holder functions.
456 (_initialize_arm_tdep): Register them.
457 * config/arm/tm-arm.h (LOWEST_PC): Delete.
458
459 * armnbsd-tdep.c: New file.
460 * Makefile.in (armnbsd-tdep.o): Add dependencies.
461 * config/arm/nbsd.mt (TDEPFILES): Add it.
462 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
463
464 * armnbsd-nat.c: Include regcache.h.
465 * Makefile.in (armnbsd-nat.o): Update dependency list.
466
467 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
468
ad68be46
DJ
4692002-02-14 Daniel Jacobowitz <drow@mvista.com>
470
471 * gdbserver/Makefile.in: Fix typos in target rules.
472
003d6d1d
DJ
4732002-02-14 Daniel Jacobowitz <drow@mvista.com>
474
aaa38bb5 475 Fix part of PR gdb/267.
003d6d1d
DJ
476 * linespec.c (find_methods): Handle constructors specially for now.
477
6b230f1b
CV
4782002-02-14 Corinna Vinschen <vinschen@redhat.com>
479
480 * arm-tdep.c (arm_push_arguments): Eliminate special float type
481 handling.
482 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
483 standard_coerce_float_to_double().
484
1ea98d12
CF
4852002-02-14 Christopher Faylor <cgf@redhat.com>
486
487 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
488 GDBINIT_FILENAME.
489
dd47e6fd
EZ
4902002-02-14 Elena Zannoni <ezannoni@redhat.com>
491
492 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
493 find_variant_by_name, because it confuses the multiarch
494 framework. Return NULL if there isn't an architecture with the
495 user supplied name, instead of forcing a different one without
496 recording the change with the multiarch machinery.
497 (find_variant_by_name): Delete.
498
d7e39b9e
PS
4992002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
500
501 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
502 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
503
76e42a4f
MH
5042002-02-13 Martin M. Hunt <hunt@redhat.com>
505
aaa38bb5 506 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
507 print_frame_info_listing_hook, set current_source_symtab.
508
0a30fbc4
DJ
5092002-02-14 Daniel Jacobowitz <drow@mvista.com>
510
511 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
512 and remove unused $(INCLUDE_DIR).
513 Add regcache.c to OBS.
514 Add generated register protocol files to clean target.
515 Update dependencies for new objects, obsolete old target code.
516
517 * gdbserver/linux-low.c: Remove all platform-specific code to
518 new files. Remove various dead code. Update to use regcache
519 functionality.
520 * gdbserver/remote-utils.c (fromhex): Add return statement
521 to quiet warning.
522 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
523 constant.
524 (input_interrupt): Add integer parameter to match prototype
525 of a signal handler.
526 (outreg): Use register_data ().
527 (prepare_resume_reply): Use gdbserver_expedite_regs.
528 * gdbserver/server.c (main): Dynamically allocate own_buf because
529 PBUFSIZ is no longer constant. Use registers_to_string () and
530 registers_from_string ().
531 * gdbserver/server.h: No longer include "defs.h". Add prototypes
532 for error (), fatal (), and warning (). Update definition of
533 PBUFSIZ to use regcache functionality. Add include guard.
534 * gdbserver/utils.c (fatal): Add missing ``const''.
535 (warning): New function.
536
537 * regformats/regdat.sh: Include "regcache.h" in generated files.
538 Provide init_registers () function.
539 * regformats/regdef.h: Add prototype for set_register_cache ().
540 Add include guard.
541
542 * gdbserver/linux-arm-low.c: New file.
543 * gdbserver/linux-i386-low.c: New file.
544 * gdbserver/linux-ia64-low.c: New file.
545 * gdbserver/linux-m68k-low.c: New file.
546 * gdbserver/linux-mips-low.c: New file.
547 * gdbserver/linux-ppc-low.c: New file.
548 * gdbserver/linux-sh-low.c: New file.
549
550 * gdbserver/regcache.c: New file.
551 * gdbserver/regcache.h: New file.
552
553 * gdbserver/low-linux.c: Removed obsolete file.
554
4cc841d0
DJ
5552002-02-14 Daniel Jacobowitz <drow@mvista.com>
556
557 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
558 * config/i386/linux.mt: Likewise.
559 * config/ia64/linux.mt: Likewise.
560 * config/m68k/linux.mh: Likewise.
561 * config/powerpc/linux.mh: Likewise.
562 * config/mips/linux.mt: Likewise.
563
564 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
565
566 * config/i386/i386lynx.mh: Mark gdbserver variables
567 as (currently) obsolete for this target.
568 * config/i386/nbsd.mt: Likewise.
569 * config/i386/nbsdelf.mt: Likewise.
570 * config/m32r/m32r.mt: Likewise.
571 * config/m68k/m68klynx.mh: Likewise.
572 * config/m68k/nbsd.mt: Likewise.
573 * config/m68k/sun3os4.mh: Likewise.
574 * config/mips/vr5000.mt: Likewise.
575 * config/ns32k/nbsd.mt: Likewise.
576 * config/pa/hppabsd.mh: Likewise.
577 * config/pa/hppaosf.mh: Likewise.
578 * config/powerpc/nbsd.mt: Likewise.
579 * config/rs6000/rs6000lynx.mh: Likewise.
580 * config/s390/s390.mt: Likewise.
581 * config/s390/s390x.mt: Likewise.
582 * config/sparc/sparclynx.mh: Likewise.
583 * config/sparc/sun4os4.mh: Likewise.
584 * config/i386/x86-64linux.mt: Likewise.
585 * config/sparc/linux.mh: Likewise.
586
a85f51e7
DJ
5872002-02-14 Daniel Jacobowitz <drow@mvista.com>
588
589 * configure.tgt: Configure gdbserver only for known working
590 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
591 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
592 SUBDIRS if it is configured. Update comment for ${nativefile}.
593 * configure: Regenerated.
594
65554fef
MS
5952002-02-13 Michael Snyder <msnyder@redhat.com>
596
6dbdc4a3
MS
597 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
598 (default_gcore_mach): Just return 0, work around a problem in bfd.
599 (default_gcore_target): OK to return NULL if exec_bfd is null.
600 (make_mem_sec): Use a cast, avoid a warning.
601
602 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 603 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
604 sizeof (host pointer) != sizeof (target pointer)).
605 (procfs_make_note_section): Avoid overflow in psargs string.
606
aaa38bb5 607 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
608 implementation return an error.
609
6102002-02-13 Rodney Brown <rbrown64@csc.com.au>
611
612 * procfs.c (procfs_make_note_section): Provide a default definition
613 (for alpha-dec-osf4.0f). Fix typos.
614
1e4d76e7
EZ
6152002-02-13 Elena Zannoni <ezannoni@redhat.com>
616
617 * linux-proc.c: Add include of regcache.h.
618 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
619
b6d1a1d5
AC
6202002-02-13 Andrew Cagney <ac131313@redhat.com>
621
622 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
623 * memattr.c (create_mem_region): Disallow useless empty region.
624 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 625 non-overlapping.
b6d1a1d5 626
6c6ea35e
MC
6272002-02-13 Michael Chastain <mec@shout.net>
628
629 * defs.h: Kill CONST_PTR.
630 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
631 * c-lang.c (c_builtin_types): Likewise.
632 * ch-lang.c (ch_builtin_types): Likewise.
633 * f-lang.c (f_builtin_types): Likewise.
634 * language.c (unknown_builtin_types): Likewise.
635 * m2-lang.c (m2_builtin_types): Likewise.
636 * p-lang.c (pascal_builtin_types): Likewise.
637 * scm-lang.c (c_builtin_types): Likewise.
638
3e0b0f48
KS
6392002-02-13 Keith Seitz <keiths@redhat.com>
640
641 * arm-tdep.h (arm_get_next_pc): Add declaration.
642
67255d04
RE
6432002-02-13 Richard Earnshaw <rearnsha@arm.com>
644
645 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
646 with other related struct-returning functions.
647 (arm_extract_struct_value_address): New function.
648 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
649 initialize float_format, double_format and long_double_format as
650 appropriate to the endianness of the target.
651 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
652 (arm_use_struct_convention): Delete declaration.
653 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
654
079777f6
KS
6552002-02-13 Keith Seitz <keiths@redhat.com>
656
657 * defs.h (core_addr_to_string_nz): New function.
658
34588f23
MK
6592002-02-13 Mark Kettenis <kettenis@gnu.org>
660
661 Apply missing bits of 2002-01-15 patch.
662 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
663 (fill_fpregset): Use i387_fill_fsave.
664
49b563f9
KS
6652002-02-12 Keith Seitz <keiths@redhat.com>
666
49b563f9
KS
667 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
668 (core_addr_to_string_nz): New function.
669
aeb98c60
RE
6702002-02-11 Richard Earnshaw <rearnsha@arm.com>
671
672 * arm-linux-nat.c: Really include arm-tdep.h.
673 * config/arm/tm-linux.h (struct type, struct value): Declare.
674
65554fef
MS
6752002-02-11 Michael Snyder <msnyder@redhat.com>
676
677 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
678 (gcore section): Ifdef for Solaris and Unixware only.
679 (procfs_do_thread_registers): Unixware needs one lwpstatus
680 per thread (not one prstatus or pstatus).
681 (procfs_make_note_section): Iterate only over kernel threads (lwps),
682 not over all gdb threads. For unixware, call elfcore_write_pstatus
683 once before iterating over threads.
684
34e8f22d
RE
6852002-02-11 Richard Earnshaw <rearnsha@arm.com>
686
687 * arm-tdep.h: New file.
688 * arm-tdep.c: Include arm-tdep.h.
689 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
690 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
691 (arm_print_float_info, arm_register_type, convert_to_extended)
692 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
693 (arm_extract_return_value, arm_register_name): Make static.
694 (arm_software_single_step): Similarly. Fix types in declaration.
695 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
696 (arm_store_return_value, arm_store_struct_return): New functions.
697 (arm_gdbarch_init): Register the above functions. Also register
698 call_dummy_start_offset, sizeof_call_dummy_words,
699 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
700 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 701 max_register_virtual_size, register_size. Set up
34e8f22d
RE
702 prologue_cache.saved_regs here, rather than ...
703 (_initialize_arm_tdep): ... here.
704 * config/arm/tm-arm.h (struct type, struct value): Delete forward
705 declarations.
706 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
707 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
708 (arm_print_float_info, arm_register_type, convert_to_extended)
709 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
710 (arm_extract_return_value, arm_register_name): Delete declarations.
711 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
712 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
713 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
714 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
715 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
716 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
717 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
718 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
719 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
720 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
721 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
722 (arm_get_next_pc): No-longer static -- these are needed by the RDI
723 interface.
724 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
725 * remote-rdi.c remote-rdp.c: Likewise.
726 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
727 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
728 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
729 definition.
730
731 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
732 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
733 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
734 from non-ARM_ prefixed definitions.
735 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
736 all uses of above.
737 * remote-rdi.c remote-rdp.c: Likewise.
738 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
739
148754e5
RE
7402002-02-11 Richard Earnshaw <rearnsha@arm.com>
741
742 * arm-tdep.c (arm_frameless_function_invocation)
743 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
744 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
745 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
746 (arm_pop_frame, arm_get_next_pc): Make static.
747 (arm_gdbarch_init): Register above in gdbarch structure.
748 (arm_read_fp): Renamed from arm_target_read_fp.
749 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
750 * config/arm/tm-arm.h (arm_frameless_function_invocation)
751 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
752 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
753 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
754 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
755 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
756 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
757 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
758 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
759 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 760
434d2d4f
DJ
7612002-02-10 Daniel Jacobowitz <drow@mvista.com>
762
763 * symtab.c (compare_search_syms): New function.
764 (sort_search_symbols): New function.
765 (search_symbols): Sort symbols after searching rather than
766 before.
767
55241689
AC
7682002-02-10 Andrew Cagney <ac131313@redhat.com>
769
770 * NEWS: Linux -> GNU/Linux.
771
028c194b
AC
7722002-02-10 Andrew Cagney <ac131313@redhat.com>
773
774 * gdbarch.sh: For for level one methods, disallow a definition
775 when partially multi-arched. Add comments explaining rationale.
776 * gdbarch.h: Re-generate.
777
6acf50cd
AC
7782002-02-10 Andrew Cagney <ac131313@redhat.com>
779
780 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
781 multi-arch partial.
aaa38bb5 782
50248794
AC
7832002-02-10 Andrew Cagney <ac131313@redhat.com>
784
785 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
786 field. Use diff -u.
787 * gdbarch.c: Re-generate.
788
c30e0066
AC
7892002-02-10 Andrew Cagney <ac131313@redhat.com>
790
9b56c5f3 791 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
792 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
793 partial.
794
6e6d6484
AC
7952002-02-10 Andrew Cagney <ac131313@redhat.com>
796
797 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
798 multi-arch partial.
799 (PUSH_ARGUMENTS): Switch to using predefault.
800 * gdbarch.c: Regenerate.
801
c203844d
AC
8022002-02-10 Andrew Cagney <ac131313@redhat.com>
803
804 * valops.c (PUSH_ARGUMENTS): Delete definition.
805 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
806 partial. Default to default_push_arguments.
807 * gdbarch.h, gdbarch.c: Regenerate.
808
b5a2688f
AC
8092002-02-09 Andrew Cagney <ac131313@redhat.com>
810
811 * defs.h (throw_exception): Rename return_to_top_level. Update
812 comments.
813 * utils.c (error_stream, internal_verror, quit): Ditto.
814 * top.c (throw_exception, catcher): Ditto.
815 * sparclet-rom.c (sparclet_load): Ditto.
816 * remote.c (interrupt_query, minitelnet): Ditto.
817 * remote-sds.c (interrupt_query): Ditto.
818 * remote-mips.c (mips_error, mips_kill): Ditto.
819 * ocd.c (interrupt_query): Ditto.
820 * monitor.c (monitor_interrupt_query): Ditto.
821 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
822 * target.h: Update comment.
aaa38bb5 823
b5a2688f 824 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 825
2fa5c1e0
AC
8262002-02-09 Andrew Cagney <ac131313@redhat.com>
827
828 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
829 default_double_format.
830 * gdbarch.h, gdbarch.c: Re-generate.
831 * findvar.c (floatformat_unknown): Delete variable definition.
832 * doublest.h (floatformat_unknown): Delete variable declaration.
833
da966255
JB
8342002-02-09 Jim Blandy <jimb@redhat.com>
835
836 * stabsread.c (read_type): Add code to parse Sun's syntax for
837 prototyped function types.
838
123a4891
AC
8392002-02-09 Andrew Cagney <ac131313@redhat.com>
840
841 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
842 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
843
fb39c8f3
PS
8442002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
845
846 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
847 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
848 now _initialize_xcoffsolib gets called again and overrides the
849 commands from solib.c in a native configuration.
850
0b87a11d
MK
8512002-02-09 Mark Kettenis <kettenis@gnu.org>
852
853 * doublest.c (store_typed_floating): Don't try to return a value.
854 Fixes PR gdb/290.
855
bdc2fc72
JB
8562002-02-08 Jim Blandy <jimb@redhat.com>
857
858 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
859 is prototyped and has no arguments, print its argument list as
860 `(void)'.
861
da69bbcf
CD
8622002-02-08 Chris Demetriou <cgd@broadcom.com>
863
864 * MAINTAINERS (write-after-approval): Add myself.
865 (paper-trail): I've escaped!
aaa38bb5 866
b69571f5
CF
8672002-02-08 Christopher Faylor <cgf@redhat.com>
868
869 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
870 changes.
871 (_initialize_check_for_gdb_ini): Ditto.
872
f6871398
MH
8732002-02-08 Martin M. Hunt <hunt@redhat.com>
874
875 * win32-nat.c (cygwin_pid_to_str): Fix typo.
876 xaprintf -> xasprintf.
877
4e52d31c
PM
8782002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
879
880 * win32-nat.c: Remove use of printf and sprintf functions.
881
39bbf761
RE
8822002-02-08 Richard Earnshaw <rearnsha@arm.com>
883
884 * arm-tdep.c (arm_frame_chain_valid): Make static.
885 (arm_push_arguments): Likewise.
886 (arm_gdbarch_init): New function.
887 (_initialize_arm_tdep): Call it.
888 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
889 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
890 (FRAME_CHAIN_VALID): Delete.
891 (arm_frame_chain_valid): Delete declaration.
892 (PUSH_ARGUMENTS): Delete.
893 (arm_push_arguments): Delete declaration.
894 (CALL_DUMMY_P): Delete.
895
9c9532c9
CV
8962002-02-08 Andrew Cagney <ac131313@redhat.com>
897 Corinna Vinschen <vinschen@redhat.com>
898
899 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
900 on builtin float types.
901
4e8f7a8b
DJ
9022002-02-08 Daniel Jacobowitz <drow@mvista.com>
903
904 * utils.c: Include <curses.h> before "bfd.h".
905 * tui/tui-hooks.c: Likewise.
906 * tui/tui.c: Likewise.
907 * tui/tuiCommand.c: Likewise.
908 * tui/tuiData.c: Likewise.
909 * tui/tuiDataWin.c: Likewise.
910 * tui/tuiDisassem.c: Likewise.
911 * tui/tuiGeneralWin.c: Likewise.
912 * tui/tuiIO.c: Likewise.
913 * tui/tuiLayout.c: Likewise.
914 * tui/tuiRegs.c: Likewise.
915 * tui/tuiSource.c: Likewise.
916 * tui/tuiSourceWin.c: Likewise.
917 * tui/tuiStack.c: Likewise.
918 * tui/tuiWin.c: Likewise.
919
cd4bffcf
EZ
9202002-02-07 Elena Zannoni <ezannoni@redhat.com>
921
922 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
923 to include space for pseudoregs as well. Update loops accordingly.
924 (sh_fp_frame_init_saved_regs): Ditto.
925 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
926
26806ce2
AC
9272002-02-07 Andrew Cagney <ac131313@redhat.com>
928
929 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
930 Add Richard Earnshaw to Arm maintainers.
931
97fdab62
AC
9322002-02-07 Andrew Cagney <ac131313@redhat.com>
933
a6b98203
AC
934 * defs.h (warning_begin): Delete declaration.
935
97fdab62
AC
936 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
937 Delete macro.
938
78b29b40
MS
9392002-02-07 Michael Snyder <msnyder@redhat.com>
940
aaa38bb5 941 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
942 Logic bug, remove misplaced else.
943
d8849953
KD
9442002-02-07 Klee Dienes <klee@apple.com>
945
946 * fork-inferior.c (fork_inferior): Add '!' to the list of
947 characters that need to be quoted when building a string for the
948 shell. Quote '!' specifically with a backslash, since CSH chokes
949 when trying to evaluate "str!str".
aaa38bb5 950
095778a0
NC
9512002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
952
953 * rdi-share/host.h: Only provide a typedef for bool if it is not
954 defined.
955
1900040c
MS
9562002-02-04 Michael Snyder <msnyder@redhat.com>
957
958 * breakpoint.h (enum bptype): Add new overlay event bp type.
959 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 960
1900040c
MS
961 * breakpoint.c (create_internal_breakpoint): New function.
962 (internal_breakpoint_number): Moved into create_internal_breakpoint.
963 (create_longjmp_breakpoint): Use create_internal_breakpoint.
964 (create_thread_event_breakpoint): Ditto.
965 (create_solib_event_breakpoint): Ditto.
966 (create_overlay_event_breakpoint): New function.
967 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
968 (update_breakpoints_after_exec): Delete and re-initialize
969 overlay event breakpoints after an exec. Add FIXME comment
970 about longjmp breakpoint.
971 (print_it_typical): Ignore overlay event breakpoints.
972 (print_one_breakpoint): Ditto.
973 (mention): Ditto.
974 (bpstat_what): Do not stop for overlay event breakpoints.
975 (delete_breakpoint): Don't delete overlay event breakpoints.
976 (breakpoint_re_set_one): Delete the overlay event breakpoint.
977 (breakpoint_re_set): Re-create overlay event breakpoint.
978
979 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
980 (overlay_manual_command): Disable overlay breakpoints.
981 (overlay_off_command): Disable overlay breakpoints.
982
082fc60d
RE
9832002-02-06 Richard Earnshaw <rearnsha@arm.com>
984
985 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
986 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
987 to here from config/tm-arm.h.
988 (coff_sym_is_thumb): Make static.
989 (arm_elf_make_msymbol_special): New function.
990 (arm_coff_make_msymbol_special): New function.
991 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
992 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
993 (coff_sym_is_thumb): Delete declaration.
994 (arm_elf_make_msymbol_special): Declare.
995 (arm_coff_make_msymbol_special): Declare.
996 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
997 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
998
039c5766
RE
9992002-02-06 Richard Earnshaw <rearnsha@arm.com>
1000
1001 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
1002
10032002-02-06 Richard Earnshaw <rearnsha@arm.com>
1004
1005 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
1006 * gdbarch.c gdbarch.h: Regenerate.
1007 * arch-utils.c (default_print_float_info): New function.
1008 * arch-utils.h (default_print_float_info): Prototype it.
1009 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
1010 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
1011 (PRINT_FLOAT_INFO): Document it.
1012
1013 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
1014 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
1015 (PRINT_FLOAT_INFO): Define.
1016
58fa08f0
PM
10172002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
1018
aaa38bb5 1019 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
1020 Add typecast to sprintf argument to suppress a warning.
1021
7393af7c
PM
10222002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
1023
58fa08f0 1024 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
1025 to allow easier handling of pass state.
1026 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
1027 that gives exception name and address.
1028 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 1029 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 1030 exceptions added.
aaa38bb5
AJ
1031 (child_continue): Correctly report continue_status.
1032 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 1033 TARGET_SIGNAL_0 (new default value).
aaa38bb5 1034 (child_resume): consider sig argument passed to decide if
7393af7c
PM
1035 the exception should be passed to debuggee or not.
1036
6af4589c
MS
10372002-02-05 Michael Snyder <msnyder@redhat.com>
1038
1039 * regcache.c (fetch_register): Call target_fetch_register
1040 only if we don't call FETCH_PSEUDO_REGISTER.
1041 (store_register): Call target_store_register only if we
1042 don't call STORE_PSEUDO_REGISTER.
1043
a2cf933a
EZ
10442002-02-05 Elena Zannoni <ezannoni@redhat.com>
1045
1046 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
1047 ELF_MAKE_MSYMBOL_SPECIAL.
1048 * gdbarch.c, gdbarch.h: Regenerate.
1049 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 1050 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
1051 * elfread.c (elf_symtab_read): Compile use of
1052 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
1053 multiarched.
1054 * coffread.c (coff_symtab_read): Ditto, for
1055 COFF_MAKE_MSYMBOL_SPECIAL.
1056
6bb7be43
JB
10572002-02-05 Jim Blandy <jimb@redhat.com>
1058
1059 * solib-svr4.c (svr4_truncate_ptr): New function.
1060 (svr4_relocate_section_addresses): Do the address arithmetic with
1061 the appropriate truncation for target addresses, even when
1062 CORE_ADDR is larger than a target address.
1063
e18651ec
DJ
10642002-02-05 Daniel Jacobowitz <drow@mvista.com>
1065
1066 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
1067 to (int *).
1068
6b2725be
DJ
10692002-02-05 Daniel Jacobowitz <drow@mvista.com>
1070
1071 * gdbserver/linux-low.c (kill_inferior): Remove commented out
1072 code.
1073
fca9e603
DJ
10742002-02-05 Daniel Jacobowitz <drow@mvista.com>
1075
1076 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
1077
6c537a52
DJ
10782002-02-05 Daniel Jacobowitz <drow@mvista.com>
1079
1080 * gdbserver/linux-low.c: Remove unused include files.
1081
d844cde6
DJ
10822002-02-05 Daniel Jacobowitz <drow@mvista.com>
1083
1084 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
1085 (read_inferior_memory): Use it.
1086 (write_inferior_memory): Likewise.
1087
d07c63e7
DJ
10882002-02-05 Daniel Jacobowitz <drow@mvista.com>
1089
1090 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
1091 grubbing through sys_errlist.
1092
da6d8c04
DJ
10932002-02-05 Daniel Jacobowitz <drow@mvista.com>
1094
1095 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
1096
5b421780
PM
10972002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1098 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
1099
9f60d481
AC
11002002-02-04 Andrew Cagney <ac131313@redhat.com>
1101
1102 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
1103 (do_sfunc, set_cmd_sfunc): New functions.
1104
1105 * command.h (struct cmd_list_element): Add field func.
1106 * cli/cli-decode.h (struct cmd_list_element): Ditto.
1107 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
1108 * cli/cli-decode.h: Ditto.
1109
1110 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
1111 (help_all, help_cmd_list): Ditto.
1112 (find_cmd, complete_on_cmdlist): Ditto.
1113 * top.c (execute_command): Ditto.
1114
1115 * cli/cli-setshow.c (do_setshow_command): Call func instead of
1116 function.sfunc.
1117
1118 * infcmd.c (notice_args_read): Fix function signature.
1119
1120 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
1121 * cli/cli-decode.c (add_set_cmd): Ditto.
1122 * utils.c (initialize_utils): Ditto.
1123 * maint.c (_initialize_maint_cmds): Ditto.
1124 * infrun.c (_initialize_infrun): Ditto.
1125 * demangle.c (_initialize_demangler): Ditto.
1126 * remote.c (add_packet_config_cmd): Ditto.
1127 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1128 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1129 * proc-api.c (_initialize_proc_api): Ditto.
1130 * kod.c (_initialize_kod): Ditto.
1131 * valprint.c (_initialize_valprint): Ditto.
1132 * top.c (init_main): Ditto.
1133 * infcmd.c (_initialize_infcmd): Ditto.
1134 * corefile.c (_initialize_core): Ditto.
1135 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1136 * arch-utils.c (initialize_current_architecture): Ditto.
1137 (_initialize_gdbarch_utils): Ditto.
1138 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1139
1140 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
1141 * wince.c (_initialize_inftarg): Ditto.
1142 * symfile.c (_initialize_symfile): Ditto.
1143 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1144 * language.c (_initialize_language): Ditto.
1145 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1146
f9ba0717
MS
11472002-02-04 Michael Snyder <msnyder@redhat.com>
1148
1149 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
1150
0c74b2a7
DJ
11512002-02-04 Daniel Jacobowitz <drow@mvista.com>
1152
1153 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
1154 Add rules for building the register data files.
1155
c638789f
DJ
11562002-02-04 Daniel Jacobowitz <drow@mvista.com>
1157
1158 * regformats/regdat.sh: Add braces to the definition of
1159 expedite_regs_${arch}.
1160
db253027
DJ
11612002-02-04 Daniel Jacobowitz <drow@mvista.com>
1162
1163 * regformats/regdef.h (struct reg): Add comment describing the
1164 requirements for offset and size fields.
1165
206be19c
AS
11662002-02-04 Andreas Schwab <schwab@suse.de>
1167
1168 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
1169 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
1170
181c1381
RE
11712002-02-04 Richard Earnshaw <rearnsha@arm.com>
1172
1173 * gdbarch.sh (copyright): Update years in generated header.
1174 (SMASH_TEXT_ADDRESS): Add rule.
db253027 1175 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
1176 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
1177 * dbxread.c: Likewise.
1178 * dwarfread.c: Likewise.
1179 * elfread.c: Likewise.
1180 * somread.c: Likewise.
1181
1182 * arm-tdep.c (arm_smash_text_address): New function.
1183 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
1184
fa4ba8da
PM
11852002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1186
1187 Add support for hardware watchpoints on win32 native.
aaa38bb5 1188 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 1189 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 1190 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
1191 of debug registers.
1192 (debug_registers_changed): New variable. Reflects when debug registers
1193 are changed and need to be written to inferior.
aaa38bb5 1194 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
1195 was set, used when new threads are created.
1196 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
1197 i386-nat code.
1198 (thread_rec): Set dr array if id is the thread of current_event .
1199 (child_continue, child_resume): Change the debug registers for all
1200 threads if debug_registers_changed.
1201 (child_add_thread): Change the debug registers if debug_registers_used.
1202 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1203 Link nm.h to new nm-cygwin.h file.
1204 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1205 of hardware registers.
1206
a73c86fb
AC
12072002-02-03 Andrew Cagney <ac131313@redhat.com>
1208
1209 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1210 Restore behavour broken by 2002-01-20 Andrew Cagney
1211 <ac131313@redhat.com> IEEE_FLOAT removal.
1212
acf5ed49
DJ
12132002-02-03 Daniel Jacobowitz <drow@mvista.com>
1214
1215 * c-valprint.c (c_val_print): Pass a proper valaddr to
1216 cp_print_class_method.
1217 * valops.c (search_struct_method): If there is only one method
1218 and args is NULL, return that method.
1219
493d28d5
DJ
12202002-02-03 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1223 accessing tag_name directly.
1224
7495dfdb
DJ
12252002-02-03 Daniel Jacobowitz <drow@mvista.com>
1226
1227 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1228 of accessing tag_name directly.
1229
dd6bda65
DJ
12302002-02-03 Daniel Jacobowitz <drow@mvista.com>
1231
1232 PR gdb/280
1233 * gdbtypes.c (replace_type): New function.
1234 * gdbtypes.h (replace_type): Add prototype.
1235 * stabsread.c (read_type): Use replace_type.
1236
88fe217c
RE
12372002-02-03 Richard Earnshaw <rearnsha@arm.com>
1238
1239 * Makefile.in (memattr.o): Add missing dependencies rule.
1240
e5d66720
PS
12412002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1242
1243 * breakpoint.c (break_at_finish_command): Really export.
1244 (break_at_finish_at_depth_command): Ditto.
1245 (tbreak_at_finish_command): Ditto.
1246 * hppa-tdep.c: Include completer.h.
1247 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1248 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1249
fffee0be
AC
12502002-02-01 Andrew Cagney <ac131313@redhat.com>
1251
1252 * utils.c (do_write): New function.
1253 (error_stream): Rewrite combining the code from error_begin and
1254 verror.
1255 (verror): Rewrite using error_stream.
1256 (error_begin): Delete function.
1257
255e7dbf
AC
12582002-02-01 Andrew Cagney <ac131313@redhat.com>
1259
1260 * utils.c (error_begin): Make static.
1261 * defs.h (error_begin): Delete declaration.
1262
1263 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1264 (decode_line_1): Use cplusplus_error instead of error_begin,
1265 cplusplus_hint and return_to_top_level.
1266 * coffread.c (coff_symfile_read): Use error instead of error_begin
1267 and return_to_top_level.
1268 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1269
ddfe3c15
AC
12702002-02-01 Andrew Cagney <ac131313@redhat.com>
1271
1272 * language.h (type_error, range_error): Make string parameter
1273 constant.
1274 * language.c (warning_pre_print): Delete extern declaration.
1275 * dwarfread.c (warning_pre_print): Ditto.
1276 * language.c (type_error, range_error): Rewrite to use verror and
1277 vwarning instead of warning_begin.
1278
03ac34d5
MS
12792002-02-01 Michael Snyder <msnyder@redhat.com>
1280
261c4ca2
MS
1281 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1282 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 1283
e00d1dc8
AC
12842002-02-01 Andrew Cagney <ac131313@redhat.com>
1285
1286 * command.h (NO_FUNCTION): Delete macro.
1287 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1288 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1289 * tracepoint.c (_initialize_tracepoint): Ditto.
1290 * cli/cli-decode.c (add_set_cmd): Ditto.
1291 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 1292
76b79d6e
DJ
12932002-02-01 Daniel Jacobowitz <drow@mvista.com>
1294
1295 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1296 Update ``this'' pointer when calling virtual functions.
1297
799f9e91
MS
12982002-02-01 Michael Snyder <msnyder@redhat.com>
1299
c7bd442c 1300 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
1301 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1302
3cf384d4
DJ
13032002-02-01 Daniel Jacobowitz <drow@mvista.com>
1304
1305 * regformats/reg-arm.dat: New file.
1306 * regformats/reg-i386.dat: New file.
1307 * regformats/reg-ia64.dat: New file.
1308 * regformats/reg-m68k.dat: New file.
1309 * regformats/reg-mips.dat: New file.
1310 * regformats/reg-ppc.dat: New file.
1311 * regformats/reg-sh.dat: New file.
1312 * regformats/regdef.h: New file.
1313 * regformats/regdat.sh: New file.
1314
0defa245
RE
13152002-02-01 Richard Earnshaw <reanrsha@arm.com>
1316
1317 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1318 (arm_frame_args_address, arm_frame_locals_address): New functions.
1319 (arm_frame_num_args): New function.
1320 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1321 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1322 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1323
405f26e6
MS
13242002-01-31 Michael Snyder <msnyder@redhat.com>
1325
502fd408
MS
1326 * breakpoint.c (break_at_finish_command): Export.
1327 (break_at_finish_at_depth_command): Export.
1328 (tbreak_at_finish_command): Export.
1329 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1330 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1331 "tbreak" commands, which are HPPA specific.
1332
7d35e135
MS
1333 * printcmd.c (disassemble_command): Remove an ancient
1334 artifact of an old merge.
1335
aaa38bb5 1336 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
1337 Define enum constant values for overlay mode.
1338 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
1339 (overlay_is_mapped, overlay_auto_command,
1340 overlay_manual_command): Ditto.
d874f1e2 1341
aaa38bb5
AJ
1342 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1343 breakpoint_here_p, breakpoint_inserted_here_p,
1344 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
1345 describe_other_breakpoints, check_duplicates, clear_command):
1346 Coding standard fixes.
1347
8add0441 1348 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 1349 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
1350 code: check bfd SEC_READONLY flag for section.
1351
e351066e
AC
13522002-01-31 Andrew Cagney <ac131313@redhat.com>
1353
7d35e135 1354 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 1355
8a48e967
DJ
13562002-01-30 Daniel Jacobowitz <drow@mvista.com>
1357
1358 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
1359 data symbols, since we search based on textlow and texthigh.
1360 (find_pc_sect_symtab): Likewise.
1361
f5a96129
AC
13622002-01-30 Andrew Cagney <ac131313@redhat.com>
1363
1364 * defs.h (vwarning): Declare.
f5a96129
AC
1365 * utils.c (vwarning): New function.
1366 (warning): Call vwarning.
1367 (warning_begin): Delete function.
1368
1369 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
1370 the warning message.
1371 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
1372 warning_begin.
1373
cefd4ef5
MS
13742002-01-30 Michael Snyder <msnyder@redhat.com>
1375
1a703748
MS
1376 * NEWS: Mention "set trust-readonly-sections" command.
1377 Mention generate-core-file command.
cefd4ef5 1378
3a11626d
MS
13792002-01-15 Michael Snyder <msnyder@redhat.com>
1380
1381 * target.c: New command, "set trust-readonly-sections on".
1382 (do_xfer_memory): Honor the suggestion to trust readonly sections
1383 by reading them from the object file instead of from the target.
1384 (initialize_targets): Register command "set trust-readonly-sections".
1385
d1c7e53b
AC
13862002-01-29 Andrew Cagney <ac131313@redhat.com>
1387
1388 * parse.c (target_map_name_to_register): Simplify, search regs and
1389 pseudo-regs using a single loop.
1390
e2c9a72c
AC
13912002-01-30 Andrew Cagney <ac131313@redhat.com>
1392
1393 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
1394
69824b4e
MK
13952002-01-15 Rodney Brown <rbrown64@csc.com.au>
1396
1397 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
1398 * config/i386/i386v42mp.mh: Add i387-nat.o .
1399 * i386v4-nat.c: Include i387-nat.h.
1400 (supply_fpregset): Use i387_supply_fsave.
1401 (fill_fpregset): Use i387_fill_fsave.
1402
6eb69eab
RE
14032002-01-30 Richard Earnshaw <rearnsha@arm.com>
1404
1405 * arm-tdep.c (arm_call_dummy_words): Define.
1406 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
1407 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
1408 (CALL_DUMMY_WORDS): Define.
1409 (arm_call_dummy_words): Declare.
1410 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
1411 (arm_linux_call_dummy_words): Declare.
1412
9852326a
AS
14132002-01-30 Andreas Schwab <schwab@suse.de>
1414
1415 * m68klinux-nat.c: Fix last change to use regcache_collect
1416 instead of referencing registers[] directly.
1417
977a3030
AC
14182002-01-29 Andrew Cagney <ac131313@redhat.com>
1419
1420 * parse.c (target_map_name_to_register): Delete code wrapped in
1421 #ifdef REGISTER_NAME_ALIAS_HOOK.
1422
2076c72b
MS
14232002-01-28 Michael Snyder <msnyder@redhat.com>
1424
1425 * regcache.c (legacy_read_register_gen): Need to be able to
1426 read pseudo-register as well as real register.
1427 (legacy_write_register_gen): Ditto.
1428
8fcc723b
AC
14292002-01-28 Andrew Cagney <ac131313@redhat.com>
1430
1431 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1432 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
1433 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
1434 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
1435 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
1436 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
1437 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
1438 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
1439 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
1440 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1441 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
1442 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
1443 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
1444 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
1445 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
1446 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
1447 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
1448 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
1449 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
1450 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
1451
afe64c1a
AC
14522002-01-28 Andrew Cagney <ac131313@redhat.com>
1453
1454 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
1455 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
1456 (initialize_current_architecture): Update target_byte_order using
1457 information from BFD.
aaa38bb5 1458 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
1459 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
1460
75bc7ddf
AC
14612002-01-28 Andrew Cagney <ac131313@redhat.com>
1462
1463 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
1464 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
1465
1466 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
1467 #ifdef INVALID_FLOAT.
1468 * infcmd.c (do_registers_info): Ditto.
1469 * values.c (unpack_double): Ditto. Add comment.
1470
1471 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
1472 already commented out.
1473
0280a90a
AS
14742002-01-26 Andreas Schwab <schwab@suse.de>
1475
1476 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
1477 * m68klinux-nat.c: Update ptrace interface for fetching/storing
1478 registers and add support for PTRACE_GETREGS.
1479
7072a954
AC
14802002-01-24 Andrew Cagney <ac131313@redhat.com>
1481
1482 GDB 5.1.1 released from 5.1 branch.
1483 * NEWS: Add 5.1.1 news.
1484 * README: Sync with 5.1 branch.
1485
86f902e0
FF
14862002-01-23 Fred Fish <fnf@redhat.com>
1487
1488 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
1489 stabstring on initial malloc. Reallocing will copy it for us,
1490 if necessary.
1491
8af51c36
EZ
14922002-01-23 Elena Zannoni <ezannoni@redhat.com>
1493
aaa38bb5 1494 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
1495 (HFILES_NO_SRCDIR): Remove hpread.h.
1496 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
1497 (hpread.o): Update dependencies.
1498 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
1499
1500 * hp-psymtab-read.c: Remove file.
1501 * hp-symtab-read.c: Remove file.
1502 * hpread.h: Remove file.
1503
1504 * hpread.c: Merge all contents of hp-psymtab-read.c,
1505 hp-symtab-read.c and hpread.h into this file, as it was prior to
1506 January 1999.
1507
1508 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 1509 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
1510 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
1511 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
1512
dc5cfeb6
EZ
15132002-01-23 Elena Zannoni <ezannoni@redhat.com>
1514
1515 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
1516 fill_gregset): Call gdbarch_tdep() just once, assign result to
1517 variable and use that, instead of calling the function several
1518 times.
1519
ea87b71b
AO
15202002-01-24 Alexandre Oliva <aoliva@redhat.com>
1521
1522 * configure.host: Accept sparcv9 as alias for sparc64.
1523 * configure.tgt: Likewise.
1524
13fc0c2f
KB
15252002-01-22 Kevin Buettner <kevinb@redhat.com>
1526
1527 * solib-aix5.c (build_so_list_from_mapfile)
1528 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
1529 arguments is not reversed.
1530 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
1531 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 1532
7bd872fe
EZ
15332002-01-22 Elena Zannoni <ezannoni@redhat.com>
1534
1535 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
1536 modified version of obsolete sh_fetch_pseudo_register.
1537 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
1538 (sh4_register_read): New function.
1539 (sh_pseudo_register_write): New function. Renamed and modified
1540 version of obsolete sh_store_pseudo_register.
1541 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
1542 (sh4_register_write): New function.
1543 (sh_gdbarch_init): Remove setting of gdbarch function
1544 fetch_pseudo_register and store_pseudo_register. Remove setting of
1545 register_convert_to_raw, register_convert_to_virtual,
1546 register_convertible.
1547 (sh_sh4_register_convertible): Delete. No longer needed. All is
1548 taken care by architecture specific functions
1549 register_read/register_write.
1550 (sh_sh4_register_convert_to_virtual): Make static.
1551 (sh_sh4_register_convert_to_raw): Ditto.
1552
069e84fd
AC
15532002-01-22 Andrew Cagney <ac131313@redhat.com>
1554
1555 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
1556 (floatformat_is_nan, floatformat_mantissa): Ditto.
1557
1558 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
1559 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
1560 builtin_type_ieee_double_little,
1561 builtin_type_ieee_double_littlebyte_bigword,
1562 builtin_type_m68881_ext, builtin_type_i960_ext,
1563 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
1564 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
1565 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
1566 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
1567
211a4f69
CV
15682002-01-22 Corinna Vinschen <vinschen@redhat.com>
1569
1570 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
1571 parameter. Set frameless flag if it exists and depended of
1572 whether the scanned function is frameless or not.
1573 (xstormy16_skip_prologue): If function is frameless, return
1574 result of xstormy16_scan_prologue().
1575 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
1576 call.
1577
f81353e4
EZ
15782002-01-21 Elena Zannoni <ezannoni@redhat.com>
1579
1580 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
1581 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1582 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
1583 sh_sh4_register_byte, sh_sh4_register_raw_size,
1584 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
1585 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
1586 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
1587 sh_store_pseudo_register, sh_do_pseudo_register): Call
1588 gdbarch_tdep() just once, assign result to variable and use that,
1589 instead of calling the function several times.
1590
63c73a17
MK
15912002-01-20 Mark Kettenis <kettenis@gnu.org>
1592
1593 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
1594 macros instead of LAST_FPU_CTRL_REGNUM.
1595 (store_register): Likewise.
1596
39ad761d
JB
15972002-01-21 Jim Blandy <jimb@redhat.com>
1598
1599 * infcmd.c (run_command): Check that the `exec' target layer's BFD
1600 is up-to-date before running the program, not just when a program
1601 exits.
1602
3d74b771
FF
16032002-01-21 Fred Fish <fnf@redhat.com>
1604
1605 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
1606 when we have found all instructions we are looking for.
1607
966fbf70
RE
16082002-01-21 Richard Earnshaw <rearnsha@arm.com>
1609
1610 * arm-tdep.c (arm_register_name): New function.
1611 (arm_registers_names): Make static.
1612 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
1613 (arm_register_name): Declare.
1614 (REGISTER_NAME): Use it.
1615
c3b4394c
RE
16162002-01-21 Richard Earnshaw <rearnsha@arm.com>
1617 Kevin Buettner <kevinb@redhat.com>
1618
1619 Convert arm targets to new FRAME interface.
1620 * arm-tdep.c (struct frame_extra_info): Remove fsr.
1621 (arm_frame_find_save_regs): Delete.
1622 (arm_frame_init_saved_regs): New.
1623 (arm_init_extra_frame_info): Alloacte saved_regs as required.
1624 Allocate extra_info as required. Convert all uses of fsr.regs
1625 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
1626 to use extra_info.
1627 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
1628 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
1629 (check_prologue_cache, save_prologue_cache): Likewise.
1630 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
1631 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
1632 (FRAME_FIND_SAVED_REGS): Delete.
1633 (arm_frame_find_saved_regs): Delete prototype.
1634 (arm_frame_init_saved_regs): New prototype.
1635 (FRAME_INIT_SAVED_REGS): Define.
1636
61d99182
AC
16372002-01-20 Andrew Cagney <ac131313@redhat.com>
1638
1639 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
1640
6aaea291
AC
16412002-01-20 Andrew Cagney <ac131313@redhat.com>
1642
1643 From Jeff Law <law@redhat.com>:
1644 * infttrace.c: Include <sys/pstat.h>.
1645 (child_pid_to_exec_file): Revamp. Use pstat call to get the
1646 exec file if the ttrace equivalent fails.
1647
15f698d2
AC
16482002-01-20 Andrew Cagney <ac131313@redhat.com>
1649
1650 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
1651 (closeLogFile): Ditto.
1652
f86ddd7c
MC
16532002-01-20 Michael Chastain <mec@shout.net>
1654
1655 * top.c (print_gdb_version): Bump copyright year to 2002.
1656
904507ce
AC
16572002-01-20 Andrew Cagney <ac131313@redhat.com>
1658
1659 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
1660 Zannoni and Eli Zaretskii.
1661
d7f0b9ce
DJ
16622002-01-20 Daniel Jacobowitz <drow@mvista.com>
1663
1664 * buildsym.c: Update copyright years.
1665 * c-typeprint.c: Likewise.
1666 * dwarf2read.c: Likewise.
1667 * f-typeprint.c: Likewise.
1668 * gdbtypes.c: Likewise.
1669 * gdbtypes.h: Likewise.
1670 * hp-symtab-read.c: Likewise.
1671 * hpread.c: Likewise.
1672 * mdebugread.c: Likewise.
1673 * p-typeprint.c: Likewise.
1674
3fd3d7d2
AC
16752002-01-20 Andrew Cagney <ac131313@redhat.com>
1676
1677 * remote-sim.c (gdbsim_open): Simplify code testing the macro
1678 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
1679 byte-order selectable.
1680 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
1681 * arch-utils.c: Ditto.
1682 (set_endian): Ditto.
1683 (set_endian_from_file): Ditto.
1684 * gdbserver/low-sim.c (create_inferior): Ditto.
1685 * gdbarch.sh: Ditto.
1686 * gdbarch.h: Re-generate.
aaa38bb5
AJ
1687 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1688 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
1689 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
1690 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1691 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1692 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1693 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
1694 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
1695 macro definition.
1696 * config/mips/tm-wince.h: Remove #undef of macro
1697 TARGET_BYTE_ORDER_SELECTABLE.
1698 * config/sh/tm-wince.h: Ditto.
1699
b02dede2
DJ
17002002-01-20 Daniel Jacobowitz <drow@mvista.com>
1701
1702 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
1703 member function fields. Add accessor macro
1704 TYPE_FN_FIELD_ARTIFICIAL.
1705 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
1706 * c-typeprint.c (c_type_print_base): Skip artificial member
1707 functions.
1708
c3643761
DJ
17092002-01-20 Daniel Jacobowitz <drow@mvista.com>
1710
1711 * f-typeprint.c: Delete unused function f_type_print_args.
1712 * p-typeprint.c: Delete unused function pascal_type_print_args.
1713
8176bb6d
DJ
17142002-01-20 Daniel Jacobowitz <drow@mvista.com>
1715
1716 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
1717 comment. Add ``artificial'' to ``union field_location''.
1718
1719 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
1720
1721 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
1722 * mdebugread.c (parse_symbol): Likewise.
1723 * stabsread.c (define_symbol): Likewise.
1724 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
1725 initializing TYPE_FIELD_BITPOS to n (obsolete).
1726 (hpread_doc_function_type): Likewise.
1727 * hpread.c (hpread_function_type): Likewise.
1728
7fd60527
AC
17292002-01-20 Andrew Cagney <ac131313@redhat.com>
1730
1731 * configure.in (host_makefile_frag): Only require a host makefile
1732 fragment when a native build.
1733 * configure: Re-generate.
1734
c2f05ac9
AC
17352002-01-20 Andrew Cagney <ac131313@redhat.com>
1736
1737 * doublest.h (floatformat_from_type): Declare.
1738 * doublest.c (floatformat_from_type): New function.
1739 (convert_typed_floating): Use.
1740
1741 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
1742 call to function floatformat_from_type.
1743
1744 * gdbarch.sh (IEEE_FLOAT): Delete.
1745 * gdbarch.h, gdbarch.c: Re-generate.
1746 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
1747 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
1748 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
1749 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
1750 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
1751 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
1752 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
1753 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
1754 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
1755 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
1756 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
1757 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
1758
1759 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
1760 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
1761 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1762 * sh-tdep.c (sh_gdbarch_init): Ditto.
1763 * mips-tdep.c (mips_gdbarch_init): Ditto.
1764 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1765 * cris-tdep.c (cris_gdbarch_init): Ditto.
1766
abf22e64
AJ
17672002-01-20 Jiri Smid <smid@suse.cz>
1768
1769 * configure.host, configure.tgt: Support x86-64.
1770 * NEWS: Note new target x86-64.
1771
b7c4cbf8
AJ
1772 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
1773 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
1774 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
1775 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
1776 x86-64-linux-nat.o): Fix dependencies.
1777
82600034
AC
17782002-01-19 Andrew Cagney <ac131313@redhat.com>
1779
1780 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
1781 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
1782 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
1783 * config/sparc/xm-sun4os4.h: Delete file.
1784 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 1785
bbe5c628
AC
17862002-01-19 Andrew Cagney <ac131313@redhat.com>
1787
1788 * config/sparc/sparclynx.mh (XM_FILE): Delete.
1789 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
1790 * config/m68k/m68klynx.mh (XM_FILE): Delete.
1791 * config/i386/i386lynx.mh (XM_FILE): Delete.
1792 * config/rs6000/xm-rs6000ly.h: Delete file.
1793 * config/sparc/xm-sparclynx.h: Delete file.
1794 * config/m68k/xm-m68klynx.h: Delete file.
1795 * config/i386/xm-i386lynx.h: Delete file.
1796 * config/xm-lynx.h: Delete file.
1797 * config/djgpp/fnchange.lst: Update.
1798
f8453e34
JT
17992002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1800
1801 * alpha-tdep.c (alpha_register_byte): New function.
1802 (alpha_register_raw_size): Ditto.
1803 (alpha_register_virtual_size): Ditto.
1804 (alpha_skip_prologue_internal): Renamed from
1805 alpha_skip_prologue.
1806 (alpha_skip_prologue): New version that calls
1807 alpha_skip_prologue_internal.
1808 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
1809 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
1810 second argument from alpha_skip_prologue.
1811 (REGISTER_BYTE): Use alpha_register_byte.
1812 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
1813 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
1814 (FRAMELESS_FUNCTION_INVOCATION): Use
1815 generic_frameless_function_invocation_not.
1816 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
1817 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
1818
52d9e613
AC
18192002-01-19 Andrew Cagney <ac131313@redhat.com>
1820
1821 * config/mips/xm-news-mips.h: Delete file.
1822 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
1823
1824 * config/m88k/xm-m88k.h: Delete file.
1825 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
1826 * config/m88k/xm-delta88v4.h: Ditto.
1827 * config/m88k/xm-delta88.h: Ditto.
1828
1829 * config/alpha/xm-fbsd.h: Delete file.
1830 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
1831
1832 * config/sparc/xm-sparc.h: Delete file.
1833 * Makefile.in (xm-sun4os4.h): Delete dependency.
1834 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
1835 * config/sparc/xm-sun4os4.h: Ditto.
1836 * config/sparc/xm-linux.h: Ditto.
1837
1838 * config/i386/xm-windows.h: Delete file.
1839
2d1b2124
AC
18402002-01-19 Andrew Cagney <ac131313@redhat.com>
1841
1842 * utils.c: Include <sys/param.h> for MAXPATHLEN.
1843 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
1844
ee1f65f0
JT
18452002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1846
1847 * alpha-tdep.c (alpha_call_dummy_words): New.
1848 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
1849 (CALL_DUMMY_P): Define.
1850 (CALL_DUMMY_WORDS): Define.
1851 (SIZEOF_CALL_DUMMY_WORDS): Define.
1852
98081e55
PB
18532002-01-19 Per Bothner <per@bothner.com>
1854
1855 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
1856 isn't NULL, which can happen with some gcj-3.x-produced code.
1857
0d056799
JT
18582002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1859
1860 * alpha-tdep.c (alpha_register_virtual_type): New function.
1861 (alpha_init_frame_pc_first): Ditto.
1862 (alpha_fix_call_dummy): Ditto.
1863 (alpha_store_struct_return): Ditto.
1864 (alpha_extract_struct_value_address): Ditto.
1865 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
1866 alpha_register_virtual_type.
1867 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
1868 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
1869 alpha_extract_struct_value_address.
1870 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
1871 (INIT_FRAME_PC): Use init_frame_pc_noop.
1872 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
1873
4604bcad
MK
18742002-01-19 Mark Kettenis <kettenis@gnu.org>
1875
1876 * i386gnu-nat.c: Include "i386-tdep.h".
1877 (fetch_fpregs): Simplify code dealing with uninitialized floating
1878 point states such that it doesn't require FP7_REGNUM.
1879
140f9984
JT
18802002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1881
abf22e64
AJ
1882 * alpha-tdep.c (frame_extra_info): New.
1883 (alpha_find_saved_regs): Make static. Use
140f9984
JT
1884 frame->extra_info.
1885 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
1886 (alpha_frame_saved_pc): Use frame->extra_info.
1887 (temp_saved_regs): Don't declare as struct frame_saved_regs.
1888 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
1889 (init_extra_frame_info): Rename to...
1890 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 1891 (alpha_print_extra_frame_info): New function.
140f9984
JT
1892 (alpha_frame_locals_address): Ditto.
1893 (alpha_frame_args_address): Ditto.
abf22e64 1894 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
1895 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
1896 alpha_frame_args_address.
abf22e64 1897 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 1898 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
1899 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
1900 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
1901 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
1902 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
1903
d734c450
JT
19042002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1905
1906 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
1907 (alpha_cannot_fetch_register): Ditto.
1908 (alpha_cannot_store_register): Ditto.
1909 (alpha_register_convertible): Ditto.
1910 (alpha_use_struct_convention): Ditto.
1911 * config/alpha/tm-alpha.h: Update copyright years.
1912 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
1913 (INNER_THAN): Use core_addr_lessthan.
1914 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
1915 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
1916 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
1917 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
1918 (FRAME_CHAIN): Remove unnecessary cast.
1919
b4ceaee6
AC
19202002-01-18 Andrew Cagney <ac131313@redhat.com>
1921
1922 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
1923 obsolete.
1924
0a65a603
AC
19252002-01-18 Andrew Cagney <ac131313@redhat.com>
1926
1927 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
1928 * monitor.c, remote-array.c, remote-bug.c: Ditto.
1929 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
1930 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
1931 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
1932 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
1933 * x86-64-linux-nat.c: Ditto.
1934
636a6dfc
JT
19352002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1936
abf22e64 1937 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
1938 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
1939 (REGISTER_NAME): Define.
1940
acceddb6
JT
19412002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1942
1943 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
1944
ec32e4be
JT
19452002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1946
1947 * alpha-tdep.c: Update copyright years.
1948 (alpha_next_pc): New function.
1949 (alpha_software_single_step): Ditto.
1950 * config/alpha/tm-alpha.h: Add prototype for
1951 alpha_software_single_step.
1952
e771a871
JT
19532002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1954
1955 * alphabsd-nat.c: Update copyright years.
1956 (fill_gregset): Use regcache_collect.
1957 (fill_fpregset): Likewise.
1958 (fetch_inferior_registers): Only fetch integer registers
1959 if requested to do so.
1960 (store_inferior_registers): Only store integer registers
1961 if requested to do so.
1962
7708fa01
AC
19632002-01-17 Andrew Cagney <ac131313@redhat.com>
1964
1965 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
1966 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
1967 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
1968 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
1969 * config/alpha/fbsd.mh (XDEPFILES): Delete.
1970 * config/arm/linux.mh (XDEPFILES): Delete.
1971 * config/arm/nbsd.mh (XDEPFILES): Delete.
1972 * config/i386/i386dgux.mh (XDEPFILES): Delete.
1973 * config/i386/i386sol2.mh (XDEPFILES): Delete.
1974 * config/i386/i386m3.mh (XDEPFILES): Delete.
1975 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
1976 * config/i386/i386gnu.mh (XDEPFILES): Delete.
1977 * config/i386/fbsd.mh (XDEPFILES): Delete.
1978 * config/i386/i386bsd.mh (XDEPFILES): Delete.
1979 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1980 * config/i386/i386v4.mh (XDEPFILES): Delete.
1981 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1982 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1983 * config/i386/i386aix.mh (XDEPFILES): Delete.
1984 * config/i386/go32.mh (XDEPFILES): Delete.
1985 * config/i386/cygwin.mh (XDEPFILES): Delete.
1986 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1987 * config/i386/i386mach.mh (XDEPFILES): Delete.
1988 * config/i386/i386v32.mh (XDEPFILES): Delete.
1989 * config/i386/linux.mh (XDEPFILES): Delete.
1990 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1991 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1992 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1993 * config/i386/i386sco.mh (XDEPFILES): Delete.
1994 * config/i386/i386v.mh (XDEPFILES): Delete.
1995 * config/i386/nbsd.mh (XDEPFILES): Delete.
1996 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1997 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1998 * config/i386/symmetry.mh (XDEPFILES): Delete.
1999 * config/i386/obsd.mh (XDEPFILES): Delete.
2000 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
2001 * config/ia64/linux.mh (XDEPFILES): Delete.
2002 * config/ia64/aix.mh (XDEPFILES): Delete.
2003 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
2004 * config/m68k/dpx2.mh (XDEPFILES): Delete.
2005 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
2006 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
2007 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
2008 * config/m68k/linux.mh (XDEPFILES): Delete.
2009 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
2010 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
2011 * config/m68k/nbsd.mh (XDEPFILES): Delete.
2012 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
2013 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
2014 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
2015 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
2016 * config/m88k/delta88.mh (XDEPFILES): Delete.
2017 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
2018 * config/m88k/m88k.mh (XDEPFILES): Delete.
2019 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
2020 * config/mips/linux.mh (XDEPFILES): Delete.
2021 * config/mips/irix6.mh (XDEPFILES): Delete.
2022 * config/mips/irix5.mh (XDEPFILES): Delete.
2023 * config/mips/irix4.mh (XDEPFILES): Delete.
2024 * config/mips/irix3.mh (XDEPFILES): Delete.
2025 * config/mips/decstation.mh (XDEPFILES): Delete.
2026 * config/mips/mipsm3.mh (XDEPFILES): Delete.
2027 (NATDEPFILES): Move core-aout.o to here.
2028 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
2029 * config/pa/hpux1020.mh (XDEPFILES): Delete.
2030 * config/pa/hppabsd.mh (XDEPFILES): Delete.
2031 * config/pa/hppahpux.mh (XDEPFILES): Delete.
2032 * config/pa/hpux11w.mh (XDEPFILES): Delete.
2033 * config/pa/hppaosf.mh (XDEPFILES): Delete.
2034 * config/pa/hpux11.mh (XDEPFILES): Delete.
2035 * config/powerpc/aix.mh (XDEPFILES): Delete.
2036 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
2037 * config/powerpc/linux.mh (XDEPFILES): Delete.
2038 * config/romp/rtbsd.mh: Rename XDEPFILES.
2039 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
2040 * config/rs6000/aix4.mh (XDEPFILES): Delete.
2041 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
2042 * config/s390/s390.mh (XDEPFILES): Delete.
2043 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
2044 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
2045 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
2046 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
2047 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
2048 * config/sparc/nbsd.mh (XDEPFILES): Delete.
2049 * config/sparc/linux.mh (XDEPFILES): Delete.
2050 * config/vax/vaxult.mh (XDEPFILES): Delete.
2051 * config/vax/vaxult2.mh (XDEPFILES): Delete.
2052 * Makefile.in (DEPFILES): Remove XDEPFILES.
2053
375fc983
AC
20542002-01-17 Andrew Cagney <ac131313@redhat.com>
2055
2056 * utils.c (internal_verror): Fix comments, default is yes not no.
2057 Update queries to match. Default to quit and dump core.
2058
8926118c
AC
20592002-01-17 Andrew Cagney <ac131313@redhat.com>
2060
2061 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
2062 copyright.
2063 * defs.h, event-top.c, gdbcmd.h: Ditto.
2064 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
2065 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
2066 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
2067 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
2068 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
2069 * mi/mi-main.c:Ditto.
2070
2071 * stack.c, symfile.c: Update copyright.
2072
45b7b345
DJ
20732002-01-17 Daniel Jacobowitz <drow@mvista.com>
2074
db728ff7
DJ
2075 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
2076 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
2077 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
2078 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 2079
db728ff7
DJ
20802002-01-17 Daniel Jacobowitz <drow@mvista.com>
2081
2082 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
2083 * gdbserver/low-lynx.c (myattach): Likewise.
2084 * gdbserver/low-nbsd.c (myattach): Likewise.
2085 * gdbserver/low-sim.c (myattach): Likewise.
2086 * gdbserver/low-sparc.c (myattach): Likewise.
2087 * gdbserver/low-sun3.c (myattach): Likewise.
2088
2089 * gdbserver/low-linux.c (myattach): New function.
45b7b345 2090
db728ff7 2091 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
2092 (main): Handle "--attach".
2093
8de3c354
AC
20942002-01-16 Andrew Cagney <ac131313@redhat.com>
2095
2096 * MAINTAINERS (language support): Daniel Jacobwitz is C++
2097 maintainer.
2098
b0129042
DJ
20992002-01-15 Daniel Jacobowitz <drow@mvista.com>
2100
2101 * c-typeprint.c (is_type_conversion_operator): Add additional
2102 check for non-conversion operators.
2103
ba8679fb 21042002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
2105
2106 * linux-proc.c: Add "info proc" command, a la procfs.c.
2107 (read_mapping): New function, abstract and re-use code.
2108 (linux_find_memory_regions): Use new func read_mapping.
2109 (linux_info_proc_cmd): New function, implement "info proc".
2110 (_initialize_linux_proc): Add new command "info proc".
2111
e4f9b4d5
MS
21122002-01-15 Michael Snyder <msnyder@redhat.com>
2113
2114 * symfile.c (generic_load): Use bfd_map_over_sections method
2115 instead of manipulating bfd structure members directly.
2116 (add_section_size_callback): New function, bfd sections callback
2117 used by generic_load.
2118 (load_sections_callback): New function, bfd sections callback
2119 used by generic_load.
2120
08cf96df
EZ
21212002-01-15 Elena Zannoni <ezannoni@redhat.com>
2122
abf22e64 2123 [Based on work by Jim Blandy]
08cf96df
EZ
2124 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
2125 (builtin_type_vec128): Export.
2126 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
2127 types.
2128 (builtin_type_vec128): New builtin type for 128 bit vector
2129 registers.
2130 (build_gdbtypes): Initialize builtin_type_v16qi and
2131 builtin_type_v8hi. Create the vec128 register builtin type
2132 structure.
2133 (build_builtin_type_vec128): New function.
abf22e64 2134 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
2135 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
2136 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
2137 AltiVec register to new builtin type.
2138
d7242108
DJ
21392001-01-15 Daniel Jacobowitz <drow@mvista.com>
2140
2141 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
2142 to make_cv_type.
2143
4ee3352d
AC
21442002-01-14 Andrew Cagney <ac131313@redhat.com>
2145
2146 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
2147 CLEAN_UP_REGISTER_VALUE.
2148 * regcache.c (supply_register): Update only call.
2149
f015b2e7
AC
21502002-01-14 Andrew Cagney <ac131313@redhat.com>
2151
2152 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2153 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2154 a29k-*-vxworks* targets as obsolete.
2155
356ae49d
MS
21562002-01-14 Michael Snyder <msnyder@redhat.com>
2157
2158 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
2159 until we can resolve portability issues.
2160 * gregset.h: Remove references to fpxregs.
2161 * gcore.c (gcore_command): Initialize note_sec to NULL.
2162
ade8f45e
AC
21632002-01-13 Andrew Cagney <ac131313@redhat.com>
2164
2165 * signals.c (target_signal_to_name): Rewrite. Only use
2166 signals[].name when in bounds and non-NULL.
abf22e64 2167
89c49e7a
AC
21682002-01-13 Andrew Cagney <ac131313@redhat.com>
2169
2170 From Petr Ledvina <ledvinap@kae.zcu.cz>:
2171 * signals.c (target_signal_to_name): Verify that SIG is within the
2172 bounds of the signals array.
2173
4daa9f9f
AC
21742002-01-13 Andrew Cagney <ac131313@redhat.com>
2175
2176 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
2177
ba4bbdcb
KS
21782002-01-13 Keith Seitz <keiths@redhat.com>
2179
2180 * stack.c (print_frame_info_base): Print the frame's pc
2181 only if when print_frame_info_listing_hook is not defined.
2182
575bbeb6
KS
21832002-01-13 Keith Seitz <keiths@redhat.com>
2184
2185 * varobj.c (varobj_set_value): Make sure that there were no
2186 errors evaluating the object before attempting to set its
2187 value.
2188 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
2189 so this offset adjustment is no longer necessary.
2190 (create_child): Don't set the error flag if the child is
2191 a CPLUS_FAKE_CHILD.
2192 (value_of_child): If value_fetch_lazy fails, return NULL
2193 so that callers will be notified that an error occurred.
2194 (c_value_of_variable): Delay check of variable's validity
2195 until later. We actually want all structs and unions to have
2196 the value "{...}".
2197 Do not return "???" for variables which could not be evaluated.
2198 This error condition must be returned to the caller so that it
2199 can get the error condition from gdb.
2200 (cplus_name_of_child): Adjust index for vptr before figuring
2201 out the name of the child.
2202 (cplus_value_of_child): If a child's (real) parent is not valid,
2203 don't even bother trying to give a value for it. Just return
2204 an error. Change all instances in this function.
2205 (cplus_type_of_child): If our parent is one of the "fake"
2206 parents, we need to get at the type of the real parent, and
2207 derive the child's true type using this information.
2208
b76898ab
AC
22092002-01-13 Andrew Cagney <ac131313@redhat.com>
2210
2211 From 2002-01-09 John Marshall <johnm@falch.net>:
2212 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2213 sources.redhat.com, and tweak some related URLs which had
2214 suffered from linkrot.
2215
b6649e88
AC
22162002-01-13 Andrew Cagney <ac131313@redhat.com>
2217
2218 From Jeff law:
2219 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2220 structures passed in registers.
2221
82cc5033
EZ
22222002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2223
2224 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2225 white space which prevented compilation. Reported by DSK
2226 <dsk@student.unsw.edu.au>.
2227
ba5f2f8a
MS
22282002-01-11 Michael Snyder <msnyder@redhat.com>
2229
fbd35540
MS
2230 * symfile.c (build_section_addr_info_from_section_tab):
2231 Use bfd access method instead of manipulating bfd directly.
2232 (syms_from_objfile): Ditto.
2233 (simple_overlay_update_1): Ditto.
2234 (simple_overlay_update): Ditto.
2235 (generic_load): Ditto.
2236 (overlay_unmapped_address): FIXME comment, bfd access methods.
2237 (sections_overlap): FIXME comment, bfd access methods.
2238 (pc_in_mapped_range): FIXME comment, bfd access methods.
2239 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2240 (section_is_mapped): FIXME comment, bfd access methods.
2241 (section_is_overlay): FIXME comment, bfd access methods.
2242
ba5f2f8a
MS
2243 * symfile.c (generic_load): Whitespace and long line cleanups.
2244 Remove duplicate variable, change several local variables to
2245 more appropriate data types.
2246 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2247
17df2af6
AC
22482002-01-12 Andrew Cagney <ac131313@redhat.com>
2249
2250 From Peter Schauer:
2251 * language.c (longest_local_hex_string_custom): Use phex_nz to
2252 convert NUM to a hex string.
2253
ec920329
EZ
22542002-01-12 Elena Zannoni <ezannoni@redhat.com>
2255
2256 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2257 the function.
538a76d6 2258 Update Copyright year.
ec920329 2259
3abd2e01
AC
22602002-01-12 Andrew Cagney <ac131313@redhat.com>
2261
2262 * language.c (longest_raw_hex_string): Delete unused function.
2263
b21b22e0
PS
22642002-01-11 Petr Sorfa <petrs@caldera.com>
2265
2266 * MAINTAINERS (write-after-approval): Add myself.
2267 * dwarf2read.c (read_tag_string_type): Handling of
2268 DW_AT_byte_size.
2269 (read_tag_string_type): FORTRAN fix to prevent propagation of
2270 first string size.
2271 (set_cu_language): Handling of DW_LANG_Fortran95
2272
747fe712
RE
22732002-01-11 Richard Earnshaw <rearnsha@arm.com>
2274
2275 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2276 GETPID(inferior_ptid).
2277 (store_inferior_registers): Likewise.
2278
f1bea926
JM
22792002-01-10 Jason Merrill <jason@redhat.com>
2280
2281 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2282 Fix DW_OP_minus.
2283
ae940673
AC
22842002-01-10 Andrew Cagney <ac131313@redhat.com>
2285
2286 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2287 and bfd/elf32-sh-nbsd.c.
2288
00546b04
MS
22892002-01-10 Michael Snyder <msnyder@redhat.com>
2290
352ed7b4
MS
2291 * NEWS: Mention --pid and corefile/proc-id behavior change.
2292
c18be923
MS
2293 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2294 * gcore.c: Include cli/cli-decode.h instead of command.h.
2295
00546b04
MS
2296 * main.c (captured_main): Add new command line option "--pid".
2297 If the second command line argument (following the symbol-file)
2298 begins with a digit, try to attach to it before trying to open
2299 it as a corefile.
2300 (print_gdb_help): Document the "--pid" argument.
2301
db60ec62
EZ
23022002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2303
2304 * completer.c (command_completer): New function.
2305
2306 * completer.h <command_completer>: Add prototype.
2307
2308 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2309 completer for the "help" command.
2310
39c22d1a
JM
23112002-01-09 Jason Merrill <jason@redhat.com>
2312
2313 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2314
c564377f
MS
23152002-01-09 Michael Snyder <msnyder@redhat.com>
2316
975aec09
MS
2317 * i386-linux-nat.c (fill_fpxregset): Make global.
2318 (store_fpxregset): Ditto.
2319
db4a10fa
MS
2320 * gregset.h (gdb_fpxregset_t): Define.
2321 (supply_fpxregset): Prototype.
2322 (fill_fpxregset): Prototype.
2323
c564377f
MS
2324 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2325
c3d45d70
RE
23262002-01-09 Richard Earnshaw <rearnsha@arm.com>
2327
2328 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2329 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2330 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2331
fcc87af1
AC
23322002-01-09 Andrew Cagney <ac131313@redhat.com>
2333
2334 * MAINTAINERS: Update target maintainer rules so that any
2335 Maintainer can approve a tested patch for a maintenance-only
2336 target.
2337
dd96c05b
RE
23382002-01-09 Richard Earnshaw <rearnsha@arm.com>
2339
d4297db9 2340 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 2341
d4297db9 2342 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
2343 IN_SIGTRAMP.
2344
145fdc6e
MS
23452002-01-08 Michael Snyder <msnyder@redhat.com>
2346
2347 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2348 real name of the executable, rather than the /proc name.
2349
be4d1333
MS
23502002-01-03 Michael Snyder <msnyder@redhat.com>
2351
2352 Implement a "generate-core-file" command in gdb, save target state.
2353 * gcore.c: New file. Implement new command 'generate-core-file'.
2354 Save a corefile image of the current state of the inferior.
2355 * linux-proc.c: Add linux-specific code for saving corefiles.
2356 * target.h (struct target_ops): Add new target vectors for saving
2357 corefiles; to_find_memory_regions and to_make_corefile_notes.
2358 (target_find_memory_regions): New macro.
2359 (target_make_corefile_notes): New macro.
2360 * target.c (update_current_target): Inherit new target methods.
2361 (dummy_find_memory_regions): New place-holder method.
2362 (dummy_make_corefile_notes): New place-holder method.
2363 (init_dummy_target): Initialize new dummy target vectors.
2364 * exec.c (exec_set_find_memory_regions): New function.
2365 Allow the exec_ops vector for memory regions to be taken over.
2366 (exec_make_note_section): New function, target vector method.
2367 * defs.h (exec_set_find_memory_regions): Export prototype.
2368 * procfs.c (proc_find_memory_regions): New function, corefile method.
2369 (procfs_make_note_section): New function, corefile method.
2370 (init_procfs_ops): Set new target vector pointers.
2371 (find_memory_regions_callback): New function.
2372 (procfs_do_thread_registers): New function.
2373 (procfs_corefile_thread_callback): New function.
2374 * sol-thread.c (sol_find_memory_regions): New function.
2375 (sol_make_note_section): New function.
2376 (init_sol_thread_ops): Initialize new target vectors.
2377 * inftarg.c (inftarg_set_find_memory_regions): New function.
2378 Allow to_find_memory_regions vector to be taken over.
2379 (inftarg_set_make_corefile_notes): New function.
2380 Allow to_make_corefile_notes vector to be taken over.
2381 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
2382 interface layer if not target_has_execution (may be a corefile).
2383 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
2384 * config/sparc/sun4sol2.mh: Ditto.
2385 * config/alpha/alpha-linux.mh: Ditto.
2386 * config/arm/linux.mh: Ditto.
2387 * config/i386/x86-64linux.mh: Ditto.
2388 * config/ia64/linux.mh: Ditto.
2389 * config/m68k/linux.mh: Ditto.
2390 * config/mips/linux.mh: Ditto.
2391 * config/powerpc/linux.mh: Ditto.
2392 * config/sparc/linux.mh: Ditto.
2393
c6b92abd
MS
23942002-01-07 Michael Snyder <msnyder@redhat.com>
2395
2396 * arm-linux-nat.c: Remove references to regcache.c internal data
2397 (registers[] and register_valid[]).
2398
4b09dc8c
MS
23992002-01-07 Michael Snyder <msnyder@redhat.com>
2400
abf22e64
AJ
2401 * linux-proc.c: New file. Implement child_pid_to_exec_file,
2402 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
2403 symbol file and shlibs.
2404 * Makefile.in: Add rule for linux-proc.o.
2405 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
2406 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
2407 * config/arm/linux.mh: Ditto.
2408 * config/i386/linux.mh: Ditto.
2409 * config/i386/x86-64linux.mh: Ditto.
2410 * config/ia64/linux.mh: Ditto.
2411 * config/m68k/linux.mh: Ditto.
2412 * config/mips/linux.mh: Ditto.
2413 * config/powerpc/linux.mh: Ditto.
2414 * config/sparc/linux.mh: Ditto.
2415
c25b74ac
PM
24162002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
2417
2418 * win32-nat.c: Add i386-tdep.h dependency.
2419
94cd915f
MS
24202002-01-07 Michael Snyder <msnyder@redhat.com>
2421
c7cccb76
MS
2422 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
2423 instead of bfd_get_arch_size. Don't bail out just because
2424 there's no exec_bfd.
abf22e64 2425
34c0bd93
MS
2426 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
2427 * p-valprint.c (pascal_object_print_value): Ditto.
2428 * somread.c (som_symtab_read): Ditto.
2429 * symfile.c (simple_free_overlay_region_table): Ditto.
2430 * valops.c (value_assign): Ditto.
2431
21c1c920
MS
2432 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
2433 use tilde_expand and strerror for opening save-tracepoints file.
2434
5bbd998e
MS
2435 * thread-db.c (thread_db_new_objfile): Indendation fix.
2436
94cd915f
MS
2437 * infptrace.c (GDB_MAX_ALLOCA): New define.
2438 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 2439 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
2440 can be overridden with whatever value is appropriate to the host).
2441 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
2442 alloca to allocate potentially large buffer.
2443 * rs6000-nat.c (child_xfer_memory): Ditto.
2444 * symm-nat.c (child_xfer_memory): Ditto.
2445 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2446
494e8a93
JSC
24472002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
2448
2449 From Nick Clifton <nickc@redhat.com>
2450 * d10v-tdep.c: Set STACK_START to 0x200bffe.
2451
d0e1d48e
MS
24522002-01-07 Michael Snyder <msnyder@redhat.com>
2453
abf22e64 2454 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
2455 Don't use exec_bfd if it's NULL.
2456
290b2c7a
MK
24572002-01-06 Mark Kettenis <kettenis@gnu.org>
2458
abf22e64 2459 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 2460
aef21287
AC
24612002-01-06 Andrew Cagney <ac131313@redhat.com>
2462
2463 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
2464 * gnu-nat.c: Ditto.
2465
30efa627
AC
24662002-01-06 Andrew Cagney <ac131313@redhat.com>
2467
2468 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
2469 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
2470 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
2471 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
2472 z8k-coff have not been multi-arched. Update z8k-coff build
2473 status.
2474
9b4ff276
AC
24752002-01-06 Andrew Cagney <ac131313@redhat.com>
2476
2477 * MAINTAINERS: Mark a29k target as obsolete.
2478 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
2479 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
2480 comments.
2481 * NEWS: Note that a29k targets are obsolete.
2482 * a29k-tdep.c: Mark as obsolete.
2483 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2484 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2485 a29k-*-vxworks* targets as obsolete.
2486 * remote-adapt.c: Obsolete.
2487 * remote-eb.c: Obsolete.
2488 * remote-mm.c: Obsolete.
2489 * remote-udi.c: Obsolete.
2490 * config/a29k/a29k-udi.mt: Obsolete.
2491 * config/a29k/a29k.mt: Obsolete.
2492 * config/a29k/tm-a29k.h: Obsolete.
2493 * config/a29k/tm-vx29k.h: Obsolete.
2494 * config/a29k/vx29k.mt: Obsolete.
2495
a9011d31
AC
24962002-01-05 Andrew Cagney <ac131313@redhat.com>
2497
2498 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
2499 with BFD_ENDIAN_BIG.
2500
9299404e
AC
25012002-01-05 Andrew Cagney <ac131313@redhat.com>
2502
2503 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
2504 * configure, config.in: Re-generate.
2505 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
2506 * defs.h: Do not include <endian.h>.
2507
7e89e357
JT
25082002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
2509
2510 * acconfig.h (HAVE_PT_GETXMMREGS): New.
2511 * config.in: Regenerate.
2512 * configure.in: Update copyright years.
2513 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
2514 * configure: Regenerate.
2515 * i386bsd-nat.c: Update copyright years.
2516 (fill_gregset): Use regcache_collect.
2517 (fetch_inferior_registers): Only fetch integer registers
2518 if requested to do so. Add support for XMM registers
2519 using PT_GETXMMREGS.
2520 (store_inferior_registers): Only store integer registers
2521 if requested to do so. Add support for XMM registers
2522 using PT_SETXMMREGS.
2523 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
2524 (store_inferior_registers): Remove.
2525 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
2526 (fetch_elfcore_registers): New function.
2527 (i386nbsd_elfcore_fns): New.
2528 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
2529 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
2530 i386bsd-nat.o.
2531 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
2532 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
2533 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2534 * config/i386/tm-nbsd.h: Update copyright years.
2535 (HAVE_SSE_REGS): Define.
2536 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
2537 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
2538 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
2539 (SIGCONTEXT_PC_OFFSET): Remove.
2540 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2541
a752853e
AC
25422002-01-05 Andrew Cagney <ac131313@redhat.com>
2543
2544 * configure.tgt: Remove powerpc-*-macos* target.
2545 * config/m68k/xm-mpw.h: Delete file.
2546 * config/xm-mpw.h: Delete file.
2547 * ser-mac.c: Delete file.
2548 * mpw-make.sed: Delete file.
2549 * mpw-config.in: Delete file.
2550 * mac-xdep.c: Delete file.
2551 * mac-gdb.r: Delete file.
2552 * mac-defs.h: Delete file.
2553 * mac-nat.c: Delete file.
2554 * config/powerpc/macos.mh: Delete file.
2555 * config/powerpc/macos.mt: Delete file.
2556 * config/powerpc/nm-macos.h: Delete file.
2557 * config/powerpc/tm-macos.h: Delete file.
2558 * source.c (openp, open_source_file): Remove obsolete code.
2559 * top.c (gdb_readline): Ditto.
2560 * utils.c (query): Ditto.
2561 * event-top.c (display_gdb_prompt): Ditto.
2562 * Makefile.in (ser-mac.o): Delete obsolete target.
2563 * NEWS: Update.
2564
d7449b42
AC
25652002-01-04 Andrew Cagney <ac131313@redhat.com>
2566
2567 * defs.h (BIG_ENDIAN): Delete macro definition.
2568 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
2569 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
2570 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
2571 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
2572 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
2573 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
2574 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
2575 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
2576 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2577 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
2578 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
2579 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
2580 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2581 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2582 * gdbarch.c: Re-generate.
2583
356374e8
DJ
25842002-01-04 Daniel Jacobowitz <drow@mvista.com>
2585
2586 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
2587 for core files.
2588
a2b8f8f8
JT
25892002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2590
2591 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
2592
12466af9
AC
25932002-01-04 Andrew Cagney <ac131313@redhat.com>
2594
2595 * value.h (value_ptr): Delete typedef.
2596
3549ab40
JT
25972002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2598
2599 * i386nbsd-nat.c: Update copyright years.
2600 Include i386-tdep.h.
2601
fedbd091
EZ
26022002-01-04 Elena Zannoni <ezannoni@redhat.com>
2603
2604 * stabsread.c: Update copyright years.
2605
2606 From Debashis Mahata <debashis.mahata@wipro.com>:
2607 (read_struct_fields): Deal with Sun C compiler erroneous stab
2608 output for structs and unions.
fec8b34f 2609 Fix PR gdb/269.
fedbd091 2610
eb43544b
DJ
26112002-01-04 Daniel Jacobowitz <drow@mvista.com>
2612
2613 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
2614 prototype.
2615
1514d34e
DJ
26162002-01-04 Daniel Jacobowitz <drow@mvista.com>
2617
2618 * cp-abi.c: Fix whitespace.
2619 (baseclass_offset): New wrapper function.
2620 * cp-abi.h (baseclass_offset): Add prototype.
2621 (struct cp_abi_ops): Add baseclass_offset pointer.
2622
2623 * valops.c (vb_match): Move to...
2624 * gnu-v2-abi.c (vb_match): here.
2625 * valops.c (baseclass_offset): Move to...
2626 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
2627
2628 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
2629
2630 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
2631 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
2632 * hpacc-abi.c (init_hpacc_ops): Likewise.
2633
7f8c9282
DJ
26342002-01-04 Daniel Jacobowitz <drow@mvista.com>
2635
2636 * valops.c (find_overload_match): Accept obj as a
2637 reference parameter. Update it before returning.
2638 * value.h (find_overload_match): Update prototype.
2639 * eval.c (evaluate_subexp_standard): Pass object to
2640 find_overload_match by reference.
2641
f23631e4
AC
26422002-01-03 Andrew Cagney <ac131313@redhat.com>
2643
2644 * valarith.c: Replace value_ptr with struct value pointer. Remove
2645 register attribute from value declarations.
2646 * valops.c: Ditto.
2647 * value.h: Ditto.
2648 * scm-lang.c (scm_lookup_name): Ditto.
2649
79e10fab 26502002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 2651
79e10fab
AC
2652 Abstract the functionality of iterating over mapped memory
2653 regions into a general purpose iterator function.
abf22e64 2654 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
2655 iterator for memory sections.
2656 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
2657 (solib_mappings_callback): New function, callback for above.
2658 (info_proc_mappings): Reimpliment using iterate_over_mappings.
2659 (info_mappings_callback): New function, callback for above.
2660
2661 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
2662
c5ad026a
MK
26632002-01-01 Mark Kettenis <kettenis@gnu.org>
2664
d2a7c97a
MK
2665 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
2666 * i386-tdep.c: Include "elf-bfd.h".
2667 (process_note_abi_tag_sections): New function.
2668 (i386_gdbarch_init): Add code to recognize various OS/ABI
2669 combinations.
2670
c5ad026a
MK
2671 * maint.c (_initialize_maint_cmds): Add missing \ in
2672 string-literal.
2673
a1a5b71e 2674For older changes see ChangeLog-2001
c906108c
SS
2675\f
2676Local Variables:
2677mode: change-log
2678left-margin: 8
2679fill-column: 74
2680version-control: never
2681End:
This page took 0.343692 seconds and 4 git commands to generate.