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