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