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