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