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