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