Add myself to write-after-approval.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e641a1ca
ML
12002-03-13 Michal Ludvig <mludvig@suse.cz>
2
3 * gdbserver/remote-util.c (remote_open): Print remote-side's
4 IP address when remote debugging over the network.
5
df08bfec
DB
62002-03-12 David O'Brien <obrien@FreeBSD.org>
7
8 * config/sparc/fbsd.mh: Fix copyright.
9 * config/sparc/fbsd.mt: Likewise.
10
9a57864f
RE
112002-03-11 Richard Earnshaw <rearnsha@arm.com>
12
13 * MAINTAINERS: Fix typo in name of gdb warnings option.
14 (x86-64): Fix formating so that this can be parsed by awk.
15
dd7bf85e
DJ
162002-03-10 Daniel Jacobowitz <drow@mvista.com>
17
18 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
19 * defs.h: Include "gdb/signals.h".
20 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
21
33a0a2ac
ML
222002-03-10 Michal Ludvig <mludvig@suse.cz>
23
24 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
25 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
26 from x86-64-tdep.h
27
dd824b04
DJ
282002-03-10 Daniel Jacobowitz <drow@mvista.com>
29 Don Howard <dhoward@redhat.com>
30
31 * mips-tdep.c (ST0_FR): Define.
32 (mips2_fp_compat): New function, temporarily disabled.
33 (mips_read_fp_register_single): New function.
34 (mips_read_fp_register_double): New function.
35 (mips_print_register): Use them.
36 (do_fp_register_row): Likewise.
37
6a41ff59
AC
382002-03-09 Andrew Cagney <ac131313@redhat.com>
39
40 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
41 approval''.
42
4ea09c10
PS
432002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
44
45 * stabsread.c (read_member_functions): Fix is_stub test for
46 static member functions, improve comment.
47
6ccc741d
RE
482002-03-07 Richard Earnshaw <rearnsha@arm.com>
49
50 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
51 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
52 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
53 commands that set boolean values.
54 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
55 (arm_rdi_resume): Always initialize PC.
56 (arm_rdi_open): Don't use rslt as a boolean.
57 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
58 (arm_rdi_fetch_registers, arm_rdi_store_registers)
59 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
60 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
61
438013df
AO
622002-03-06 Alexandre Oliva <aoliva@redhat.com>
63
64 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
65 * configure: Rebuilt.
66
70ed8774
SC
672002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
68
69 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
70 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
71
5ba2abeb
AC
722002-03-06 Andrew Cagney <ac131313@redhat.com>
73
74 * cli/cli-decode.c (set_cmd_completer): New function.
75 * command.h (set_cmd_completer): Declare.
76 * cli/cli-decode.h (set_cmd_completer): Ditto.
77
78 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
79 * cli/cli-cmds.c (init_cli_cmds): Ditto.
80 * win32-nat.c (_initialize_inftarg): Ditto.
81 * remote-rdi.c (_initialize_remote_rdi): Ditto.
82 * proc-api.c (_initialize_proc_api): Ditto.
83 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
84 * source.c (_initialize_source): Ditto.
85 * exec.c (_initialize_exec): Ditto.
86 * solib.c (_initialize_solib): Ditto.
87 * top.c (init_main): Ditto.
88 * tracepoint.c (_initialize_tracepoint): Ditto.
89 * symfile.c (_initialize_symfile): Ditto.
90 * printcmd.c (_initialize_printcmd): Ditto.
91 * infcmd.c (_initialize_infcmd): Ditto.
92 * corefile.c (_initialize_core): Ditto.
93
f779ca99
AC
942002-03-05 Andrew Cagney <ac131313@redhat.com>
95
96 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
97
01a3934b
AC
982002-03-05 Andrew Cagney <ac131313@redhat.com>
99
100 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
101
37057839
AC
1022002-03-05 Andrew Cagney <ac131313@redhat.com>
103
104 * NEWS: Update headings, 5.2 has branched.
105
c6ecbae5
DJ
1062002-03-04 Daniel Jacobowitz <drow@mvista.com>
107
108 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
109 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
110 (register_addr, REGISTER_RAW_SIZE): Likewise.
111 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
112 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
113
e9f30c21
ML
1142002-03-03 Michal Ludvig <mludvig@suse.cz>
115
116 * MAINTAINERS (x86-64): Add myself.
117 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
118 changed value_ptr -> struct value *
119
54394ac3
DB
1202002-03-01 David O'Brien <obrien@FreeBSD.org>
121
122 * configure.host (sparc64-*-freebsd): Add.
123 * configure.tgt: Likewise.
124 * config/sparc/fbsd.mh: New file.
125 * config/sparc/fbsd.mt: Likewise.
126 * config/sparc/nm-fbsd.h: Likewise.
127 * config/sparc/tm-fbsd.h: Likewise.
128
bfe95955
DJ
1292002-03-01 Daniel Jacobowitz <drow@mvista.com>
130
131 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
132 regformats/reg-s390x.dat.
133
f33c6cbf
AC
1342002-03-01 Andrew Cagney <ac131313@redhat.com>
135
136 * utils.c: Add FIXME explaining true/false problem.
137
5ecaa7dd
AC
1382002-02-28 Andrew Cagney <ac131313@redhat.com>
139
140 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
141
2a251cc2
MC
1422002-02-28 Michael Chastain <mec@shout.net>
143
144 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
145
6a8031a3 1462002-02-28 Daniel Jacobowitz <drow@mvista.com>
265f716b
DJ
147
148 * gdbserver/linux-s390-low.c: New file.
149 * regformats/reg-s390.dat: New file.
150 * regformats/reg-s390x.dat: New file.
151 * gdbserver/configure.srv: Add S/390.
152 * gdbserver/Makefile.in: Add S/390.
153 * configure.tgt: Enable gdbserver for S/390.
154
ac469903
EZ
1552002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
156
157 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
158 first line of the doc string for "info dos", except at the end of
159 the sentence, since the short help stops at the first period.
160
985cb1a3
JM
1612002-02-28 Jason Merrill <jason@redhat.com>
162
163 * dwarf2read.c (dwarf_cfi_name): Add new codes.
164
c570663e
FF
1652002-02-27 Fred Fish <fnf@redhat.com>
166
167 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
168 comment (dumy -> dummy).
169
43630227
PS
1702002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
171
172 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
173
b84911e8
RB
1742002-02-27 Rodney Brown <rbrown64@csc.com.au>
175
176 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
177
58caa3dc
DJ
1782002-02-27 Daniel Jacobowitz <drow@mvista.com>
179
180 * gdbserver/acconfig.h: New file.
181 * gdbserver/i387-fp.c: New file.
182 * gdbserver/i387-fp.h: New file.
183 * gdbserver/linux-x86-64.c: New file.
184 * regformats/reg-x86-64.dat: New file.
185 * configure.tgt: Add x86_64-*-linux* gdbserver support.
186 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
187 * gdbserver/configure.in: Add support for regsets.
188 * gdbserver/config.in: Regenerate.
189 * gdbserver/configure: Regenerate.
190 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
191 * gdbserver/linux-low.h: New file.
192 * gdbserver/linux-low.c: Include "linux-low.h". Add support
193 for regsets.
194 * gdbserver/linux-arm-low.c: Include "linux-low.h".
195 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
196 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
197 * gdbserver/linux-mips-low.c: Include "linux-low.h".
198 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
199 * gdbserver/linux-sh-low.c: Include "linux-low.h".
200 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
201 "i387-fp.h". Add PTRACE_GETREGS and friends.
202 * gdbserver/regcache.c (supply_register): New function.
203 (supply_register_by_name): New function.
204 (collect_register): New function.
205 (collect_register_by_name): New function.
206
93652174
DJ
2072002-02-27 Daniel Jacobowitz <drow@mvista.com>
208
209 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
210 (config.status): Add configure.srv dependency.
211 (server_h): Add config.h dependency.
212
a02e4a61
DJ
2132002-02-27 Daniel Jacobowitz <drow@mvista.com>
214
215 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
216 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
217 * gdbserver/configure.srv: Change i386-*-linux* to use
218 reg-i386-linux.o.
219
ce0eebec
AC
2202002-02-26 Andrew Cagney <ac131313@redhat.com>
221
222 * x86-64-tdep.c: Re-indent. Update copyright date.
223
82dbc5f7
AC
2242002-02-26 Andrew Cagney <ac131313@redhat.com>
225
226 From Michal Ludvig <mludvig@suse.cz>:
227 * x86-64-tdep.c (value.h): Delete.
228 (gdb_assert.h): Include.
229 (x86_64_register_convert_to_virtual,
230 x86_64_register_convert_to_raw ): Add check which lets only
231 floating-point values to be converted.
232 (value_push): Delete.
233 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
234 (i386_gdbarch_init): Number of register_bytes fixed.
235
e4621584
AC
2362002-02-26 Andrew Cagney <ac131313@redhat.com>
237
238 * MAINTAINERS: Add x86-64 target.
239
81a9a963
AC
2402002-02-26 Andrew Cagney <ac131313@redhat.com>
241
242 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
243 * osfsolib.c (solib_map_sections): Ditto.
244 * irix5-nat.c (solib_map_sections): Ditto.
245 * corelow.c (gdb_check_format): Ditto.
246 * symfile.c (symfile_bfd_open): Ditto.
247 * solib.c (solib_map_sections): Ditto.
248 Fix PR gdb/354.
249
0f017ab9
AC
2502002-02-26 Andrew Cagney <ac131313@redhat.com>
251
252 * remote.c (_initialize_remote): By default, disable ``e'' and
253 ``E'' step out-of-range packets.
254
75738c29
AS
2552002-02-26 Andreas Schwab <schwab@suse.de>
256
257 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
258 m68k_linux_frame_saved_pc.
259 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
260 in_sigtramp.
261 (SIGCONTEXT_PC_OFFSET): Remove.
262 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
263 m68k_linux_sigtramp_saved_pc): New functions.
264 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
265 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
266 (UCONTEXT_PC_OFFSET): Define.
267 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
268 non-RT and RT signal trampolines.
269
7e8ed687
RE
2702002-02-26 Richard Earnshaw <rearnsha@arm.com>
271
272 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
273 (TARGET_NBPG, STACK_END_ADDR): Delete
274 (VARIABLES_INSIDE_BLOCK): Delete.
275
6972bc8b
AC
2762002-02-25 Andrew Cagney <ac131313@redhat.com>
277
278 * utils.c (perror_with_name): Make string parameter constant.
279 (print_sys_errmsg): Ditto.
280 (query): Ditto.
281 * defs.h (perror_with_name): Update.
282 (print_sys_errmsg): Update.
283 (query): Update.
284
aa32f823
DJ
2852002-02-25 Daniel Jacobowitz <drow@mvista.com>
286
287 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
288 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
289
19caaa45
PS
2902002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
291
292 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
293 if it already matches the current architecture from the exec file.
294 Include arch-utils.h for gdbarch_info_init prototype.
295 * Makefile.in (rs6000-nat.o): Update dependencies.
296
d951901f
EZ
2972002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
298
299 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
300 list of exported variables.
301
7ea81414
DJ
3022002-02-24 Daniel Jacobowitz <drow@mvista.com>
303
304 * gdbserver/configure.srv: New file.
305 * gdbserver/configure.in: Use configure.srv instead
306 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
307 from it.
308 * gdbserver/configure: Regenerated.
309 * gdbserver/terminal.h: New file.
310 * gdbserver/Makefile.in: Update for configure changes. Remove
311 more unneeded include paths.
312
080fe24b
AC
3132002-02-24 Andrew Cagney <ac131313@redhat.com>
314
315 From wiz at danbala:
316 * config/sparc/tm-sp64.h: Fix grammar and typos.
317 Fix PR gdb/287.
318
8605d56e
AC
3192002-02-24 Andrew Cagney <ac131313@redhat.com>
320
321 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
a4b6fc86
AC
322 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
323 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
324 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
ca557f44
AC
325 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
326 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
327 * s390-tdep.c: Ditto.
92362027
AC
328 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
329 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
330 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
331 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
332 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
333 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
334 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
335 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
336 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
337 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
8605d56e
AC
338 Fix PR gdb/378.
339
8ed32cc0
AC
3402002-02-23 Andrew Cagney <ac131313@redhat.com>
341
a3007b6f
AC
342 * lin-thread.c: Delete file.
343 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
344 to gdb_proc_service.h.
345 * configure: Re-generate.
346
50a9e2f1
AC
347 * ocd.c (ocd_open): Do not try to open the "ocd" device.
348 * serial.c (serial_open): Delete check for "ocd".
349 Fix PR gdb/349.
350
8b6e7932
AC
351 * Makefile.in (linux-thread.o): Delete target.
352 * linux-thread.c: Delete file.
353
d155c46b
AC
354 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
355 renamed SH files to be consistent.
356
8ed32cc0
AC
357 * symtab.c (sort_search_symbols): Use xfree.
358
0e18d038
RE
3592002-02-23 Richard Earnshaw <rearnsha@arm.com>
360
361 * arm-linux-tdep.c (arm_linux_init_abi): Register
362 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
363 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
364 definition with undef, since we don't want the sysvr4 definition.
365 (SKIP_TRAMPOLINE_CODE): Likewise.
366
27aac7ff
AC
3672002-02-23 Andrew Cagney <ac131313@redhat.com>
368
369 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
370
371 * configure.in: (AC_CHECK_FUNCS) Added test for
372 canonicalize_file_name Regenerated.
373 * config.in, configure: Regenerated.
374 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
375 defined use canonicalize_file_name.
376
65a6e0ee
MC
3772002-02-23 Michael Chastain <mec@shout.net>
378
379 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
380
47b95330
AC
3812002-02-23 Andrew Cagney <ac131313@redhat.com>
382
383 * README: Remove references to cygnus.com.
384 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
385 dot com'' form. Remove references to cygnus.com and sourceware.
386
696f451b
AC
3872002-02-23 Andrew Cagney <ac131313@redhat.com>
388
389 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
390 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
391 1003.1-2001 no longer allows "head -1".
392 * gdb/Makefile.in (version.c): Likewise.
393 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
394 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
395 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
396
bbaca940
AC
3972002-02-23 Andrew Cagney <ac131313@redhat.com>
398
399 * cli/cli-decode.c (cmd_cfunc_eq): New function.
400 * command.h (cmd_cfunc_eq): Declare.
401 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
402
403 * cli/cli-cmds.h (is_complete_command): Change parameter to a
404 ``struct cmd_list_element *''.
405 * cli/cli-cmds.c (is_complete_command): Update. Use
406 cmd_cfunc_eq.
407 * top.c (execute_command): Pass the command to
408 is_complete_command.
409 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
410
b8b8b047
AC
4112002-02-23 Andrew Cagney <ac131313@redhat.com>
412
413 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
414 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
415 architecture defines.
416 * s390-tdep.c (s390_gdbarch_init): Likewise.
417
19d3fc80
RE
4182002-02-23 Richard Earnshaw <rearnsha@arm.com>
419
420 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
421 (arm_linux_push_arguments): Likewise.
422 (arm_linux_init_abi): Register them. Also register linux-specific
423 call_dummy_words.
424 (find_minsym_and_objfile): Use strcmp, not STREQ.
425 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
426 (arm_linux_call_dummy_words): Delete declaration.
427 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
428 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
429 declarations.
430 (LOWEST_PC): Delete.
431
3ab13650
PS
4322002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
433
434 * maint.c (print_section_info): Do not prepend `0x' to filepos
435 output, it will be handled by local_hex_string_custom.
436
19d3fc80 4372002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
438
439 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
440 (store_newfpe_double, store_newfpe_extended, store_fpregister)
441 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
442
d85a5daf
JB
4432002-02-22 Jim Blandy <jimb@redhat.com>
444
445 Indicate that the bcache functions don't change the strings
446 they're passed.
447 * bcache.h (bcache, hash): Add `const' keywords to declarations.
448 * bcache.c (bcache, hash): Add `const' keywords to definitions.
449
eeb25b8a
PM
4502002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
451
452 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
453
6badb179
CF
4542002-02-21 Christopher Faylor <cgf@redhat.com>
455
456 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
457 find the complete path to a loaded DLL.
458
e8717518
FF
4592002-02-21 Fred Fish <fnf@redhat.com>
460
461 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
462 that marks the end of the range of a function, enter a line number
463 entry that has a line number of zero and a PC offset that matches
464 the end of the function. This starts a range of PC's for which no
465 line number information is known.
466 * symtab.c (find_pc_sect_line): If our best fit is in a range of
467 PC's for which no line number info is found (line number is zero)
468 then we didn't find any valid line information.
469 * symtab.h: Document use of zero line number entry.
470
9abe5450
EZ
4712002-02-21 Elena Zannoni <ezannoni@redhat.com>
472
473 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
474 (have_ptrace_getvrregs): Define for run time checks.
475 (gdb_vrregset_t): New type for Altivec register handling.
476 (fetch_register, store_register): Fetch/store altivec register
477 when needed.
478 (fetch_altivec_register, store_altivec_register): New functions.
479 (supply_vrregset, fill_vrregset): New functions.
480 (fetch_altivec_registers, store_altivec_registers): New functions.
481 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
482 registers as well.
483
aaa38bb5
AJ
4842002-02-21 Jiri Smid <smid@suse.cz>
485
486 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
487
b34db576
RE
4882002-02-21 Richard Earnshaw <rearnsha@arm.com>
489
490 * Makefile.in (armnbsd-nat.o): Update dependencies.
491 * armnbsd-nat.c (supply_gregset): New function. Common code to
492 supply the integer register set.
493 (supply_fparegset): New function. Similar for FPA registers.
494 (fetch_regs, fetch_fp_regs): Use them.
495 (fetch_core_registers): Likewise.
496 (fetch_elfcore_registers): New function.
497 (arm_netbsd_elfcore_fns): New core-file type specification.
498 (_initialize_arm_netbsd_nat): Register it.
499
3e56fc4b
RE
5002002-02-21 Richard Earnshaw <rearnsha@arm.com>
501
502 * armnbsd-nat.c: Include gdbcore.h.
503 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
504 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
505 'void' to declaration, to shut up ARI.
506 (fetch_core_registers): Make static. Rewrite using supply_register.
507 (arm_netbsd_core_fns): New core-file type specification.
508 (_initialize_arm_netbsd_nat): New function.
509
097f6b0b
CF
5102002-02-21 Christopher Faylor <cgf@redhat.com>
511
512 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
513 value.
514
c914e0cc
CF
5152002-02-20 Christopher Faylor <cgf@redhat.com>
516
517 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
518 fails.
519
385fa495
DJ
5202002-02-20 Daniel Jacobowitz <drow@mvista.com>
521
522 * jv-exp.y (parse_number): Change type of implicit longs
523 to builtin_type_uint64.
524
e5f1222d
DJ
5252002-02-20 Daniel Jacobowitz <drow@mvista.com>
526
527 * gdbserver/linux-low.c (mywait): Change argument to waitpid
528 to be an integer instead of a `union wait'.
529
75c9abc6
DJ
5302002-02-20 Daniel Jacobowitz <drow@mvista.com>
531
532 * mips-linux-nat.c: Call the operating system GNU/Linux.
533 * mips-linux-tdep.c: Likewise.
534 * mips-tdep.c: Likewise.
535
551792a5
DJ
5362002-02-20 Daniel Jacobowitz <drow@mvista.com>
537
538 Fix PR gdb/265.
539 * jv-exp.y (parse_number): Handle 64-bit integers.
540
ee6e2b82
DJ
5412002-02-20 Daniel Jacobowitz <drow@mvista.com>
542
543 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
544 AC_STDC_HEADERS to AC_HEADER_STDC.
545 * gdbserver/configure: Regenerated.
546
a48442a0
RE
5472002-02-20 Richard Earnshaw <rearnsha@arm.com>
548
549 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
550 is defined.
551 * sparc-tdep.c (get_longjmp_target): Likewise.
552
fe419ffc
RE
5532002-02-20 Richard Earnshaw <rearnsha@arm.com>
554
555 * News: Add news about ARM and Multi-arch. Mention the new target
556 arm*-*-netbsd*.
557
5832ed7e
JB
5582002-02-19 Jim Blandy <jimb@redhat.com>
559
560 * stabsread.c (error_type_complaint): Improve error message.
561
84563040
DJ
5622002-02-19 Daniel Jacobowitz <drow@mvista.com>
563
564 * gdbserver/README: Update documentation.
565 * gdbserver/configure.in: Update configury to match documentation.
566 * gdbserver/Makefile.in: Likewise.
567 * gdbserver/configure: Regenerated.
568 * gdbserver/aclocal.m4: New file, generated by aclocal.
569 * gdbserver/config.in: New file, generated by autoheader.
570
375fd65b
RE
5712002-02-19 Richard Earnshaw <rearnsha@arm.com>
572
573 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
574 armnbsd-nat.c.
575
08216dd7
RE
5762002-02-19 Richard Earnshaw <rearnsha@arm.com>
577
578 * arm-tdep.h (enum arm_float_model): New enum.
579 (struct gdbarch_tdep): Add fp_model.
580 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
581 up floating-point conversions until we know the floating-point model
582 in use by the inferior. Don't complain about being unable to
583 determine the ABI of the inferior when we don't have one.
584 (arm_extract_return_value): Support different floating-point models.
585 (arm_store_return_value): Likewise.
aaa38bb5 586 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
587 ARM_FLOAT_SOFT.
588 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
589
65d6d66a
PS
5902002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
591
592 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
593 of ``current_gdbarch''.
594
47221191
RE
5952002-02-19 Richard Earnshaw <rearnsha@arm.com>
596
597 * armnbsd-nat.c : ANSIfy all function declarations.
598 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
599 (fetch_inferior_registers): Re-implement in terms of above.
600 (store_register, store_regs, store_fp_register, store_fp_regs): New.
601 (store_inferior_registers): Re-implement in terms of above.
602
fdf39c9a
RE
6032002-02-19 Richard Earnshaw <rearnsha@arm.com>
604
aaa38bb5 605 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
606 kernel.
607 * arm-linux-tdep.c: Likewise.
608 * config/arm/tm-linux.h: Likewise.
609
93247f88
RE
6102002-02-19 Richard Earnshaw <rearnsha@arm.com>
611
612 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
613 * config/arm/nbsd.mt (TM_FILE): Delete.
614 * config/arm/tm-nbsd.h: Delete.
615
d7b486e7
RE
6162002-02-19 Richard Earnshaw <rearnsha@arm.com>
617
618 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
619 Initialize CALL_DUMMY_LENGTH.
620
41d39a95
RE
6212002-02-19 Richard Earnshaw <rearnsha@arm.com>
622
623 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
624 function.
625 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 626 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
627 defines one thing and that is incorrect for this port.
628 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
629
e1195560
PM
6302002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
631
632 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
633
c1748f97
PM
6342002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
635
636 * win32-nat.c (display_selector): New function. Displays information
637 about the information returned by GetThreadSelectorEntry API function.
638 (display_selectors): New function. Displays the infomation of
639 the selector given as argument, or of CS, DS ans FS selectors
640 if no argument is given.
641 ( _initialize_inftarg): Add "w32" as info prefix command.
642 Add "info w32 selector" as command calling display_selectors.
643
e41e6bbf
PM
6442002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
645
646 * i386-tdep.c (get_longjmp_target): Fix compilation failure
647 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
648 if not defined.
649
0d3a9f48
RE
6502002-02-18 Richard Earnshaw <rearnsha@arm.com>
651
652 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
653
3fb4b924
RE
6542002-02-18 Richard Earnshaw <rearnsha@arm.com>
655
656 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
657 (arm_fix_call_dummy): Call it.
658 (arm_call_dummy_breakpoint_offset): Delete.
659 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
660 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
661
7f55af32
AC
6622002-02-18 Andrew Cagney <ac131313@redhat.com>
663
664 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
665 Default to func_frame_chain_valid.
666 * gdbarch.h, gdbarch.c: Re-generate.
667 * frame.h (FRAME_CHAIN_VALID): Delete definition.
668
05f13b9c
EZ
6692002-02-18 Elena Zannoni <ezannoni@redhat.com>
670
671 * ppc-linux-nat.c: Update copyright.
672 (fetch_register, store_register): Add tid parameter, don't compute
673 tid here.
674 (fetch_ppc_registers, store_ppc_registers): Add tid
675 parameter. Pass it along to callees.
676 (fetch_inferior_registers, store_inferior_registers): Compute tid
677 here, and pass it to calleed functions.
678 (fill_gregset, supply_fpregset): Clean up formatting.
679
d7afb4c9
RE
6802002-02-18 Richard Earnshaw <rearnsha@arm.com>
681
682 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
683 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
684
9df628e0
RE
6852002-02-18 Richard Earnshaw <rearnsha@arm.com>
686
687 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
688 * gdbarch.c gdbarch.h: Regenerate.
689 * breakpoint.c (create_longjmp_breakpoint): Always compile this
690 function.
691 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
692 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
693 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
694
695 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
696 * arm-tdep.c (arm_get_longjmp_target): New function.
697 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
698 this to a positive value register arm_get_longjmp_target as the
699 longjmp handler.
700 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
701 (arm_linux_init_abi): Set up longjmp description in tdep.
702 * armnbsd-nat.c (get_longjmp_target): Delete.
703 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
704 description in tdep.
705 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
706 (get_longjmp_target): Delete declaration.
707 (GET_LONGJMP_TARGET): Delete.
708 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
709 (GET_LONGJMP_TARGET): Delete.
710
57bc8964
KB
7112002-02-17 Kevin Buettner <kevinb@redhat.com>
712
713 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
714 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
715 of ``current_gdbarch''.
716
83d31a92
TT
7172002-02-17 Tom Tromey <tromey@redhat.com>
718
719 * cli/cli-cmds.c (compare_strings): New function.
720 (complete_command): Only print each unique item once.
721 * completer.h (complete_line): Declare.
722 * completer.c (complete_line): New function.
723 (line_completion_function): Use it.
724
17ef5d92
AC
7252002-02-16 Andrew Cagney <ac131313@redhat.com>
726
727 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
728 * gdbarch.h, gdbarch.c: Re-generate.
729
491b8946
DJ
7302002-02-16 Daniel Jacobowitz <drow@mvista.com>
731
732 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
733
7342002-02-16 Daniel Jacobowitz <drow@mvista.com>
735
736 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
737 * valops.c (value_arg_coerce): Don't take the address of a reference
738 to convert an argument to a reference.
739
dfe7f3ac
CF
7402002-02-15 Christopher Faylor <cgf@redhat.com>
741
742 * win32-nat.c (get_image_name): New function.
743 (handle_load_dll): Use get_image_name function.
744 (get_child_debug_event): Avoid registering debug events until possibly
745 execed process is started.
746 (child_create_inferior): Allow invocation via shell so that command
747 line redirection, etc. works ok.
748 (_initialize_inftarg): Add new command: "set shell" to control whether
749 a shell is used to start a process.
750
1d33e73a
DJ
7512002-02-15 Daniel Jacobowitz <drow@mvista.com>
752
753 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
754 instead of find_register_by_number.
755 (cannot_store_register): Likewise.
756
48cd0caa
PM
7572002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
758
aaa38bb5 759 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
760 fprintf_unfiltered (gdb_stderr, ...).
761
8656e7d8
DJ
7622002-02-15 Daniel Jacobowitz <drow@mvista.com>
763
764 * gdbserver/gdbserver.1: Document --attach.
765
66e810cd
RE
7662002-02-15 Richard Earnshaw <rearnsha@arm.com>
767
768 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
769 descriptions.
770 * arm-tdep.c (arm_default_arm_le_breakpoint)
771 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
772 (arm_default_thumb_be_breakpoint): New. Initialize them from
773 traditional breakpoint defines.
774 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
775 (arm_gdbarch_init): Initialize new breakpoint variables.
776 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
777 (arm_linux_init_abi): Initialize linux-specific breakpoint.
778 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
779 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
780 code out to ...
781 (arm_netbsd_init_abi_common): ... here; new function.
782 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
783 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
784 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
785 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
786
97e03143
RE
7872002-02-15 Richard Earnshaw <rearnsha@arm.com>
788
789 * arm-tdep.h (enum arm_abi): New enum.
790 (struct gdbarch_tdep): New structure.
791 (LOWEST_PC): Provide a default.
792 (arm_gdbarch_register_os_abi): Declare new function.
793 * arm-tdep.c (arm_abi_names): New array.
794 (process_note_abi_tag_sections): New function.
795 (get_elfosabi): New function.
796 (arm_gdbarch_register_os_abi): New function.
797 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
798 support for that ABI has been built in, then call the appropriate
799 configuration routine. Use gdbarch_num_regs() to get the number
800 of registers.
801 (arm_dump_tdep): New function.
802 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
803 place-holder functions.
804 (_initialize_arm_tdep): Register them.
805 * config/arm/tm-arm.h (LOWEST_PC): Delete.
806
807 * armnbsd-tdep.c: New file.
808 * Makefile.in (armnbsd-tdep.o): Add dependencies.
809 * config/arm/nbsd.mt (TDEPFILES): Add it.
810 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
811
812 * armnbsd-nat.c: Include regcache.h.
813 * Makefile.in (armnbsd-nat.o): Update dependency list.
814
815 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
816
ad68be46
DJ
8172002-02-14 Daniel Jacobowitz <drow@mvista.com>
818
819 * gdbserver/Makefile.in: Fix typos in target rules.
820
003d6d1d
DJ
8212002-02-14 Daniel Jacobowitz <drow@mvista.com>
822
aaa38bb5 823 Fix part of PR gdb/267.
003d6d1d
DJ
824 * linespec.c (find_methods): Handle constructors specially for now.
825
6b230f1b
CV
8262002-02-14 Corinna Vinschen <vinschen@redhat.com>
827
828 * arm-tdep.c (arm_push_arguments): Eliminate special float type
829 handling.
830 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
831 standard_coerce_float_to_double().
832
1ea98d12
CF
8332002-02-14 Christopher Faylor <cgf@redhat.com>
834
835 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
836 GDBINIT_FILENAME.
837
dd47e6fd
EZ
8382002-02-14 Elena Zannoni <ezannoni@redhat.com>
839
840 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
841 find_variant_by_name, because it confuses the multiarch
842 framework. Return NULL if there isn't an architecture with the
843 user supplied name, instead of forcing a different one without
844 recording the change with the multiarch machinery.
845 (find_variant_by_name): Delete.
846
d7e39b9e
PS
8472002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
848
849 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
850 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
851
76e42a4f
MH
8522002-02-13 Martin M. Hunt <hunt@redhat.com>
853
aaa38bb5 854 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
855 print_frame_info_listing_hook, set current_source_symtab.
856
0a30fbc4
DJ
8572002-02-14 Daniel Jacobowitz <drow@mvista.com>
858
859 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
860 and remove unused $(INCLUDE_DIR).
861 Add regcache.c to OBS.
862 Add generated register protocol files to clean target.
863 Update dependencies for new objects, obsolete old target code.
864
865 * gdbserver/linux-low.c: Remove all platform-specific code to
866 new files. Remove various dead code. Update to use regcache
867 functionality.
868 * gdbserver/remote-utils.c (fromhex): Add return statement
869 to quiet warning.
870 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
871 constant.
872 (input_interrupt): Add integer parameter to match prototype
873 of a signal handler.
874 (outreg): Use register_data ().
875 (prepare_resume_reply): Use gdbserver_expedite_regs.
876 * gdbserver/server.c (main): Dynamically allocate own_buf because
877 PBUFSIZ is no longer constant. Use registers_to_string () and
878 registers_from_string ().
879 * gdbserver/server.h: No longer include "defs.h". Add prototypes
880 for error (), fatal (), and warning (). Update definition of
881 PBUFSIZ to use regcache functionality. Add include guard.
882 * gdbserver/utils.c (fatal): Add missing ``const''.
883 (warning): New function.
884
885 * regformats/regdat.sh: Include "regcache.h" in generated files.
886 Provide init_registers () function.
887 * regformats/regdef.h: Add prototype for set_register_cache ().
888 Add include guard.
889
890 * gdbserver/linux-arm-low.c: New file.
891 * gdbserver/linux-i386-low.c: New file.
892 * gdbserver/linux-ia64-low.c: New file.
893 * gdbserver/linux-m68k-low.c: New file.
894 * gdbserver/linux-mips-low.c: New file.
895 * gdbserver/linux-ppc-low.c: New file.
896 * gdbserver/linux-sh-low.c: New file.
897
898 * gdbserver/regcache.c: New file.
899 * gdbserver/regcache.h: New file.
900
901 * gdbserver/low-linux.c: Removed obsolete file.
902
4cc841d0
DJ
9032002-02-14 Daniel Jacobowitz <drow@mvista.com>
904
905 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
906 * config/i386/linux.mt: Likewise.
907 * config/ia64/linux.mt: Likewise.
908 * config/m68k/linux.mh: Likewise.
909 * config/powerpc/linux.mh: Likewise.
910 * config/mips/linux.mt: Likewise.
911
912 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
913
914 * config/i386/i386lynx.mh: Mark gdbserver variables
915 as (currently) obsolete for this target.
916 * config/i386/nbsd.mt: Likewise.
917 * config/i386/nbsdelf.mt: Likewise.
918 * config/m32r/m32r.mt: Likewise.
919 * config/m68k/m68klynx.mh: Likewise.
920 * config/m68k/nbsd.mt: Likewise.
921 * config/m68k/sun3os4.mh: Likewise.
922 * config/mips/vr5000.mt: Likewise.
923 * config/ns32k/nbsd.mt: Likewise.
924 * config/pa/hppabsd.mh: Likewise.
925 * config/pa/hppaosf.mh: Likewise.
926 * config/powerpc/nbsd.mt: Likewise.
927 * config/rs6000/rs6000lynx.mh: Likewise.
928 * config/s390/s390.mt: Likewise.
929 * config/s390/s390x.mt: Likewise.
930 * config/sparc/sparclynx.mh: Likewise.
931 * config/sparc/sun4os4.mh: Likewise.
932 * config/i386/x86-64linux.mt: Likewise.
933 * config/sparc/linux.mh: Likewise.
934
a85f51e7
DJ
9352002-02-14 Daniel Jacobowitz <drow@mvista.com>
936
937 * configure.tgt: Configure gdbserver only for known working
938 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
939 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
940 SUBDIRS if it is configured. Update comment for ${nativefile}.
941 * configure: Regenerated.
942
65554fef
MS
9432002-02-13 Michael Snyder <msnyder@redhat.com>
944
6dbdc4a3
MS
945 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
946 (default_gcore_mach): Just return 0, work around a problem in bfd.
947 (default_gcore_target): OK to return NULL if exec_bfd is null.
948 (make_mem_sec): Use a cast, avoid a warning.
949
950 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 951 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
952 sizeof (host pointer) != sizeof (target pointer)).
953 (procfs_make_note_section): Avoid overflow in psargs string.
954
aaa38bb5 955 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
956 implementation return an error.
957
9582002-02-13 Rodney Brown <rbrown64@csc.com.au>
959
960 * procfs.c (procfs_make_note_section): Provide a default definition
961 (for alpha-dec-osf4.0f). Fix typos.
962
1e4d76e7
EZ
9632002-02-13 Elena Zannoni <ezannoni@redhat.com>
964
965 * linux-proc.c: Add include of regcache.h.
966 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
967
b6d1a1d5
AC
9682002-02-13 Andrew Cagney <ac131313@redhat.com>
969
970 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
971 * memattr.c (create_mem_region): Disallow useless empty region.
972 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 973 non-overlapping.
b6d1a1d5 974
6c6ea35e
MC
9752002-02-13 Michael Chastain <mec@shout.net>
976
977 * defs.h: Kill CONST_PTR.
978 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
979 * c-lang.c (c_builtin_types): Likewise.
980 * ch-lang.c (ch_builtin_types): Likewise.
981 * f-lang.c (f_builtin_types): Likewise.
982 * language.c (unknown_builtin_types): Likewise.
983 * m2-lang.c (m2_builtin_types): Likewise.
984 * p-lang.c (pascal_builtin_types): Likewise.
985 * scm-lang.c (c_builtin_types): Likewise.
986
3e0b0f48
KS
9872002-02-13 Keith Seitz <keiths@redhat.com>
988
989 * arm-tdep.h (arm_get_next_pc): Add declaration.
990
67255d04
RE
9912002-02-13 Richard Earnshaw <rearnsha@arm.com>
992
993 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
994 with other related struct-returning functions.
995 (arm_extract_struct_value_address): New function.
996 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
997 initialize float_format, double_format and long_double_format as
998 appropriate to the endianness of the target.
999 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
1000 (arm_use_struct_convention): Delete declaration.
1001 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1002
079777f6
KS
10032002-02-13 Keith Seitz <keiths@redhat.com>
1004
1005 * defs.h (core_addr_to_string_nz): New function.
1006
34588f23
MK
10072002-02-13 Mark Kettenis <kettenis@gnu.org>
1008
1009 Apply missing bits of 2002-01-15 patch.
1010 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
1011 (fill_fpregset): Use i387_fill_fsave.
1012
49b563f9
KS
10132002-02-12 Keith Seitz <keiths@redhat.com>
1014
49b563f9
KS
1015 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
1016 (core_addr_to_string_nz): New function.
1017
aeb98c60
RE
10182002-02-11 Richard Earnshaw <rearnsha@arm.com>
1019
1020 * arm-linux-nat.c: Really include arm-tdep.h.
1021 * config/arm/tm-linux.h (struct type, struct value): Declare.
1022
65554fef
MS
10232002-02-11 Michael Snyder <msnyder@redhat.com>
1024
1025 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
1026 (gcore section): Ifdef for Solaris and Unixware only.
1027 (procfs_do_thread_registers): Unixware needs one lwpstatus
1028 per thread (not one prstatus or pstatus).
1029 (procfs_make_note_section): Iterate only over kernel threads (lwps),
1030 not over all gdb threads. For unixware, call elfcore_write_pstatus
1031 once before iterating over threads.
1032
34e8f22d
RE
10332002-02-11 Richard Earnshaw <rearnsha@arm.com>
1034
1035 * arm-tdep.h: New file.
1036 * arm-tdep.c: Include arm-tdep.h.
1037 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1038 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1039 (arm_print_float_info, arm_register_type, convert_to_extended)
1040 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1041 (arm_extract_return_value, arm_register_name): Make static.
1042 (arm_software_single_step): Similarly. Fix types in declaration.
1043 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
1044 (arm_store_return_value, arm_store_struct_return): New functions.
1045 (arm_gdbarch_init): Register the above functions. Also register
1046 call_dummy_start_offset, sizeof_call_dummy_words,
1047 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
1048 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 1049 max_register_virtual_size, register_size. Set up
34e8f22d
RE
1050 prologue_cache.saved_regs here, rather than ...
1051 (_initialize_arm_tdep): ... here.
1052 * config/arm/tm-arm.h (struct type, struct value): Delete forward
1053 declarations.
1054 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1055 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1056 (arm_print_float_info, arm_register_type, convert_to_extended)
1057 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1058 (arm_extract_return_value, arm_register_name): Delete declarations.
1059 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
1060 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
1061 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
1062 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
1063 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
1064 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
1065 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
1066 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
1067 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
1068 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
1069 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
1070 (arm_get_next_pc): No-longer static -- these are needed by the RDI
1071 interface.
1072 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
1073 * remote-rdi.c remote-rdp.c: Likewise.
1074 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
1075 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
1076 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
1077 definition.
1078
1079 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
1080 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
1081 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
1082 from non-ARM_ prefixed definitions.
1083 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
1084 all uses of above.
1085 * remote-rdi.c remote-rdp.c: Likewise.
1086 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
1087
148754e5
RE
10882002-02-11 Richard Earnshaw <rearnsha@arm.com>
1089
1090 * arm-tdep.c (arm_frameless_function_invocation)
1091 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1092 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1093 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1094 (arm_pop_frame, arm_get_next_pc): Make static.
1095 (arm_gdbarch_init): Register above in gdbarch structure.
1096 (arm_read_fp): Renamed from arm_target_read_fp.
1097 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
1098 * config/arm/tm-arm.h (arm_frameless_function_invocation)
1099 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1100 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1101 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1102 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
1103 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
1104 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
1105 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
1106 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
1107 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 1108
434d2d4f
DJ
11092002-02-10 Daniel Jacobowitz <drow@mvista.com>
1110
1111 * symtab.c (compare_search_syms): New function.
1112 (sort_search_symbols): New function.
1113 (search_symbols): Sort symbols after searching rather than
1114 before.
1115
55241689
AC
11162002-02-10 Andrew Cagney <ac131313@redhat.com>
1117
1118 * NEWS: Linux -> GNU/Linux.
1119
028c194b
AC
11202002-02-10 Andrew Cagney <ac131313@redhat.com>
1121
1122 * gdbarch.sh: For for level one methods, disallow a definition
1123 when partially multi-arched. Add comments explaining rationale.
1124 * gdbarch.h: Re-generate.
1125
6acf50cd
AC
11262002-02-10 Andrew Cagney <ac131313@redhat.com>
1127
1128 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
1129 multi-arch partial.
aaa38bb5 1130
50248794
AC
11312002-02-10 Andrew Cagney <ac131313@redhat.com>
1132
1133 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
1134 field. Use diff -u.
1135 * gdbarch.c: Re-generate.
1136
c30e0066
AC
11372002-02-10 Andrew Cagney <ac131313@redhat.com>
1138
9b56c5f3 1139 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
1140 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
1141 partial.
1142
6e6d6484
AC
11432002-02-10 Andrew Cagney <ac131313@redhat.com>
1144
1145 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
1146 multi-arch partial.
1147 (PUSH_ARGUMENTS): Switch to using predefault.
1148 * gdbarch.c: Regenerate.
1149
c203844d
AC
11502002-02-10 Andrew Cagney <ac131313@redhat.com>
1151
1152 * valops.c (PUSH_ARGUMENTS): Delete definition.
1153 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
1154 partial. Default to default_push_arguments.
1155 * gdbarch.h, gdbarch.c: Regenerate.
1156
b5a2688f
AC
11572002-02-09 Andrew Cagney <ac131313@redhat.com>
1158
1159 * defs.h (throw_exception): Rename return_to_top_level. Update
1160 comments.
1161 * utils.c (error_stream, internal_verror, quit): Ditto.
1162 * top.c (throw_exception, catcher): Ditto.
1163 * sparclet-rom.c (sparclet_load): Ditto.
1164 * remote.c (interrupt_query, minitelnet): Ditto.
1165 * remote-sds.c (interrupt_query): Ditto.
1166 * remote-mips.c (mips_error, mips_kill): Ditto.
1167 * ocd.c (interrupt_query): Ditto.
1168 * monitor.c (monitor_interrupt_query): Ditto.
1169 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
1170 * target.h: Update comment.
aaa38bb5 1171
b5a2688f 1172 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 1173
2fa5c1e0
AC
11742002-02-09 Andrew Cagney <ac131313@redhat.com>
1175
1176 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
1177 default_double_format.
1178 * gdbarch.h, gdbarch.c: Re-generate.
1179 * findvar.c (floatformat_unknown): Delete variable definition.
1180 * doublest.h (floatformat_unknown): Delete variable declaration.
1181
da966255
JB
11822002-02-09 Jim Blandy <jimb@redhat.com>
1183
1184 * stabsread.c (read_type): Add code to parse Sun's syntax for
1185 prototyped function types.
1186
123a4891
AC
11872002-02-09 Andrew Cagney <ac131313@redhat.com>
1188
1189 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
1190 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
1191
fb39c8f3
PS
11922002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1193
1194 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
1195 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
1196 now _initialize_xcoffsolib gets called again and overrides the
1197 commands from solib.c in a native configuration.
1198
0b87a11d
MK
11992002-02-09 Mark Kettenis <kettenis@gnu.org>
1200
1201 * doublest.c (store_typed_floating): Don't try to return a value.
1202 Fixes PR gdb/290.
1203
bdc2fc72
JB
12042002-02-08 Jim Blandy <jimb@redhat.com>
1205
1206 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
1207 is prototyped and has no arguments, print its argument list as
1208 `(void)'.
1209
da69bbcf
CD
12102002-02-08 Chris Demetriou <cgd@broadcom.com>
1211
1212 * MAINTAINERS (write-after-approval): Add myself.
1213 (paper-trail): I've escaped!
aaa38bb5 1214
b69571f5
CF
12152002-02-08 Christopher Faylor <cgf@redhat.com>
1216
1217 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
1218 changes.
1219 (_initialize_check_for_gdb_ini): Ditto.
1220
f6871398
MH
12212002-02-08 Martin M. Hunt <hunt@redhat.com>
1222
1223 * win32-nat.c (cygwin_pid_to_str): Fix typo.
1224 xaprintf -> xasprintf.
1225
4e52d31c
PM
12262002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
1227
1228 * win32-nat.c: Remove use of printf and sprintf functions.
1229
39bbf761
RE
12302002-02-08 Richard Earnshaw <rearnsha@arm.com>
1231
1232 * arm-tdep.c (arm_frame_chain_valid): Make static.
1233 (arm_push_arguments): Likewise.
1234 (arm_gdbarch_init): New function.
1235 (_initialize_arm_tdep): Call it.
1236 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
1237 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
1238 (FRAME_CHAIN_VALID): Delete.
1239 (arm_frame_chain_valid): Delete declaration.
1240 (PUSH_ARGUMENTS): Delete.
1241 (arm_push_arguments): Delete declaration.
1242 (CALL_DUMMY_P): Delete.
1243
9c9532c9
CV
12442002-02-08 Andrew Cagney <ac131313@redhat.com>
1245 Corinna Vinschen <vinschen@redhat.com>
1246
1247 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
1248 on builtin float types.
1249
4e8f7a8b
DJ
12502002-02-08 Daniel Jacobowitz <drow@mvista.com>
1251
1252 * utils.c: Include <curses.h> before "bfd.h".
1253 * tui/tui-hooks.c: Likewise.
1254 * tui/tui.c: Likewise.
1255 * tui/tuiCommand.c: Likewise.
1256 * tui/tuiData.c: Likewise.
1257 * tui/tuiDataWin.c: Likewise.
1258 * tui/tuiDisassem.c: Likewise.
1259 * tui/tuiGeneralWin.c: Likewise.
1260 * tui/tuiIO.c: Likewise.
1261 * tui/tuiLayout.c: Likewise.
1262 * tui/tuiRegs.c: Likewise.
1263 * tui/tuiSource.c: Likewise.
1264 * tui/tuiSourceWin.c: Likewise.
1265 * tui/tuiStack.c: Likewise.
1266 * tui/tuiWin.c: Likewise.
1267
cd4bffcf
EZ
12682002-02-07 Elena Zannoni <ezannoni@redhat.com>
1269
1270 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
1271 to include space for pseudoregs as well. Update loops accordingly.
1272 (sh_fp_frame_init_saved_regs): Ditto.
1273 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
1274
26806ce2
AC
12752002-02-07 Andrew Cagney <ac131313@redhat.com>
1276
1277 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
1278 Add Richard Earnshaw to Arm maintainers.
1279
97fdab62
AC
12802002-02-07 Andrew Cagney <ac131313@redhat.com>
1281
a6b98203
AC
1282 * defs.h (warning_begin): Delete declaration.
1283
97fdab62
AC
1284 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
1285 Delete macro.
1286
78b29b40
MS
12872002-02-07 Michael Snyder <msnyder@redhat.com>
1288
aaa38bb5 1289 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
1290 Logic bug, remove misplaced else.
1291
d8849953
KD
12922002-02-07 Klee Dienes <klee@apple.com>
1293
1294 * fork-inferior.c (fork_inferior): Add '!' to the list of
1295 characters that need to be quoted when building a string for the
1296 shell. Quote '!' specifically with a backslash, since CSH chokes
1297 when trying to evaluate "str!str".
aaa38bb5 1298
095778a0
NC
12992002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1300
1301 * rdi-share/host.h: Only provide a typedef for bool if it is not
1302 defined.
1303
1900040c
MS
13042002-02-04 Michael Snyder <msnyder@redhat.com>
1305
1306 * breakpoint.h (enum bptype): Add new overlay event bp type.
1307 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 1308
1900040c
MS
1309 * breakpoint.c (create_internal_breakpoint): New function.
1310 (internal_breakpoint_number): Moved into create_internal_breakpoint.
1311 (create_longjmp_breakpoint): Use create_internal_breakpoint.
1312 (create_thread_event_breakpoint): Ditto.
1313 (create_solib_event_breakpoint): Ditto.
1314 (create_overlay_event_breakpoint): New function.
1315 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
1316 (update_breakpoints_after_exec): Delete and re-initialize
1317 overlay event breakpoints after an exec. Add FIXME comment
1318 about longjmp breakpoint.
1319 (print_it_typical): Ignore overlay event breakpoints.
1320 (print_one_breakpoint): Ditto.
1321 (mention): Ditto.
1322 (bpstat_what): Do not stop for overlay event breakpoints.
1323 (delete_breakpoint): Don't delete overlay event breakpoints.
1324 (breakpoint_re_set_one): Delete the overlay event breakpoint.
1325 (breakpoint_re_set): Re-create overlay event breakpoint.
1326
1327 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
1328 (overlay_manual_command): Disable overlay breakpoints.
1329 (overlay_off_command): Disable overlay breakpoints.
1330
082fc60d
RE
13312002-02-06 Richard Earnshaw <rearnsha@arm.com>
1332
1333 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
1334 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
1335 to here from config/tm-arm.h.
1336 (coff_sym_is_thumb): Make static.
1337 (arm_elf_make_msymbol_special): New function.
1338 (arm_coff_make_msymbol_special): New function.
1339 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
1340 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
1341 (coff_sym_is_thumb): Delete declaration.
1342 (arm_elf_make_msymbol_special): Declare.
1343 (arm_coff_make_msymbol_special): Declare.
1344 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
1345 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
1346
039c5766
RE
13472002-02-06 Richard Earnshaw <rearnsha@arm.com>
1348
1349 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
1350
13512002-02-06 Richard Earnshaw <rearnsha@arm.com>
1352
1353 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
1354 * gdbarch.c gdbarch.h: Regenerate.
1355 * arch-utils.c (default_print_float_info): New function.
1356 * arch-utils.h (default_print_float_info): Prototype it.
1357 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
1358 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
1359 (PRINT_FLOAT_INFO): Document it.
1360
1361 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
1362 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
1363 (PRINT_FLOAT_INFO): Define.
1364
58fa08f0
PM
13652002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
1366
aaa38bb5 1367 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
1368 Add typecast to sprintf argument to suppress a warning.
1369
7393af7c
PM
13702002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
1371
58fa08f0 1372 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
1373 to allow easier handling of pass state.
1374 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
1375 that gives exception name and address.
1376 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 1377 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 1378 exceptions added.
aaa38bb5
AJ
1379 (child_continue): Correctly report continue_status.
1380 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 1381 TARGET_SIGNAL_0 (new default value).
aaa38bb5 1382 (child_resume): consider sig argument passed to decide if
7393af7c
PM
1383 the exception should be passed to debuggee or not.
1384
6af4589c
MS
13852002-02-05 Michael Snyder <msnyder@redhat.com>
1386
1387 * regcache.c (fetch_register): Call target_fetch_register
1388 only if we don't call FETCH_PSEUDO_REGISTER.
1389 (store_register): Call target_store_register only if we
1390 don't call STORE_PSEUDO_REGISTER.
1391
a2cf933a
EZ
13922002-02-05 Elena Zannoni <ezannoni@redhat.com>
1393
1394 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
1395 ELF_MAKE_MSYMBOL_SPECIAL.
1396 * gdbarch.c, gdbarch.h: Regenerate.
1397 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 1398 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
1399 * elfread.c (elf_symtab_read): Compile use of
1400 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
1401 multiarched.
1402 * coffread.c (coff_symtab_read): Ditto, for
1403 COFF_MAKE_MSYMBOL_SPECIAL.
1404
6bb7be43
JB
14052002-02-05 Jim Blandy <jimb@redhat.com>
1406
1407 * solib-svr4.c (svr4_truncate_ptr): New function.
1408 (svr4_relocate_section_addresses): Do the address arithmetic with
1409 the appropriate truncation for target addresses, even when
1410 CORE_ADDR is larger than a target address.
1411
e18651ec
DJ
14122002-02-05 Daniel Jacobowitz <drow@mvista.com>
1413
1414 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
1415 to (int *).
1416
6b2725be
DJ
14172002-02-05 Daniel Jacobowitz <drow@mvista.com>
1418
1419 * gdbserver/linux-low.c (kill_inferior): Remove commented out
1420 code.
1421
fca9e603
DJ
14222002-02-05 Daniel Jacobowitz <drow@mvista.com>
1423
1424 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
1425
6c537a52
DJ
14262002-02-05 Daniel Jacobowitz <drow@mvista.com>
1427
1428 * gdbserver/linux-low.c: Remove unused include files.
1429
d844cde6
DJ
14302002-02-05 Daniel Jacobowitz <drow@mvista.com>
1431
1432 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
1433 (read_inferior_memory): Use it.
1434 (write_inferior_memory): Likewise.
1435
d07c63e7
DJ
14362002-02-05 Daniel Jacobowitz <drow@mvista.com>
1437
1438 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
1439 grubbing through sys_errlist.
1440
da6d8c04
DJ
14412002-02-05 Daniel Jacobowitz <drow@mvista.com>
1442
1443 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
1444
5b421780
PM
14452002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1446 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
1447
9f60d481
AC
14482002-02-04 Andrew Cagney <ac131313@redhat.com>
1449
1450 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
1451 (do_sfunc, set_cmd_sfunc): New functions.
1452
1453 * command.h (struct cmd_list_element): Add field func.
1454 * cli/cli-decode.h (struct cmd_list_element): Ditto.
1455 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
1456 * cli/cli-decode.h: Ditto.
1457
1458 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
1459 (help_all, help_cmd_list): Ditto.
1460 (find_cmd, complete_on_cmdlist): Ditto.
1461 * top.c (execute_command): Ditto.
1462
1463 * cli/cli-setshow.c (do_setshow_command): Call func instead of
1464 function.sfunc.
1465
1466 * infcmd.c (notice_args_read): Fix function signature.
1467
1468 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
1469 * cli/cli-decode.c (add_set_cmd): Ditto.
1470 * utils.c (initialize_utils): Ditto.
1471 * maint.c (_initialize_maint_cmds): Ditto.
1472 * infrun.c (_initialize_infrun): Ditto.
1473 * demangle.c (_initialize_demangler): Ditto.
1474 * remote.c (add_packet_config_cmd): Ditto.
1475 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1476 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1477 * proc-api.c (_initialize_proc_api): Ditto.
1478 * kod.c (_initialize_kod): Ditto.
1479 * valprint.c (_initialize_valprint): Ditto.
1480 * top.c (init_main): Ditto.
1481 * infcmd.c (_initialize_infcmd): Ditto.
1482 * corefile.c (_initialize_core): Ditto.
1483 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1484 * arch-utils.c (initialize_current_architecture): Ditto.
1485 (_initialize_gdbarch_utils): Ditto.
1486 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1487
1488 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
1489 * wince.c (_initialize_inftarg): Ditto.
1490 * symfile.c (_initialize_symfile): Ditto.
1491 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1492 * language.c (_initialize_language): Ditto.
1493 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1494
f9ba0717
MS
14952002-02-04 Michael Snyder <msnyder@redhat.com>
1496
1497 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
1498
0c74b2a7
DJ
14992002-02-04 Daniel Jacobowitz <drow@mvista.com>
1500
1501 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
1502 Add rules for building the register data files.
1503
c638789f
DJ
15042002-02-04 Daniel Jacobowitz <drow@mvista.com>
1505
1506 * regformats/regdat.sh: Add braces to the definition of
1507 expedite_regs_${arch}.
1508
db253027
DJ
15092002-02-04 Daniel Jacobowitz <drow@mvista.com>
1510
1511 * regformats/regdef.h (struct reg): Add comment describing the
1512 requirements for offset and size fields.
1513
206be19c
AS
15142002-02-04 Andreas Schwab <schwab@suse.de>
1515
1516 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
1517 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
1518
181c1381
RE
15192002-02-04 Richard Earnshaw <rearnsha@arm.com>
1520
1521 * gdbarch.sh (copyright): Update years in generated header.
1522 (SMASH_TEXT_ADDRESS): Add rule.
db253027 1523 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
1524 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
1525 * dbxread.c: Likewise.
1526 * dwarfread.c: Likewise.
1527 * elfread.c: Likewise.
1528 * somread.c: Likewise.
1529
1530 * arm-tdep.c (arm_smash_text_address): New function.
1531 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
1532
fa4ba8da
PM
15332002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1534
1535 Add support for hardware watchpoints on win32 native.
aaa38bb5 1536 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 1537 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 1538 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
1539 of debug registers.
1540 (debug_registers_changed): New variable. Reflects when debug registers
1541 are changed and need to be written to inferior.
aaa38bb5 1542 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
1543 was set, used when new threads are created.
1544 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
1545 i386-nat code.
1546 (thread_rec): Set dr array if id is the thread of current_event .
1547 (child_continue, child_resume): Change the debug registers for all
1548 threads if debug_registers_changed.
1549 (child_add_thread): Change the debug registers if debug_registers_used.
1550 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1551 Link nm.h to new nm-cygwin.h file.
1552 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1553 of hardware registers.
1554
a73c86fb
AC
15552002-02-03 Andrew Cagney <ac131313@redhat.com>
1556
1557 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1558 Restore behavour broken by 2002-01-20 Andrew Cagney
1559 <ac131313@redhat.com> IEEE_FLOAT removal.
1560
acf5ed49
DJ
15612002-02-03 Daniel Jacobowitz <drow@mvista.com>
1562
1563 * c-valprint.c (c_val_print): Pass a proper valaddr to
1564 cp_print_class_method.
1565 * valops.c (search_struct_method): If there is only one method
1566 and args is NULL, return that method.
1567
493d28d5
DJ
15682002-02-03 Daniel Jacobowitz <drow@mvista.com>
1569
1570 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1571 accessing tag_name directly.
1572
7495dfdb
DJ
15732002-02-03 Daniel Jacobowitz <drow@mvista.com>
1574
1575 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1576 of accessing tag_name directly.
1577
dd6bda65
DJ
15782002-02-03 Daniel Jacobowitz <drow@mvista.com>
1579
1580 PR gdb/280
1581 * gdbtypes.c (replace_type): New function.
1582 * gdbtypes.h (replace_type): Add prototype.
1583 * stabsread.c (read_type): Use replace_type.
1584
88fe217c
RE
15852002-02-03 Richard Earnshaw <rearnsha@arm.com>
1586
1587 * Makefile.in (memattr.o): Add missing dependencies rule.
1588
e5d66720
PS
15892002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1590
1591 * breakpoint.c (break_at_finish_command): Really export.
1592 (break_at_finish_at_depth_command): Ditto.
1593 (tbreak_at_finish_command): Ditto.
1594 * hppa-tdep.c: Include completer.h.
1595 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1596 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1597
fffee0be
AC
15982002-02-01 Andrew Cagney <ac131313@redhat.com>
1599
1600 * utils.c (do_write): New function.
1601 (error_stream): Rewrite combining the code from error_begin and
1602 verror.
1603 (verror): Rewrite using error_stream.
1604 (error_begin): Delete function.
1605
255e7dbf
AC
16062002-02-01 Andrew Cagney <ac131313@redhat.com>
1607
1608 * utils.c (error_begin): Make static.
1609 * defs.h (error_begin): Delete declaration.
1610
1611 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1612 (decode_line_1): Use cplusplus_error instead of error_begin,
1613 cplusplus_hint and return_to_top_level.
1614 * coffread.c (coff_symfile_read): Use error instead of error_begin
1615 and return_to_top_level.
1616 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1617
ddfe3c15
AC
16182002-02-01 Andrew Cagney <ac131313@redhat.com>
1619
1620 * language.h (type_error, range_error): Make string parameter
1621 constant.
1622 * language.c (warning_pre_print): Delete extern declaration.
1623 * dwarfread.c (warning_pre_print): Ditto.
1624 * language.c (type_error, range_error): Rewrite to use verror and
1625 vwarning instead of warning_begin.
1626
03ac34d5
MS
16272002-02-01 Michael Snyder <msnyder@redhat.com>
1628
261c4ca2
MS
1629 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1630 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 1631
e00d1dc8
AC
16322002-02-01 Andrew Cagney <ac131313@redhat.com>
1633
1634 * command.h (NO_FUNCTION): Delete macro.
1635 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1636 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1637 * tracepoint.c (_initialize_tracepoint): Ditto.
1638 * cli/cli-decode.c (add_set_cmd): Ditto.
1639 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 1640
76b79d6e
DJ
16412002-02-01 Daniel Jacobowitz <drow@mvista.com>
1642
1643 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1644 Update ``this'' pointer when calling virtual functions.
1645
799f9e91
MS
16462002-02-01 Michael Snyder <msnyder@redhat.com>
1647
c7bd442c 1648 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
1649 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1650
3cf384d4
DJ
16512002-02-01 Daniel Jacobowitz <drow@mvista.com>
1652
1653 * regformats/reg-arm.dat: New file.
1654 * regformats/reg-i386.dat: New file.
1655 * regformats/reg-ia64.dat: New file.
1656 * regformats/reg-m68k.dat: New file.
1657 * regformats/reg-mips.dat: New file.
1658 * regformats/reg-ppc.dat: New file.
1659 * regformats/reg-sh.dat: New file.
1660 * regformats/regdef.h: New file.
1661 * regformats/regdat.sh: New file.
1662
0defa245
RE
16632002-02-01 Richard Earnshaw <reanrsha@arm.com>
1664
1665 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1666 (arm_frame_args_address, arm_frame_locals_address): New functions.
1667 (arm_frame_num_args): New function.
1668 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1669 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1670 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1671
405f26e6
MS
16722002-01-31 Michael Snyder <msnyder@redhat.com>
1673
502fd408
MS
1674 * breakpoint.c (break_at_finish_command): Export.
1675 (break_at_finish_at_depth_command): Export.
1676 (tbreak_at_finish_command): Export.
1677 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1678 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1679 "tbreak" commands, which are HPPA specific.
1680
7d35e135
MS
1681 * printcmd.c (disassemble_command): Remove an ancient
1682 artifact of an old merge.
1683
aaa38bb5 1684 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
1685 Define enum constant values for overlay mode.
1686 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
1687 (overlay_is_mapped, overlay_auto_command,
1688 overlay_manual_command): Ditto.
d874f1e2 1689
aaa38bb5
AJ
1690 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1691 breakpoint_here_p, breakpoint_inserted_here_p,
1692 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
1693 describe_other_breakpoints, check_duplicates, clear_command):
1694 Coding standard fixes.
1695
8add0441 1696 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 1697 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
1698 code: check bfd SEC_READONLY flag for section.
1699
e351066e
AC
17002002-01-31 Andrew Cagney <ac131313@redhat.com>
1701
7d35e135 1702 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 1703
8a48e967
DJ
17042002-01-30 Daniel Jacobowitz <drow@mvista.com>
1705
1706 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
1707 data symbols, since we search based on textlow and texthigh.
1708 (find_pc_sect_symtab): Likewise.
1709
f5a96129
AC
17102002-01-30 Andrew Cagney <ac131313@redhat.com>
1711
1712 * defs.h (vwarning): Declare.
f5a96129
AC
1713 * utils.c (vwarning): New function.
1714 (warning): Call vwarning.
1715 (warning_begin): Delete function.
1716
1717 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
1718 the warning message.
1719 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
1720 warning_begin.
1721
cefd4ef5
MS
17222002-01-30 Michael Snyder <msnyder@redhat.com>
1723
1a703748
MS
1724 * NEWS: Mention "set trust-readonly-sections" command.
1725 Mention generate-core-file command.
cefd4ef5 1726
3a11626d
MS
17272002-01-15 Michael Snyder <msnyder@redhat.com>
1728
1729 * target.c: New command, "set trust-readonly-sections on".
1730 (do_xfer_memory): Honor the suggestion to trust readonly sections
1731 by reading them from the object file instead of from the target.
1732 (initialize_targets): Register command "set trust-readonly-sections".
1733
d1c7e53b
AC
17342002-01-29 Andrew Cagney <ac131313@redhat.com>
1735
1736 * parse.c (target_map_name_to_register): Simplify, search regs and
1737 pseudo-regs using a single loop.
1738
e2c9a72c
AC
17392002-01-30 Andrew Cagney <ac131313@redhat.com>
1740
1741 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
1742
69824b4e
MK
17432002-01-15 Rodney Brown <rbrown64@csc.com.au>
1744
1745 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
1746 * config/i386/i386v42mp.mh: Add i387-nat.o .
1747 * i386v4-nat.c: Include i387-nat.h.
1748 (supply_fpregset): Use i387_supply_fsave.
1749 (fill_fpregset): Use i387_fill_fsave.
1750
6eb69eab
RE
17512002-01-30 Richard Earnshaw <rearnsha@arm.com>
1752
1753 * arm-tdep.c (arm_call_dummy_words): Define.
1754 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
1755 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
1756 (CALL_DUMMY_WORDS): Define.
1757 (arm_call_dummy_words): Declare.
1758 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
1759 (arm_linux_call_dummy_words): Declare.
1760
9852326a
AS
17612002-01-30 Andreas Schwab <schwab@suse.de>
1762
1763 * m68klinux-nat.c: Fix last change to use regcache_collect
1764 instead of referencing registers[] directly.
1765
977a3030
AC
17662002-01-29 Andrew Cagney <ac131313@redhat.com>
1767
1768 * parse.c (target_map_name_to_register): Delete code wrapped in
1769 #ifdef REGISTER_NAME_ALIAS_HOOK.
1770
2076c72b
MS
17712002-01-28 Michael Snyder <msnyder@redhat.com>
1772
1773 * regcache.c (legacy_read_register_gen): Need to be able to
1774 read pseudo-register as well as real register.
1775 (legacy_write_register_gen): Ditto.
1776
8fcc723b
AC
17772002-01-28 Andrew Cagney <ac131313@redhat.com>
1778
1779 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1780 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
1781 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
1782 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
1783 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
1784 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
1785 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
1786 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
1787 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
1788 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1789 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
1790 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
1791 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
1792 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
1793 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
1794 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
1795 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
1796 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
1797 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
1798 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
1799
afe64c1a
AC
18002002-01-28 Andrew Cagney <ac131313@redhat.com>
1801
1802 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
1803 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
1804 (initialize_current_architecture): Update target_byte_order using
1805 information from BFD.
aaa38bb5 1806 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
1807 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
1808
75bc7ddf
AC
18092002-01-28 Andrew Cagney <ac131313@redhat.com>
1810
1811 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
1812 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
1813
1814 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
1815 #ifdef INVALID_FLOAT.
1816 * infcmd.c (do_registers_info): Ditto.
1817 * values.c (unpack_double): Ditto. Add comment.
1818
1819 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
1820 already commented out.
1821
0280a90a
AS
18222002-01-26 Andreas Schwab <schwab@suse.de>
1823
1824 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
1825 * m68klinux-nat.c: Update ptrace interface for fetching/storing
1826 registers and add support for PTRACE_GETREGS.
1827
7072a954
AC
18282002-01-24 Andrew Cagney <ac131313@redhat.com>
1829
1830 GDB 5.1.1 released from 5.1 branch.
1831 * NEWS: Add 5.1.1 news.
1832 * README: Sync with 5.1 branch.
1833
86f902e0
FF
18342002-01-23 Fred Fish <fnf@redhat.com>
1835
1836 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
1837 stabstring on initial malloc. Reallocing will copy it for us,
1838 if necessary.
1839
8af51c36
EZ
18402002-01-23 Elena Zannoni <ezannoni@redhat.com>
1841
aaa38bb5 1842 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
1843 (HFILES_NO_SRCDIR): Remove hpread.h.
1844 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
1845 (hpread.o): Update dependencies.
1846 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
1847
1848 * hp-psymtab-read.c: Remove file.
1849 * hp-symtab-read.c: Remove file.
1850 * hpread.h: Remove file.
1851
1852 * hpread.c: Merge all contents of hp-psymtab-read.c,
1853 hp-symtab-read.c and hpread.h into this file, as it was prior to
1854 January 1999.
1855
1856 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 1857 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
1858 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
1859 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
1860
dc5cfeb6
EZ
18612002-01-23 Elena Zannoni <ezannoni@redhat.com>
1862
1863 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
1864 fill_gregset): Call gdbarch_tdep() just once, assign result to
1865 variable and use that, instead of calling the function several
1866 times.
1867
ea87b71b
AO
18682002-01-24 Alexandre Oliva <aoliva@redhat.com>
1869
1870 * configure.host: Accept sparcv9 as alias for sparc64.
1871 * configure.tgt: Likewise.
1872
13fc0c2f
KB
18732002-01-22 Kevin Buettner <kevinb@redhat.com>
1874
1875 * solib-aix5.c (build_so_list_from_mapfile)
1876 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
1877 arguments is not reversed.
1878 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
1879 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 1880
7bd872fe
EZ
18812002-01-22 Elena Zannoni <ezannoni@redhat.com>
1882
1883 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
1884 modified version of obsolete sh_fetch_pseudo_register.
1885 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
1886 (sh4_register_read): New function.
1887 (sh_pseudo_register_write): New function. Renamed and modified
1888 version of obsolete sh_store_pseudo_register.
1889 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
1890 (sh4_register_write): New function.
1891 (sh_gdbarch_init): Remove setting of gdbarch function
1892 fetch_pseudo_register and store_pseudo_register. Remove setting of
1893 register_convert_to_raw, register_convert_to_virtual,
1894 register_convertible.
1895 (sh_sh4_register_convertible): Delete. No longer needed. All is
1896 taken care by architecture specific functions
1897 register_read/register_write.
1898 (sh_sh4_register_convert_to_virtual): Make static.
1899 (sh_sh4_register_convert_to_raw): Ditto.
1900
069e84fd
AC
19012002-01-22 Andrew Cagney <ac131313@redhat.com>
1902
1903 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
1904 (floatformat_is_nan, floatformat_mantissa): Ditto.
1905
1906 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
1907 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
1908 builtin_type_ieee_double_little,
1909 builtin_type_ieee_double_littlebyte_bigword,
1910 builtin_type_m68881_ext, builtin_type_i960_ext,
1911 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
1912 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
1913 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
1914 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
1915
211a4f69
CV
19162002-01-22 Corinna Vinschen <vinschen@redhat.com>
1917
1918 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
1919 parameter. Set frameless flag if it exists and depended of
1920 whether the scanned function is frameless or not.
1921 (xstormy16_skip_prologue): If function is frameless, return
1922 result of xstormy16_scan_prologue().
1923 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
1924 call.
1925
f81353e4
EZ
19262002-01-21 Elena Zannoni <ezannoni@redhat.com>
1927
1928 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
1929 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1930 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
1931 sh_sh4_register_byte, sh_sh4_register_raw_size,
1932 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
1933 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
1934 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
1935 sh_store_pseudo_register, sh_do_pseudo_register): Call
1936 gdbarch_tdep() just once, assign result to variable and use that,
1937 instead of calling the function several times.
1938
63c73a17
MK
19392002-01-20 Mark Kettenis <kettenis@gnu.org>
1940
1941 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
1942 macros instead of LAST_FPU_CTRL_REGNUM.
1943 (store_register): Likewise.
1944
39ad761d
JB
19452002-01-21 Jim Blandy <jimb@redhat.com>
1946
1947 * infcmd.c (run_command): Check that the `exec' target layer's BFD
1948 is up-to-date before running the program, not just when a program
1949 exits.
1950
3d74b771
FF
19512002-01-21 Fred Fish <fnf@redhat.com>
1952
1953 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
1954 when we have found all instructions we are looking for.
1955
966fbf70
RE
19562002-01-21 Richard Earnshaw <rearnsha@arm.com>
1957
1958 * arm-tdep.c (arm_register_name): New function.
1959 (arm_registers_names): Make static.
1960 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
1961 (arm_register_name): Declare.
1962 (REGISTER_NAME): Use it.
1963
c3b4394c
RE
19642002-01-21 Richard Earnshaw <rearnsha@arm.com>
1965 Kevin Buettner <kevinb@redhat.com>
1966
1967 Convert arm targets to new FRAME interface.
1968 * arm-tdep.c (struct frame_extra_info): Remove fsr.
1969 (arm_frame_find_save_regs): Delete.
1970 (arm_frame_init_saved_regs): New.
1971 (arm_init_extra_frame_info): Alloacte saved_regs as required.
1972 Allocate extra_info as required. Convert all uses of fsr.regs
1973 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
1974 to use extra_info.
1975 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
1976 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
1977 (check_prologue_cache, save_prologue_cache): Likewise.
1978 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
1979 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
1980 (FRAME_FIND_SAVED_REGS): Delete.
1981 (arm_frame_find_saved_regs): Delete prototype.
1982 (arm_frame_init_saved_regs): New prototype.
1983 (FRAME_INIT_SAVED_REGS): Define.
1984
61d99182
AC
19852002-01-20 Andrew Cagney <ac131313@redhat.com>
1986
1987 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
1988
6aaea291
AC
19892002-01-20 Andrew Cagney <ac131313@redhat.com>
1990
1991 From Jeff Law <law@redhat.com>:
1992 * infttrace.c: Include <sys/pstat.h>.
1993 (child_pid_to_exec_file): Revamp. Use pstat call to get the
1994 exec file if the ttrace equivalent fails.
1995
15f698d2
AC
19962002-01-20 Andrew Cagney <ac131313@redhat.com>
1997
1998 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
1999 (closeLogFile): Ditto.
2000
f86ddd7c
MC
20012002-01-20 Michael Chastain <mec@shout.net>
2002
2003 * top.c (print_gdb_version): Bump copyright year to 2002.
2004
904507ce
AC
20052002-01-20 Andrew Cagney <ac131313@redhat.com>
2006
2007 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
2008 Zannoni and Eli Zaretskii.
2009
d7f0b9ce
DJ
20102002-01-20 Daniel Jacobowitz <drow@mvista.com>
2011
2012 * buildsym.c: Update copyright years.
2013 * c-typeprint.c: Likewise.
2014 * dwarf2read.c: Likewise.
2015 * f-typeprint.c: Likewise.
2016 * gdbtypes.c: Likewise.
2017 * gdbtypes.h: Likewise.
2018 * hp-symtab-read.c: Likewise.
2019 * hpread.c: Likewise.
2020 * mdebugread.c: Likewise.
2021 * p-typeprint.c: Likewise.
2022
3fd3d7d2
AC
20232002-01-20 Andrew Cagney <ac131313@redhat.com>
2024
2025 * remote-sim.c (gdbsim_open): Simplify code testing the macro
2026 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
2027 byte-order selectable.
2028 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
2029 * arch-utils.c: Ditto.
2030 (set_endian): Ditto.
2031 (set_endian_from_file): Ditto.
2032 * gdbserver/low-sim.c (create_inferior): Ditto.
2033 * gdbarch.sh: Ditto.
2034 * gdbarch.h: Re-generate.
aaa38bb5
AJ
2035 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2036 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
2037 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
2038 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2039 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2040 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2041 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
2042 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
2043 macro definition.
2044 * config/mips/tm-wince.h: Remove #undef of macro
2045 TARGET_BYTE_ORDER_SELECTABLE.
2046 * config/sh/tm-wince.h: Ditto.
2047
b02dede2
DJ
20482002-01-20 Daniel Jacobowitz <drow@mvista.com>
2049
2050 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
2051 member function fields. Add accessor macro
2052 TYPE_FN_FIELD_ARTIFICIAL.
2053 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
2054 * c-typeprint.c (c_type_print_base): Skip artificial member
2055 functions.
2056
c3643761
DJ
20572002-01-20 Daniel Jacobowitz <drow@mvista.com>
2058
2059 * f-typeprint.c: Delete unused function f_type_print_args.
2060 * p-typeprint.c: Delete unused function pascal_type_print_args.
2061
8176bb6d
DJ
20622002-01-20 Daniel Jacobowitz <drow@mvista.com>
2063
2064 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
2065 comment. Add ``artificial'' to ``union field_location''.
2066
2067 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
2068
2069 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
2070 * mdebugread.c (parse_symbol): Likewise.
2071 * stabsread.c (define_symbol): Likewise.
2072 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
2073 initializing TYPE_FIELD_BITPOS to n (obsolete).
2074 (hpread_doc_function_type): Likewise.
2075 * hpread.c (hpread_function_type): Likewise.
2076
7fd60527
AC
20772002-01-20 Andrew Cagney <ac131313@redhat.com>
2078
2079 * configure.in (host_makefile_frag): Only require a host makefile
2080 fragment when a native build.
2081 * configure: Re-generate.
2082
c2f05ac9
AC
20832002-01-20 Andrew Cagney <ac131313@redhat.com>
2084
2085 * doublest.h (floatformat_from_type): Declare.
2086 * doublest.c (floatformat_from_type): New function.
2087 (convert_typed_floating): Use.
2088
2089 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
2090 call to function floatformat_from_type.
2091
2092 * gdbarch.sh (IEEE_FLOAT): Delete.
2093 * gdbarch.h, gdbarch.c: Re-generate.
2094 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
2095 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
2096 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
2097 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
2098 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
2099 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
2100 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
2101 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
2102 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
2103 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
2104 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
2105 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
2106
2107 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
2108 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
2109 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2110 * sh-tdep.c (sh_gdbarch_init): Ditto.
2111 * mips-tdep.c (mips_gdbarch_init): Ditto.
2112 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2113 * cris-tdep.c (cris_gdbarch_init): Ditto.
2114
abf22e64
AJ
21152002-01-20 Jiri Smid <smid@suse.cz>
2116
2117 * configure.host, configure.tgt: Support x86-64.
2118 * NEWS: Note new target x86-64.
2119
b7c4cbf8
AJ
2120 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
2121 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
2122 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
2123 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
2124 x86-64-linux-nat.o): Fix dependencies.
2125
82600034
AC
21262002-01-19 Andrew Cagney <ac131313@redhat.com>
2127
2128 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
2129 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
2130 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
2131 * config/sparc/xm-sun4os4.h: Delete file.
2132 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 2133
bbe5c628
AC
21342002-01-19 Andrew Cagney <ac131313@redhat.com>
2135
2136 * config/sparc/sparclynx.mh (XM_FILE): Delete.
2137 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
2138 * config/m68k/m68klynx.mh (XM_FILE): Delete.
2139 * config/i386/i386lynx.mh (XM_FILE): Delete.
2140 * config/rs6000/xm-rs6000ly.h: Delete file.
2141 * config/sparc/xm-sparclynx.h: Delete file.
2142 * config/m68k/xm-m68klynx.h: Delete file.
2143 * config/i386/xm-i386lynx.h: Delete file.
2144 * config/xm-lynx.h: Delete file.
2145 * config/djgpp/fnchange.lst: Update.
2146
f8453e34
JT
21472002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2148
2149 * alpha-tdep.c (alpha_register_byte): New function.
2150 (alpha_register_raw_size): Ditto.
2151 (alpha_register_virtual_size): Ditto.
2152 (alpha_skip_prologue_internal): Renamed from
2153 alpha_skip_prologue.
2154 (alpha_skip_prologue): New version that calls
2155 alpha_skip_prologue_internal.
2156 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
2157 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
2158 second argument from alpha_skip_prologue.
2159 (REGISTER_BYTE): Use alpha_register_byte.
2160 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
2161 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
2162 (FRAMELESS_FUNCTION_INVOCATION): Use
2163 generic_frameless_function_invocation_not.
2164 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
2165 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2166
52d9e613
AC
21672002-01-19 Andrew Cagney <ac131313@redhat.com>
2168
2169 * config/mips/xm-news-mips.h: Delete file.
2170 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
2171
2172 * config/m88k/xm-m88k.h: Delete file.
2173 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
2174 * config/m88k/xm-delta88v4.h: Ditto.
2175 * config/m88k/xm-delta88.h: Ditto.
2176
2177 * config/alpha/xm-fbsd.h: Delete file.
2178 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
2179
2180 * config/sparc/xm-sparc.h: Delete file.
2181 * Makefile.in (xm-sun4os4.h): Delete dependency.
2182 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
2183 * config/sparc/xm-sun4os4.h: Ditto.
2184 * config/sparc/xm-linux.h: Ditto.
2185
2186 * config/i386/xm-windows.h: Delete file.
2187
2d1b2124
AC
21882002-01-19 Andrew Cagney <ac131313@redhat.com>
2189
2190 * utils.c: Include <sys/param.h> for MAXPATHLEN.
2191 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
2192
ee1f65f0
JT
21932002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2194
2195 * alpha-tdep.c (alpha_call_dummy_words): New.
2196 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
2197 (CALL_DUMMY_P): Define.
2198 (CALL_DUMMY_WORDS): Define.
2199 (SIZEOF_CALL_DUMMY_WORDS): Define.
2200
98081e55
PB
22012002-01-19 Per Bothner <per@bothner.com>
2202
2203 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
2204 isn't NULL, which can happen with some gcj-3.x-produced code.
2205
0d056799
JT
22062002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2207
2208 * alpha-tdep.c (alpha_register_virtual_type): New function.
2209 (alpha_init_frame_pc_first): Ditto.
2210 (alpha_fix_call_dummy): Ditto.
2211 (alpha_store_struct_return): Ditto.
2212 (alpha_extract_struct_value_address): Ditto.
2213 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
2214 alpha_register_virtual_type.
2215 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
2216 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
2217 alpha_extract_struct_value_address.
2218 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
2219 (INIT_FRAME_PC): Use init_frame_pc_noop.
2220 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2221
4604bcad
MK
22222002-01-19 Mark Kettenis <kettenis@gnu.org>
2223
2224 * i386gnu-nat.c: Include "i386-tdep.h".
2225 (fetch_fpregs): Simplify code dealing with uninitialized floating
2226 point states such that it doesn't require FP7_REGNUM.
2227
140f9984
JT
22282002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2229
abf22e64
AJ
2230 * alpha-tdep.c (frame_extra_info): New.
2231 (alpha_find_saved_regs): Make static. Use
140f9984
JT
2232 frame->extra_info.
2233 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
2234 (alpha_frame_saved_pc): Use frame->extra_info.
2235 (temp_saved_regs): Don't declare as struct frame_saved_regs.
2236 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
2237 (init_extra_frame_info): Rename to...
2238 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 2239 (alpha_print_extra_frame_info): New function.
140f9984
JT
2240 (alpha_frame_locals_address): Ditto.
2241 (alpha_frame_args_address): Ditto.
abf22e64 2242 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
2243 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
2244 alpha_frame_args_address.
abf22e64 2245 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 2246 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
2247 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
2248 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
2249 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
2250 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2251
d734c450
JT
22522002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2253
2254 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
2255 (alpha_cannot_fetch_register): Ditto.
2256 (alpha_cannot_store_register): Ditto.
2257 (alpha_register_convertible): Ditto.
2258 (alpha_use_struct_convention): Ditto.
2259 * config/alpha/tm-alpha.h: Update copyright years.
2260 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
2261 (INNER_THAN): Use core_addr_lessthan.
2262 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
2263 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
2264 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
2265 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
2266 (FRAME_CHAIN): Remove unnecessary cast.
2267
b4ceaee6
AC
22682002-01-18 Andrew Cagney <ac131313@redhat.com>
2269
2270 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
2271 obsolete.
2272
0a65a603
AC
22732002-01-18 Andrew Cagney <ac131313@redhat.com>
2274
2275 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
2276 * monitor.c, remote-array.c, remote-bug.c: Ditto.
2277 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
2278 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
2279 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
2280 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
2281 * x86-64-linux-nat.c: Ditto.
2282
636a6dfc
JT
22832002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2284
abf22e64 2285 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
2286 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
2287 (REGISTER_NAME): Define.
2288
acceddb6
JT
22892002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2290
2291 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
2292
ec32e4be
JT
22932002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2294
2295 * alpha-tdep.c: Update copyright years.
2296 (alpha_next_pc): New function.
2297 (alpha_software_single_step): Ditto.
2298 * config/alpha/tm-alpha.h: Add prototype for
2299 alpha_software_single_step.
2300
e771a871
JT
23012002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2302
2303 * alphabsd-nat.c: Update copyright years.
2304 (fill_gregset): Use regcache_collect.
2305 (fill_fpregset): Likewise.
2306 (fetch_inferior_registers): Only fetch integer registers
2307 if requested to do so.
2308 (store_inferior_registers): Only store integer registers
2309 if requested to do so.
2310
7708fa01
AC
23112002-01-17 Andrew Cagney <ac131313@redhat.com>
2312
2313 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
2314 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
2315 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
2316 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
2317 * config/alpha/fbsd.mh (XDEPFILES): Delete.
2318 * config/arm/linux.mh (XDEPFILES): Delete.
2319 * config/arm/nbsd.mh (XDEPFILES): Delete.
2320 * config/i386/i386dgux.mh (XDEPFILES): Delete.
2321 * config/i386/i386sol2.mh (XDEPFILES): Delete.
2322 * config/i386/i386m3.mh (XDEPFILES): Delete.
2323 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
2324 * config/i386/i386gnu.mh (XDEPFILES): Delete.
2325 * config/i386/fbsd.mh (XDEPFILES): Delete.
2326 * config/i386/i386bsd.mh (XDEPFILES): Delete.
2327 * config/i386/i386sco5.mh (XDEPFILES): Delete.
2328 * config/i386/i386v4.mh (XDEPFILES): Delete.
2329 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
2330 * config/i386/i386sco4.mh (XDEPFILES): Delete.
2331 * config/i386/i386aix.mh (XDEPFILES): Delete.
2332 * config/i386/go32.mh (XDEPFILES): Delete.
2333 * config/i386/cygwin.mh (XDEPFILES): Delete.
2334 * config/i386/i386lynx.mh (XDEPFILES): Delete.
2335 * config/i386/i386mach.mh (XDEPFILES): Delete.
2336 * config/i386/i386v32.mh (XDEPFILES): Delete.
2337 * config/i386/linux.mh (XDEPFILES): Delete.
2338 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
2339 * config/i386/ncr3000.mh (XDEPFILES): Delete.
2340 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
2341 * config/i386/i386sco.mh (XDEPFILES): Delete.
2342 * config/i386/i386v.mh (XDEPFILES): Delete.
2343 * config/i386/nbsd.mh (XDEPFILES): Delete.
2344 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
2345 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
2346 * config/i386/symmetry.mh (XDEPFILES): Delete.
2347 * config/i386/obsd.mh (XDEPFILES): Delete.
2348 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
2349 * config/ia64/linux.mh (XDEPFILES): Delete.
2350 * config/ia64/aix.mh (XDEPFILES): Delete.
2351 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
2352 * config/m68k/dpx2.mh (XDEPFILES): Delete.
2353 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
2354 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
2355 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
2356 * config/m68k/linux.mh (XDEPFILES): Delete.
2357 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
2358 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
2359 * config/m68k/nbsd.mh (XDEPFILES): Delete.
2360 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
2361 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
2362 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
2363 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
2364 * config/m88k/delta88.mh (XDEPFILES): Delete.
2365 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
2366 * config/m88k/m88k.mh (XDEPFILES): Delete.
2367 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
2368 * config/mips/linux.mh (XDEPFILES): Delete.
2369 * config/mips/irix6.mh (XDEPFILES): Delete.
2370 * config/mips/irix5.mh (XDEPFILES): Delete.
2371 * config/mips/irix4.mh (XDEPFILES): Delete.
2372 * config/mips/irix3.mh (XDEPFILES): Delete.
2373 * config/mips/decstation.mh (XDEPFILES): Delete.
2374 * config/mips/mipsm3.mh (XDEPFILES): Delete.
2375 (NATDEPFILES): Move core-aout.o to here.
2376 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
2377 * config/pa/hpux1020.mh (XDEPFILES): Delete.
2378 * config/pa/hppabsd.mh (XDEPFILES): Delete.
2379 * config/pa/hppahpux.mh (XDEPFILES): Delete.
2380 * config/pa/hpux11w.mh (XDEPFILES): Delete.
2381 * config/pa/hppaosf.mh (XDEPFILES): Delete.
2382 * config/pa/hpux11.mh (XDEPFILES): Delete.
2383 * config/powerpc/aix.mh (XDEPFILES): Delete.
2384 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
2385 * config/powerpc/linux.mh (XDEPFILES): Delete.
2386 * config/romp/rtbsd.mh: Rename XDEPFILES.
2387 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
2388 * config/rs6000/aix4.mh (XDEPFILES): Delete.
2389 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
2390 * config/s390/s390.mh (XDEPFILES): Delete.
2391 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
2392 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
2393 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
2394 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
2395 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
2396 * config/sparc/nbsd.mh (XDEPFILES): Delete.
2397 * config/sparc/linux.mh (XDEPFILES): Delete.
2398 * config/vax/vaxult.mh (XDEPFILES): Delete.
2399 * config/vax/vaxult2.mh (XDEPFILES): Delete.
2400 * Makefile.in (DEPFILES): Remove XDEPFILES.
2401
375fc983
AC
24022002-01-17 Andrew Cagney <ac131313@redhat.com>
2403
2404 * utils.c (internal_verror): Fix comments, default is yes not no.
2405 Update queries to match. Default to quit and dump core.
2406
8926118c
AC
24072002-01-17 Andrew Cagney <ac131313@redhat.com>
2408
2409 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
2410 copyright.
2411 * defs.h, event-top.c, gdbcmd.h: Ditto.
2412 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
2413 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
2414 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
2415 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
2416 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
2417 * mi/mi-main.c:Ditto.
2418
2419 * stack.c, symfile.c: Update copyright.
2420
45b7b345
DJ
24212002-01-17 Daniel Jacobowitz <drow@mvista.com>
2422
db728ff7
DJ
2423 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
2424 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
2425 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
2426 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 2427
db728ff7
DJ
24282002-01-17 Daniel Jacobowitz <drow@mvista.com>
2429
2430 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
2431 * gdbserver/low-lynx.c (myattach): Likewise.
2432 * gdbserver/low-nbsd.c (myattach): Likewise.
2433 * gdbserver/low-sim.c (myattach): Likewise.
2434 * gdbserver/low-sparc.c (myattach): Likewise.
2435 * gdbserver/low-sun3.c (myattach): Likewise.
2436
2437 * gdbserver/low-linux.c (myattach): New function.
45b7b345 2438
db728ff7 2439 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
2440 (main): Handle "--attach".
2441
8de3c354
AC
24422002-01-16 Andrew Cagney <ac131313@redhat.com>
2443
2444 * MAINTAINERS (language support): Daniel Jacobwitz is C++
2445 maintainer.
2446
b0129042
DJ
24472002-01-15 Daniel Jacobowitz <drow@mvista.com>
2448
2449 * c-typeprint.c (is_type_conversion_operator): Add additional
2450 check for non-conversion operators.
2451
ba8679fb 24522002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
2453
2454 * linux-proc.c: Add "info proc" command, a la procfs.c.
2455 (read_mapping): New function, abstract and re-use code.
2456 (linux_find_memory_regions): Use new func read_mapping.
2457 (linux_info_proc_cmd): New function, implement "info proc".
2458 (_initialize_linux_proc): Add new command "info proc".
2459
e4f9b4d5
MS
24602002-01-15 Michael Snyder <msnyder@redhat.com>
2461
2462 * symfile.c (generic_load): Use bfd_map_over_sections method
2463 instead of manipulating bfd structure members directly.
2464 (add_section_size_callback): New function, bfd sections callback
2465 used by generic_load.
2466 (load_sections_callback): New function, bfd sections callback
2467 used by generic_load.
2468
08cf96df
EZ
24692002-01-15 Elena Zannoni <ezannoni@redhat.com>
2470
abf22e64 2471 [Based on work by Jim Blandy]
08cf96df
EZ
2472 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
2473 (builtin_type_vec128): Export.
2474 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
2475 types.
2476 (builtin_type_vec128): New builtin type for 128 bit vector
2477 registers.
2478 (build_gdbtypes): Initialize builtin_type_v16qi and
2479 builtin_type_v8hi. Create the vec128 register builtin type
2480 structure.
2481 (build_builtin_type_vec128): New function.
abf22e64 2482 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
2483 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
2484 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
2485 AltiVec register to new builtin type.
2486
d7242108
DJ
24872001-01-15 Daniel Jacobowitz <drow@mvista.com>
2488
2489 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
2490 to make_cv_type.
2491
4ee3352d
AC
24922002-01-14 Andrew Cagney <ac131313@redhat.com>
2493
2494 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
2495 CLEAN_UP_REGISTER_VALUE.
2496 * regcache.c (supply_register): Update only call.
2497
f015b2e7
AC
24982002-01-14 Andrew Cagney <ac131313@redhat.com>
2499
2500 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2501 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2502 a29k-*-vxworks* targets as obsolete.
2503
356ae49d
MS
25042002-01-14 Michael Snyder <msnyder@redhat.com>
2505
2506 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
2507 until we can resolve portability issues.
2508 * gregset.h: Remove references to fpxregs.
2509 * gcore.c (gcore_command): Initialize note_sec to NULL.
2510
ade8f45e
AC
25112002-01-13 Andrew Cagney <ac131313@redhat.com>
2512
2513 * signals.c (target_signal_to_name): Rewrite. Only use
2514 signals[].name when in bounds and non-NULL.
abf22e64 2515
89c49e7a
AC
25162002-01-13 Andrew Cagney <ac131313@redhat.com>
2517
2518 From Petr Ledvina <ledvinap@kae.zcu.cz>:
2519 * signals.c (target_signal_to_name): Verify that SIG is within the
2520 bounds of the signals array.
2521
4daa9f9f
AC
25222002-01-13 Andrew Cagney <ac131313@redhat.com>
2523
2524 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
2525
ba4bbdcb
KS
25262002-01-13 Keith Seitz <keiths@redhat.com>
2527
2528 * stack.c (print_frame_info_base): Print the frame's pc
2529 only if when print_frame_info_listing_hook is not defined.
2530
575bbeb6
KS
25312002-01-13 Keith Seitz <keiths@redhat.com>
2532
2533 * varobj.c (varobj_set_value): Make sure that there were no
2534 errors evaluating the object before attempting to set its
2535 value.
2536 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
2537 so this offset adjustment is no longer necessary.
2538 (create_child): Don't set the error flag if the child is
2539 a CPLUS_FAKE_CHILD.
2540 (value_of_child): If value_fetch_lazy fails, return NULL
2541 so that callers will be notified that an error occurred.
2542 (c_value_of_variable): Delay check of variable's validity
2543 until later. We actually want all structs and unions to have
2544 the value "{...}".
2545 Do not return "???" for variables which could not be evaluated.
2546 This error condition must be returned to the caller so that it
2547 can get the error condition from gdb.
2548 (cplus_name_of_child): Adjust index for vptr before figuring
2549 out the name of the child.
2550 (cplus_value_of_child): If a child's (real) parent is not valid,
2551 don't even bother trying to give a value for it. Just return
2552 an error. Change all instances in this function.
2553 (cplus_type_of_child): If our parent is one of the "fake"
2554 parents, we need to get at the type of the real parent, and
2555 derive the child's true type using this information.
2556
b76898ab
AC
25572002-01-13 Andrew Cagney <ac131313@redhat.com>
2558
2559 From 2002-01-09 John Marshall <johnm@falch.net>:
2560 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2561 sources.redhat.com, and tweak some related URLs which had
2562 suffered from linkrot.
2563
b6649e88
AC
25642002-01-13 Andrew Cagney <ac131313@redhat.com>
2565
2566 From Jeff law:
2567 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2568 structures passed in registers.
2569
82cc5033
EZ
25702002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2571
2572 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2573 white space which prevented compilation. Reported by DSK
2574 <dsk@student.unsw.edu.au>.
2575
ba5f2f8a
MS
25762002-01-11 Michael Snyder <msnyder@redhat.com>
2577
fbd35540
MS
2578 * symfile.c (build_section_addr_info_from_section_tab):
2579 Use bfd access method instead of manipulating bfd directly.
2580 (syms_from_objfile): Ditto.
2581 (simple_overlay_update_1): Ditto.
2582 (simple_overlay_update): Ditto.
2583 (generic_load): Ditto.
2584 (overlay_unmapped_address): FIXME comment, bfd access methods.
2585 (sections_overlap): FIXME comment, bfd access methods.
2586 (pc_in_mapped_range): FIXME comment, bfd access methods.
2587 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2588 (section_is_mapped): FIXME comment, bfd access methods.
2589 (section_is_overlay): FIXME comment, bfd access methods.
2590
ba5f2f8a
MS
2591 * symfile.c (generic_load): Whitespace and long line cleanups.
2592 Remove duplicate variable, change several local variables to
2593 more appropriate data types.
2594 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2595
17df2af6
AC
25962002-01-12 Andrew Cagney <ac131313@redhat.com>
2597
2598 From Peter Schauer:
2599 * language.c (longest_local_hex_string_custom): Use phex_nz to
2600 convert NUM to a hex string.
2601
ec920329
EZ
26022002-01-12 Elena Zannoni <ezannoni@redhat.com>
2603
2604 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2605 the function.
538a76d6 2606 Update Copyright year.
ec920329 2607
3abd2e01
AC
26082002-01-12 Andrew Cagney <ac131313@redhat.com>
2609
2610 * language.c (longest_raw_hex_string): Delete unused function.
2611
b21b22e0
PS
26122002-01-11 Petr Sorfa <petrs@caldera.com>
2613
2614 * MAINTAINERS (write-after-approval): Add myself.
2615 * dwarf2read.c (read_tag_string_type): Handling of
2616 DW_AT_byte_size.
2617 (read_tag_string_type): FORTRAN fix to prevent propagation of
2618 first string size.
2619 (set_cu_language): Handling of DW_LANG_Fortran95
2620
747fe712
RE
26212002-01-11 Richard Earnshaw <rearnsha@arm.com>
2622
2623 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2624 GETPID(inferior_ptid).
2625 (store_inferior_registers): Likewise.
2626
f1bea926
JM
26272002-01-10 Jason Merrill <jason@redhat.com>
2628
2629 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2630 Fix DW_OP_minus.
2631
ae940673
AC
26322002-01-10 Andrew Cagney <ac131313@redhat.com>
2633
2634 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2635 and bfd/elf32-sh-nbsd.c.
2636
00546b04
MS
26372002-01-10 Michael Snyder <msnyder@redhat.com>
2638
352ed7b4
MS
2639 * NEWS: Mention --pid and corefile/proc-id behavior change.
2640
c18be923
MS
2641 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2642 * gcore.c: Include cli/cli-decode.h instead of command.h.
2643
00546b04
MS
2644 * main.c (captured_main): Add new command line option "--pid".
2645 If the second command line argument (following the symbol-file)
2646 begins with a digit, try to attach to it before trying to open
2647 it as a corefile.
2648 (print_gdb_help): Document the "--pid" argument.
2649
db60ec62
EZ
26502002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2651
2652 * completer.c (command_completer): New function.
2653
2654 * completer.h <command_completer>: Add prototype.
2655
2656 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2657 completer for the "help" command.
2658
39c22d1a
JM
26592002-01-09 Jason Merrill <jason@redhat.com>
2660
2661 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2662
c564377f
MS
26632002-01-09 Michael Snyder <msnyder@redhat.com>
2664
975aec09
MS
2665 * i386-linux-nat.c (fill_fpxregset): Make global.
2666 (store_fpxregset): Ditto.
2667
db4a10fa
MS
2668 * gregset.h (gdb_fpxregset_t): Define.
2669 (supply_fpxregset): Prototype.
2670 (fill_fpxregset): Prototype.
2671
c564377f
MS
2672 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2673
c3d45d70
RE
26742002-01-09 Richard Earnshaw <rearnsha@arm.com>
2675
2676 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2677 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2678 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2679
fcc87af1
AC
26802002-01-09 Andrew Cagney <ac131313@redhat.com>
2681
2682 * MAINTAINERS: Update target maintainer rules so that any
2683 Maintainer can approve a tested patch for a maintenance-only
2684 target.
2685
dd96c05b
RE
26862002-01-09 Richard Earnshaw <rearnsha@arm.com>
2687
d4297db9 2688 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 2689
d4297db9 2690 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
2691 IN_SIGTRAMP.
2692
145fdc6e
MS
26932002-01-08 Michael Snyder <msnyder@redhat.com>
2694
2695 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2696 real name of the executable, rather than the /proc name.
2697
be4d1333
MS
26982002-01-03 Michael Snyder <msnyder@redhat.com>
2699
2700 Implement a "generate-core-file" command in gdb, save target state.
2701 * gcore.c: New file. Implement new command 'generate-core-file'.
2702 Save a corefile image of the current state of the inferior.
2703 * linux-proc.c: Add linux-specific code for saving corefiles.
2704 * target.h (struct target_ops): Add new target vectors for saving
2705 corefiles; to_find_memory_regions and to_make_corefile_notes.
2706 (target_find_memory_regions): New macro.
2707 (target_make_corefile_notes): New macro.
2708 * target.c (update_current_target): Inherit new target methods.
2709 (dummy_find_memory_regions): New place-holder method.
2710 (dummy_make_corefile_notes): New place-holder method.
2711 (init_dummy_target): Initialize new dummy target vectors.
2712 * exec.c (exec_set_find_memory_regions): New function.
2713 Allow the exec_ops vector for memory regions to be taken over.
2714 (exec_make_note_section): New function, target vector method.
2715 * defs.h (exec_set_find_memory_regions): Export prototype.
2716 * procfs.c (proc_find_memory_regions): New function, corefile method.
2717 (procfs_make_note_section): New function, corefile method.
2718 (init_procfs_ops): Set new target vector pointers.
2719 (find_memory_regions_callback): New function.
2720 (procfs_do_thread_registers): New function.
2721 (procfs_corefile_thread_callback): New function.
2722 * sol-thread.c (sol_find_memory_regions): New function.
2723 (sol_make_note_section): New function.
2724 (init_sol_thread_ops): Initialize new target vectors.
2725 * inftarg.c (inftarg_set_find_memory_regions): New function.
2726 Allow to_find_memory_regions vector to be taken over.
2727 (inftarg_set_make_corefile_notes): New function.
2728 Allow to_make_corefile_notes vector to be taken over.
2729 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
2730 interface layer if not target_has_execution (may be a corefile).
2731 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
2732 * config/sparc/sun4sol2.mh: Ditto.
2733 * config/alpha/alpha-linux.mh: Ditto.
2734 * config/arm/linux.mh: Ditto.
2735 * config/i386/x86-64linux.mh: Ditto.
2736 * config/ia64/linux.mh: Ditto.
2737 * config/m68k/linux.mh: Ditto.
2738 * config/mips/linux.mh: Ditto.
2739 * config/powerpc/linux.mh: Ditto.
2740 * config/sparc/linux.mh: Ditto.
2741
c6b92abd
MS
27422002-01-07 Michael Snyder <msnyder@redhat.com>
2743
2744 * arm-linux-nat.c: Remove references to regcache.c internal data
2745 (registers[] and register_valid[]).
2746
4b09dc8c
MS
27472002-01-07 Michael Snyder <msnyder@redhat.com>
2748
abf22e64
AJ
2749 * linux-proc.c: New file. Implement child_pid_to_exec_file,
2750 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
2751 symbol file and shlibs.
2752 * Makefile.in: Add rule for linux-proc.o.
2753 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
2754 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
2755 * config/arm/linux.mh: Ditto.
2756 * config/i386/linux.mh: Ditto.
2757 * config/i386/x86-64linux.mh: Ditto.
2758 * config/ia64/linux.mh: Ditto.
2759 * config/m68k/linux.mh: Ditto.
2760 * config/mips/linux.mh: Ditto.
2761 * config/powerpc/linux.mh: Ditto.
2762 * config/sparc/linux.mh: Ditto.
2763
c25b74ac
PM
27642002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
2765
2766 * win32-nat.c: Add i386-tdep.h dependency.
2767
94cd915f
MS
27682002-01-07 Michael Snyder <msnyder@redhat.com>
2769
c7cccb76
MS
2770 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
2771 instead of bfd_get_arch_size. Don't bail out just because
2772 there's no exec_bfd.
abf22e64 2773
34c0bd93
MS
2774 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
2775 * p-valprint.c (pascal_object_print_value): Ditto.
2776 * somread.c (som_symtab_read): Ditto.
2777 * symfile.c (simple_free_overlay_region_table): Ditto.
2778 * valops.c (value_assign): Ditto.
2779
21c1c920
MS
2780 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
2781 use tilde_expand and strerror for opening save-tracepoints file.
2782
5bbd998e
MS
2783 * thread-db.c (thread_db_new_objfile): Indendation fix.
2784
94cd915f
MS
2785 * infptrace.c (GDB_MAX_ALLOCA): New define.
2786 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 2787 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
2788 can be overridden with whatever value is appropriate to the host).
2789 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
2790 alloca to allocate potentially large buffer.
2791 * rs6000-nat.c (child_xfer_memory): Ditto.
2792 * symm-nat.c (child_xfer_memory): Ditto.
2793 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2794
494e8a93
JSC
27952002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
2796
2797 From Nick Clifton <nickc@redhat.com>
2798 * d10v-tdep.c: Set STACK_START to 0x200bffe.
2799
d0e1d48e
MS
28002002-01-07 Michael Snyder <msnyder@redhat.com>
2801
abf22e64 2802 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
2803 Don't use exec_bfd if it's NULL.
2804
290b2c7a
MK
28052002-01-06 Mark Kettenis <kettenis@gnu.org>
2806
abf22e64 2807 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 2808
aef21287
AC
28092002-01-06 Andrew Cagney <ac131313@redhat.com>
2810
2811 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
2812 * gnu-nat.c: Ditto.
2813
30efa627
AC
28142002-01-06 Andrew Cagney <ac131313@redhat.com>
2815
2816 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
2817 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
2818 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
2819 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
2820 z8k-coff have not been multi-arched. Update z8k-coff build
2821 status.
2822
9b4ff276
AC
28232002-01-06 Andrew Cagney <ac131313@redhat.com>
2824
2825 * MAINTAINERS: Mark a29k target as obsolete.
2826 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
2827 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
2828 comments.
2829 * NEWS: Note that a29k targets are obsolete.
2830 * a29k-tdep.c: Mark as obsolete.
2831 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2832 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2833 a29k-*-vxworks* targets as obsolete.
2834 * remote-adapt.c: Obsolete.
2835 * remote-eb.c: Obsolete.
2836 * remote-mm.c: Obsolete.
2837 * remote-udi.c: Obsolete.
2838 * config/a29k/a29k-udi.mt: Obsolete.
2839 * config/a29k/a29k.mt: Obsolete.
2840 * config/a29k/tm-a29k.h: Obsolete.
2841 * config/a29k/tm-vx29k.h: Obsolete.
2842 * config/a29k/vx29k.mt: Obsolete.
2843
a9011d31
AC
28442002-01-05 Andrew Cagney <ac131313@redhat.com>
2845
2846 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
2847 with BFD_ENDIAN_BIG.
2848
9299404e
AC
28492002-01-05 Andrew Cagney <ac131313@redhat.com>
2850
2851 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
2852 * configure, config.in: Re-generate.
2853 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
2854 * defs.h: Do not include <endian.h>.
2855
7e89e357
JT
28562002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
2857
2858 * acconfig.h (HAVE_PT_GETXMMREGS): New.
2859 * config.in: Regenerate.
2860 * configure.in: Update copyright years.
2861 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
2862 * configure: Regenerate.
2863 * i386bsd-nat.c: Update copyright years.
2864 (fill_gregset): Use regcache_collect.
2865 (fetch_inferior_registers): Only fetch integer registers
2866 if requested to do so. Add support for XMM registers
2867 using PT_GETXMMREGS.
2868 (store_inferior_registers): Only store integer registers
2869 if requested to do so. Add support for XMM registers
2870 using PT_SETXMMREGS.
2871 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
2872 (store_inferior_registers): Remove.
2873 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
2874 (fetch_elfcore_registers): New function.
2875 (i386nbsd_elfcore_fns): New.
2876 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
2877 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
2878 i386bsd-nat.o.
2879 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
2880 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
2881 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2882 * config/i386/tm-nbsd.h: Update copyright years.
2883 (HAVE_SSE_REGS): Define.
2884 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
2885 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
2886 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
2887 (SIGCONTEXT_PC_OFFSET): Remove.
2888 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2889
a752853e
AC
28902002-01-05 Andrew Cagney <ac131313@redhat.com>
2891
2892 * configure.tgt: Remove powerpc-*-macos* target.
2893 * config/m68k/xm-mpw.h: Delete file.
2894 * config/xm-mpw.h: Delete file.
2895 * ser-mac.c: Delete file.
2896 * mpw-make.sed: Delete file.
2897 * mpw-config.in: Delete file.
2898 * mac-xdep.c: Delete file.
2899 * mac-gdb.r: Delete file.
2900 * mac-defs.h: Delete file.
2901 * mac-nat.c: Delete file.
2902 * config/powerpc/macos.mh: Delete file.
2903 * config/powerpc/macos.mt: Delete file.
2904 * config/powerpc/nm-macos.h: Delete file.
2905 * config/powerpc/tm-macos.h: Delete file.
2906 * source.c (openp, open_source_file): Remove obsolete code.
2907 * top.c (gdb_readline): Ditto.
2908 * utils.c (query): Ditto.
2909 * event-top.c (display_gdb_prompt): Ditto.
2910 * Makefile.in (ser-mac.o): Delete obsolete target.
2911 * NEWS: Update.
2912
d7449b42
AC
29132002-01-04 Andrew Cagney <ac131313@redhat.com>
2914
2915 * defs.h (BIG_ENDIAN): Delete macro definition.
2916 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
2917 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
2918 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
2919 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
2920 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
2921 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
2922 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
2923 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
2924 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2925 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
2926 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
2927 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
2928 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2929 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2930 * gdbarch.c: Re-generate.
2931
356374e8
DJ
29322002-01-04 Daniel Jacobowitz <drow@mvista.com>
2933
2934 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
2935 for core files.
2936
a2b8f8f8
JT
29372002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2938
2939 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
2940
12466af9
AC
29412002-01-04 Andrew Cagney <ac131313@redhat.com>
2942
2943 * value.h (value_ptr): Delete typedef.
2944
3549ab40
JT
29452002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2946
2947 * i386nbsd-nat.c: Update copyright years.
2948 Include i386-tdep.h.
2949
fedbd091
EZ
29502002-01-04 Elena Zannoni <ezannoni@redhat.com>
2951
2952 * stabsread.c: Update copyright years.
2953
2954 From Debashis Mahata <debashis.mahata@wipro.com>:
2955 (read_struct_fields): Deal with Sun C compiler erroneous stab
2956 output for structs and unions.
fec8b34f 2957 Fix PR gdb/269.
fedbd091 2958
eb43544b
DJ
29592002-01-04 Daniel Jacobowitz <drow@mvista.com>
2960
2961 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
2962 prototype.
2963
1514d34e
DJ
29642002-01-04 Daniel Jacobowitz <drow@mvista.com>
2965
2966 * cp-abi.c: Fix whitespace.
2967 (baseclass_offset): New wrapper function.
2968 * cp-abi.h (baseclass_offset): Add prototype.
2969 (struct cp_abi_ops): Add baseclass_offset pointer.
2970
2971 * valops.c (vb_match): Move to...
2972 * gnu-v2-abi.c (vb_match): here.
2973 * valops.c (baseclass_offset): Move to...
2974 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
2975
2976 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
2977
2978 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
2979 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
2980 * hpacc-abi.c (init_hpacc_ops): Likewise.
2981
7f8c9282
DJ
29822002-01-04 Daniel Jacobowitz <drow@mvista.com>
2983
2984 * valops.c (find_overload_match): Accept obj as a
2985 reference parameter. Update it before returning.
2986 * value.h (find_overload_match): Update prototype.
2987 * eval.c (evaluate_subexp_standard): Pass object to
2988 find_overload_match by reference.
2989
f23631e4
AC
29902002-01-03 Andrew Cagney <ac131313@redhat.com>
2991
2992 * valarith.c: Replace value_ptr with struct value pointer. Remove
2993 register attribute from value declarations.
2994 * valops.c: Ditto.
2995 * value.h: Ditto.
2996 * scm-lang.c (scm_lookup_name): Ditto.
2997
79e10fab 29982002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 2999
79e10fab
AC
3000 Abstract the functionality of iterating over mapped memory
3001 regions into a general purpose iterator function.
abf22e64 3002 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
3003 iterator for memory sections.
3004 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
3005 (solib_mappings_callback): New function, callback for above.
3006 (info_proc_mappings): Reimpliment using iterate_over_mappings.
3007 (info_mappings_callback): New function, callback for above.
3008
3009 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
3010
c5ad026a
MK
30112002-01-01 Mark Kettenis <kettenis@gnu.org>
3012
d2a7c97a
MK
3013 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
3014 * i386-tdep.c: Include "elf-bfd.h".
3015 (process_note_abi_tag_sections): New function.
3016 (i386_gdbarch_init): Add code to recognize various OS/ABI
3017 combinations.
3018
c5ad026a
MK
3019 * maint.c (_initialize_maint_cmds): Add missing \ in
3020 string-literal.
3021
a1a5b71e 3022For older changes see ChangeLog-2001
c906108c
SS
3023\f
3024Local Variables:
3025mode: change-log
3026left-margin: 8
3027fill-column: 74
3028version-control: never
3029End:
This page took 0.392709 seconds and 4 git commands to generate.