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