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