]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
* ppc-opc.c (vmaddfp): Fix operand order.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
0e101458
AC
12002-03-22 Andrew Cagney <ac131313@redhat.com>
2
3 * gdbtypes.c (append_composite_type_field): New function.
4 (init_composite_type): New function.
5 * gdbtypes.h (append_composite_type_field): Declare.
6 (init_composite_type): Ditto.
7
8e0662df
EZ
82002-03-22 Elena Zannoni <ezannoni@redhat.com>
9
10 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
11 function.
12 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
13 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
14 structure returning convention for SYSV ABI case, but not
15 for GNU/Linux, FreeBSD, or NetBSD.
16
3121eff0
DJ
172002-03-22 Daniel Jacobowitz <drow@mvista.com>
18
19 * symtab.h (lookup_block_symbol): Add mangled_name argument
20 to prototype.
21
22 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
23 with new mangled_name argument.
24 * linespec.c (decode_line_1): Likewise.
25 * valops (value_of_this): Likewise.
26 * symtab.c (lookup_transparent_type): Likewise.
27 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
28 (lookup_symbol): If we are given a mangled name, pass it down
29 to lookup_symbol_aux.
30 (lookup_block_symbol): If we are given a mangled name to check
31 against, only return symbols which match it.
32
349b409f
CF
332002-03-22 Christopher Faylor <cgf@redhat.com>
34
35 * win32-nat.c (child_create_inferior): Check for proper shell to use
36 here, in case the user changes it on the fly.
37 (_initialize_inftarg): Remove shell path considerations.
38
2a873819
EZ
392002-03-21 Elena Zannoni <ezannoni@redhat.com>
40
41 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
42 for gdbarch_max_register_raw_size and max_register_virtual_size.
43 Adjust copyright year.
44
a1b9830c
DJ
452002-03-21 Daniel Jacobowitz <drow@mvista.com>
46
47 * dbxread.c (process_one_symbol): Extend the first N_SLINE
48 in a function to cover the entire beginning of the function
49 as well if it does not already.
50
8b5790f2
TR
512002-03-21 Tom Rix <trix@redhat.com>
52
53 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
54 (rs6000_ptrace64): Renamed from ptrace64.
55
bdbe5747
MH
562002-03-20 Martin M. Hunt <hunt@redhat.com>
57
58 * gdbserver/remote-utils.c (remote_open): Don't call
59 getprotobyname, we're all using TCP here so just use
60 IPPROTO_TCP.
61 * gdbserver/gdbreplay.c (remote_open): Ditto.
62
632002-03-20 Martin M. Hunt <hunt@redhat.com>
64
65 * regcache.c (_initialize_regcache): No need to call
66 build_regcache() at this time; it gets called whenever
67 the gdbarch changes.
68
7781cd62
DB
692002-03-20 David O'Brien <obrien@FreeBSD.org>
70
71 * sparc-nat.c: Include sys/param.h where possible.
72
f65ca430
DJ
732002-03-20 Daniel Jacobowitz <drow@mvista.com>
74
75 Fix PR gdb/422.
76 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
77 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
78 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
79 complex types.
80 * stabsread.c (rs6000_builtin_type): Likewise.
81 (read_sun_floating_type): Likewise.
82
0c867556
PS
832002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
84
85 * stabsread.c (read_member_functions): Remove skip code for duplicate
86 constructor/destructor methods. Use standard parsing for these
87 methods and just do not chain them to the list of methods after
88 parsing.
89
12b9c64f
AO
902002-03-19 Alexandre Oliva <aoliva@redhat.com>
91
92 * coffread.c: Remove redundant static declarations. Replace
93 occurrences of `PTR' with `void *'.
94 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
95 * top.h (quit_cover): Likewise.
96 * defs.h (catch_errors): Likewise.
97
349c5d5f
AC
982002-03-18 Andrew Cagney <ac131313@redhat.com>
99
100 * defs.h (XMALLOC): Define.
101 * gdb-events.sh (XMALLOC): Delete macro.
102 * gdb-events.c, gdb-events.h: Regenerate.
103 * gdbarch.sh (XMALLOC): Delete macro.
104 * gdbarch.c: Regenerate.
105 * serial.c (XMALLOC): Delete macro.
106 * ui-file.c (XMALLOC): Ditto.
107 * ser-unix.h (XMALLOC): Ditto.
108 * sh-tdep.c (XMALLOC): Ditto.
109 * ui-out.c (XMALLOC): Ditto.
110 * utils.c (XMALLOC): Ditto.
111 * i386-tdep.c (XMALLOC): Ditto.
112 * gdb-events.c (XMALLOC): Ditto.
113 * d10v-tdep.c (XMALLOC): Ditto.
114 * cli-out.c (XMALLOC): Ditto.
115
116 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
117 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
118 * ui-file.c, ui-out.c: Ditto.
119
7d0766f3
AC
1202002-03-18 Andrew Cagney <ac131313@redhat.com>
121
122 * command.h (struct cmd_list_element): Add field context.
123 (set_cmd_context, get_cmd_context): Declare.
124 * cli/cli-decode.h: Ditto.
125 * cli/cli-decode.c (get_cmd_context): New function.
126 (set_cmd_context): New function.
127 (add_cmd): Initialize context.
128 Part of fixing PR gdb/145 and PR gdb/146.
129
5913bcb0
AC
1302002-03-17 Andrew Cagney <ac131313@redhat.com>
131
1868c04e
AC
132 * cli/cli-decode.c (cmd_type): New function.
133 * command.h (cmd_type): Declare.
134 * infrun.c (set_schedlock_func): Call function cmd_type.
135 * kod.c (kod_set_os): Call cmd_type.
136 * cris-tdep.c (cris_version_update): Use function cmd_type.
137 (cris_mode_update, cris_abi_update): Ditto.
138
5913bcb0
AC
139 * command.h: (execute_cmd_post_hook): Declare.
140 (execute_cmd_pre_hook): Declare.
141 * cli/cli-script.c (clear_hook_in_cleanup): New function.
142 (execute_cmd_post_hook, execute_cmd_pre_hook): New
143 functions. Execute pre/post hook while ensuring that afterwords
144 hook_in is cleared.
145 * top.c (execute_command): Use execute_cmd_post_hook, and
146 execute_cmd_pre_hook to execute pre/post commands.
147 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
148 hook_stop_stub.
149 (hook_stop_stub): Call execute_cmd_pre_hook.
150
b51450c9
AC
1512002-03-17 Andrew Cagney <ac131313@redhat.com>
152
153 * kod.c (kod_set_os): Revert previous change. Is called by ``info
154 set'' and this leads to a core dump. Move xstrdup of
155 operating_system to after check that it is not NULL.
156
f66c9f11
AC
1572002-03-17 Andrew Cagney <ac131313@redhat.com>
158
8e694ecf
AC
159 * kod.c (kod_set_os): Remove unnecessary check that
160 ``command->type'' is set_cmd.
161
f66c9f11
AC
162 * valprint.c (set_input_radix): Use input_radix.
163 (set_output_radix): Use output_radix.
164 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
165 isn't reverted.
166
9d01611c
AC
1672002-03-16 Andrew Cagney <ac131313@redhat.com>
168
169 * value.h (struct value): Delete field ``substring_addr''. Change
170 aligner fields to force_doublest_align, force_longest_align,
ee2d3b3a
AC
171 force_core_addr_align and force_pointer_aligh.
172
173 * value.h (struct value): Fix typo in above change.
9d01611c 174
4156bb53
PS
1752002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
176
177 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
178 to fix internal_error from ``maintenance print architecture''.
179
0e5e3ea6
PS
1802002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
181
182 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
183 for gcc versions after gcc-2.8.1.
184
9b013045
PS
1852002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
186
187 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
188 for method resolution. Restore adjustment of ``this'' pointer after
189 calling value_struct_elt, which was accidentally removed during the
190 HP merge.
191
376c9600
AC
1922002-03-15 Andrew Cagney <ac131313@redhat.com>
193
194 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
195 value_of_register.
196 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
197 get_saved_register.
198 * value.h (value_of_register): Update.
199
a4db0f07
RH
2002002-03-14 Richard Henderson <rth@redhat.com>
201
202 * configure.in: Detect declaration for canonicalize_file_name.
203 * utils.c (canonicalize_file_name): Declare, if needed.
204 (gdb_realpath): Prefer realpath if available and usable.
205 * config.in, configure: Rebuild.
206
96383835
RH
2072002-03-14 Richard Henderson <rth@redhat.com>
208
209 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
210 a constant array bound.
211
212 * MAINTAINERS: Add myself to write-after-approval.
213
75245b24
MS
2142002-03-14 Michael Snyder <msnyder@redhat.com>
215
216 * symfile.c (syms_from_objfile): Return immediately if no syms.
217 (symbol_file_add): Return immediately if no syms.
218 (find_sym_fns): Return immediately if no syms.
219
e641a1ca
ML
2202002-03-13 Michal Ludvig <mludvig@suse.cz>
221
222 * gdbserver/remote-util.c (remote_open): Print remote-side's
223 IP address when remote debugging over the network.
224
df08bfec
DB
2252002-03-12 David O'Brien <obrien@FreeBSD.org>
226
227 * config/sparc/fbsd.mh: Fix copyright.
228 * config/sparc/fbsd.mt: Likewise.
229
9a57864f
RE
2302002-03-11 Richard Earnshaw <rearnsha@arm.com>
231
232 * MAINTAINERS: Fix typo in name of gdb warnings option.
233 (x86-64): Fix formating so that this can be parsed by awk.
234
dd7bf85e
DJ
2352002-03-10 Daniel Jacobowitz <drow@mvista.com>
236
237 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
238 * defs.h: Include "gdb/signals.h".
239 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
240
33a0a2ac
ML
2412002-03-10 Michal Ludvig <mludvig@suse.cz>
242
243 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
244 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
245 from x86-64-tdep.h
246
dd824b04
DJ
2472002-03-10 Daniel Jacobowitz <drow@mvista.com>
248 Don Howard <dhoward@redhat.com>
249
250 * mips-tdep.c (ST0_FR): Define.
251 (mips2_fp_compat): New function, temporarily disabled.
252 (mips_read_fp_register_single): New function.
253 (mips_read_fp_register_double): New function.
254 (mips_print_register): Use them.
255 (do_fp_register_row): Likewise.
256
6a41ff59
AC
2572002-03-09 Andrew Cagney <ac131313@redhat.com>
258
259 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
260 approval''.
261
4ea09c10
PS
2622002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
263
264 * stabsread.c (read_member_functions): Fix is_stub test for
265 static member functions, improve comment.
266
6ccc741d
RE
2672002-03-07 Richard Earnshaw <rearnsha@arm.com>
268
269 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
270 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
271 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
272 commands that set boolean values.
273 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
274 (arm_rdi_resume): Always initialize PC.
275 (arm_rdi_open): Don't use rslt as a boolean.
276 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
277 (arm_rdi_fetch_registers, arm_rdi_store_registers)
278 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
279 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
280
438013df
AO
2812002-03-06 Alexandre Oliva <aoliva@redhat.com>
282
283 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
284 * configure: Rebuilt.
285
70ed8774
SC
2862002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
287
288 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
289 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
290
5ba2abeb
AC
2912002-03-06 Andrew Cagney <ac131313@redhat.com>
292
293 * cli/cli-decode.c (set_cmd_completer): New function.
294 * command.h (set_cmd_completer): Declare.
295 * cli/cli-decode.h (set_cmd_completer): Ditto.
296
297 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
298 * cli/cli-cmds.c (init_cli_cmds): Ditto.
299 * win32-nat.c (_initialize_inftarg): Ditto.
300 * remote-rdi.c (_initialize_remote_rdi): Ditto.
301 * proc-api.c (_initialize_proc_api): Ditto.
302 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
303 * source.c (_initialize_source): Ditto.
304 * exec.c (_initialize_exec): Ditto.
305 * solib.c (_initialize_solib): Ditto.
306 * top.c (init_main): Ditto.
307 * tracepoint.c (_initialize_tracepoint): Ditto.
308 * symfile.c (_initialize_symfile): Ditto.
309 * printcmd.c (_initialize_printcmd): Ditto.
310 * infcmd.c (_initialize_infcmd): Ditto.
311 * corefile.c (_initialize_core): Ditto.
312
f779ca99
AC
3132002-03-05 Andrew Cagney <ac131313@redhat.com>
314
315 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
316
01a3934b
AC
3172002-03-05 Andrew Cagney <ac131313@redhat.com>
318
319 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
320
37057839
AC
3212002-03-05 Andrew Cagney <ac131313@redhat.com>
322
323 * NEWS: Update headings, 5.2 has branched.
324
c6ecbae5
DJ
3252002-03-04 Daniel Jacobowitz <drow@mvista.com>
326
327 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
328 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
329 (register_addr, REGISTER_RAW_SIZE): Likewise.
330 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
331 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
332
e9f30c21
ML
3332002-03-03 Michal Ludvig <mludvig@suse.cz>
334
335 * MAINTAINERS (x86-64): Add myself.
336 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
337 changed value_ptr -> struct value *
338
54394ac3
DB
3392002-03-01 David O'Brien <obrien@FreeBSD.org>
340
341 * configure.host (sparc64-*-freebsd): Add.
342 * configure.tgt: Likewise.
343 * config/sparc/fbsd.mh: New file.
344 * config/sparc/fbsd.mt: Likewise.
345 * config/sparc/nm-fbsd.h: Likewise.
346 * config/sparc/tm-fbsd.h: Likewise.
347
bfe95955
DJ
3482002-03-01 Daniel Jacobowitz <drow@mvista.com>
349
350 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
351 regformats/reg-s390x.dat.
352
f33c6cbf
AC
3532002-03-01 Andrew Cagney <ac131313@redhat.com>
354
355 * utils.c: Add FIXME explaining true/false problem.
356
5ecaa7dd
AC
3572002-02-28 Andrew Cagney <ac131313@redhat.com>
358
359 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
360
2a251cc2
MC
3612002-02-28 Michael Chastain <mec@shout.net>
362
363 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
364
6a8031a3 3652002-02-28 Daniel Jacobowitz <drow@mvista.com>
265f716b
DJ
366
367 * gdbserver/linux-s390-low.c: New file.
368 * regformats/reg-s390.dat: New file.
369 * regformats/reg-s390x.dat: New file.
370 * gdbserver/configure.srv: Add S/390.
371 * gdbserver/Makefile.in: Add S/390.
372 * configure.tgt: Enable gdbserver for S/390.
373
ac469903
EZ
3742002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
375
376 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
377 first line of the doc string for "info dos", except at the end of
378 the sentence, since the short help stops at the first period.
379
985cb1a3
JM
3802002-02-28 Jason Merrill <jason@redhat.com>
381
382 * dwarf2read.c (dwarf_cfi_name): Add new codes.
383
c570663e
FF
3842002-02-27 Fred Fish <fnf@redhat.com>
385
386 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
387 comment (dumy -> dummy).
388
43630227
PS
3892002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
390
391 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
392
b84911e8
RB
3932002-02-27 Rodney Brown <rbrown64@csc.com.au>
394
395 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
396
58caa3dc
DJ
3972002-02-27 Daniel Jacobowitz <drow@mvista.com>
398
399 * gdbserver/acconfig.h: New file.
400 * gdbserver/i387-fp.c: New file.
401 * gdbserver/i387-fp.h: New file.
402 * gdbserver/linux-x86-64.c: New file.
403 * regformats/reg-x86-64.dat: New file.
404 * configure.tgt: Add x86_64-*-linux* gdbserver support.
405 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
406 * gdbserver/configure.in: Add support for regsets.
407 * gdbserver/config.in: Regenerate.
408 * gdbserver/configure: Regenerate.
409 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
410 * gdbserver/linux-low.h: New file.
411 * gdbserver/linux-low.c: Include "linux-low.h". Add support
412 for regsets.
413 * gdbserver/linux-arm-low.c: Include "linux-low.h".
414 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
415 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
416 * gdbserver/linux-mips-low.c: Include "linux-low.h".
417 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
418 * gdbserver/linux-sh-low.c: Include "linux-low.h".
419 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
420 "i387-fp.h". Add PTRACE_GETREGS and friends.
421 * gdbserver/regcache.c (supply_register): New function.
422 (supply_register_by_name): New function.
423 (collect_register): New function.
424 (collect_register_by_name): New function.
425
93652174
DJ
4262002-02-27 Daniel Jacobowitz <drow@mvista.com>
427
428 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
429 (config.status): Add configure.srv dependency.
430 (server_h): Add config.h dependency.
431
a02e4a61
DJ
4322002-02-27 Daniel Jacobowitz <drow@mvista.com>
433
434 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
435 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
436 * gdbserver/configure.srv: Change i386-*-linux* to use
437 reg-i386-linux.o.
438
ce0eebec
AC
4392002-02-26 Andrew Cagney <ac131313@redhat.com>
440
441 * x86-64-tdep.c: Re-indent. Update copyright date.
442
82dbc5f7
AC
4432002-02-26 Andrew Cagney <ac131313@redhat.com>
444
445 From Michal Ludvig <mludvig@suse.cz>:
446 * x86-64-tdep.c (value.h): Delete.
447 (gdb_assert.h): Include.
448 (x86_64_register_convert_to_virtual,
449 x86_64_register_convert_to_raw ): Add check which lets only
450 floating-point values to be converted.
451 (value_push): Delete.
452 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
453 (i386_gdbarch_init): Number of register_bytes fixed.
454
e4621584
AC
4552002-02-26 Andrew Cagney <ac131313@redhat.com>
456
457 * MAINTAINERS: Add x86-64 target.
458
81a9a963
AC
4592002-02-26 Andrew Cagney <ac131313@redhat.com>
460
461 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
462 * osfsolib.c (solib_map_sections): Ditto.
463 * irix5-nat.c (solib_map_sections): Ditto.
464 * corelow.c (gdb_check_format): Ditto.
465 * symfile.c (symfile_bfd_open): Ditto.
466 * solib.c (solib_map_sections): Ditto.
467 Fix PR gdb/354.
468
0f017ab9
AC
4692002-02-26 Andrew Cagney <ac131313@redhat.com>
470
471 * remote.c (_initialize_remote): By default, disable ``e'' and
472 ``E'' step out-of-range packets.
473
75738c29
AS
4742002-02-26 Andreas Schwab <schwab@suse.de>
475
476 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
477 m68k_linux_frame_saved_pc.
478 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
479 in_sigtramp.
480 (SIGCONTEXT_PC_OFFSET): Remove.
481 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
482 m68k_linux_sigtramp_saved_pc): New functions.
483 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
484 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
485 (UCONTEXT_PC_OFFSET): Define.
486 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
487 non-RT and RT signal trampolines.
488
7e8ed687
RE
4892002-02-26 Richard Earnshaw <rearnsha@arm.com>
490
491 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
492 (TARGET_NBPG, STACK_END_ADDR): Delete
493 (VARIABLES_INSIDE_BLOCK): Delete.
494
6972bc8b
AC
4952002-02-25 Andrew Cagney <ac131313@redhat.com>
496
497 * utils.c (perror_with_name): Make string parameter constant.
498 (print_sys_errmsg): Ditto.
499 (query): Ditto.
500 * defs.h (perror_with_name): Update.
501 (print_sys_errmsg): Update.
502 (query): Update.
503
aa32f823
DJ
5042002-02-25 Daniel Jacobowitz <drow@mvista.com>
505
506 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
507 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
508
19caaa45
PS
5092002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
510
511 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
512 if it already matches the current architecture from the exec file.
513 Include arch-utils.h for gdbarch_info_init prototype.
514 * Makefile.in (rs6000-nat.o): Update dependencies.
515
d951901f
EZ
5162002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
517
518 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
519 list of exported variables.
520
7ea81414
DJ
5212002-02-24 Daniel Jacobowitz <drow@mvista.com>
522
523 * gdbserver/configure.srv: New file.
524 * gdbserver/configure.in: Use configure.srv instead
525 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
526 from it.
527 * gdbserver/configure: Regenerated.
528 * gdbserver/terminal.h: New file.
529 * gdbserver/Makefile.in: Update for configure changes. Remove
530 more unneeded include paths.
531
080fe24b
AC
5322002-02-24 Andrew Cagney <ac131313@redhat.com>
533
534 From wiz at danbala:
535 * config/sparc/tm-sp64.h: Fix grammar and typos.
536 Fix PR gdb/287.
537
8605d56e
AC
5382002-02-24 Andrew Cagney <ac131313@redhat.com>
539
540 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
a4b6fc86
AC
541 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
542 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
543 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
ca557f44
AC
544 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
545 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
546 * s390-tdep.c: Ditto.
92362027
AC
547 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
548 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
549 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
550 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
551 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
552 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
553 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
554 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
555 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
556 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
8605d56e
AC
557 Fix PR gdb/378.
558
8ed32cc0
AC
5592002-02-23 Andrew Cagney <ac131313@redhat.com>
560
a3007b6f
AC
561 * lin-thread.c: Delete file.
562 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
563 to gdb_proc_service.h.
564 * configure: Re-generate.
565
50a9e2f1
AC
566 * ocd.c (ocd_open): Do not try to open the "ocd" device.
567 * serial.c (serial_open): Delete check for "ocd".
568 Fix PR gdb/349.
569
8b6e7932
AC
570 * Makefile.in (linux-thread.o): Delete target.
571 * linux-thread.c: Delete file.
572
d155c46b
AC
573 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
574 renamed SH files to be consistent.
575
8ed32cc0
AC
576 * symtab.c (sort_search_symbols): Use xfree.
577
0e18d038
RE
5782002-02-23 Richard Earnshaw <rearnsha@arm.com>
579
580 * arm-linux-tdep.c (arm_linux_init_abi): Register
581 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
582 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
583 definition with undef, since we don't want the sysvr4 definition.
584 (SKIP_TRAMPOLINE_CODE): Likewise.
585
27aac7ff
AC
5862002-02-23 Andrew Cagney <ac131313@redhat.com>
587
588 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
589
590 * configure.in: (AC_CHECK_FUNCS) Added test for
591 canonicalize_file_name Regenerated.
592 * config.in, configure: Regenerated.
593 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
594 defined use canonicalize_file_name.
595
65a6e0ee
MC
5962002-02-23 Michael Chastain <mec@shout.net>
597
598 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
599
47b95330
AC
6002002-02-23 Andrew Cagney <ac131313@redhat.com>
601
602 * README: Remove references to cygnus.com.
603 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
604 dot com'' form. Remove references to cygnus.com and sourceware.
605
696f451b
AC
6062002-02-23 Andrew Cagney <ac131313@redhat.com>
607
608 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
609 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
610 1003.1-2001 no longer allows "head -1".
611 * gdb/Makefile.in (version.c): Likewise.
612 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
613 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
614 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
615
bbaca940
AC
6162002-02-23 Andrew Cagney <ac131313@redhat.com>
617
618 * cli/cli-decode.c (cmd_cfunc_eq): New function.
619 * command.h (cmd_cfunc_eq): Declare.
620 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
621
622 * cli/cli-cmds.h (is_complete_command): Change parameter to a
623 ``struct cmd_list_element *''.
624 * cli/cli-cmds.c (is_complete_command): Update. Use
625 cmd_cfunc_eq.
626 * top.c (execute_command): Pass the command to
627 is_complete_command.
628 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
629
b8b8b047
AC
6302002-02-23 Andrew Cagney <ac131313@redhat.com>
631
632 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
633 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
634 architecture defines.
635 * s390-tdep.c (s390_gdbarch_init): Likewise.
636
19d3fc80
RE
6372002-02-23 Richard Earnshaw <rearnsha@arm.com>
638
639 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
640 (arm_linux_push_arguments): Likewise.
641 (arm_linux_init_abi): Register them. Also register linux-specific
642 call_dummy_words.
643 (find_minsym_and_objfile): Use strcmp, not STREQ.
644 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
645 (arm_linux_call_dummy_words): Delete declaration.
646 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
647 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
648 declarations.
649 (LOWEST_PC): Delete.
650
3ab13650
PS
6512002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
652
653 * maint.c (print_section_info): Do not prepend `0x' to filepos
654 output, it will be handled by local_hex_string_custom.
655
19d3fc80 6562002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
657
658 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
659 (store_newfpe_double, store_newfpe_extended, store_fpregister)
660 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
661
d85a5daf
JB
6622002-02-22 Jim Blandy <jimb@redhat.com>
663
664 Indicate that the bcache functions don't change the strings
665 they're passed.
666 * bcache.h (bcache, hash): Add `const' keywords to declarations.
667 * bcache.c (bcache, hash): Add `const' keywords to definitions.
668
eeb25b8a
PM
6692002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
670
671 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
672
6badb179
CF
6732002-02-21 Christopher Faylor <cgf@redhat.com>
674
675 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
676 find the complete path to a loaded DLL.
677
e8717518
FF
6782002-02-21 Fred Fish <fnf@redhat.com>
679
680 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
681 that marks the end of the range of a function, enter a line number
682 entry that has a line number of zero and a PC offset that matches
683 the end of the function. This starts a range of PC's for which no
684 line number information is known.
685 * symtab.c (find_pc_sect_line): If our best fit is in a range of
686 PC's for which no line number info is found (line number is zero)
687 then we didn't find any valid line information.
688 * symtab.h: Document use of zero line number entry.
689
9abe5450
EZ
6902002-02-21 Elena Zannoni <ezannoni@redhat.com>
691
692 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
693 (have_ptrace_getvrregs): Define for run time checks.
694 (gdb_vrregset_t): New type for Altivec register handling.
695 (fetch_register, store_register): Fetch/store altivec register
696 when needed.
697 (fetch_altivec_register, store_altivec_register): New functions.
698 (supply_vrregset, fill_vrregset): New functions.
699 (fetch_altivec_registers, store_altivec_registers): New functions.
700 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
701 registers as well.
702
aaa38bb5
AJ
7032002-02-21 Jiri Smid <smid@suse.cz>
704
705 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
706
b34db576
RE
7072002-02-21 Richard Earnshaw <rearnsha@arm.com>
708
709 * Makefile.in (armnbsd-nat.o): Update dependencies.
710 * armnbsd-nat.c (supply_gregset): New function. Common code to
711 supply the integer register set.
712 (supply_fparegset): New function. Similar for FPA registers.
713 (fetch_regs, fetch_fp_regs): Use them.
714 (fetch_core_registers): Likewise.
715 (fetch_elfcore_registers): New function.
716 (arm_netbsd_elfcore_fns): New core-file type specification.
717 (_initialize_arm_netbsd_nat): Register it.
718
3e56fc4b
RE
7192002-02-21 Richard Earnshaw <rearnsha@arm.com>
720
721 * armnbsd-nat.c: Include gdbcore.h.
722 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
723 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
724 'void' to declaration, to shut up ARI.
725 (fetch_core_registers): Make static. Rewrite using supply_register.
726 (arm_netbsd_core_fns): New core-file type specification.
727 (_initialize_arm_netbsd_nat): New function.
728
097f6b0b
CF
7292002-02-21 Christopher Faylor <cgf@redhat.com>
730
731 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
732 value.
733
c914e0cc
CF
7342002-02-20 Christopher Faylor <cgf@redhat.com>
735
736 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
737 fails.
738
385fa495
DJ
7392002-02-20 Daniel Jacobowitz <drow@mvista.com>
740
741 * jv-exp.y (parse_number): Change type of implicit longs
742 to builtin_type_uint64.
743
e5f1222d
DJ
7442002-02-20 Daniel Jacobowitz <drow@mvista.com>
745
746 * gdbserver/linux-low.c (mywait): Change argument to waitpid
747 to be an integer instead of a `union wait'.
748
75c9abc6
DJ
7492002-02-20 Daniel Jacobowitz <drow@mvista.com>
750
751 * mips-linux-nat.c: Call the operating system GNU/Linux.
752 * mips-linux-tdep.c: Likewise.
753 * mips-tdep.c: Likewise.
754
551792a5
DJ
7552002-02-20 Daniel Jacobowitz <drow@mvista.com>
756
757 Fix PR gdb/265.
758 * jv-exp.y (parse_number): Handle 64-bit integers.
759
ee6e2b82
DJ
7602002-02-20 Daniel Jacobowitz <drow@mvista.com>
761
762 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
763 AC_STDC_HEADERS to AC_HEADER_STDC.
764 * gdbserver/configure: Regenerated.
765
a48442a0
RE
7662002-02-20 Richard Earnshaw <rearnsha@arm.com>
767
768 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
769 is defined.
770 * sparc-tdep.c (get_longjmp_target): Likewise.
771
fe419ffc
RE
7722002-02-20 Richard Earnshaw <rearnsha@arm.com>
773
774 * News: Add news about ARM and Multi-arch. Mention the new target
775 arm*-*-netbsd*.
776
5832ed7e
JB
7772002-02-19 Jim Blandy <jimb@redhat.com>
778
779 * stabsread.c (error_type_complaint): Improve error message.
780
84563040
DJ
7812002-02-19 Daniel Jacobowitz <drow@mvista.com>
782
783 * gdbserver/README: Update documentation.
784 * gdbserver/configure.in: Update configury to match documentation.
785 * gdbserver/Makefile.in: Likewise.
786 * gdbserver/configure: Regenerated.
787 * gdbserver/aclocal.m4: New file, generated by aclocal.
788 * gdbserver/config.in: New file, generated by autoheader.
789
375fd65b
RE
7902002-02-19 Richard Earnshaw <rearnsha@arm.com>
791
792 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
793 armnbsd-nat.c.
794
08216dd7
RE
7952002-02-19 Richard Earnshaw <rearnsha@arm.com>
796
797 * arm-tdep.h (enum arm_float_model): New enum.
798 (struct gdbarch_tdep): Add fp_model.
799 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
800 up floating-point conversions until we know the floating-point model
801 in use by the inferior. Don't complain about being unable to
802 determine the ABI of the inferior when we don't have one.
803 (arm_extract_return_value): Support different floating-point models.
804 (arm_store_return_value): Likewise.
aaa38bb5 805 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
806 ARM_FLOAT_SOFT.
807 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
808
65d6d66a
PS
8092002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
810
811 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
812 of ``current_gdbarch''.
813
47221191
RE
8142002-02-19 Richard Earnshaw <rearnsha@arm.com>
815
816 * armnbsd-nat.c : ANSIfy all function declarations.
817 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
818 (fetch_inferior_registers): Re-implement in terms of above.
819 (store_register, store_regs, store_fp_register, store_fp_regs): New.
820 (store_inferior_registers): Re-implement in terms of above.
821
fdf39c9a
RE
8222002-02-19 Richard Earnshaw <rearnsha@arm.com>
823
aaa38bb5 824 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
825 kernel.
826 * arm-linux-tdep.c: Likewise.
827 * config/arm/tm-linux.h: Likewise.
828
93247f88
RE
8292002-02-19 Richard Earnshaw <rearnsha@arm.com>
830
831 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
832 * config/arm/nbsd.mt (TM_FILE): Delete.
833 * config/arm/tm-nbsd.h: Delete.
834
d7b486e7
RE
8352002-02-19 Richard Earnshaw <rearnsha@arm.com>
836
837 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
838 Initialize CALL_DUMMY_LENGTH.
839
41d39a95
RE
8402002-02-19 Richard Earnshaw <rearnsha@arm.com>
841
842 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
843 function.
844 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 845 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
846 defines one thing and that is incorrect for this port.
847 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
848
e1195560
PM
8492002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
850
851 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
852
c1748f97
PM
8532002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
854
855 * win32-nat.c (display_selector): New function. Displays information
856 about the information returned by GetThreadSelectorEntry API function.
857 (display_selectors): New function. Displays the infomation of
858 the selector given as argument, or of CS, DS ans FS selectors
859 if no argument is given.
860 ( _initialize_inftarg): Add "w32" as info prefix command.
861 Add "info w32 selector" as command calling display_selectors.
862
e41e6bbf
PM
8632002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
864
865 * i386-tdep.c (get_longjmp_target): Fix compilation failure
866 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
867 if not defined.
868
0d3a9f48
RE
8692002-02-18 Richard Earnshaw <rearnsha@arm.com>
870
871 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
872
3fb4b924
RE
8732002-02-18 Richard Earnshaw <rearnsha@arm.com>
874
875 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
876 (arm_fix_call_dummy): Call it.
877 (arm_call_dummy_breakpoint_offset): Delete.
878 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
879 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
880
7f55af32
AC
8812002-02-18 Andrew Cagney <ac131313@redhat.com>
882
883 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
884 Default to func_frame_chain_valid.
885 * gdbarch.h, gdbarch.c: Re-generate.
886 * frame.h (FRAME_CHAIN_VALID): Delete definition.
887
05f13b9c
EZ
8882002-02-18 Elena Zannoni <ezannoni@redhat.com>
889
890 * ppc-linux-nat.c: Update copyright.
891 (fetch_register, store_register): Add tid parameter, don't compute
892 tid here.
893 (fetch_ppc_registers, store_ppc_registers): Add tid
894 parameter. Pass it along to callees.
895 (fetch_inferior_registers, store_inferior_registers): Compute tid
896 here, and pass it to calleed functions.
897 (fill_gregset, supply_fpregset): Clean up formatting.
898
d7afb4c9
RE
8992002-02-18 Richard Earnshaw <rearnsha@arm.com>
900
901 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
902 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
903
9df628e0
RE
9042002-02-18 Richard Earnshaw <rearnsha@arm.com>
905
906 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
907 * gdbarch.c gdbarch.h: Regenerate.
908 * breakpoint.c (create_longjmp_breakpoint): Always compile this
909 function.
910 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
911 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
912 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
913
914 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
915 * arm-tdep.c (arm_get_longjmp_target): New function.
916 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
917 this to a positive value register arm_get_longjmp_target as the
918 longjmp handler.
919 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
920 (arm_linux_init_abi): Set up longjmp description in tdep.
921 * armnbsd-nat.c (get_longjmp_target): Delete.
922 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
923 description in tdep.
924 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
925 (get_longjmp_target): Delete declaration.
926 (GET_LONGJMP_TARGET): Delete.
927 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
928 (GET_LONGJMP_TARGET): Delete.
929
57bc8964
KB
9302002-02-17 Kevin Buettner <kevinb@redhat.com>
931
932 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
933 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
934 of ``current_gdbarch''.
935
83d31a92
TT
9362002-02-17 Tom Tromey <tromey@redhat.com>
937
938 * cli/cli-cmds.c (compare_strings): New function.
939 (complete_command): Only print each unique item once.
940 * completer.h (complete_line): Declare.
941 * completer.c (complete_line): New function.
942 (line_completion_function): Use it.
943
17ef5d92
AC
9442002-02-16 Andrew Cagney <ac131313@redhat.com>
945
946 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
947 * gdbarch.h, gdbarch.c: Re-generate.
948
491b8946
DJ
9492002-02-16 Daniel Jacobowitz <drow@mvista.com>
950
951 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
952
9532002-02-16 Daniel Jacobowitz <drow@mvista.com>
954
955 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
956 * valops.c (value_arg_coerce): Don't take the address of a reference
957 to convert an argument to a reference.
958
dfe7f3ac
CF
9592002-02-15 Christopher Faylor <cgf@redhat.com>
960
961 * win32-nat.c (get_image_name): New function.
962 (handle_load_dll): Use get_image_name function.
963 (get_child_debug_event): Avoid registering debug events until possibly
964 execed process is started.
965 (child_create_inferior): Allow invocation via shell so that command
966 line redirection, etc. works ok.
967 (_initialize_inftarg): Add new command: "set shell" to control whether
968 a shell is used to start a process.
969
1d33e73a
DJ
9702002-02-15 Daniel Jacobowitz <drow@mvista.com>
971
972 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
973 instead of find_register_by_number.
974 (cannot_store_register): Likewise.
975
48cd0caa
PM
9762002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
977
aaa38bb5 978 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
979 fprintf_unfiltered (gdb_stderr, ...).
980
8656e7d8
DJ
9812002-02-15 Daniel Jacobowitz <drow@mvista.com>
982
983 * gdbserver/gdbserver.1: Document --attach.
984
66e810cd
RE
9852002-02-15 Richard Earnshaw <rearnsha@arm.com>
986
987 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
988 descriptions.
989 * arm-tdep.c (arm_default_arm_le_breakpoint)
990 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
991 (arm_default_thumb_be_breakpoint): New. Initialize them from
992 traditional breakpoint defines.
993 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
994 (arm_gdbarch_init): Initialize new breakpoint variables.
995 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
996 (arm_linux_init_abi): Initialize linux-specific breakpoint.
997 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
998 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
999 code out to ...
1000 (arm_netbsd_init_abi_common): ... here; new function.
1001 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
1002 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
1003 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
1004 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
1005
97e03143
RE
10062002-02-15 Richard Earnshaw <rearnsha@arm.com>
1007
1008 * arm-tdep.h (enum arm_abi): New enum.
1009 (struct gdbarch_tdep): New structure.
1010 (LOWEST_PC): Provide a default.
1011 (arm_gdbarch_register_os_abi): Declare new function.
1012 * arm-tdep.c (arm_abi_names): New array.
1013 (process_note_abi_tag_sections): New function.
1014 (get_elfosabi): New function.
1015 (arm_gdbarch_register_os_abi): New function.
1016 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
1017 support for that ABI has been built in, then call the appropriate
1018 configuration routine. Use gdbarch_num_regs() to get the number
1019 of registers.
1020 (arm_dump_tdep): New function.
1021 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
1022 place-holder functions.
1023 (_initialize_arm_tdep): Register them.
1024 * config/arm/tm-arm.h (LOWEST_PC): Delete.
1025
1026 * armnbsd-tdep.c: New file.
1027 * Makefile.in (armnbsd-tdep.o): Add dependencies.
1028 * config/arm/nbsd.mt (TDEPFILES): Add it.
1029 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
1030
1031 * armnbsd-nat.c: Include regcache.h.
1032 * Makefile.in (armnbsd-nat.o): Update dependency list.
1033
1034 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
1035
ad68be46
DJ
10362002-02-14 Daniel Jacobowitz <drow@mvista.com>
1037
1038 * gdbserver/Makefile.in: Fix typos in target rules.
1039
003d6d1d
DJ
10402002-02-14 Daniel Jacobowitz <drow@mvista.com>
1041
aaa38bb5 1042 Fix part of PR gdb/267.
003d6d1d
DJ
1043 * linespec.c (find_methods): Handle constructors specially for now.
1044
6b230f1b
CV
10452002-02-14 Corinna Vinschen <vinschen@redhat.com>
1046
1047 * arm-tdep.c (arm_push_arguments): Eliminate special float type
1048 handling.
1049 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
1050 standard_coerce_float_to_double().
1051
1ea98d12
CF
10522002-02-14 Christopher Faylor <cgf@redhat.com>
1053
1054 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
1055 GDBINIT_FILENAME.
1056
dd47e6fd
EZ
10572002-02-14 Elena Zannoni <ezannoni@redhat.com>
1058
1059 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
1060 find_variant_by_name, because it confuses the multiarch
1061 framework. Return NULL if there isn't an architecture with the
1062 user supplied name, instead of forcing a different one without
1063 recording the change with the multiarch machinery.
1064 (find_variant_by_name): Delete.
1065
d7e39b9e
PS
10662002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1067
1068 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
1069 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
1070
76e42a4f
MH
10712002-02-13 Martin M. Hunt <hunt@redhat.com>
1072
aaa38bb5 1073 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
1074 print_frame_info_listing_hook, set current_source_symtab.
1075
0a30fbc4
DJ
10762002-02-14 Daniel Jacobowitz <drow@mvista.com>
1077
1078 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
1079 and remove unused $(INCLUDE_DIR).
1080 Add regcache.c to OBS.
1081 Add generated register protocol files to clean target.
1082 Update dependencies for new objects, obsolete old target code.
1083
1084 * gdbserver/linux-low.c: Remove all platform-specific code to
1085 new files. Remove various dead code. Update to use regcache
1086 functionality.
1087 * gdbserver/remote-utils.c (fromhex): Add return statement
1088 to quiet warning.
1089 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
1090 constant.
1091 (input_interrupt): Add integer parameter to match prototype
1092 of a signal handler.
1093 (outreg): Use register_data ().
1094 (prepare_resume_reply): Use gdbserver_expedite_regs.
1095 * gdbserver/server.c (main): Dynamically allocate own_buf because
1096 PBUFSIZ is no longer constant. Use registers_to_string () and
1097 registers_from_string ().
1098 * gdbserver/server.h: No longer include "defs.h". Add prototypes
1099 for error (), fatal (), and warning (). Update definition of
1100 PBUFSIZ to use regcache functionality. Add include guard.
1101 * gdbserver/utils.c (fatal): Add missing ``const''.
1102 (warning): New function.
1103
1104 * regformats/regdat.sh: Include "regcache.h" in generated files.
1105 Provide init_registers () function.
1106 * regformats/regdef.h: Add prototype for set_register_cache ().
1107 Add include guard.
1108
1109 * gdbserver/linux-arm-low.c: New file.
1110 * gdbserver/linux-i386-low.c: New file.
1111 * gdbserver/linux-ia64-low.c: New file.
1112 * gdbserver/linux-m68k-low.c: New file.
1113 * gdbserver/linux-mips-low.c: New file.
1114 * gdbserver/linux-ppc-low.c: New file.
1115 * gdbserver/linux-sh-low.c: New file.
1116
1117 * gdbserver/regcache.c: New file.
1118 * gdbserver/regcache.h: New file.
1119
1120 * gdbserver/low-linux.c: Removed obsolete file.
1121
4cc841d0
DJ
11222002-02-14 Daniel Jacobowitz <drow@mvista.com>
1123
1124 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
1125 * config/i386/linux.mt: Likewise.
1126 * config/ia64/linux.mt: Likewise.
1127 * config/m68k/linux.mh: Likewise.
1128 * config/powerpc/linux.mh: Likewise.
1129 * config/mips/linux.mt: Likewise.
1130
1131 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
1132
1133 * config/i386/i386lynx.mh: Mark gdbserver variables
1134 as (currently) obsolete for this target.
1135 * config/i386/nbsd.mt: Likewise.
1136 * config/i386/nbsdelf.mt: Likewise.
1137 * config/m32r/m32r.mt: Likewise.
1138 * config/m68k/m68klynx.mh: Likewise.
1139 * config/m68k/nbsd.mt: Likewise.
1140 * config/m68k/sun3os4.mh: Likewise.
1141 * config/mips/vr5000.mt: Likewise.
1142 * config/ns32k/nbsd.mt: Likewise.
1143 * config/pa/hppabsd.mh: Likewise.
1144 * config/pa/hppaosf.mh: Likewise.
1145 * config/powerpc/nbsd.mt: Likewise.
1146 * config/rs6000/rs6000lynx.mh: Likewise.
1147 * config/s390/s390.mt: Likewise.
1148 * config/s390/s390x.mt: Likewise.
1149 * config/sparc/sparclynx.mh: Likewise.
1150 * config/sparc/sun4os4.mh: Likewise.
1151 * config/i386/x86-64linux.mt: Likewise.
1152 * config/sparc/linux.mh: Likewise.
1153
a85f51e7
DJ
11542002-02-14 Daniel Jacobowitz <drow@mvista.com>
1155
1156 * configure.tgt: Configure gdbserver only for known working
1157 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
1158 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
1159 SUBDIRS if it is configured. Update comment for ${nativefile}.
1160 * configure: Regenerated.
1161
65554fef
MS
11622002-02-13 Michael Snyder <msnyder@redhat.com>
1163
6dbdc4a3
MS
1164 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
1165 (default_gcore_mach): Just return 0, work around a problem in bfd.
1166 (default_gcore_target): OK to return NULL if exec_bfd is null.
1167 (make_mem_sec): Use a cast, avoid a warning.
1168
1169 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 1170 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
1171 sizeof (host pointer) != sizeof (target pointer)).
1172 (procfs_make_note_section): Avoid overflow in psargs string.
1173
aaa38bb5 1174 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
1175 implementation return an error.
1176
11772002-02-13 Rodney Brown <rbrown64@csc.com.au>
1178
1179 * procfs.c (procfs_make_note_section): Provide a default definition
1180 (for alpha-dec-osf4.0f). Fix typos.
1181
1e4d76e7
EZ
11822002-02-13 Elena Zannoni <ezannoni@redhat.com>
1183
1184 * linux-proc.c: Add include of regcache.h.
1185 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
1186
b6d1a1d5
AC
11872002-02-13 Andrew Cagney <ac131313@redhat.com>
1188
1189 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
1190 * memattr.c (create_mem_region): Disallow useless empty region.
1191 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 1192 non-overlapping.
b6d1a1d5 1193
6c6ea35e
MC
11942002-02-13 Michael Chastain <mec@shout.net>
1195
1196 * defs.h: Kill CONST_PTR.
1197 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
1198 * c-lang.c (c_builtin_types): Likewise.
1199 * ch-lang.c (ch_builtin_types): Likewise.
1200 * f-lang.c (f_builtin_types): Likewise.
1201 * language.c (unknown_builtin_types): Likewise.
1202 * m2-lang.c (m2_builtin_types): Likewise.
1203 * p-lang.c (pascal_builtin_types): Likewise.
1204 * scm-lang.c (c_builtin_types): Likewise.
1205
3e0b0f48
KS
12062002-02-13 Keith Seitz <keiths@redhat.com>
1207
1208 * arm-tdep.h (arm_get_next_pc): Add declaration.
1209
67255d04
RE
12102002-02-13 Richard Earnshaw <rearnsha@arm.com>
1211
1212 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
1213 with other related struct-returning functions.
1214 (arm_extract_struct_value_address): New function.
1215 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
1216 initialize float_format, double_format and long_double_format as
1217 appropriate to the endianness of the target.
1218 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
1219 (arm_use_struct_convention): Delete declaration.
1220 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1221
079777f6
KS
12222002-02-13 Keith Seitz <keiths@redhat.com>
1223
1224 * defs.h (core_addr_to_string_nz): New function.
1225
34588f23
MK
12262002-02-13 Mark Kettenis <kettenis@gnu.org>
1227
1228 Apply missing bits of 2002-01-15 patch.
1229 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
1230 (fill_fpregset): Use i387_fill_fsave.
1231
49b563f9
KS
12322002-02-12 Keith Seitz <keiths@redhat.com>
1233
49b563f9
KS
1234 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
1235 (core_addr_to_string_nz): New function.
1236
aeb98c60
RE
12372002-02-11 Richard Earnshaw <rearnsha@arm.com>
1238
1239 * arm-linux-nat.c: Really include arm-tdep.h.
1240 * config/arm/tm-linux.h (struct type, struct value): Declare.
1241
65554fef
MS
12422002-02-11 Michael Snyder <msnyder@redhat.com>
1243
1244 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
1245 (gcore section): Ifdef for Solaris and Unixware only.
1246 (procfs_do_thread_registers): Unixware needs one lwpstatus
1247 per thread (not one prstatus or pstatus).
1248 (procfs_make_note_section): Iterate only over kernel threads (lwps),
1249 not over all gdb threads. For unixware, call elfcore_write_pstatus
1250 once before iterating over threads.
1251
34e8f22d
RE
12522002-02-11 Richard Earnshaw <rearnsha@arm.com>
1253
1254 * arm-tdep.h: New file.
1255 * arm-tdep.c: Include arm-tdep.h.
1256 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1257 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1258 (arm_print_float_info, arm_register_type, convert_to_extended)
1259 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1260 (arm_extract_return_value, arm_register_name): Make static.
1261 (arm_software_single_step): Similarly. Fix types in declaration.
1262 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
1263 (arm_store_return_value, arm_store_struct_return): New functions.
1264 (arm_gdbarch_init): Register the above functions. Also register
1265 call_dummy_start_offset, sizeof_call_dummy_words,
1266 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
1267 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 1268 max_register_virtual_size, register_size. Set up
34e8f22d
RE
1269 prologue_cache.saved_regs here, rather than ...
1270 (_initialize_arm_tdep): ... here.
1271 * config/arm/tm-arm.h (struct type, struct value): Delete forward
1272 declarations.
1273 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1274 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1275 (arm_print_float_info, arm_register_type, convert_to_extended)
1276 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1277 (arm_extract_return_value, arm_register_name): Delete declarations.
1278 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
1279 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
1280 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
1281 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
1282 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
1283 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
1284 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
1285 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
1286 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
1287 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
1288 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
1289 (arm_get_next_pc): No-longer static -- these are needed by the RDI
1290 interface.
1291 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
1292 * remote-rdi.c remote-rdp.c: Likewise.
1293 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
1294 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
1295 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
1296 definition.
1297
1298 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
1299 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
1300 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
1301 from non-ARM_ prefixed definitions.
1302 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
1303 all uses of above.
1304 * remote-rdi.c remote-rdp.c: Likewise.
1305 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
1306
148754e5
RE
13072002-02-11 Richard Earnshaw <rearnsha@arm.com>
1308
1309 * arm-tdep.c (arm_frameless_function_invocation)
1310 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1311 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1312 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1313 (arm_pop_frame, arm_get_next_pc): Make static.
1314 (arm_gdbarch_init): Register above in gdbarch structure.
1315 (arm_read_fp): Renamed from arm_target_read_fp.
1316 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
1317 * config/arm/tm-arm.h (arm_frameless_function_invocation)
1318 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1319 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1320 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1321 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
1322 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
1323 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
1324 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
1325 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
1326 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 1327
434d2d4f
DJ
13282002-02-10 Daniel Jacobowitz <drow@mvista.com>
1329
1330 * symtab.c (compare_search_syms): New function.
1331 (sort_search_symbols): New function.
1332 (search_symbols): Sort symbols after searching rather than
1333 before.
1334
55241689
AC
13352002-02-10 Andrew Cagney <ac131313@redhat.com>
1336
1337 * NEWS: Linux -> GNU/Linux.
1338
028c194b
AC
13392002-02-10 Andrew Cagney <ac131313@redhat.com>
1340
1341 * gdbarch.sh: For for level one methods, disallow a definition
1342 when partially multi-arched. Add comments explaining rationale.
1343 * gdbarch.h: Re-generate.
1344
6acf50cd
AC
13452002-02-10 Andrew Cagney <ac131313@redhat.com>
1346
1347 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
1348 multi-arch partial.
aaa38bb5 1349
50248794
AC
13502002-02-10 Andrew Cagney <ac131313@redhat.com>
1351
1352 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
1353 field. Use diff -u.
1354 * gdbarch.c: Re-generate.
1355
c30e0066
AC
13562002-02-10 Andrew Cagney <ac131313@redhat.com>
1357
9b56c5f3 1358 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
1359 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
1360 partial.
1361
6e6d6484
AC
13622002-02-10 Andrew Cagney <ac131313@redhat.com>
1363
1364 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
1365 multi-arch partial.
1366 (PUSH_ARGUMENTS): Switch to using predefault.
1367 * gdbarch.c: Regenerate.
1368
c203844d
AC
13692002-02-10 Andrew Cagney <ac131313@redhat.com>
1370
1371 * valops.c (PUSH_ARGUMENTS): Delete definition.
1372 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
1373 partial. Default to default_push_arguments.
1374 * gdbarch.h, gdbarch.c: Regenerate.
1375
b5a2688f
AC
13762002-02-09 Andrew Cagney <ac131313@redhat.com>
1377
1378 * defs.h (throw_exception): Rename return_to_top_level. Update
1379 comments.
1380 * utils.c (error_stream, internal_verror, quit): Ditto.
1381 * top.c (throw_exception, catcher): Ditto.
1382 * sparclet-rom.c (sparclet_load): Ditto.
1383 * remote.c (interrupt_query, minitelnet): Ditto.
1384 * remote-sds.c (interrupt_query): Ditto.
1385 * remote-mips.c (mips_error, mips_kill): Ditto.
1386 * ocd.c (interrupt_query): Ditto.
1387 * monitor.c (monitor_interrupt_query): Ditto.
1388 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
1389 * target.h: Update comment.
aaa38bb5 1390
b5a2688f 1391 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 1392
2fa5c1e0
AC
13932002-02-09 Andrew Cagney <ac131313@redhat.com>
1394
1395 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
1396 default_double_format.
1397 * gdbarch.h, gdbarch.c: Re-generate.
1398 * findvar.c (floatformat_unknown): Delete variable definition.
1399 * doublest.h (floatformat_unknown): Delete variable declaration.
1400
da966255
JB
14012002-02-09 Jim Blandy <jimb@redhat.com>
1402
1403 * stabsread.c (read_type): Add code to parse Sun's syntax for
1404 prototyped function types.
1405
123a4891
AC
14062002-02-09 Andrew Cagney <ac131313@redhat.com>
1407
1408 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
1409 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
1410
fb39c8f3
PS
14112002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1412
1413 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
1414 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
1415 now _initialize_xcoffsolib gets called again and overrides the
1416 commands from solib.c in a native configuration.
1417
0b87a11d
MK
14182002-02-09 Mark Kettenis <kettenis@gnu.org>
1419
1420 * doublest.c (store_typed_floating): Don't try to return a value.
1421 Fixes PR gdb/290.
1422
bdc2fc72
JB
14232002-02-08 Jim Blandy <jimb@redhat.com>
1424
1425 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
1426 is prototyped and has no arguments, print its argument list as
1427 `(void)'.
1428
da69bbcf
CD
14292002-02-08 Chris Demetriou <cgd@broadcom.com>
1430
1431 * MAINTAINERS (write-after-approval): Add myself.
1432 (paper-trail): I've escaped!
aaa38bb5 1433
b69571f5
CF
14342002-02-08 Christopher Faylor <cgf@redhat.com>
1435
1436 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
1437 changes.
1438 (_initialize_check_for_gdb_ini): Ditto.
1439
f6871398
MH
14402002-02-08 Martin M. Hunt <hunt@redhat.com>
1441
1442 * win32-nat.c (cygwin_pid_to_str): Fix typo.
1443 xaprintf -> xasprintf.
1444
4e52d31c
PM
14452002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
1446
1447 * win32-nat.c: Remove use of printf and sprintf functions.
1448
39bbf761
RE
14492002-02-08 Richard Earnshaw <rearnsha@arm.com>
1450
1451 * arm-tdep.c (arm_frame_chain_valid): Make static.
1452 (arm_push_arguments): Likewise.
1453 (arm_gdbarch_init): New function.
1454 (_initialize_arm_tdep): Call it.
1455 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
1456 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
1457 (FRAME_CHAIN_VALID): Delete.
1458 (arm_frame_chain_valid): Delete declaration.
1459 (PUSH_ARGUMENTS): Delete.
1460 (arm_push_arguments): Delete declaration.
1461 (CALL_DUMMY_P): Delete.
1462
9c9532c9
CV
14632002-02-08 Andrew Cagney <ac131313@redhat.com>
1464 Corinna Vinschen <vinschen@redhat.com>
1465
1466 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
1467 on builtin float types.
1468
4e8f7a8b
DJ
14692002-02-08 Daniel Jacobowitz <drow@mvista.com>
1470
1471 * utils.c: Include <curses.h> before "bfd.h".
1472 * tui/tui-hooks.c: Likewise.
1473 * tui/tui.c: Likewise.
1474 * tui/tuiCommand.c: Likewise.
1475 * tui/tuiData.c: Likewise.
1476 * tui/tuiDataWin.c: Likewise.
1477 * tui/tuiDisassem.c: Likewise.
1478 * tui/tuiGeneralWin.c: Likewise.
1479 * tui/tuiIO.c: Likewise.
1480 * tui/tuiLayout.c: Likewise.
1481 * tui/tuiRegs.c: Likewise.
1482 * tui/tuiSource.c: Likewise.
1483 * tui/tuiSourceWin.c: Likewise.
1484 * tui/tuiStack.c: Likewise.
1485 * tui/tuiWin.c: Likewise.
1486
cd4bffcf
EZ
14872002-02-07 Elena Zannoni <ezannoni@redhat.com>
1488
1489 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
1490 to include space for pseudoregs as well. Update loops accordingly.
1491 (sh_fp_frame_init_saved_regs): Ditto.
1492 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
1493
26806ce2
AC
14942002-02-07 Andrew Cagney <ac131313@redhat.com>
1495
1496 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
1497 Add Richard Earnshaw to Arm maintainers.
1498
97fdab62
AC
14992002-02-07 Andrew Cagney <ac131313@redhat.com>
1500
a6b98203
AC
1501 * defs.h (warning_begin): Delete declaration.
1502
97fdab62
AC
1503 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
1504 Delete macro.
1505
78b29b40
MS
15062002-02-07 Michael Snyder <msnyder@redhat.com>
1507
aaa38bb5 1508 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
1509 Logic bug, remove misplaced else.
1510
d8849953
KD
15112002-02-07 Klee Dienes <klee@apple.com>
1512
1513 * fork-inferior.c (fork_inferior): Add '!' to the list of
1514 characters that need to be quoted when building a string for the
1515 shell. Quote '!' specifically with a backslash, since CSH chokes
1516 when trying to evaluate "str!str".
aaa38bb5 1517
095778a0
NC
15182002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1519
1520 * rdi-share/host.h: Only provide a typedef for bool if it is not
1521 defined.
1522
1900040c
MS
15232002-02-04 Michael Snyder <msnyder@redhat.com>
1524
1525 * breakpoint.h (enum bptype): Add new overlay event bp type.
1526 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 1527
1900040c
MS
1528 * breakpoint.c (create_internal_breakpoint): New function.
1529 (internal_breakpoint_number): Moved into create_internal_breakpoint.
1530 (create_longjmp_breakpoint): Use create_internal_breakpoint.
1531 (create_thread_event_breakpoint): Ditto.
1532 (create_solib_event_breakpoint): Ditto.
1533 (create_overlay_event_breakpoint): New function.
1534 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
1535 (update_breakpoints_after_exec): Delete and re-initialize
1536 overlay event breakpoints after an exec. Add FIXME comment
1537 about longjmp breakpoint.
1538 (print_it_typical): Ignore overlay event breakpoints.
1539 (print_one_breakpoint): Ditto.
1540 (mention): Ditto.
1541 (bpstat_what): Do not stop for overlay event breakpoints.
1542 (delete_breakpoint): Don't delete overlay event breakpoints.
1543 (breakpoint_re_set_one): Delete the overlay event breakpoint.
1544 (breakpoint_re_set): Re-create overlay event breakpoint.
1545
1546 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
1547 (overlay_manual_command): Disable overlay breakpoints.
1548 (overlay_off_command): Disable overlay breakpoints.
1549
082fc60d
RE
15502002-02-06 Richard Earnshaw <rearnsha@arm.com>
1551
1552 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
1553 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
1554 to here from config/tm-arm.h.
1555 (coff_sym_is_thumb): Make static.
1556 (arm_elf_make_msymbol_special): New function.
1557 (arm_coff_make_msymbol_special): New function.
1558 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
1559 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
1560 (coff_sym_is_thumb): Delete declaration.
1561 (arm_elf_make_msymbol_special): Declare.
1562 (arm_coff_make_msymbol_special): Declare.
1563 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
1564 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
1565
039c5766
RE
15662002-02-06 Richard Earnshaw <rearnsha@arm.com>
1567
1568 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
1569
15702002-02-06 Richard Earnshaw <rearnsha@arm.com>
1571
1572 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
1573 * gdbarch.c gdbarch.h: Regenerate.
1574 * arch-utils.c (default_print_float_info): New function.
1575 * arch-utils.h (default_print_float_info): Prototype it.
1576 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
1577 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
1578 (PRINT_FLOAT_INFO): Document it.
1579
1580 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
1581 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
1582 (PRINT_FLOAT_INFO): Define.
1583
58fa08f0
PM
15842002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
1585
aaa38bb5 1586 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
1587 Add typecast to sprintf argument to suppress a warning.
1588
7393af7c
PM
15892002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
1590
58fa08f0 1591 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
1592 to allow easier handling of pass state.
1593 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
1594 that gives exception name and address.
1595 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 1596 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 1597 exceptions added.
aaa38bb5
AJ
1598 (child_continue): Correctly report continue_status.
1599 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 1600 TARGET_SIGNAL_0 (new default value).
aaa38bb5 1601 (child_resume): consider sig argument passed to decide if
7393af7c
PM
1602 the exception should be passed to debuggee or not.
1603
6af4589c
MS
16042002-02-05 Michael Snyder <msnyder@redhat.com>
1605
1606 * regcache.c (fetch_register): Call target_fetch_register
1607 only if we don't call FETCH_PSEUDO_REGISTER.
1608 (store_register): Call target_store_register only if we
1609 don't call STORE_PSEUDO_REGISTER.
1610
a2cf933a
EZ
16112002-02-05 Elena Zannoni <ezannoni@redhat.com>
1612
1613 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
1614 ELF_MAKE_MSYMBOL_SPECIAL.
1615 * gdbarch.c, gdbarch.h: Regenerate.
1616 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 1617 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
1618 * elfread.c (elf_symtab_read): Compile use of
1619 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
1620 multiarched.
1621 * coffread.c (coff_symtab_read): Ditto, for
1622 COFF_MAKE_MSYMBOL_SPECIAL.
1623
6bb7be43
JB
16242002-02-05 Jim Blandy <jimb@redhat.com>
1625
1626 * solib-svr4.c (svr4_truncate_ptr): New function.
1627 (svr4_relocate_section_addresses): Do the address arithmetic with
1628 the appropriate truncation for target addresses, even when
1629 CORE_ADDR is larger than a target address.
1630
e18651ec
DJ
16312002-02-05 Daniel Jacobowitz <drow@mvista.com>
1632
1633 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
1634 to (int *).
1635
6b2725be
DJ
16362002-02-05 Daniel Jacobowitz <drow@mvista.com>
1637
1638 * gdbserver/linux-low.c (kill_inferior): Remove commented out
1639 code.
1640
fca9e603
DJ
16412002-02-05 Daniel Jacobowitz <drow@mvista.com>
1642
1643 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
1644
6c537a52
DJ
16452002-02-05 Daniel Jacobowitz <drow@mvista.com>
1646
1647 * gdbserver/linux-low.c: Remove unused include files.
1648
d844cde6
DJ
16492002-02-05 Daniel Jacobowitz <drow@mvista.com>
1650
1651 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
1652 (read_inferior_memory): Use it.
1653 (write_inferior_memory): Likewise.
1654
d07c63e7
DJ
16552002-02-05 Daniel Jacobowitz <drow@mvista.com>
1656
1657 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
1658 grubbing through sys_errlist.
1659
da6d8c04
DJ
16602002-02-05 Daniel Jacobowitz <drow@mvista.com>
1661
1662 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
1663
5b421780
PM
16642002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1665 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
1666
9f60d481
AC
16672002-02-04 Andrew Cagney <ac131313@redhat.com>
1668
1669 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
1670 (do_sfunc, set_cmd_sfunc): New functions.
1671
1672 * command.h (struct cmd_list_element): Add field func.
1673 * cli/cli-decode.h (struct cmd_list_element): Ditto.
1674 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
1675 * cli/cli-decode.h: Ditto.
1676
1677 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
1678 (help_all, help_cmd_list): Ditto.
1679 (find_cmd, complete_on_cmdlist): Ditto.
1680 * top.c (execute_command): Ditto.
1681
1682 * cli/cli-setshow.c (do_setshow_command): Call func instead of
1683 function.sfunc.
1684
1685 * infcmd.c (notice_args_read): Fix function signature.
1686
1687 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
1688 * cli/cli-decode.c (add_set_cmd): Ditto.
1689 * utils.c (initialize_utils): Ditto.
1690 * maint.c (_initialize_maint_cmds): Ditto.
1691 * infrun.c (_initialize_infrun): Ditto.
1692 * demangle.c (_initialize_demangler): Ditto.
1693 * remote.c (add_packet_config_cmd): Ditto.
1694 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1695 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1696 * proc-api.c (_initialize_proc_api): Ditto.
1697 * kod.c (_initialize_kod): Ditto.
1698 * valprint.c (_initialize_valprint): Ditto.
1699 * top.c (init_main): Ditto.
1700 * infcmd.c (_initialize_infcmd): Ditto.
1701 * corefile.c (_initialize_core): Ditto.
1702 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1703 * arch-utils.c (initialize_current_architecture): Ditto.
1704 (_initialize_gdbarch_utils): Ditto.
1705 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1706
1707 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
1708 * wince.c (_initialize_inftarg): Ditto.
1709 * symfile.c (_initialize_symfile): Ditto.
1710 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1711 * language.c (_initialize_language): Ditto.
1712 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1713
f9ba0717
MS
17142002-02-04 Michael Snyder <msnyder@redhat.com>
1715
1716 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
1717
0c74b2a7
DJ
17182002-02-04 Daniel Jacobowitz <drow@mvista.com>
1719
1720 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
1721 Add rules for building the register data files.
1722
c638789f
DJ
17232002-02-04 Daniel Jacobowitz <drow@mvista.com>
1724
1725 * regformats/regdat.sh: Add braces to the definition of
1726 expedite_regs_${arch}.
1727
db253027
DJ
17282002-02-04 Daniel Jacobowitz <drow@mvista.com>
1729
1730 * regformats/regdef.h (struct reg): Add comment describing the
1731 requirements for offset and size fields.
1732
206be19c
AS
17332002-02-04 Andreas Schwab <schwab@suse.de>
1734
1735 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
1736 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
1737
181c1381
RE
17382002-02-04 Richard Earnshaw <rearnsha@arm.com>
1739
1740 * gdbarch.sh (copyright): Update years in generated header.
1741 (SMASH_TEXT_ADDRESS): Add rule.
db253027 1742 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
1743 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
1744 * dbxread.c: Likewise.
1745 * dwarfread.c: Likewise.
1746 * elfread.c: Likewise.
1747 * somread.c: Likewise.
1748
1749 * arm-tdep.c (arm_smash_text_address): New function.
1750 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
1751
fa4ba8da
PM
17522002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1753
1754 Add support for hardware watchpoints on win32 native.
aaa38bb5 1755 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 1756 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 1757 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
1758 of debug registers.
1759 (debug_registers_changed): New variable. Reflects when debug registers
1760 are changed and need to be written to inferior.
aaa38bb5 1761 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
1762 was set, used when new threads are created.
1763 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
1764 i386-nat code.
1765 (thread_rec): Set dr array if id is the thread of current_event .
1766 (child_continue, child_resume): Change the debug registers for all
1767 threads if debug_registers_changed.
1768 (child_add_thread): Change the debug registers if debug_registers_used.
1769 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1770 Link nm.h to new nm-cygwin.h file.
1771 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1772 of hardware registers.
1773
a73c86fb
AC
17742002-02-03 Andrew Cagney <ac131313@redhat.com>
1775
1776 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1777 Restore behavour broken by 2002-01-20 Andrew Cagney
1778 <ac131313@redhat.com> IEEE_FLOAT removal.
1779
acf5ed49
DJ
17802002-02-03 Daniel Jacobowitz <drow@mvista.com>
1781
1782 * c-valprint.c (c_val_print): Pass a proper valaddr to
1783 cp_print_class_method.
1784 * valops.c (search_struct_method): If there is only one method
1785 and args is NULL, return that method.
1786
493d28d5
DJ
17872002-02-03 Daniel Jacobowitz <drow@mvista.com>
1788
1789 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1790 accessing tag_name directly.
1791
7495dfdb
DJ
17922002-02-03 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1795 of accessing tag_name directly.
1796
dd6bda65
DJ
17972002-02-03 Daniel Jacobowitz <drow@mvista.com>
1798
1799 PR gdb/280
1800 * gdbtypes.c (replace_type): New function.
1801 * gdbtypes.h (replace_type): Add prototype.
1802 * stabsread.c (read_type): Use replace_type.
1803
88fe217c
RE
18042002-02-03 Richard Earnshaw <rearnsha@arm.com>
1805
1806 * Makefile.in (memattr.o): Add missing dependencies rule.
1807
e5d66720
PS
18082002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1809
1810 * breakpoint.c (break_at_finish_command): Really export.
1811 (break_at_finish_at_depth_command): Ditto.
1812 (tbreak_at_finish_command): Ditto.
1813 * hppa-tdep.c: Include completer.h.
1814 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1815 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1816
fffee0be
AC
18172002-02-01 Andrew Cagney <ac131313@redhat.com>
1818
1819 * utils.c (do_write): New function.
1820 (error_stream): Rewrite combining the code from error_begin and
1821 verror.
1822 (verror): Rewrite using error_stream.
1823 (error_begin): Delete function.
1824
255e7dbf
AC
18252002-02-01 Andrew Cagney <ac131313@redhat.com>
1826
1827 * utils.c (error_begin): Make static.
1828 * defs.h (error_begin): Delete declaration.
1829
1830 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1831 (decode_line_1): Use cplusplus_error instead of error_begin,
1832 cplusplus_hint and return_to_top_level.
1833 * coffread.c (coff_symfile_read): Use error instead of error_begin
1834 and return_to_top_level.
1835 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1836
ddfe3c15
AC
18372002-02-01 Andrew Cagney <ac131313@redhat.com>
1838
1839 * language.h (type_error, range_error): Make string parameter
1840 constant.
1841 * language.c (warning_pre_print): Delete extern declaration.
1842 * dwarfread.c (warning_pre_print): Ditto.
1843 * language.c (type_error, range_error): Rewrite to use verror and
1844 vwarning instead of warning_begin.
1845
03ac34d5
MS
18462002-02-01 Michael Snyder <msnyder@redhat.com>
1847
261c4ca2
MS
1848 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1849 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 1850
e00d1dc8
AC
18512002-02-01 Andrew Cagney <ac131313@redhat.com>
1852
1853 * command.h (NO_FUNCTION): Delete macro.
1854 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1855 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1856 * tracepoint.c (_initialize_tracepoint): Ditto.
1857 * cli/cli-decode.c (add_set_cmd): Ditto.
1858 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 1859
76b79d6e
DJ
18602002-02-01 Daniel Jacobowitz <drow@mvista.com>
1861
1862 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1863 Update ``this'' pointer when calling virtual functions.
1864
799f9e91
MS
18652002-02-01 Michael Snyder <msnyder@redhat.com>
1866
c7bd442c 1867 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
1868 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1869
3cf384d4
DJ
18702002-02-01 Daniel Jacobowitz <drow@mvista.com>
1871
1872 * regformats/reg-arm.dat: New file.
1873 * regformats/reg-i386.dat: New file.
1874 * regformats/reg-ia64.dat: New file.
1875 * regformats/reg-m68k.dat: New file.
1876 * regformats/reg-mips.dat: New file.
1877 * regformats/reg-ppc.dat: New file.
1878 * regformats/reg-sh.dat: New file.
1879 * regformats/regdef.h: New file.
1880 * regformats/regdat.sh: New file.
1881
0defa245
RE
18822002-02-01 Richard Earnshaw <reanrsha@arm.com>
1883
1884 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1885 (arm_frame_args_address, arm_frame_locals_address): New functions.
1886 (arm_frame_num_args): New function.
1887 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1888 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1889 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1890
405f26e6
MS
18912002-01-31 Michael Snyder <msnyder@redhat.com>
1892
502fd408
MS
1893 * breakpoint.c (break_at_finish_command): Export.
1894 (break_at_finish_at_depth_command): Export.
1895 (tbreak_at_finish_command): Export.
1896 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1897 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1898 "tbreak" commands, which are HPPA specific.
1899
7d35e135
MS
1900 * printcmd.c (disassemble_command): Remove an ancient
1901 artifact of an old merge.
1902
aaa38bb5 1903 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
1904 Define enum constant values for overlay mode.
1905 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
1906 (overlay_is_mapped, overlay_auto_command,
1907 overlay_manual_command): Ditto.
d874f1e2 1908
aaa38bb5
AJ
1909 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1910 breakpoint_here_p, breakpoint_inserted_here_p,
1911 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
1912 describe_other_breakpoints, check_duplicates, clear_command):
1913 Coding standard fixes.
1914
8add0441 1915 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 1916 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
1917 code: check bfd SEC_READONLY flag for section.
1918
e351066e
AC
19192002-01-31 Andrew Cagney <ac131313@redhat.com>
1920
7d35e135 1921 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 1922
8a48e967
DJ
19232002-01-30 Daniel Jacobowitz <drow@mvista.com>
1924
1925 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
1926 data symbols, since we search based on textlow and texthigh.
1927 (find_pc_sect_symtab): Likewise.
1928
f5a96129
AC
19292002-01-30 Andrew Cagney <ac131313@redhat.com>
1930
1931 * defs.h (vwarning): Declare.
f5a96129
AC
1932 * utils.c (vwarning): New function.
1933 (warning): Call vwarning.
1934 (warning_begin): Delete function.
1935
1936 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
1937 the warning message.
1938 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
1939 warning_begin.
1940
cefd4ef5
MS
19412002-01-30 Michael Snyder <msnyder@redhat.com>
1942
1a703748
MS
1943 * NEWS: Mention "set trust-readonly-sections" command.
1944 Mention generate-core-file command.
cefd4ef5 1945
3a11626d
MS
19462002-01-15 Michael Snyder <msnyder@redhat.com>
1947
1948 * target.c: New command, "set trust-readonly-sections on".
1949 (do_xfer_memory): Honor the suggestion to trust readonly sections
1950 by reading them from the object file instead of from the target.
1951 (initialize_targets): Register command "set trust-readonly-sections".
1952
d1c7e53b
AC
19532002-01-29 Andrew Cagney <ac131313@redhat.com>
1954
1955 * parse.c (target_map_name_to_register): Simplify, search regs and
1956 pseudo-regs using a single loop.
1957
e2c9a72c
AC
19582002-01-30 Andrew Cagney <ac131313@redhat.com>
1959
1960 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
1961
69824b4e
MK
19622002-01-15 Rodney Brown <rbrown64@csc.com.au>
1963
1964 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
1965 * config/i386/i386v42mp.mh: Add i387-nat.o .
1966 * i386v4-nat.c: Include i387-nat.h.
1967 (supply_fpregset): Use i387_supply_fsave.
1968 (fill_fpregset): Use i387_fill_fsave.
1969
6eb69eab
RE
19702002-01-30 Richard Earnshaw <rearnsha@arm.com>
1971
1972 * arm-tdep.c (arm_call_dummy_words): Define.
1973 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
1974 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
1975 (CALL_DUMMY_WORDS): Define.
1976 (arm_call_dummy_words): Declare.
1977 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
1978 (arm_linux_call_dummy_words): Declare.
1979
9852326a
AS
19802002-01-30 Andreas Schwab <schwab@suse.de>
1981
1982 * m68klinux-nat.c: Fix last change to use regcache_collect
1983 instead of referencing registers[] directly.
1984
977a3030
AC
19852002-01-29 Andrew Cagney <ac131313@redhat.com>
1986
1987 * parse.c (target_map_name_to_register): Delete code wrapped in
1988 #ifdef REGISTER_NAME_ALIAS_HOOK.
1989
2076c72b
MS
19902002-01-28 Michael Snyder <msnyder@redhat.com>
1991
1992 * regcache.c (legacy_read_register_gen): Need to be able to
1993 read pseudo-register as well as real register.
1994 (legacy_write_register_gen): Ditto.
1995
8fcc723b
AC
19962002-01-28 Andrew Cagney <ac131313@redhat.com>
1997
1998 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1999 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
2000 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
2001 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
2002 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
2003 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
2004 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
2005 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
2006 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
2007 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2008 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
2009 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
2010 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
2011 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
2012 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
2013 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
2014 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
2015 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
2016 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
2017 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
2018
afe64c1a
AC
20192002-01-28 Andrew Cagney <ac131313@redhat.com>
2020
2021 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
2022 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
2023 (initialize_current_architecture): Update target_byte_order using
2024 information from BFD.
aaa38bb5 2025 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
2026 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
2027
75bc7ddf
AC
20282002-01-28 Andrew Cagney <ac131313@redhat.com>
2029
2030 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
2031 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
2032
2033 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
2034 #ifdef INVALID_FLOAT.
2035 * infcmd.c (do_registers_info): Ditto.
2036 * values.c (unpack_double): Ditto. Add comment.
2037
2038 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
2039 already commented out.
2040
0280a90a
AS
20412002-01-26 Andreas Schwab <schwab@suse.de>
2042
2043 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
2044 * m68klinux-nat.c: Update ptrace interface for fetching/storing
2045 registers and add support for PTRACE_GETREGS.
2046
7072a954
AC
20472002-01-24 Andrew Cagney <ac131313@redhat.com>
2048
2049 GDB 5.1.1 released from 5.1 branch.
2050 * NEWS: Add 5.1.1 news.
2051 * README: Sync with 5.1 branch.
2052
86f902e0
FF
20532002-01-23 Fred Fish <fnf@redhat.com>
2054
2055 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
2056 stabstring on initial malloc. Reallocing will copy it for us,
2057 if necessary.
2058
8af51c36
EZ
20592002-01-23 Elena Zannoni <ezannoni@redhat.com>
2060
aaa38bb5 2061 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
2062 (HFILES_NO_SRCDIR): Remove hpread.h.
2063 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
2064 (hpread.o): Update dependencies.
2065 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
2066
2067 * hp-psymtab-read.c: Remove file.
2068 * hp-symtab-read.c: Remove file.
2069 * hpread.h: Remove file.
2070
2071 * hpread.c: Merge all contents of hp-psymtab-read.c,
2072 hp-symtab-read.c and hpread.h into this file, as it was prior to
2073 January 1999.
2074
2075 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 2076 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
2077 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
2078 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
2079
dc5cfeb6
EZ
20802002-01-23 Elena Zannoni <ezannoni@redhat.com>
2081
2082 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
2083 fill_gregset): Call gdbarch_tdep() just once, assign result to
2084 variable and use that, instead of calling the function several
2085 times.
2086
ea87b71b
AO
20872002-01-24 Alexandre Oliva <aoliva@redhat.com>
2088
2089 * configure.host: Accept sparcv9 as alias for sparc64.
2090 * configure.tgt: Likewise.
2091
13fc0c2f
KB
20922002-01-22 Kevin Buettner <kevinb@redhat.com>
2093
2094 * solib-aix5.c (build_so_list_from_mapfile)
2095 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
2096 arguments is not reversed.
2097 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
2098 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 2099
7bd872fe
EZ
21002002-01-22 Elena Zannoni <ezannoni@redhat.com>
2101
2102 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
2103 modified version of obsolete sh_fetch_pseudo_register.
2104 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
2105 (sh4_register_read): New function.
2106 (sh_pseudo_register_write): New function. Renamed and modified
2107 version of obsolete sh_store_pseudo_register.
2108 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
2109 (sh4_register_write): New function.
2110 (sh_gdbarch_init): Remove setting of gdbarch function
2111 fetch_pseudo_register and store_pseudo_register. Remove setting of
2112 register_convert_to_raw, register_convert_to_virtual,
2113 register_convertible.
2114 (sh_sh4_register_convertible): Delete. No longer needed. All is
2115 taken care by architecture specific functions
2116 register_read/register_write.
2117 (sh_sh4_register_convert_to_virtual): Make static.
2118 (sh_sh4_register_convert_to_raw): Ditto.
2119
069e84fd
AC
21202002-01-22 Andrew Cagney <ac131313@redhat.com>
2121
2122 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
2123 (floatformat_is_nan, floatformat_mantissa): Ditto.
2124
2125 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
2126 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
2127 builtin_type_ieee_double_little,
2128 builtin_type_ieee_double_littlebyte_bigword,
2129 builtin_type_m68881_ext, builtin_type_i960_ext,
2130 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
2131 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
2132 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
2133 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
2134
211a4f69
CV
21352002-01-22 Corinna Vinschen <vinschen@redhat.com>
2136
2137 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
2138 parameter. Set frameless flag if it exists and depended of
2139 whether the scanned function is frameless or not.
2140 (xstormy16_skip_prologue): If function is frameless, return
2141 result of xstormy16_scan_prologue().
2142 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
2143 call.
2144
f81353e4
EZ
21452002-01-21 Elena Zannoni <ezannoni@redhat.com>
2146
2147 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
2148 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2149 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
2150 sh_sh4_register_byte, sh_sh4_register_raw_size,
2151 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
2152 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
2153 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
2154 sh_store_pseudo_register, sh_do_pseudo_register): Call
2155 gdbarch_tdep() just once, assign result to variable and use that,
2156 instead of calling the function several times.
2157
63c73a17
MK
21582002-01-20 Mark Kettenis <kettenis@gnu.org>
2159
2160 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
2161 macros instead of LAST_FPU_CTRL_REGNUM.
2162 (store_register): Likewise.
2163
39ad761d
JB
21642002-01-21 Jim Blandy <jimb@redhat.com>
2165
2166 * infcmd.c (run_command): Check that the `exec' target layer's BFD
2167 is up-to-date before running the program, not just when a program
2168 exits.
2169
3d74b771
FF
21702002-01-21 Fred Fish <fnf@redhat.com>
2171
2172 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
2173 when we have found all instructions we are looking for.
2174
966fbf70
RE
21752002-01-21 Richard Earnshaw <rearnsha@arm.com>
2176
2177 * arm-tdep.c (arm_register_name): New function.
2178 (arm_registers_names): Make static.
2179 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
2180 (arm_register_name): Declare.
2181 (REGISTER_NAME): Use it.
2182
c3b4394c
RE
21832002-01-21 Richard Earnshaw <rearnsha@arm.com>
2184 Kevin Buettner <kevinb@redhat.com>
2185
2186 Convert arm targets to new FRAME interface.
2187 * arm-tdep.c (struct frame_extra_info): Remove fsr.
2188 (arm_frame_find_save_regs): Delete.
2189 (arm_frame_init_saved_regs): New.
2190 (arm_init_extra_frame_info): Alloacte saved_regs as required.
2191 Allocate extra_info as required. Convert all uses of fsr.regs
2192 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
2193 to use extra_info.
2194 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
2195 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
2196 (check_prologue_cache, save_prologue_cache): Likewise.
2197 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
2198 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
2199 (FRAME_FIND_SAVED_REGS): Delete.
2200 (arm_frame_find_saved_regs): Delete prototype.
2201 (arm_frame_init_saved_regs): New prototype.
2202 (FRAME_INIT_SAVED_REGS): Define.
2203
61d99182
AC
22042002-01-20 Andrew Cagney <ac131313@redhat.com>
2205
2206 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
2207
6aaea291
AC
22082002-01-20 Andrew Cagney <ac131313@redhat.com>
2209
2210 From Jeff Law <law@redhat.com>:
2211 * infttrace.c: Include <sys/pstat.h>.
2212 (child_pid_to_exec_file): Revamp. Use pstat call to get the
2213 exec file if the ttrace equivalent fails.
2214
15f698d2
AC
22152002-01-20 Andrew Cagney <ac131313@redhat.com>
2216
2217 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
2218 (closeLogFile): Ditto.
2219
f86ddd7c
MC
22202002-01-20 Michael Chastain <mec@shout.net>
2221
2222 * top.c (print_gdb_version): Bump copyright year to 2002.
2223
904507ce
AC
22242002-01-20 Andrew Cagney <ac131313@redhat.com>
2225
2226 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
2227 Zannoni and Eli Zaretskii.
2228
d7f0b9ce
DJ
22292002-01-20 Daniel Jacobowitz <drow@mvista.com>
2230
2231 * buildsym.c: Update copyright years.
2232 * c-typeprint.c: Likewise.
2233 * dwarf2read.c: Likewise.
2234 * f-typeprint.c: Likewise.
2235 * gdbtypes.c: Likewise.
2236 * gdbtypes.h: Likewise.
2237 * hp-symtab-read.c: Likewise.
2238 * hpread.c: Likewise.
2239 * mdebugread.c: Likewise.
2240 * p-typeprint.c: Likewise.
2241
3fd3d7d2
AC
22422002-01-20 Andrew Cagney <ac131313@redhat.com>
2243
2244 * remote-sim.c (gdbsim_open): Simplify code testing the macro
2245 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
2246 byte-order selectable.
2247 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
2248 * arch-utils.c: Ditto.
2249 (set_endian): Ditto.
2250 (set_endian_from_file): Ditto.
2251 * gdbserver/low-sim.c (create_inferior): Ditto.
2252 * gdbarch.sh: Ditto.
2253 * gdbarch.h: Re-generate.
aaa38bb5
AJ
2254 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2255 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
2256 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
2257 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2258 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2259 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2260 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
2261 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
2262 macro definition.
2263 * config/mips/tm-wince.h: Remove #undef of macro
2264 TARGET_BYTE_ORDER_SELECTABLE.
2265 * config/sh/tm-wince.h: Ditto.
2266
b02dede2
DJ
22672002-01-20 Daniel Jacobowitz <drow@mvista.com>
2268
2269 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
2270 member function fields. Add accessor macro
2271 TYPE_FN_FIELD_ARTIFICIAL.
2272 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
2273 * c-typeprint.c (c_type_print_base): Skip artificial member
2274 functions.
2275
c3643761
DJ
22762002-01-20 Daniel Jacobowitz <drow@mvista.com>
2277
2278 * f-typeprint.c: Delete unused function f_type_print_args.
2279 * p-typeprint.c: Delete unused function pascal_type_print_args.
2280
8176bb6d
DJ
22812002-01-20 Daniel Jacobowitz <drow@mvista.com>
2282
2283 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
2284 comment. Add ``artificial'' to ``union field_location''.
2285
2286 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
2287
2288 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
2289 * mdebugread.c (parse_symbol): Likewise.
2290 * stabsread.c (define_symbol): Likewise.
2291 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
2292 initializing TYPE_FIELD_BITPOS to n (obsolete).
2293 (hpread_doc_function_type): Likewise.
2294 * hpread.c (hpread_function_type): Likewise.
2295
7fd60527
AC
22962002-01-20 Andrew Cagney <ac131313@redhat.com>
2297
2298 * configure.in (host_makefile_frag): Only require a host makefile
2299 fragment when a native build.
2300 * configure: Re-generate.
2301
c2f05ac9
AC
23022002-01-20 Andrew Cagney <ac131313@redhat.com>
2303
2304 * doublest.h (floatformat_from_type): Declare.
2305 * doublest.c (floatformat_from_type): New function.
2306 (convert_typed_floating): Use.
2307
2308 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
2309 call to function floatformat_from_type.
2310
2311 * gdbarch.sh (IEEE_FLOAT): Delete.
2312 * gdbarch.h, gdbarch.c: Re-generate.
2313 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
2314 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
2315 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
2316 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
2317 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
2318 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
2319 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
2320 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
2321 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
2322 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
2323 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
2324 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
2325
2326 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
2327 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
2328 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2329 * sh-tdep.c (sh_gdbarch_init): Ditto.
2330 * mips-tdep.c (mips_gdbarch_init): Ditto.
2331 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2332 * cris-tdep.c (cris_gdbarch_init): Ditto.
2333
abf22e64
AJ
23342002-01-20 Jiri Smid <smid@suse.cz>
2335
2336 * configure.host, configure.tgt: Support x86-64.
2337 * NEWS: Note new target x86-64.
2338
b7c4cbf8
AJ
2339 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
2340 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
2341 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
2342 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
2343 x86-64-linux-nat.o): Fix dependencies.
2344
82600034
AC
23452002-01-19 Andrew Cagney <ac131313@redhat.com>
2346
2347 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
2348 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
2349 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
2350 * config/sparc/xm-sun4os4.h: Delete file.
2351 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 2352
bbe5c628
AC
23532002-01-19 Andrew Cagney <ac131313@redhat.com>
2354
2355 * config/sparc/sparclynx.mh (XM_FILE): Delete.
2356 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
2357 * config/m68k/m68klynx.mh (XM_FILE): Delete.
2358 * config/i386/i386lynx.mh (XM_FILE): Delete.
2359 * config/rs6000/xm-rs6000ly.h: Delete file.
2360 * config/sparc/xm-sparclynx.h: Delete file.
2361 * config/m68k/xm-m68klynx.h: Delete file.
2362 * config/i386/xm-i386lynx.h: Delete file.
2363 * config/xm-lynx.h: Delete file.
2364 * config/djgpp/fnchange.lst: Update.
2365
f8453e34
JT
23662002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2367
2368 * alpha-tdep.c (alpha_register_byte): New function.
2369 (alpha_register_raw_size): Ditto.
2370 (alpha_register_virtual_size): Ditto.
2371 (alpha_skip_prologue_internal): Renamed from
2372 alpha_skip_prologue.
2373 (alpha_skip_prologue): New version that calls
2374 alpha_skip_prologue_internal.
2375 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
2376 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
2377 second argument from alpha_skip_prologue.
2378 (REGISTER_BYTE): Use alpha_register_byte.
2379 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
2380 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
2381 (FRAMELESS_FUNCTION_INVOCATION): Use
2382 generic_frameless_function_invocation_not.
2383 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
2384 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2385
52d9e613
AC
23862002-01-19 Andrew Cagney <ac131313@redhat.com>
2387
2388 * config/mips/xm-news-mips.h: Delete file.
2389 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
2390
2391 * config/m88k/xm-m88k.h: Delete file.
2392 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
2393 * config/m88k/xm-delta88v4.h: Ditto.
2394 * config/m88k/xm-delta88.h: Ditto.
2395
2396 * config/alpha/xm-fbsd.h: Delete file.
2397 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
2398
2399 * config/sparc/xm-sparc.h: Delete file.
2400 * Makefile.in (xm-sun4os4.h): Delete dependency.
2401 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
2402 * config/sparc/xm-sun4os4.h: Ditto.
2403 * config/sparc/xm-linux.h: Ditto.
2404
2405 * config/i386/xm-windows.h: Delete file.
2406
2d1b2124
AC
24072002-01-19 Andrew Cagney <ac131313@redhat.com>
2408
2409 * utils.c: Include <sys/param.h> for MAXPATHLEN.
2410 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
2411
ee1f65f0
JT
24122002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2413
2414 * alpha-tdep.c (alpha_call_dummy_words): New.
2415 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
2416 (CALL_DUMMY_P): Define.
2417 (CALL_DUMMY_WORDS): Define.
2418 (SIZEOF_CALL_DUMMY_WORDS): Define.
2419
98081e55
PB
24202002-01-19 Per Bothner <per@bothner.com>
2421
2422 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
2423 isn't NULL, which can happen with some gcj-3.x-produced code.
2424
0d056799
JT
24252002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2426
2427 * alpha-tdep.c (alpha_register_virtual_type): New function.
2428 (alpha_init_frame_pc_first): Ditto.
2429 (alpha_fix_call_dummy): Ditto.
2430 (alpha_store_struct_return): Ditto.
2431 (alpha_extract_struct_value_address): Ditto.
2432 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
2433 alpha_register_virtual_type.
2434 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
2435 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
2436 alpha_extract_struct_value_address.
2437 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
2438 (INIT_FRAME_PC): Use init_frame_pc_noop.
2439 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2440
4604bcad
MK
24412002-01-19 Mark Kettenis <kettenis@gnu.org>
2442
2443 * i386gnu-nat.c: Include "i386-tdep.h".
2444 (fetch_fpregs): Simplify code dealing with uninitialized floating
2445 point states such that it doesn't require FP7_REGNUM.
2446
140f9984
JT
24472002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2448
abf22e64
AJ
2449 * alpha-tdep.c (frame_extra_info): New.
2450 (alpha_find_saved_regs): Make static. Use
140f9984
JT
2451 frame->extra_info.
2452 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
2453 (alpha_frame_saved_pc): Use frame->extra_info.
2454 (temp_saved_regs): Don't declare as struct frame_saved_regs.
2455 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
2456 (init_extra_frame_info): Rename to...
2457 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 2458 (alpha_print_extra_frame_info): New function.
140f9984
JT
2459 (alpha_frame_locals_address): Ditto.
2460 (alpha_frame_args_address): Ditto.
abf22e64 2461 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
2462 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
2463 alpha_frame_args_address.
abf22e64 2464 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 2465 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
2466 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
2467 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
2468 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
2469 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2470
d734c450
JT
24712002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2472
2473 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
2474 (alpha_cannot_fetch_register): Ditto.
2475 (alpha_cannot_store_register): Ditto.
2476 (alpha_register_convertible): Ditto.
2477 (alpha_use_struct_convention): Ditto.
2478 * config/alpha/tm-alpha.h: Update copyright years.
2479 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
2480 (INNER_THAN): Use core_addr_lessthan.
2481 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
2482 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
2483 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
2484 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
2485 (FRAME_CHAIN): Remove unnecessary cast.
2486
b4ceaee6
AC
24872002-01-18 Andrew Cagney <ac131313@redhat.com>
2488
2489 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
2490 obsolete.
2491
0a65a603
AC
24922002-01-18 Andrew Cagney <ac131313@redhat.com>
2493
2494 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
2495 * monitor.c, remote-array.c, remote-bug.c: Ditto.
2496 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
2497 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
2498 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
2499 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
2500 * x86-64-linux-nat.c: Ditto.
2501
636a6dfc
JT
25022002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2503
abf22e64 2504 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
2505 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
2506 (REGISTER_NAME): Define.
2507
acceddb6
JT
25082002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2509
2510 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
2511
ec32e4be
JT
25122002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2513
2514 * alpha-tdep.c: Update copyright years.
2515 (alpha_next_pc): New function.
2516 (alpha_software_single_step): Ditto.
2517 * config/alpha/tm-alpha.h: Add prototype for
2518 alpha_software_single_step.
2519
e771a871
JT
25202002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2521
2522 * alphabsd-nat.c: Update copyright years.
2523 (fill_gregset): Use regcache_collect.
2524 (fill_fpregset): Likewise.
2525 (fetch_inferior_registers): Only fetch integer registers
2526 if requested to do so.
2527 (store_inferior_registers): Only store integer registers
2528 if requested to do so.
2529
7708fa01
AC
25302002-01-17 Andrew Cagney <ac131313@redhat.com>
2531
2532 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
2533 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
2534 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
2535 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
2536 * config/alpha/fbsd.mh (XDEPFILES): Delete.
2537 * config/arm/linux.mh (XDEPFILES): Delete.
2538 * config/arm/nbsd.mh (XDEPFILES): Delete.
2539 * config/i386/i386dgux.mh (XDEPFILES): Delete.
2540 * config/i386/i386sol2.mh (XDEPFILES): Delete.
2541 * config/i386/i386m3.mh (XDEPFILES): Delete.
2542 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
2543 * config/i386/i386gnu.mh (XDEPFILES): Delete.
2544 * config/i386/fbsd.mh (XDEPFILES): Delete.
2545 * config/i386/i386bsd.mh (XDEPFILES): Delete.
2546 * config/i386/i386sco5.mh (XDEPFILES): Delete.
2547 * config/i386/i386v4.mh (XDEPFILES): Delete.
2548 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
2549 * config/i386/i386sco4.mh (XDEPFILES): Delete.
2550 * config/i386/i386aix.mh (XDEPFILES): Delete.
2551 * config/i386/go32.mh (XDEPFILES): Delete.
2552 * config/i386/cygwin.mh (XDEPFILES): Delete.
2553 * config/i386/i386lynx.mh (XDEPFILES): Delete.
2554 * config/i386/i386mach.mh (XDEPFILES): Delete.
2555 * config/i386/i386v32.mh (XDEPFILES): Delete.
2556 * config/i386/linux.mh (XDEPFILES): Delete.
2557 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
2558 * config/i386/ncr3000.mh (XDEPFILES): Delete.
2559 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
2560 * config/i386/i386sco.mh (XDEPFILES): Delete.
2561 * config/i386/i386v.mh (XDEPFILES): Delete.
2562 * config/i386/nbsd.mh (XDEPFILES): Delete.
2563 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
2564 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
2565 * config/i386/symmetry.mh (XDEPFILES): Delete.
2566 * config/i386/obsd.mh (XDEPFILES): Delete.
2567 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
2568 * config/ia64/linux.mh (XDEPFILES): Delete.
2569 * config/ia64/aix.mh (XDEPFILES): Delete.
2570 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
2571 * config/m68k/dpx2.mh (XDEPFILES): Delete.
2572 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
2573 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
2574 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
2575 * config/m68k/linux.mh (XDEPFILES): Delete.
2576 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
2577 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
2578 * config/m68k/nbsd.mh (XDEPFILES): Delete.
2579 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
2580 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
2581 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
2582 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
2583 * config/m88k/delta88.mh (XDEPFILES): Delete.
2584 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
2585 * config/m88k/m88k.mh (XDEPFILES): Delete.
2586 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
2587 * config/mips/linux.mh (XDEPFILES): Delete.
2588 * config/mips/irix6.mh (XDEPFILES): Delete.
2589 * config/mips/irix5.mh (XDEPFILES): Delete.
2590 * config/mips/irix4.mh (XDEPFILES): Delete.
2591 * config/mips/irix3.mh (XDEPFILES): Delete.
2592 * config/mips/decstation.mh (XDEPFILES): Delete.
2593 * config/mips/mipsm3.mh (XDEPFILES): Delete.
2594 (NATDEPFILES): Move core-aout.o to here.
2595 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
2596 * config/pa/hpux1020.mh (XDEPFILES): Delete.
2597 * config/pa/hppabsd.mh (XDEPFILES): Delete.
2598 * config/pa/hppahpux.mh (XDEPFILES): Delete.
2599 * config/pa/hpux11w.mh (XDEPFILES): Delete.
2600 * config/pa/hppaosf.mh (XDEPFILES): Delete.
2601 * config/pa/hpux11.mh (XDEPFILES): Delete.
2602 * config/powerpc/aix.mh (XDEPFILES): Delete.
2603 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
2604 * config/powerpc/linux.mh (XDEPFILES): Delete.
2605 * config/romp/rtbsd.mh: Rename XDEPFILES.
2606 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
2607 * config/rs6000/aix4.mh (XDEPFILES): Delete.
2608 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
2609 * config/s390/s390.mh (XDEPFILES): Delete.
2610 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
2611 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
2612 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
2613 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
2614 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
2615 * config/sparc/nbsd.mh (XDEPFILES): Delete.
2616 * config/sparc/linux.mh (XDEPFILES): Delete.
2617 * config/vax/vaxult.mh (XDEPFILES): Delete.
2618 * config/vax/vaxult2.mh (XDEPFILES): Delete.
2619 * Makefile.in (DEPFILES): Remove XDEPFILES.
2620
375fc983
AC
26212002-01-17 Andrew Cagney <ac131313@redhat.com>
2622
2623 * utils.c (internal_verror): Fix comments, default is yes not no.
2624 Update queries to match. Default to quit and dump core.
2625
8926118c
AC
26262002-01-17 Andrew Cagney <ac131313@redhat.com>
2627
2628 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
2629 copyright.
2630 * defs.h, event-top.c, gdbcmd.h: Ditto.
2631 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
2632 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
2633 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
2634 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
2635 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
2636 * mi/mi-main.c:Ditto.
2637
2638 * stack.c, symfile.c: Update copyright.
2639
45b7b345
DJ
26402002-01-17 Daniel Jacobowitz <drow@mvista.com>
2641
db728ff7
DJ
2642 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
2643 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
2644 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
2645 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 2646
db728ff7
DJ
26472002-01-17 Daniel Jacobowitz <drow@mvista.com>
2648
2649 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
2650 * gdbserver/low-lynx.c (myattach): Likewise.
2651 * gdbserver/low-nbsd.c (myattach): Likewise.
2652 * gdbserver/low-sim.c (myattach): Likewise.
2653 * gdbserver/low-sparc.c (myattach): Likewise.
2654 * gdbserver/low-sun3.c (myattach): Likewise.
2655
2656 * gdbserver/low-linux.c (myattach): New function.
45b7b345 2657
db728ff7 2658 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
2659 (main): Handle "--attach".
2660
8de3c354
AC
26612002-01-16 Andrew Cagney <ac131313@redhat.com>
2662
2663 * MAINTAINERS (language support): Daniel Jacobwitz is C++
2664 maintainer.
2665
b0129042
DJ
26662002-01-15 Daniel Jacobowitz <drow@mvista.com>
2667
2668 * c-typeprint.c (is_type_conversion_operator): Add additional
2669 check for non-conversion operators.
2670
ba8679fb 26712002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
2672
2673 * linux-proc.c: Add "info proc" command, a la procfs.c.
2674 (read_mapping): New function, abstract and re-use code.
2675 (linux_find_memory_regions): Use new func read_mapping.
2676 (linux_info_proc_cmd): New function, implement "info proc".
2677 (_initialize_linux_proc): Add new command "info proc".
2678
e4f9b4d5
MS
26792002-01-15 Michael Snyder <msnyder@redhat.com>
2680
2681 * symfile.c (generic_load): Use bfd_map_over_sections method
2682 instead of manipulating bfd structure members directly.
2683 (add_section_size_callback): New function, bfd sections callback
2684 used by generic_load.
2685 (load_sections_callback): New function, bfd sections callback
2686 used by generic_load.
2687
08cf96df
EZ
26882002-01-15 Elena Zannoni <ezannoni@redhat.com>
2689
abf22e64 2690 [Based on work by Jim Blandy]
08cf96df
EZ
2691 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
2692 (builtin_type_vec128): Export.
2693 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
2694 types.
2695 (builtin_type_vec128): New builtin type for 128 bit vector
2696 registers.
2697 (build_gdbtypes): Initialize builtin_type_v16qi and
2698 builtin_type_v8hi. Create the vec128 register builtin type
2699 structure.
2700 (build_builtin_type_vec128): New function.
abf22e64 2701 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
2702 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
2703 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
2704 AltiVec register to new builtin type.
2705
d7242108
DJ
27062001-01-15 Daniel Jacobowitz <drow@mvista.com>
2707
2708 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
2709 to make_cv_type.
2710
4ee3352d
AC
27112002-01-14 Andrew Cagney <ac131313@redhat.com>
2712
2713 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
2714 CLEAN_UP_REGISTER_VALUE.
2715 * regcache.c (supply_register): Update only call.
2716
f015b2e7
AC
27172002-01-14 Andrew Cagney <ac131313@redhat.com>
2718
2719 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2720 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2721 a29k-*-vxworks* targets as obsolete.
2722
356ae49d
MS
27232002-01-14 Michael Snyder <msnyder@redhat.com>
2724
2725 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
2726 until we can resolve portability issues.
2727 * gregset.h: Remove references to fpxregs.
2728 * gcore.c (gcore_command): Initialize note_sec to NULL.
2729
ade8f45e
AC
27302002-01-13 Andrew Cagney <ac131313@redhat.com>
2731
2732 * signals.c (target_signal_to_name): Rewrite. Only use
2733 signals[].name when in bounds and non-NULL.
abf22e64 2734
89c49e7a
AC
27352002-01-13 Andrew Cagney <ac131313@redhat.com>
2736
2737 From Petr Ledvina <ledvinap@kae.zcu.cz>:
2738 * signals.c (target_signal_to_name): Verify that SIG is within the
2739 bounds of the signals array.
2740
4daa9f9f
AC
27412002-01-13 Andrew Cagney <ac131313@redhat.com>
2742
2743 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
2744
ba4bbdcb
KS
27452002-01-13 Keith Seitz <keiths@redhat.com>
2746
2747 * stack.c (print_frame_info_base): Print the frame's pc
2748 only if when print_frame_info_listing_hook is not defined.
2749
575bbeb6
KS
27502002-01-13 Keith Seitz <keiths@redhat.com>
2751
2752 * varobj.c (varobj_set_value): Make sure that there were no
2753 errors evaluating the object before attempting to set its
2754 value.
2755 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
2756 so this offset adjustment is no longer necessary.
2757 (create_child): Don't set the error flag if the child is
2758 a CPLUS_FAKE_CHILD.
2759 (value_of_child): If value_fetch_lazy fails, return NULL
2760 so that callers will be notified that an error occurred.
2761 (c_value_of_variable): Delay check of variable's validity
2762 until later. We actually want all structs and unions to have
2763 the value "{...}".
2764 Do not return "???" for variables which could not be evaluated.
2765 This error condition must be returned to the caller so that it
2766 can get the error condition from gdb.
2767 (cplus_name_of_child): Adjust index for vptr before figuring
2768 out the name of the child.
2769 (cplus_value_of_child): If a child's (real) parent is not valid,
2770 don't even bother trying to give a value for it. Just return
2771 an error. Change all instances in this function.
2772 (cplus_type_of_child): If our parent is one of the "fake"
2773 parents, we need to get at the type of the real parent, and
2774 derive the child's true type using this information.
2775
b76898ab
AC
27762002-01-13 Andrew Cagney <ac131313@redhat.com>
2777
2778 From 2002-01-09 John Marshall <johnm@falch.net>:
2779 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2780 sources.redhat.com, and tweak some related URLs which had
2781 suffered from linkrot.
2782
b6649e88
AC
27832002-01-13 Andrew Cagney <ac131313@redhat.com>
2784
2785 From Jeff law:
2786 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2787 structures passed in registers.
2788
82cc5033
EZ
27892002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2790
2791 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2792 white space which prevented compilation. Reported by DSK
2793 <dsk@student.unsw.edu.au>.
2794
ba5f2f8a
MS
27952002-01-11 Michael Snyder <msnyder@redhat.com>
2796
fbd35540
MS
2797 * symfile.c (build_section_addr_info_from_section_tab):
2798 Use bfd access method instead of manipulating bfd directly.
2799 (syms_from_objfile): Ditto.
2800 (simple_overlay_update_1): Ditto.
2801 (simple_overlay_update): Ditto.
2802 (generic_load): Ditto.
2803 (overlay_unmapped_address): FIXME comment, bfd access methods.
2804 (sections_overlap): FIXME comment, bfd access methods.
2805 (pc_in_mapped_range): FIXME comment, bfd access methods.
2806 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2807 (section_is_mapped): FIXME comment, bfd access methods.
2808 (section_is_overlay): FIXME comment, bfd access methods.
2809
ba5f2f8a
MS
2810 * symfile.c (generic_load): Whitespace and long line cleanups.
2811 Remove duplicate variable, change several local variables to
2812 more appropriate data types.
2813 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2814
17df2af6
AC
28152002-01-12 Andrew Cagney <ac131313@redhat.com>
2816
2817 From Peter Schauer:
2818 * language.c (longest_local_hex_string_custom): Use phex_nz to
2819 convert NUM to a hex string.
2820
ec920329
EZ
28212002-01-12 Elena Zannoni <ezannoni@redhat.com>
2822
2823 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2824 the function.
538a76d6 2825 Update Copyright year.
ec920329 2826
3abd2e01
AC
28272002-01-12 Andrew Cagney <ac131313@redhat.com>
2828
2829 * language.c (longest_raw_hex_string): Delete unused function.
2830
b21b22e0
PS
28312002-01-11 Petr Sorfa <petrs@caldera.com>
2832
2833 * MAINTAINERS (write-after-approval): Add myself.
2834 * dwarf2read.c (read_tag_string_type): Handling of
2835 DW_AT_byte_size.
2836 (read_tag_string_type): FORTRAN fix to prevent propagation of
2837 first string size.
2838 (set_cu_language): Handling of DW_LANG_Fortran95
2839
747fe712
RE
28402002-01-11 Richard Earnshaw <rearnsha@arm.com>
2841
2842 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2843 GETPID(inferior_ptid).
2844 (store_inferior_registers): Likewise.
2845
f1bea926
JM
28462002-01-10 Jason Merrill <jason@redhat.com>
2847
2848 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2849 Fix DW_OP_minus.
2850
ae940673
AC
28512002-01-10 Andrew Cagney <ac131313@redhat.com>
2852
2853 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2854 and bfd/elf32-sh-nbsd.c.
2855
00546b04
MS
28562002-01-10 Michael Snyder <msnyder@redhat.com>
2857
352ed7b4
MS
2858 * NEWS: Mention --pid and corefile/proc-id behavior change.
2859
c18be923
MS
2860 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2861 * gcore.c: Include cli/cli-decode.h instead of command.h.
2862
00546b04
MS
2863 * main.c (captured_main): Add new command line option "--pid".
2864 If the second command line argument (following the symbol-file)
2865 begins with a digit, try to attach to it before trying to open
2866 it as a corefile.
2867 (print_gdb_help): Document the "--pid" argument.
2868
db60ec62
EZ
28692002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2870
2871 * completer.c (command_completer): New function.
2872
2873 * completer.h <command_completer>: Add prototype.
2874
2875 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2876 completer for the "help" command.
2877
39c22d1a
JM
28782002-01-09 Jason Merrill <jason@redhat.com>
2879
2880 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2881
c564377f
MS
28822002-01-09 Michael Snyder <msnyder@redhat.com>
2883
975aec09
MS
2884 * i386-linux-nat.c (fill_fpxregset): Make global.
2885 (store_fpxregset): Ditto.
2886
db4a10fa
MS
2887 * gregset.h (gdb_fpxregset_t): Define.
2888 (supply_fpxregset): Prototype.
2889 (fill_fpxregset): Prototype.
2890
c564377f
MS
2891 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2892
c3d45d70
RE
28932002-01-09 Richard Earnshaw <rearnsha@arm.com>
2894
2895 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2896 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2897 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2898
fcc87af1
AC
28992002-01-09 Andrew Cagney <ac131313@redhat.com>
2900
2901 * MAINTAINERS: Update target maintainer rules so that any
2902 Maintainer can approve a tested patch for a maintenance-only
2903 target.
2904
dd96c05b
RE
29052002-01-09 Richard Earnshaw <rearnsha@arm.com>
2906
d4297db9 2907 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 2908
d4297db9 2909 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
2910 IN_SIGTRAMP.
2911
145fdc6e
MS
29122002-01-08 Michael Snyder <msnyder@redhat.com>
2913
2914 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2915 real name of the executable, rather than the /proc name.
2916
be4d1333
MS
29172002-01-03 Michael Snyder <msnyder@redhat.com>
2918
2919 Implement a "generate-core-file" command in gdb, save target state.
2920 * gcore.c: New file. Implement new command 'generate-core-file'.
2921 Save a corefile image of the current state of the inferior.
2922 * linux-proc.c: Add linux-specific code for saving corefiles.
2923 * target.h (struct target_ops): Add new target vectors for saving
2924 corefiles; to_find_memory_regions and to_make_corefile_notes.
2925 (target_find_memory_regions): New macro.
2926 (target_make_corefile_notes): New macro.
2927 * target.c (update_current_target): Inherit new target methods.
2928 (dummy_find_memory_regions): New place-holder method.
2929 (dummy_make_corefile_notes): New place-holder method.
2930 (init_dummy_target): Initialize new dummy target vectors.
2931 * exec.c (exec_set_find_memory_regions): New function.
2932 Allow the exec_ops vector for memory regions to be taken over.
2933 (exec_make_note_section): New function, target vector method.
2934 * defs.h (exec_set_find_memory_regions): Export prototype.
2935 * procfs.c (proc_find_memory_regions): New function, corefile method.
2936 (procfs_make_note_section): New function, corefile method.
2937 (init_procfs_ops): Set new target vector pointers.
2938 (find_memory_regions_callback): New function.
2939 (procfs_do_thread_registers): New function.
2940 (procfs_corefile_thread_callback): New function.
2941 * sol-thread.c (sol_find_memory_regions): New function.
2942 (sol_make_note_section): New function.
2943 (init_sol_thread_ops): Initialize new target vectors.
2944 * inftarg.c (inftarg_set_find_memory_regions): New function.
2945 Allow to_find_memory_regions vector to be taken over.
2946 (inftarg_set_make_corefile_notes): New function.
2947 Allow to_make_corefile_notes vector to be taken over.
2948 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
2949 interface layer if not target_has_execution (may be a corefile).
2950 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
2951 * config/sparc/sun4sol2.mh: Ditto.
2952 * config/alpha/alpha-linux.mh: Ditto.
2953 * config/arm/linux.mh: Ditto.
2954 * config/i386/x86-64linux.mh: Ditto.
2955 * config/ia64/linux.mh: Ditto.
2956 * config/m68k/linux.mh: Ditto.
2957 * config/mips/linux.mh: Ditto.
2958 * config/powerpc/linux.mh: Ditto.
2959 * config/sparc/linux.mh: Ditto.
2960
c6b92abd
MS
29612002-01-07 Michael Snyder <msnyder@redhat.com>
2962
2963 * arm-linux-nat.c: Remove references to regcache.c internal data
2964 (registers[] and register_valid[]).
2965
4b09dc8c
MS
29662002-01-07 Michael Snyder <msnyder@redhat.com>
2967
abf22e64
AJ
2968 * linux-proc.c: New file. Implement child_pid_to_exec_file,
2969 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
2970 symbol file and shlibs.
2971 * Makefile.in: Add rule for linux-proc.o.
2972 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
2973 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
2974 * config/arm/linux.mh: Ditto.
2975 * config/i386/linux.mh: Ditto.
2976 * config/i386/x86-64linux.mh: Ditto.
2977 * config/ia64/linux.mh: Ditto.
2978 * config/m68k/linux.mh: Ditto.
2979 * config/mips/linux.mh: Ditto.
2980 * config/powerpc/linux.mh: Ditto.
2981 * config/sparc/linux.mh: Ditto.
2982
c25b74ac
PM
29832002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
2984
2985 * win32-nat.c: Add i386-tdep.h dependency.
2986
94cd915f
MS
29872002-01-07 Michael Snyder <msnyder@redhat.com>
2988
c7cccb76
MS
2989 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
2990 instead of bfd_get_arch_size. Don't bail out just because
2991 there's no exec_bfd.
abf22e64 2992
34c0bd93
MS
2993 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
2994 * p-valprint.c (pascal_object_print_value): Ditto.
2995 * somread.c (som_symtab_read): Ditto.
2996 * symfile.c (simple_free_overlay_region_table): Ditto.
2997 * valops.c (value_assign): Ditto.
2998
21c1c920
MS
2999 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
3000 use tilde_expand and strerror for opening save-tracepoints file.
3001
5bbd998e
MS
3002 * thread-db.c (thread_db_new_objfile): Indendation fix.
3003
94cd915f
MS
3004 * infptrace.c (GDB_MAX_ALLOCA): New define.
3005 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 3006 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
3007 can be overridden with whatever value is appropriate to the host).
3008 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
3009 alloca to allocate potentially large buffer.
3010 * rs6000-nat.c (child_xfer_memory): Ditto.
3011 * symm-nat.c (child_xfer_memory): Ditto.
3012 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
3013
494e8a93
JSC
30142002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
3015
3016 From Nick Clifton <nickc@redhat.com>
3017 * d10v-tdep.c: Set STACK_START to 0x200bffe.
3018
d0e1d48e
MS
30192002-01-07 Michael Snyder <msnyder@redhat.com>
3020
abf22e64 3021 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
3022 Don't use exec_bfd if it's NULL.
3023
290b2c7a
MK
30242002-01-06 Mark Kettenis <kettenis@gnu.org>
3025
abf22e64 3026 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 3027
aef21287
AC
30282002-01-06 Andrew Cagney <ac131313@redhat.com>
3029
3030 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
3031 * gnu-nat.c: Ditto.
3032
30efa627
AC
30332002-01-06 Andrew Cagney <ac131313@redhat.com>
3034
3035 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
3036 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
3037 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
3038 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
3039 z8k-coff have not been multi-arched. Update z8k-coff build
3040 status.
3041
9b4ff276
AC
30422002-01-06 Andrew Cagney <ac131313@redhat.com>
3043
3044 * MAINTAINERS: Mark a29k target as obsolete.
3045 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
3046 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
3047 comments.
3048 * NEWS: Note that a29k targets are obsolete.
3049 * a29k-tdep.c: Mark as obsolete.
3050 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3051 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3052 a29k-*-vxworks* targets as obsolete.
3053 * remote-adapt.c: Obsolete.
3054 * remote-eb.c: Obsolete.
3055 * remote-mm.c: Obsolete.
3056 * remote-udi.c: Obsolete.
3057 * config/a29k/a29k-udi.mt: Obsolete.
3058 * config/a29k/a29k.mt: Obsolete.
3059 * config/a29k/tm-a29k.h: Obsolete.
3060 * config/a29k/tm-vx29k.h: Obsolete.
3061 * config/a29k/vx29k.mt: Obsolete.
3062
a9011d31
AC
30632002-01-05 Andrew Cagney <ac131313@redhat.com>
3064
3065 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
3066 with BFD_ENDIAN_BIG.
3067
9299404e
AC
30682002-01-05 Andrew Cagney <ac131313@redhat.com>
3069
3070 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
3071 * configure, config.in: Re-generate.
3072 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
3073 * defs.h: Do not include <endian.h>.
3074
7e89e357
JT
30752002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
3076
3077 * acconfig.h (HAVE_PT_GETXMMREGS): New.
3078 * config.in: Regenerate.
3079 * configure.in: Update copyright years.
3080 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
3081 * configure: Regenerate.
3082 * i386bsd-nat.c: Update copyright years.
3083 (fill_gregset): Use regcache_collect.
3084 (fetch_inferior_registers): Only fetch integer registers
3085 if requested to do so. Add support for XMM registers
3086 using PT_GETXMMREGS.
3087 (store_inferior_registers): Only store integer registers
3088 if requested to do so. Add support for XMM registers
3089 using PT_SETXMMREGS.
3090 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
3091 (store_inferior_registers): Remove.
3092 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
3093 (fetch_elfcore_registers): New function.
3094 (i386nbsd_elfcore_fns): New.
3095 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
3096 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
3097 i386bsd-nat.o.
3098 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
3099 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
3100 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
3101 * config/i386/tm-nbsd.h: Update copyright years.
3102 (HAVE_SSE_REGS): Define.
3103 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
3104 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
3105 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
3106 (SIGCONTEXT_PC_OFFSET): Remove.
3107 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
3108
a752853e
AC
31092002-01-05 Andrew Cagney <ac131313@redhat.com>
3110
3111 * configure.tgt: Remove powerpc-*-macos* target.
3112 * config/m68k/xm-mpw.h: Delete file.
3113 * config/xm-mpw.h: Delete file.
3114 * ser-mac.c: Delete file.
3115 * mpw-make.sed: Delete file.
3116 * mpw-config.in: Delete file.
3117 * mac-xdep.c: Delete file.
3118 * mac-gdb.r: Delete file.
3119 * mac-defs.h: Delete file.
3120 * mac-nat.c: Delete file.
3121 * config/powerpc/macos.mh: Delete file.
3122 * config/powerpc/macos.mt: Delete file.
3123 * config/powerpc/nm-macos.h: Delete file.
3124 * config/powerpc/tm-macos.h: Delete file.
3125 * source.c (openp, open_source_file): Remove obsolete code.
3126 * top.c (gdb_readline): Ditto.
3127 * utils.c (query): Ditto.
3128 * event-top.c (display_gdb_prompt): Ditto.
3129 * Makefile.in (ser-mac.o): Delete obsolete target.
3130 * NEWS: Update.
3131
d7449b42
AC
31322002-01-04 Andrew Cagney <ac131313@redhat.com>
3133
3134 * defs.h (BIG_ENDIAN): Delete macro definition.
3135 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
3136 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
3137 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
3138 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3139 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
3140 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
3141 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
3142 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
3143 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
3144 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
3145 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
3146 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
3147 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3148 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3149 * gdbarch.c: Re-generate.
3150
356374e8
DJ
31512002-01-04 Daniel Jacobowitz <drow@mvista.com>
3152
3153 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
3154 for core files.
3155
a2b8f8f8
JT
31562002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3157
3158 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
3159
12466af9
AC
31602002-01-04 Andrew Cagney <ac131313@redhat.com>
3161
3162 * value.h (value_ptr): Delete typedef.
3163
3549ab40
JT
31642002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3165
3166 * i386nbsd-nat.c: Update copyright years.
3167 Include i386-tdep.h.
3168
fedbd091
EZ
31692002-01-04 Elena Zannoni <ezannoni@redhat.com>
3170
3171 * stabsread.c: Update copyright years.
3172
3173 From Debashis Mahata <debashis.mahata@wipro.com>:
3174 (read_struct_fields): Deal with Sun C compiler erroneous stab
3175 output for structs and unions.
fec8b34f 3176 Fix PR gdb/269.
fedbd091 3177
eb43544b
DJ
31782002-01-04 Daniel Jacobowitz <drow@mvista.com>
3179
3180 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
3181 prototype.
3182
1514d34e
DJ
31832002-01-04 Daniel Jacobowitz <drow@mvista.com>
3184
3185 * cp-abi.c: Fix whitespace.
3186 (baseclass_offset): New wrapper function.
3187 * cp-abi.h (baseclass_offset): Add prototype.
3188 (struct cp_abi_ops): Add baseclass_offset pointer.
3189
3190 * valops.c (vb_match): Move to...
3191 * gnu-v2-abi.c (vb_match): here.
3192 * valops.c (baseclass_offset): Move to...
3193 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
3194
3195 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
3196
3197 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
3198 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
3199 * hpacc-abi.c (init_hpacc_ops): Likewise.
3200
7f8c9282
DJ
32012002-01-04 Daniel Jacobowitz <drow@mvista.com>
3202
3203 * valops.c (find_overload_match): Accept obj as a
3204 reference parameter. Update it before returning.
3205 * value.h (find_overload_match): Update prototype.
3206 * eval.c (evaluate_subexp_standard): Pass object to
3207 find_overload_match by reference.
3208
f23631e4
AC
32092002-01-03 Andrew Cagney <ac131313@redhat.com>
3210
3211 * valarith.c: Replace value_ptr with struct value pointer. Remove
3212 register attribute from value declarations.
3213 * valops.c: Ditto.
3214 * value.h: Ditto.
3215 * scm-lang.c (scm_lookup_name): Ditto.
3216
79e10fab 32172002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 3218
79e10fab
AC
3219 Abstract the functionality of iterating over mapped memory
3220 regions into a general purpose iterator function.
abf22e64 3221 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
3222 iterator for memory sections.
3223 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
3224 (solib_mappings_callback): New function, callback for above.
3225 (info_proc_mappings): Reimpliment using iterate_over_mappings.
3226 (info_mappings_callback): New function, callback for above.
3227
3228 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
3229
c5ad026a
MK
32302002-01-01 Mark Kettenis <kettenis@gnu.org>
3231
d2a7c97a
MK
3232 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
3233 * i386-tdep.c: Include "elf-bfd.h".
3234 (process_note_abi_tag_sections): New function.
3235 (i386_gdbarch_init): Add code to recognize various OS/ABI
3236 combinations.
3237
c5ad026a
MK
3238 * maint.c (_initialize_maint_cmds): Add missing \ in
3239 string-literal.
3240
a1a5b71e 3241For older changes see ChangeLog-2001
c906108c
SS
3242\f
3243Local Variables:
3244mode: change-log
3245left-margin: 8
3246fill-column: 74
3247version-control: never
3248End: