]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
* opcodes disassembler extension
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6c537a52
DJ
12002-02-05 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdbserver/linux-low.c: Remove unused include files.
4
d844cde6
DJ
52002-02-05 Daniel Jacobowitz <drow@mvista.com>
6
7 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
8 (read_inferior_memory): Use it.
9 (write_inferior_memory): Likewise.
10
d07c63e7
DJ
112002-02-05 Daniel Jacobowitz <drow@mvista.com>
12
13 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
14 grubbing through sys_errlist.
15
da6d8c04
DJ
162002-02-05 Daniel Jacobowitz <drow@mvista.com>
17
18 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
19
5b421780
PM
202002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
21 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
22
9f60d481
AC
232002-02-04 Andrew Cagney <ac131313@redhat.com>
24
25 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
26 (do_sfunc, set_cmd_sfunc): New functions.
27
28 * command.h (struct cmd_list_element): Add field func.
29 * cli/cli-decode.h (struct cmd_list_element): Ditto.
30 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
31 * cli/cli-decode.h: Ditto.
32
33 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
34 (help_all, help_cmd_list): Ditto.
35 (find_cmd, complete_on_cmdlist): Ditto.
36 * top.c (execute_command): Ditto.
37
38 * cli/cli-setshow.c (do_setshow_command): Call func instead of
39 function.sfunc.
40
41 * infcmd.c (notice_args_read): Fix function signature.
42
43 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
44 * cli/cli-decode.c (add_set_cmd): Ditto.
45 * utils.c (initialize_utils): Ditto.
46 * maint.c (_initialize_maint_cmds): Ditto.
47 * infrun.c (_initialize_infrun): Ditto.
48 * demangle.c (_initialize_demangler): Ditto.
49 * remote.c (add_packet_config_cmd): Ditto.
50 * mips-tdep.c (_initialize_mips_tdep): Ditto.
51 * cris-tdep.c (_initialize_cris_tdep): Ditto.
52 * proc-api.c (_initialize_proc_api): Ditto.
53 * kod.c (_initialize_kod): Ditto.
54 * valprint.c (_initialize_valprint): Ditto.
55 * top.c (init_main): Ditto.
56 * infcmd.c (_initialize_infcmd): Ditto.
57 * corefile.c (_initialize_core): Ditto.
58 * arm-tdep.c (_initialize_arm_tdep): Ditto.
59 * arch-utils.c (initialize_current_architecture): Ditto.
60 (_initialize_gdbarch_utils): Ditto.
61 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
62
63 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
64 * wince.c (_initialize_inftarg): Ditto.
65 * symfile.c (_initialize_symfile): Ditto.
66 * mips-tdep.c (_initialize_mips_tdep): Ditto.
67 * language.c (_initialize_language): Ditto.
68 * arc-tdep.c (_initialize_arc_tdep): Ditto.
69
f9ba0717
MS
702002-02-04 Michael Snyder <msnyder@redhat.com>
71
72 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
73
0c74b2a7
DJ
742002-02-04 Daniel Jacobowitz <drow@mvista.com>
75
76 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
77 Add rules for building the register data files.
78
c638789f
DJ
792002-02-04 Daniel Jacobowitz <drow@mvista.com>
80
81 * regformats/regdat.sh: Add braces to the definition of
82 expedite_regs_${arch}.
83
db253027
DJ
842002-02-04 Daniel Jacobowitz <drow@mvista.com>
85
86 * regformats/regdef.h (struct reg): Add comment describing the
87 requirements for offset and size fields.
88
206be19c
AS
892002-02-04 Andreas Schwab <schwab@suse.de>
90
91 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
92 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
93
181c1381
RE
942002-02-04 Richard Earnshaw <rearnsha@arm.com>
95
96 * gdbarch.sh (copyright): Update years in generated header.
97 (SMASH_TEXT_ADDRESS): Add rule.
db253027 98 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
99 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
100 * dbxread.c: Likewise.
101 * dwarfread.c: Likewise.
102 * elfread.c: Likewise.
103 * somread.c: Likewise.
104
105 * arm-tdep.c (arm_smash_text_address): New function.
106 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
107
fa4ba8da
PM
1082002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
109
110 Add support for hardware watchpoints on win32 native.
111 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
112 CONTEXT_DEBUG_REGISTERS.
113 (dr variable): New variable. Static array containing a local copy
114 of debug registers.
115 (debug_registers_changed): New variable. Reflects when debug registers
116 are changed and need to be written to inferior.
117 (debug_registers_used): New variable. Reflects when any debug register
118 was set, used when new threads are created.
119 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
120 i386-nat code.
121 (thread_rec): Set dr array if id is the thread of current_event .
122 (child_continue, child_resume): Change the debug registers for all
123 threads if debug_registers_changed.
124 (child_add_thread): Change the debug registers if debug_registers_used.
125 * config/i386/cygwin.mh: Add use of i386-nat.o file.
126 Link nm.h to new nm-cygwin.h file.
127 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
128 of hardware registers.
129
a73c86fb
AC
1302002-02-03 Andrew Cagney <ac131313@redhat.com>
131
132 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
133 Restore behavour broken by 2002-01-20 Andrew Cagney
134 <ac131313@redhat.com> IEEE_FLOAT removal.
135
acf5ed49
DJ
1362002-02-03 Daniel Jacobowitz <drow@mvista.com>
137
138 * c-valprint.c (c_val_print): Pass a proper valaddr to
139 cp_print_class_method.
140 * valops.c (search_struct_method): If there is only one method
141 and args is NULL, return that method.
142
493d28d5
DJ
1432002-02-03 Daniel Jacobowitz <drow@mvista.com>
144
145 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
146 accessing tag_name directly.
147
7495dfdb
DJ
1482002-02-03 Daniel Jacobowitz <drow@mvista.com>
149
150 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
151 of accessing tag_name directly.
152
dd6bda65
DJ
1532002-02-03 Daniel Jacobowitz <drow@mvista.com>
154
155 PR gdb/280
156 * gdbtypes.c (replace_type): New function.
157 * gdbtypes.h (replace_type): Add prototype.
158 * stabsread.c (read_type): Use replace_type.
159
88fe217c
RE
1602002-02-03 Richard Earnshaw <rearnsha@arm.com>
161
162 * Makefile.in (memattr.o): Add missing dependencies rule.
163
e5d66720
PS
1642002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
165
166 * breakpoint.c (break_at_finish_command): Really export.
167 (break_at_finish_at_depth_command): Ditto.
168 (tbreak_at_finish_command): Ditto.
169 * hppa-tdep.c: Include completer.h.
170 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
171 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
172
fffee0be
AC
1732002-02-01 Andrew Cagney <ac131313@redhat.com>
174
175 * utils.c (do_write): New function.
176 (error_stream): Rewrite combining the code from error_begin and
177 verror.
178 (verror): Rewrite using error_stream.
179 (error_begin): Delete function.
180
255e7dbf
AC
1812002-02-01 Andrew Cagney <ac131313@redhat.com>
182
183 * utils.c (error_begin): Make static.
184 * defs.h (error_begin): Delete declaration.
185
186 * linespec.c (cplusplus_error): Replace cplusplus_hint.
187 (decode_line_1): Use cplusplus_error instead of error_begin,
188 cplusplus_hint and return_to_top_level.
189 * coffread.c (coff_symfile_read): Use error instead of error_begin
190 and return_to_top_level.
191 * infrun.c (default_skip_permanent_breakpoint): Ditto.
192
ddfe3c15
AC
1932002-02-01 Andrew Cagney <ac131313@redhat.com>
194
195 * language.h (type_error, range_error): Make string parameter
196 constant.
197 * language.c (warning_pre_print): Delete extern declaration.
198 * dwarfread.c (warning_pre_print): Ditto.
199 * language.c (type_error, range_error): Rewrite to use verror and
200 vwarning instead of warning_begin.
201
03ac34d5
MS
2022002-02-01 Michael Snyder <msnyder@redhat.com>
203
261c4ca2
MS
204 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
205 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 206
e00d1dc8
AC
2072002-02-01 Andrew Cagney <ac131313@redhat.com>
208
209 * command.h (NO_FUNCTION): Delete macro.
210 * cli/cli-decode.h (NO_FUNCTION): Ditto.
211 * top.c (execute_command): Replace NO_FUNCTION with NULL.
212 * tracepoint.c (_initialize_tracepoint): Ditto.
213 * cli/cli-decode.c (add_set_cmd): Ditto.
214 * cli/cli-cmds.c (init_cli_cmds): Ditto.
215
76b79d6e
DJ
2162002-02-01 Daniel Jacobowitz <drow@mvista.com>
217
218 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
219 Update ``this'' pointer when calling virtual functions.
220
799f9e91
MS
2212002-02-01 Michael Snyder <msnyder@redhat.com>
222
c7bd442c 223 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
224 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
225
3cf384d4
DJ
2262002-02-01 Daniel Jacobowitz <drow@mvista.com>
227
228 * regformats/reg-arm.dat: New file.
229 * regformats/reg-i386.dat: New file.
230 * regformats/reg-ia64.dat: New file.
231 * regformats/reg-m68k.dat: New file.
232 * regformats/reg-mips.dat: New file.
233 * regformats/reg-ppc.dat: New file.
234 * regformats/reg-sh.dat: New file.
235 * regformats/regdef.h: New file.
236 * regformats/regdat.sh: New file.
237
0defa245
RE
2382002-02-01 Richard Earnshaw <reanrsha@arm.com>
239
240 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
241 (arm_frame_args_address, arm_frame_locals_address): New functions.
242 (arm_frame_num_args): New function.
243 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
244 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
245 (FRMA_NUM_ARGS): Call arm_frame_num_args.
246
405f26e6
MS
2472002-01-31 Michael Snyder <msnyder@redhat.com>
248
502fd408
MS
249 * breakpoint.c (break_at_finish_command): Export.
250 (break_at_finish_at_depth_command): Export.
251 (tbreak_at_finish_command): Export.
252 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
253 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
254 "tbreak" commands, which are HPPA specific.
255
7d35e135
MS
256 * printcmd.c (disassemble_command): Remove an ancient
257 artifact of an old merge.
258
d874f1e2
MS
259 * symfile.h (enum overlay_debugging_state):
260 Define enum constant values for overlay mode.
261 * symfile.c (overlay_debugging): Use enums instead of literals.
262 (overlay_is_mapped, overlay_auto_command,
263 overlay_manual_command): Ditto.
264
9f04af04
MS
265 * breakpoint.c (insert_breakpoints, remove_breakpoint,
266 breakpoint_here_p, breakpoint_inserted_here_p,
267 breakpoint_thread_match, bpstat_stop_status,
268 describe_other_breakpoints, check_duplicates, clear_command):
269 Coding standard fixes.
270
8add0441 271 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 272 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
273 code: check bfd SEC_READONLY flag for section.
274
e351066e
AC
2752002-01-31 Andrew Cagney <ac131313@redhat.com>
276
7d35e135 277 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 278
8a48e967
DJ
2792002-01-30 Daniel Jacobowitz <drow@mvista.com>
280
281 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
282 data symbols, since we search based on textlow and texthigh.
283 (find_pc_sect_symtab): Likewise.
284
f5a96129
AC
2852002-01-30 Andrew Cagney <ac131313@redhat.com>
286
287 * defs.h (vwarning): Declare.
288 (warning_begin): Delete declaration.
289 * utils.c (vwarning): New function.
290 (warning): Call vwarning.
291 (warning_begin): Delete function.
292
293 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
294 the warning message.
295 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
296 warning_begin.
297
cefd4ef5
MS
2982002-01-30 Michael Snyder <msnyder@redhat.com>
299
1a703748
MS
300 * NEWS: Mention "set trust-readonly-sections" command.
301 Mention generate-core-file command.
cefd4ef5 302
3a11626d
MS
3032002-01-15 Michael Snyder <msnyder@redhat.com>
304
305 * target.c: New command, "set trust-readonly-sections on".
306 (do_xfer_memory): Honor the suggestion to trust readonly sections
307 by reading them from the object file instead of from the target.
308 (initialize_targets): Register command "set trust-readonly-sections".
309
d1c7e53b
AC
3102002-01-29 Andrew Cagney <ac131313@redhat.com>
311
312 * parse.c (target_map_name_to_register): Simplify, search regs and
313 pseudo-regs using a single loop.
314
e2c9a72c
AC
3152002-01-30 Andrew Cagney <ac131313@redhat.com>
316
317 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
318
69824b4e
MK
3192002-01-15 Rodney Brown <rbrown64@csc.com.au>
320
321 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
322 * config/i386/i386v42mp.mh: Add i387-nat.o .
323 * i386v4-nat.c: Include i387-nat.h.
324 (supply_fpregset): Use i387_supply_fsave.
325 (fill_fpregset): Use i387_fill_fsave.
326
6eb69eab
RE
3272002-01-30 Richard Earnshaw <rearnsha@arm.com>
328
329 * arm-tdep.c (arm_call_dummy_words): Define.
330 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
331 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
332 (CALL_DUMMY_WORDS): Define.
333 (arm_call_dummy_words): Declare.
334 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
335 (arm_linux_call_dummy_words): Declare.
336
9852326a
AS
3372002-01-30 Andreas Schwab <schwab@suse.de>
338
339 * m68klinux-nat.c: Fix last change to use regcache_collect
340 instead of referencing registers[] directly.
341
977a3030
AC
3422002-01-29 Andrew Cagney <ac131313@redhat.com>
343
344 * parse.c (target_map_name_to_register): Delete code wrapped in
345 #ifdef REGISTER_NAME_ALIAS_HOOK.
346
2076c72b
MS
3472002-01-28 Michael Snyder <msnyder@redhat.com>
348
349 * regcache.c (legacy_read_register_gen): Need to be able to
350 read pseudo-register as well as real register.
351 (legacy_write_register_gen): Ditto.
352
8fcc723b
AC
3532002-01-28 Andrew Cagney <ac131313@redhat.com>
354
355 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
356 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
357 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
358 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
359 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
360 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
361 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
362 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
363 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
364 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
365 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
366 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
367 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
368 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
369 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
370 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
371 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
372 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
373 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
374 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
375
afe64c1a
AC
3762002-01-28 Andrew Cagney <ac131313@redhat.com>
377
378 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
379 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
380 (initialize_current_architecture): Update target_byte_order using
381 information from BFD.
382 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
383 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
384 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
385
75bc7ddf
AC
3862002-01-28 Andrew Cagney <ac131313@redhat.com>
387
388 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
389 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
390
391 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
392 #ifdef INVALID_FLOAT.
393 * infcmd.c (do_registers_info): Ditto.
394 * values.c (unpack_double): Ditto. Add comment.
395
396 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
397 already commented out.
398
0280a90a
AS
3992002-01-26 Andreas Schwab <schwab@suse.de>
400
401 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
402 * m68klinux-nat.c: Update ptrace interface for fetching/storing
403 registers and add support for PTRACE_GETREGS.
404
7072a954
AC
4052002-01-24 Andrew Cagney <ac131313@redhat.com>
406
407 GDB 5.1.1 released from 5.1 branch.
408 * NEWS: Add 5.1.1 news.
409 * README: Sync with 5.1 branch.
410
86f902e0
FF
4112002-01-23 Fred Fish <fnf@redhat.com>
412
413 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
414 stabstring on initial malloc. Reallocing will copy it for us,
415 if necessary.
416
8af51c36
EZ
4172002-01-23 Elena Zannoni <ezannoni@redhat.com>
418
419 * Makefile.in (hpread_h): Delete.
420 (HFILES_NO_SRCDIR): Remove hpread.h.
421 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
422 (hpread.o): Update dependencies.
423 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
424
425 * hp-psymtab-read.c: Remove file.
426 * hp-symtab-read.c: Remove file.
427 * hpread.h: Remove file.
428
429 * hpread.c: Merge all contents of hp-psymtab-read.c,
430 hp-symtab-read.c and hpread.h into this file, as it was prior to
431 January 1999.
432
433 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
434 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
435 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
436 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
437
dc5cfeb6
EZ
4382002-01-23 Elena Zannoni <ezannoni@redhat.com>
439
440 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
441 fill_gregset): Call gdbarch_tdep() just once, assign result to
442 variable and use that, instead of calling the function several
443 times.
444
ea87b71b
AO
4452002-01-24 Alexandre Oliva <aoliva@redhat.com>
446
447 * configure.host: Accept sparcv9 as alias for sparc64.
448 * configure.tgt: Likewise.
449
13fc0c2f
KB
4502002-01-22 Kevin Buettner <kevinb@redhat.com>
451
452 * solib-aix5.c (build_so_list_from_mapfile)
453 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
454 arguments is not reversed.
455 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
456 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
457
7bd872fe
EZ
4582002-01-22 Elena Zannoni <ezannoni@redhat.com>
459
460 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
461 modified version of obsolete sh_fetch_pseudo_register.
462 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
463 (sh4_register_read): New function.
464 (sh_pseudo_register_write): New function. Renamed and modified
465 version of obsolete sh_store_pseudo_register.
466 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
467 (sh4_register_write): New function.
468 (sh_gdbarch_init): Remove setting of gdbarch function
469 fetch_pseudo_register and store_pseudo_register. Remove setting of
470 register_convert_to_raw, register_convert_to_virtual,
471 register_convertible.
472 (sh_sh4_register_convertible): Delete. No longer needed. All is
473 taken care by architecture specific functions
474 register_read/register_write.
475 (sh_sh4_register_convert_to_virtual): Make static.
476 (sh_sh4_register_convert_to_raw): Ditto.
477
069e84fd
AC
4782002-01-22 Andrew Cagney <ac131313@redhat.com>
479
480 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
481 (floatformat_is_nan, floatformat_mantissa): Ditto.
482
483 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
484 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
485 builtin_type_ieee_double_little,
486 builtin_type_ieee_double_littlebyte_bigword,
487 builtin_type_m68881_ext, builtin_type_i960_ext,
488 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
489 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
490 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
491 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
492
211a4f69
CV
4932002-01-22 Corinna Vinschen <vinschen@redhat.com>
494
495 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
496 parameter. Set frameless flag if it exists and depended of
497 whether the scanned function is frameless or not.
498 (xstormy16_skip_prologue): If function is frameless, return
499 result of xstormy16_scan_prologue().
500 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
501 call.
502
f81353e4
EZ
5032002-01-21 Elena Zannoni <ezannoni@redhat.com>
504
505 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
506 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
507 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
508 sh_sh4_register_byte, sh_sh4_register_raw_size,
509 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
510 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
511 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
512 sh_store_pseudo_register, sh_do_pseudo_register): Call
513 gdbarch_tdep() just once, assign result to variable and use that,
514 instead of calling the function several times.
515
63c73a17
MK
5162002-01-20 Mark Kettenis <kettenis@gnu.org>
517
518 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
519 macros instead of LAST_FPU_CTRL_REGNUM.
520 (store_register): Likewise.
521
39ad761d
JB
5222002-01-21 Jim Blandy <jimb@redhat.com>
523
524 * infcmd.c (run_command): Check that the `exec' target layer's BFD
525 is up-to-date before running the program, not just when a program
526 exits.
527
3d74b771
FF
5282002-01-21 Fred Fish <fnf@redhat.com>
529
530 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
531 when we have found all instructions we are looking for.
532
966fbf70
RE
5332002-01-21 Richard Earnshaw <rearnsha@arm.com>
534
535 * arm-tdep.c (arm_register_name): New function.
536 (arm_registers_names): Make static.
537 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
538 (arm_register_name): Declare.
539 (REGISTER_NAME): Use it.
540
c3b4394c
RE
5412002-01-21 Richard Earnshaw <rearnsha@arm.com>
542 Kevin Buettner <kevinb@redhat.com>
543
544 Convert arm targets to new FRAME interface.
545 * arm-tdep.c (struct frame_extra_info): Remove fsr.
546 (arm_frame_find_save_regs): Delete.
547 (arm_frame_init_saved_regs): New.
548 (arm_init_extra_frame_info): Alloacte saved_regs as required.
549 Allocate extra_info as required. Convert all uses of fsr.regs
550 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
551 to use extra_info.
552 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
553 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
554 (check_prologue_cache, save_prologue_cache): Likewise.
555 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
556 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
557 (FRAME_FIND_SAVED_REGS): Delete.
558 (arm_frame_find_saved_regs): Delete prototype.
559 (arm_frame_init_saved_regs): New prototype.
560 (FRAME_INIT_SAVED_REGS): Define.
561
61d99182
AC
5622002-01-20 Andrew Cagney <ac131313@redhat.com>
563
564 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
565
6aaea291
AC
5662002-01-20 Andrew Cagney <ac131313@redhat.com>
567
568 From Jeff Law <law@redhat.com>:
569 * infttrace.c: Include <sys/pstat.h>.
570 (child_pid_to_exec_file): Revamp. Use pstat call to get the
571 exec file if the ttrace equivalent fails.
572
15f698d2
AC
5732002-01-20 Andrew Cagney <ac131313@redhat.com>
574
575 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
576 (closeLogFile): Ditto.
577
f86ddd7c
MC
5782002-01-20 Michael Chastain <mec@shout.net>
579
580 * top.c (print_gdb_version): Bump copyright year to 2002.
581
904507ce
AC
5822002-01-20 Andrew Cagney <ac131313@redhat.com>
583
584 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
585 Zannoni and Eli Zaretskii.
586
d7f0b9ce
DJ
5872002-01-20 Daniel Jacobowitz <drow@mvista.com>
588
589 * buildsym.c: Update copyright years.
590 * c-typeprint.c: Likewise.
591 * dwarf2read.c: Likewise.
592 * f-typeprint.c: Likewise.
593 * gdbtypes.c: Likewise.
594 * gdbtypes.h: Likewise.
595 * hp-symtab-read.c: Likewise.
596 * hpread.c: Likewise.
597 * mdebugread.c: Likewise.
598 * p-typeprint.c: Likewise.
599
3fd3d7d2
AC
6002002-01-20 Andrew Cagney <ac131313@redhat.com>
601
602 * remote-sim.c (gdbsim_open): Simplify code testing the macro
603 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
604 byte-order selectable.
605 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
606 * arch-utils.c: Ditto.
607 (set_endian): Ditto.
608 (set_endian_from_file): Ditto.
609 * gdbserver/low-sim.c (create_inferior): Ditto.
610 * gdbarch.sh: Ditto.
611 * gdbarch.h: Re-generate.
612 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
613 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
614 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
615 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
616 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
617 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
618 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
619 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
620 macro definition.
621 * config/mips/tm-wince.h: Remove #undef of macro
622 TARGET_BYTE_ORDER_SELECTABLE.
623 * config/sh/tm-wince.h: Ditto.
624
b02dede2
DJ
6252002-01-20 Daniel Jacobowitz <drow@mvista.com>
626
627 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
628 member function fields. Add accessor macro
629 TYPE_FN_FIELD_ARTIFICIAL.
630 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
631 * c-typeprint.c (c_type_print_base): Skip artificial member
632 functions.
633
c3643761
DJ
6342002-01-20 Daniel Jacobowitz <drow@mvista.com>
635
636 * f-typeprint.c: Delete unused function f_type_print_args.
637 * p-typeprint.c: Delete unused function pascal_type_print_args.
638
8176bb6d
DJ
6392002-01-20 Daniel Jacobowitz <drow@mvista.com>
640
641 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
642 comment. Add ``artificial'' to ``union field_location''.
643
644 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
645
646 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
647 * mdebugread.c (parse_symbol): Likewise.
648 * stabsread.c (define_symbol): Likewise.
649 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
650 initializing TYPE_FIELD_BITPOS to n (obsolete).
651 (hpread_doc_function_type): Likewise.
652 * hpread.c (hpread_function_type): Likewise.
653
7fd60527
AC
6542002-01-20 Andrew Cagney <ac131313@redhat.com>
655
656 * configure.in (host_makefile_frag): Only require a host makefile
657 fragment when a native build.
658 * configure: Re-generate.
659
c2f05ac9
AC
6602002-01-20 Andrew Cagney <ac131313@redhat.com>
661
662 * doublest.h (floatformat_from_type): Declare.
663 * doublest.c (floatformat_from_type): New function.
664 (convert_typed_floating): Use.
665
666 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
667 call to function floatformat_from_type.
668
669 * gdbarch.sh (IEEE_FLOAT): Delete.
670 * gdbarch.h, gdbarch.c: Re-generate.
671 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
672 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
673 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
674 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
675 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
676 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
677 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
678 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
679 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
680 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
681 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
682 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
683
684 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
685 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
686 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
687 * sh-tdep.c (sh_gdbarch_init): Ditto.
688 * mips-tdep.c (mips_gdbarch_init): Ditto.
689 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
690 * cris-tdep.c (cris_gdbarch_init): Ditto.
691
abf22e64
AJ
6922002-01-20 Jiri Smid <smid@suse.cz>
693
694 * configure.host, configure.tgt: Support x86-64.
695 * NEWS: Note new target x86-64.
696
b7c4cbf8
AJ
697 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
698 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
699 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
700 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
701 x86-64-linux-nat.o): Fix dependencies.
702
82600034
AC
7032002-01-19 Andrew Cagney <ac131313@redhat.com>
704
705 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
706 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
707 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
708 * config/sparc/xm-sun4os4.h: Delete file.
709 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 710
bbe5c628
AC
7112002-01-19 Andrew Cagney <ac131313@redhat.com>
712
713 * config/sparc/sparclynx.mh (XM_FILE): Delete.
714 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
715 * config/m68k/m68klynx.mh (XM_FILE): Delete.
716 * config/i386/i386lynx.mh (XM_FILE): Delete.
717 * config/rs6000/xm-rs6000ly.h: Delete file.
718 * config/sparc/xm-sparclynx.h: Delete file.
719 * config/m68k/xm-m68klynx.h: Delete file.
720 * config/i386/xm-i386lynx.h: Delete file.
721 * config/xm-lynx.h: Delete file.
722 * config/djgpp/fnchange.lst: Update.
723
f8453e34
JT
7242002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
725
726 * alpha-tdep.c (alpha_register_byte): New function.
727 (alpha_register_raw_size): Ditto.
728 (alpha_register_virtual_size): Ditto.
729 (alpha_skip_prologue_internal): Renamed from
730 alpha_skip_prologue.
731 (alpha_skip_prologue): New version that calls
732 alpha_skip_prologue_internal.
733 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
734 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
735 second argument from alpha_skip_prologue.
736 (REGISTER_BYTE): Use alpha_register_byte.
737 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
738 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
739 (FRAMELESS_FUNCTION_INVOCATION): Use
740 generic_frameless_function_invocation_not.
741 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
742 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
743
52d9e613
AC
7442002-01-19 Andrew Cagney <ac131313@redhat.com>
745
746 * config/mips/xm-news-mips.h: Delete file.
747 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
748
749 * config/m88k/xm-m88k.h: Delete file.
750 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
751 * config/m88k/xm-delta88v4.h: Ditto.
752 * config/m88k/xm-delta88.h: Ditto.
753
754 * config/alpha/xm-fbsd.h: Delete file.
755 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
756
757 * config/sparc/xm-sparc.h: Delete file.
758 * Makefile.in (xm-sun4os4.h): Delete dependency.
759 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
760 * config/sparc/xm-sun4os4.h: Ditto.
761 * config/sparc/xm-linux.h: Ditto.
762
763 * config/i386/xm-windows.h: Delete file.
764
2d1b2124
AC
7652002-01-19 Andrew Cagney <ac131313@redhat.com>
766
767 * utils.c: Include <sys/param.h> for MAXPATHLEN.
768 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
769
ee1f65f0
JT
7702002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
771
772 * alpha-tdep.c (alpha_call_dummy_words): New.
773 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
774 (CALL_DUMMY_P): Define.
775 (CALL_DUMMY_WORDS): Define.
776 (SIZEOF_CALL_DUMMY_WORDS): Define.
777
98081e55
PB
7782002-01-19 Per Bothner <per@bothner.com>
779
780 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
781 isn't NULL, which can happen with some gcj-3.x-produced code.
782
0d056799
JT
7832002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
784
785 * alpha-tdep.c (alpha_register_virtual_type): New function.
786 (alpha_init_frame_pc_first): Ditto.
787 (alpha_fix_call_dummy): Ditto.
788 (alpha_store_struct_return): Ditto.
789 (alpha_extract_struct_value_address): Ditto.
790 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
791 alpha_register_virtual_type.
792 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
793 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
794 alpha_extract_struct_value_address.
795 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
796 (INIT_FRAME_PC): Use init_frame_pc_noop.
797 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
798
4604bcad
MK
7992002-01-19 Mark Kettenis <kettenis@gnu.org>
800
801 * i386gnu-nat.c: Include "i386-tdep.h".
802 (fetch_fpregs): Simplify code dealing with uninitialized floating
803 point states such that it doesn't require FP7_REGNUM.
804
140f9984
JT
8052002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
806
abf22e64
AJ
807 * alpha-tdep.c (frame_extra_info): New.
808 (alpha_find_saved_regs): Make static. Use
140f9984
JT
809 frame->extra_info.
810 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
811 (alpha_frame_saved_pc): Use frame->extra_info.
812 (temp_saved_regs): Don't declare as struct frame_saved_regs.
813 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
814 (init_extra_frame_info): Rename to...
815 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 816 (alpha_print_extra_frame_info): New function.
140f9984
JT
817 (alpha_frame_locals_address): Ditto.
818 (alpha_frame_args_address): Ditto.
abf22e64 819 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
820 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
821 alpha_frame_args_address.
abf22e64 822 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 823 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
824 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
825 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
826 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
827 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
828
d734c450
JT
8292002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
830
831 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
832 (alpha_cannot_fetch_register): Ditto.
833 (alpha_cannot_store_register): Ditto.
834 (alpha_register_convertible): Ditto.
835 (alpha_use_struct_convention): Ditto.
836 * config/alpha/tm-alpha.h: Update copyright years.
837 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
838 (INNER_THAN): Use core_addr_lessthan.
839 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
840 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
841 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
842 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
843 (FRAME_CHAIN): Remove unnecessary cast.
844
b4ceaee6
AC
8452002-01-18 Andrew Cagney <ac131313@redhat.com>
846
847 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
848 obsolete.
849
0a65a603
AC
8502002-01-18 Andrew Cagney <ac131313@redhat.com>
851
852 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
853 * monitor.c, remote-array.c, remote-bug.c: Ditto.
854 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
855 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
856 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
857 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
858 * x86-64-linux-nat.c: Ditto.
859
636a6dfc
JT
8602002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
861
abf22e64 862 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
863 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
864 (REGISTER_NAME): Define.
865
acceddb6
JT
8662002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
867
868 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
869
ec32e4be
JT
8702002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
871
872 * alpha-tdep.c: Update copyright years.
873 (alpha_next_pc): New function.
874 (alpha_software_single_step): Ditto.
875 * config/alpha/tm-alpha.h: Add prototype for
876 alpha_software_single_step.
877
e771a871
JT
8782002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
879
880 * alphabsd-nat.c: Update copyright years.
881 (fill_gregset): Use regcache_collect.
882 (fill_fpregset): Likewise.
883 (fetch_inferior_registers): Only fetch integer registers
884 if requested to do so.
885 (store_inferior_registers): Only store integer registers
886 if requested to do so.
887
7708fa01
AC
8882002-01-17 Andrew Cagney <ac131313@redhat.com>
889
890 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
891 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
892 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
893 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
894 * config/alpha/fbsd.mh (XDEPFILES): Delete.
895 * config/arm/linux.mh (XDEPFILES): Delete.
896 * config/arm/nbsd.mh (XDEPFILES): Delete.
897 * config/i386/i386dgux.mh (XDEPFILES): Delete.
898 * config/i386/i386sol2.mh (XDEPFILES): Delete.
899 * config/i386/i386m3.mh (XDEPFILES): Delete.
900 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
901 * config/i386/i386gnu.mh (XDEPFILES): Delete.
902 * config/i386/fbsd.mh (XDEPFILES): Delete.
903 * config/i386/i386bsd.mh (XDEPFILES): Delete.
904 * config/i386/i386sco5.mh (XDEPFILES): Delete.
905 * config/i386/i386v4.mh (XDEPFILES): Delete.
906 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
907 * config/i386/i386sco4.mh (XDEPFILES): Delete.
908 * config/i386/i386aix.mh (XDEPFILES): Delete.
909 * config/i386/go32.mh (XDEPFILES): Delete.
910 * config/i386/cygwin.mh (XDEPFILES): Delete.
911 * config/i386/i386lynx.mh (XDEPFILES): Delete.
912 * config/i386/i386mach.mh (XDEPFILES): Delete.
913 * config/i386/i386v32.mh (XDEPFILES): Delete.
914 * config/i386/linux.mh (XDEPFILES): Delete.
915 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
916 * config/i386/ncr3000.mh (XDEPFILES): Delete.
917 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
918 * config/i386/i386sco.mh (XDEPFILES): Delete.
919 * config/i386/i386v.mh (XDEPFILES): Delete.
920 * config/i386/nbsd.mh (XDEPFILES): Delete.
921 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
922 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
923 * config/i386/symmetry.mh (XDEPFILES): Delete.
924 * config/i386/obsd.mh (XDEPFILES): Delete.
925 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
926 * config/ia64/linux.mh (XDEPFILES): Delete.
927 * config/ia64/aix.mh (XDEPFILES): Delete.
928 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
929 * config/m68k/dpx2.mh (XDEPFILES): Delete.
930 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
931 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
932 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
933 * config/m68k/linux.mh (XDEPFILES): Delete.
934 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
935 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
936 * config/m68k/nbsd.mh (XDEPFILES): Delete.
937 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
938 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
939 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
940 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
941 * config/m88k/delta88.mh (XDEPFILES): Delete.
942 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
943 * config/m88k/m88k.mh (XDEPFILES): Delete.
944 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
945 * config/mips/linux.mh (XDEPFILES): Delete.
946 * config/mips/irix6.mh (XDEPFILES): Delete.
947 * config/mips/irix5.mh (XDEPFILES): Delete.
948 * config/mips/irix4.mh (XDEPFILES): Delete.
949 * config/mips/irix3.mh (XDEPFILES): Delete.
950 * config/mips/decstation.mh (XDEPFILES): Delete.
951 * config/mips/mipsm3.mh (XDEPFILES): Delete.
952 (NATDEPFILES): Move core-aout.o to here.
953 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
954 * config/pa/hpux1020.mh (XDEPFILES): Delete.
955 * config/pa/hppabsd.mh (XDEPFILES): Delete.
956 * config/pa/hppahpux.mh (XDEPFILES): Delete.
957 * config/pa/hpux11w.mh (XDEPFILES): Delete.
958 * config/pa/hppaosf.mh (XDEPFILES): Delete.
959 * config/pa/hpux11.mh (XDEPFILES): Delete.
960 * config/powerpc/aix.mh (XDEPFILES): Delete.
961 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
962 * config/powerpc/linux.mh (XDEPFILES): Delete.
963 * config/romp/rtbsd.mh: Rename XDEPFILES.
964 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
965 * config/rs6000/aix4.mh (XDEPFILES): Delete.
966 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
967 * config/s390/s390.mh (XDEPFILES): Delete.
968 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
969 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
970 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
971 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
972 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
973 * config/sparc/nbsd.mh (XDEPFILES): Delete.
974 * config/sparc/linux.mh (XDEPFILES): Delete.
975 * config/vax/vaxult.mh (XDEPFILES): Delete.
976 * config/vax/vaxult2.mh (XDEPFILES): Delete.
977 * Makefile.in (DEPFILES): Remove XDEPFILES.
978
375fc983
AC
9792002-01-17 Andrew Cagney <ac131313@redhat.com>
980
981 * utils.c (internal_verror): Fix comments, default is yes not no.
982 Update queries to match. Default to quit and dump core.
983
8926118c
AC
9842002-01-17 Andrew Cagney <ac131313@redhat.com>
985
986 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
987 copyright.
988 * defs.h, event-top.c, gdbcmd.h: Ditto.
989 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
990 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
991 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
992 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
993 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
994 * mi/mi-main.c:Ditto.
995
996 * stack.c, symfile.c: Update copyright.
997
45b7b345
DJ
9982002-01-17 Daniel Jacobowitz <drow@mvista.com>
999
db728ff7
DJ
1000 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1001 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1002 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1003 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 1004
db728ff7
DJ
10052002-01-17 Daniel Jacobowitz <drow@mvista.com>
1006
1007 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1008 * gdbserver/low-lynx.c (myattach): Likewise.
1009 * gdbserver/low-nbsd.c (myattach): Likewise.
1010 * gdbserver/low-sim.c (myattach): Likewise.
1011 * gdbserver/low-sparc.c (myattach): Likewise.
1012 * gdbserver/low-sun3.c (myattach): Likewise.
1013
1014 * gdbserver/low-linux.c (myattach): New function.
45b7b345 1015
db728ff7 1016 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
1017 (main): Handle "--attach".
1018
8de3c354
AC
10192002-01-16 Andrew Cagney <ac131313@redhat.com>
1020
1021 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1022 maintainer.
1023
b0129042
DJ
10242002-01-15 Daniel Jacobowitz <drow@mvista.com>
1025
1026 * c-typeprint.c (is_type_conversion_operator): Add additional
1027 check for non-conversion operators.
1028
ba8679fb 10292002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
1030
1031 * linux-proc.c: Add "info proc" command, a la procfs.c.
1032 (read_mapping): New function, abstract and re-use code.
1033 (linux_find_memory_regions): Use new func read_mapping.
1034 (linux_info_proc_cmd): New function, implement "info proc".
1035 (_initialize_linux_proc): Add new command "info proc".
1036
e4f9b4d5
MS
10372002-01-15 Michael Snyder <msnyder@redhat.com>
1038
1039 * symfile.c (generic_load): Use bfd_map_over_sections method
1040 instead of manipulating bfd structure members directly.
1041 (add_section_size_callback): New function, bfd sections callback
1042 used by generic_load.
1043 (load_sections_callback): New function, bfd sections callback
1044 used by generic_load.
1045
08cf96df
EZ
10462002-01-15 Elena Zannoni <ezannoni@redhat.com>
1047
abf22e64 1048 [Based on work by Jim Blandy]
08cf96df
EZ
1049 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1050 (builtin_type_vec128): Export.
1051 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1052 types.
1053 (builtin_type_vec128): New builtin type for 128 bit vector
1054 registers.
1055 (build_gdbtypes): Initialize builtin_type_v16qi and
1056 builtin_type_v8hi. Create the vec128 register builtin type
1057 structure.
1058 (build_builtin_type_vec128): New function.
abf22e64 1059 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
1060 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1061 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1062 AltiVec register to new builtin type.
1063
d7242108
DJ
10642001-01-15 Daniel Jacobowitz <drow@mvista.com>
1065
1066 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1067 to make_cv_type.
1068
4ee3352d
AC
10692002-01-14 Andrew Cagney <ac131313@redhat.com>
1070
1071 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1072 CLEAN_UP_REGISTER_VALUE.
1073 * regcache.c (supply_register): Update only call.
1074
f015b2e7
AC
10752002-01-14 Andrew Cagney <ac131313@redhat.com>
1076
1077 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1078 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1079 a29k-*-vxworks* targets as obsolete.
1080
356ae49d
MS
10812002-01-14 Michael Snyder <msnyder@redhat.com>
1082
1083 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1084 until we can resolve portability issues.
1085 * gregset.h: Remove references to fpxregs.
1086 * gcore.c (gcore_command): Initialize note_sec to NULL.
1087
ade8f45e
AC
10882002-01-13 Andrew Cagney <ac131313@redhat.com>
1089
1090 * signals.c (target_signal_to_name): Rewrite. Only use
1091 signals[].name when in bounds and non-NULL.
abf22e64 1092
89c49e7a
AC
10932002-01-13 Andrew Cagney <ac131313@redhat.com>
1094
1095 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1096 * signals.c (target_signal_to_name): Verify that SIG is within the
1097 bounds of the signals array.
1098
4daa9f9f
AC
10992002-01-13 Andrew Cagney <ac131313@redhat.com>
1100
1101 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1102
ba4bbdcb
KS
11032002-01-13 Keith Seitz <keiths@redhat.com>
1104
1105 * stack.c (print_frame_info_base): Print the frame's pc
1106 only if when print_frame_info_listing_hook is not defined.
1107
575bbeb6
KS
11082002-01-13 Keith Seitz <keiths@redhat.com>
1109
1110 * varobj.c (varobj_set_value): Make sure that there were no
1111 errors evaluating the object before attempting to set its
1112 value.
1113 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1114 so this offset adjustment is no longer necessary.
1115 (create_child): Don't set the error flag if the child is
1116 a CPLUS_FAKE_CHILD.
1117 (value_of_child): If value_fetch_lazy fails, return NULL
1118 so that callers will be notified that an error occurred.
1119 (c_value_of_variable): Delay check of variable's validity
1120 until later. We actually want all structs and unions to have
1121 the value "{...}".
1122 Do not return "???" for variables which could not be evaluated.
1123 This error condition must be returned to the caller so that it
1124 can get the error condition from gdb.
1125 (cplus_name_of_child): Adjust index for vptr before figuring
1126 out the name of the child.
1127 (cplus_value_of_child): If a child's (real) parent is not valid,
1128 don't even bother trying to give a value for it. Just return
1129 an error. Change all instances in this function.
1130 (cplus_type_of_child): If our parent is one of the "fake"
1131 parents, we need to get at the type of the real parent, and
1132 derive the child's true type using this information.
1133
b76898ab
AC
11342002-01-13 Andrew Cagney <ac131313@redhat.com>
1135
1136 From 2002-01-09 John Marshall <johnm@falch.net>:
1137 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1138 sources.redhat.com, and tweak some related URLs which had
1139 suffered from linkrot.
1140
b6649e88
AC
11412002-01-13 Andrew Cagney <ac131313@redhat.com>
1142
1143 From Jeff law:
1144 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1145 structures passed in registers.
1146
82cc5033
EZ
11472002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1148
1149 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1150 white space which prevented compilation. Reported by DSK
1151 <dsk@student.unsw.edu.au>.
1152
ba5f2f8a
MS
11532002-01-11 Michael Snyder <msnyder@redhat.com>
1154
fbd35540
MS
1155 * symfile.c (build_section_addr_info_from_section_tab):
1156 Use bfd access method instead of manipulating bfd directly.
1157 (syms_from_objfile): Ditto.
1158 (simple_overlay_update_1): Ditto.
1159 (simple_overlay_update): Ditto.
1160 (generic_load): Ditto.
1161 (overlay_unmapped_address): FIXME comment, bfd access methods.
1162 (sections_overlap): FIXME comment, bfd access methods.
1163 (pc_in_mapped_range): FIXME comment, bfd access methods.
1164 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1165 (section_is_mapped): FIXME comment, bfd access methods.
1166 (section_is_overlay): FIXME comment, bfd access methods.
1167
ba5f2f8a
MS
1168 * symfile.c (generic_load): Whitespace and long line cleanups.
1169 Remove duplicate variable, change several local variables to
1170 more appropriate data types.
1171 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1172
17df2af6
AC
11732002-01-12 Andrew Cagney <ac131313@redhat.com>
1174
1175 From Peter Schauer:
1176 * language.c (longest_local_hex_string_custom): Use phex_nz to
1177 convert NUM to a hex string.
1178
ec920329
EZ
11792002-01-12 Elena Zannoni <ezannoni@redhat.com>
1180
1181 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1182 the function.
538a76d6 1183 Update Copyright year.
ec920329 1184
3abd2e01
AC
11852002-01-12 Andrew Cagney <ac131313@redhat.com>
1186
1187 * language.c (longest_raw_hex_string): Delete unused function.
1188
b21b22e0
PS
11892002-01-11 Petr Sorfa <petrs@caldera.com>
1190
1191 * MAINTAINERS (write-after-approval): Add myself.
1192 * dwarf2read.c (read_tag_string_type): Handling of
1193 DW_AT_byte_size.
1194 (read_tag_string_type): FORTRAN fix to prevent propagation of
1195 first string size.
1196 (set_cu_language): Handling of DW_LANG_Fortran95
1197
747fe712
RE
11982002-01-11 Richard Earnshaw <rearnsha@arm.com>
1199
1200 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1201 GETPID(inferior_ptid).
1202 (store_inferior_registers): Likewise.
1203
f1bea926
JM
12042002-01-10 Jason Merrill <jason@redhat.com>
1205
1206 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1207 Fix DW_OP_minus.
1208
ae940673
AC
12092002-01-10 Andrew Cagney <ac131313@redhat.com>
1210
1211 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1212 and bfd/elf32-sh-nbsd.c.
1213
00546b04
MS
12142002-01-10 Michael Snyder <msnyder@redhat.com>
1215
352ed7b4
MS
1216 * NEWS: Mention --pid and corefile/proc-id behavior change.
1217
c18be923
MS
1218 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1219 * gcore.c: Include cli/cli-decode.h instead of command.h.
1220
00546b04
MS
1221 * main.c (captured_main): Add new command line option "--pid".
1222 If the second command line argument (following the symbol-file)
1223 begins with a digit, try to attach to it before trying to open
1224 it as a corefile.
1225 (print_gdb_help): Document the "--pid" argument.
1226
db60ec62
EZ
12272002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1228
1229 * completer.c (command_completer): New function.
1230
1231 * completer.h <command_completer>: Add prototype.
1232
1233 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1234 completer for the "help" command.
1235
39c22d1a
JM
12362002-01-09 Jason Merrill <jason@redhat.com>
1237
1238 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1239
c564377f
MS
12402002-01-09 Michael Snyder <msnyder@redhat.com>
1241
975aec09
MS
1242 * i386-linux-nat.c (fill_fpxregset): Make global.
1243 (store_fpxregset): Ditto.
1244
db4a10fa
MS
1245 * gregset.h (gdb_fpxregset_t): Define.
1246 (supply_fpxregset): Prototype.
1247 (fill_fpxregset): Prototype.
1248
c564377f
MS
1249 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1250
c3d45d70
RE
12512002-01-09 Richard Earnshaw <rearnsha@arm.com>
1252
1253 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1254 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1255 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1256
fcc87af1
AC
12572002-01-09 Andrew Cagney <ac131313@redhat.com>
1258
1259 * MAINTAINERS: Update target maintainer rules so that any
1260 Maintainer can approve a tested patch for a maintenance-only
1261 target.
1262
dd96c05b
RE
12632002-01-09 Richard Earnshaw <rearnsha@arm.com>
1264
d4297db9 1265 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 1266
d4297db9 1267 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
1268 IN_SIGTRAMP.
1269
145fdc6e
MS
12702002-01-08 Michael Snyder <msnyder@redhat.com>
1271
1272 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1273 real name of the executable, rather than the /proc name.
1274
be4d1333
MS
12752002-01-03 Michael Snyder <msnyder@redhat.com>
1276
1277 Implement a "generate-core-file" command in gdb, save target state.
1278 * gcore.c: New file. Implement new command 'generate-core-file'.
1279 Save a corefile image of the current state of the inferior.
1280 * linux-proc.c: Add linux-specific code for saving corefiles.
1281 * target.h (struct target_ops): Add new target vectors for saving
1282 corefiles; to_find_memory_regions and to_make_corefile_notes.
1283 (target_find_memory_regions): New macro.
1284 (target_make_corefile_notes): New macro.
1285 * target.c (update_current_target): Inherit new target methods.
1286 (dummy_find_memory_regions): New place-holder method.
1287 (dummy_make_corefile_notes): New place-holder method.
1288 (init_dummy_target): Initialize new dummy target vectors.
1289 * exec.c (exec_set_find_memory_regions): New function.
1290 Allow the exec_ops vector for memory regions to be taken over.
1291 (exec_make_note_section): New function, target vector method.
1292 * defs.h (exec_set_find_memory_regions): Export prototype.
1293 * procfs.c (proc_find_memory_regions): New function, corefile method.
1294 (procfs_make_note_section): New function, corefile method.
1295 (init_procfs_ops): Set new target vector pointers.
1296 (find_memory_regions_callback): New function.
1297 (procfs_do_thread_registers): New function.
1298 (procfs_corefile_thread_callback): New function.
1299 * sol-thread.c (sol_find_memory_regions): New function.
1300 (sol_make_note_section): New function.
1301 (init_sol_thread_ops): Initialize new target vectors.
1302 * inftarg.c (inftarg_set_find_memory_regions): New function.
1303 Allow to_find_memory_regions vector to be taken over.
1304 (inftarg_set_make_corefile_notes): New function.
1305 Allow to_make_corefile_notes vector to be taken over.
1306 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1307 interface layer if not target_has_execution (may be a corefile).
1308 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1309 * config/sparc/sun4sol2.mh: Ditto.
1310 * config/alpha/alpha-linux.mh: Ditto.
1311 * config/arm/linux.mh: Ditto.
1312 * config/i386/x86-64linux.mh: Ditto.
1313 * config/ia64/linux.mh: Ditto.
1314 * config/m68k/linux.mh: Ditto.
1315 * config/mips/linux.mh: Ditto.
1316 * config/powerpc/linux.mh: Ditto.
1317 * config/sparc/linux.mh: Ditto.
1318
c6b92abd
MS
13192002-01-07 Michael Snyder <msnyder@redhat.com>
1320
1321 * arm-linux-nat.c: Remove references to regcache.c internal data
1322 (registers[] and register_valid[]).
1323
4b09dc8c
MS
13242002-01-07 Michael Snyder <msnyder@redhat.com>
1325
abf22e64
AJ
1326 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1327 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
1328 symbol file and shlibs.
1329 * Makefile.in: Add rule for linux-proc.o.
1330 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1331 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1332 * config/arm/linux.mh: Ditto.
1333 * config/i386/linux.mh: Ditto.
1334 * config/i386/x86-64linux.mh: Ditto.
1335 * config/ia64/linux.mh: Ditto.
1336 * config/m68k/linux.mh: Ditto.
1337 * config/mips/linux.mh: Ditto.
1338 * config/powerpc/linux.mh: Ditto.
1339 * config/sparc/linux.mh: Ditto.
1340
c25b74ac
PM
13412002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1342
1343 * win32-nat.c: Add i386-tdep.h dependency.
1344
94cd915f
MS
13452002-01-07 Michael Snyder <msnyder@redhat.com>
1346
c7cccb76
MS
1347 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1348 instead of bfd_get_arch_size. Don't bail out just because
1349 there's no exec_bfd.
abf22e64 1350
34c0bd93
MS
1351 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1352 * p-valprint.c (pascal_object_print_value): Ditto.
1353 * somread.c (som_symtab_read): Ditto.
1354 * symfile.c (simple_free_overlay_region_table): Ditto.
1355 * valops.c (value_assign): Ditto.
1356
21c1c920
MS
1357 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1358 use tilde_expand and strerror for opening save-tracepoints file.
1359
5bbd998e
MS
1360 * thread-db.c (thread_db_new_objfile): Indendation fix.
1361
94cd915f
MS
1362 * infptrace.c (GDB_MAX_ALLOCA): New define.
1363 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 1364 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
1365 can be overridden with whatever value is appropriate to the host).
1366 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1367 alloca to allocate potentially large buffer.
1368 * rs6000-nat.c (child_xfer_memory): Ditto.
1369 * symm-nat.c (child_xfer_memory): Ditto.
1370 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1371
494e8a93
JSC
13722002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1373
1374 From Nick Clifton <nickc@redhat.com>
1375 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1376
d0e1d48e
MS
13772002-01-07 Michael Snyder <msnyder@redhat.com>
1378
abf22e64 1379 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
1380 Don't use exec_bfd if it's NULL.
1381
290b2c7a
MK
13822002-01-06 Mark Kettenis <kettenis@gnu.org>
1383
abf22e64 1384 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 1385
aef21287
AC
13862002-01-06 Andrew Cagney <ac131313@redhat.com>
1387
1388 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1389 * gnu-nat.c: Ditto.
1390
30efa627
AC
13912002-01-06 Andrew Cagney <ac131313@redhat.com>
1392
1393 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1394 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1395 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1396 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1397 z8k-coff have not been multi-arched. Update z8k-coff build
1398 status.
1399
9b4ff276
AC
14002002-01-06 Andrew Cagney <ac131313@redhat.com>
1401
1402 * MAINTAINERS: Mark a29k target as obsolete.
1403 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1404 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1405 comments.
1406 * NEWS: Note that a29k targets are obsolete.
1407 * a29k-tdep.c: Mark as obsolete.
1408 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1409 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1410 a29k-*-vxworks* targets as obsolete.
1411 * remote-adapt.c: Obsolete.
1412 * remote-eb.c: Obsolete.
1413 * remote-mm.c: Obsolete.
1414 * remote-udi.c: Obsolete.
1415 * config/a29k/a29k-udi.mt: Obsolete.
1416 * config/a29k/a29k.mt: Obsolete.
1417 * config/a29k/tm-a29k.h: Obsolete.
1418 * config/a29k/tm-vx29k.h: Obsolete.
1419 * config/a29k/vx29k.mt: Obsolete.
1420
a9011d31
AC
14212002-01-05 Andrew Cagney <ac131313@redhat.com>
1422
1423 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1424 with BFD_ENDIAN_BIG.
1425
9299404e
AC
14262002-01-05 Andrew Cagney <ac131313@redhat.com>
1427
1428 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1429 * configure, config.in: Re-generate.
1430 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1431 * defs.h: Do not include <endian.h>.
1432
7e89e357
JT
14332002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1434
1435 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1436 * config.in: Regenerate.
1437 * configure.in: Update copyright years.
1438 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1439 * configure: Regenerate.
1440 * i386bsd-nat.c: Update copyright years.
1441 (fill_gregset): Use regcache_collect.
1442 (fetch_inferior_registers): Only fetch integer registers
1443 if requested to do so. Add support for XMM registers
1444 using PT_GETXMMREGS.
1445 (store_inferior_registers): Only store integer registers
1446 if requested to do so. Add support for XMM registers
1447 using PT_SETXMMREGS.
1448 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1449 (store_inferior_registers): Remove.
1450 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1451 (fetch_elfcore_registers): New function.
1452 (i386nbsd_elfcore_fns): New.
1453 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1454 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1455 i386bsd-nat.o.
1456 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1457 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1458 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1459 * config/i386/tm-nbsd.h: Update copyright years.
1460 (HAVE_SSE_REGS): Define.
1461 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1462 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1463 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1464 (SIGCONTEXT_PC_OFFSET): Remove.
1465 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1466
a752853e
AC
14672002-01-05 Andrew Cagney <ac131313@redhat.com>
1468
1469 * configure.tgt: Remove powerpc-*-macos* target.
1470 * config/m68k/xm-mpw.h: Delete file.
1471 * config/xm-mpw.h: Delete file.
1472 * ser-mac.c: Delete file.
1473 * mpw-make.sed: Delete file.
1474 * mpw-config.in: Delete file.
1475 * mac-xdep.c: Delete file.
1476 * mac-gdb.r: Delete file.
1477 * mac-defs.h: Delete file.
1478 * mac-nat.c: Delete file.
1479 * config/powerpc/macos.mh: Delete file.
1480 * config/powerpc/macos.mt: Delete file.
1481 * config/powerpc/nm-macos.h: Delete file.
1482 * config/powerpc/tm-macos.h: Delete file.
1483 * source.c (openp, open_source_file): Remove obsolete code.
1484 * top.c (gdb_readline): Ditto.
1485 * utils.c (query): Ditto.
1486 * event-top.c (display_gdb_prompt): Ditto.
1487 * Makefile.in (ser-mac.o): Delete obsolete target.
1488 * NEWS: Update.
1489
d7449b42
AC
14902002-01-04 Andrew Cagney <ac131313@redhat.com>
1491
1492 * defs.h (BIG_ENDIAN): Delete macro definition.
1493 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1494 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1495 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1496 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1497 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1498 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1499 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1500 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1501 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1502 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1503 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1504 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1505 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1506 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1507 * gdbarch.c: Re-generate.
1508
356374e8
DJ
15092002-01-04 Daniel Jacobowitz <drow@mvista.com>
1510
1511 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1512 for core files.
1513
a2b8f8f8
JT
15142002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1515
1516 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1517
12466af9
AC
15182002-01-04 Andrew Cagney <ac131313@redhat.com>
1519
1520 * value.h (value_ptr): Delete typedef.
1521
3549ab40
JT
15222002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1523
1524 * i386nbsd-nat.c: Update copyright years.
1525 Include i386-tdep.h.
1526
fedbd091
EZ
15272002-01-04 Elena Zannoni <ezannoni@redhat.com>
1528
1529 * stabsread.c: Update copyright years.
1530
1531 From Debashis Mahata <debashis.mahata@wipro.com>:
1532 (read_struct_fields): Deal with Sun C compiler erroneous stab
1533 output for structs and unions.
fec8b34f 1534 Fix PR gdb/269.
fedbd091 1535
eb43544b
DJ
15362002-01-04 Daniel Jacobowitz <drow@mvista.com>
1537
1538 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1539 prototype.
1540
1514d34e
DJ
15412002-01-04 Daniel Jacobowitz <drow@mvista.com>
1542
1543 * cp-abi.c: Fix whitespace.
1544 (baseclass_offset): New wrapper function.
1545 * cp-abi.h (baseclass_offset): Add prototype.
1546 (struct cp_abi_ops): Add baseclass_offset pointer.
1547
1548 * valops.c (vb_match): Move to...
1549 * gnu-v2-abi.c (vb_match): here.
1550 * valops.c (baseclass_offset): Move to...
1551 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1552
1553 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1554
1555 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1556 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1557 * hpacc-abi.c (init_hpacc_ops): Likewise.
1558
7f8c9282
DJ
15592002-01-04 Daniel Jacobowitz <drow@mvista.com>
1560
1561 * valops.c (find_overload_match): Accept obj as a
1562 reference parameter. Update it before returning.
1563 * value.h (find_overload_match): Update prototype.
1564 * eval.c (evaluate_subexp_standard): Pass object to
1565 find_overload_match by reference.
1566
f23631e4
AC
15672002-01-03 Andrew Cagney <ac131313@redhat.com>
1568
1569 * valarith.c: Replace value_ptr with struct value pointer. Remove
1570 register attribute from value declarations.
1571 * valops.c: Ditto.
1572 * value.h: Ditto.
1573 * scm-lang.c (scm_lookup_name): Ditto.
1574
79e10fab 15752002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 1576
79e10fab
AC
1577 Abstract the functionality of iterating over mapped memory
1578 regions into a general purpose iterator function.
abf22e64 1579 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
1580 iterator for memory sections.
1581 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1582 (solib_mappings_callback): New function, callback for above.
1583 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1584 (info_mappings_callback): New function, callback for above.
1585
1586 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1587
c5ad026a
MK
15882002-01-01 Mark Kettenis <kettenis@gnu.org>
1589
d2a7c97a
MK
1590 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1591 * i386-tdep.c: Include "elf-bfd.h".
1592 (process_note_abi_tag_sections): New function.
1593 (i386_gdbarch_init): Add code to recognize various OS/ABI
1594 combinations.
1595
c5ad026a
MK
1596 * maint.c (_initialize_maint_cmds): Add missing \ in
1597 string-literal.
1598
a1a5b71e 1599For older changes see ChangeLog-2001
c906108c
SS
1600\f
1601Local Variables:
1602mode: change-log
1603left-margin: 8
1604fill-column: 74
1605version-control: never
1606End: