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