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