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