2002-01-30 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f5a96129
AC
12002-01-30 Andrew Cagney <ac131313@redhat.com>
2
3 * defs.h (vwarning): Declare.
4 (warning_begin): Delete declaration.
5 * utils.c (vwarning): New function.
6 (warning): Call vwarning.
7 (warning_begin): Delete function.
8
9 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
10 the warning message.
11 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
12 warning_begin.
13
cefd4ef5
MS
142002-01-30 Michael Snyder <msnyder@redhat.com>
15
1a703748
MS
16 * NEWS: Mention "set trust-readonly-sections" command.
17 Mention generate-core-file command.
cefd4ef5 18
3a11626d
MS
192002-01-15 Michael Snyder <msnyder@redhat.com>
20
21 * target.c: New command, "set trust-readonly-sections on".
22 (do_xfer_memory): Honor the suggestion to trust readonly sections
23 by reading them from the object file instead of from the target.
24 (initialize_targets): Register command "set trust-readonly-sections".
25
d1c7e53b
AC
262002-01-29 Andrew Cagney <ac131313@redhat.com>
27
28 * parse.c (target_map_name_to_register): Simplify, search regs and
29 pseudo-regs using a single loop.
30
e2c9a72c
AC
312002-01-30 Andrew Cagney <ac131313@redhat.com>
32
33 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
34
69824b4e
MK
352002-01-15 Rodney Brown <rbrown64@csc.com.au>
36
37 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
38 * config/i386/i386v42mp.mh: Add i387-nat.o .
39 * i386v4-nat.c: Include i387-nat.h.
40 (supply_fpregset): Use i387_supply_fsave.
41 (fill_fpregset): Use i387_fill_fsave.
42
6eb69eab
RE
432002-01-30 Richard Earnshaw <rearnsha@arm.com>
44
45 * arm-tdep.c (arm_call_dummy_words): Define.
46 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
47 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
48 (CALL_DUMMY_WORDS): Define.
49 (arm_call_dummy_words): Declare.
50 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
51 (arm_linux_call_dummy_words): Declare.
52
9852326a
AS
532002-01-30 Andreas Schwab <schwab@suse.de>
54
55 * m68klinux-nat.c: Fix last change to use regcache_collect
56 instead of referencing registers[] directly.
57
977a3030
AC
582002-01-29 Andrew Cagney <ac131313@redhat.com>
59
60 * parse.c (target_map_name_to_register): Delete code wrapped in
61 #ifdef REGISTER_NAME_ALIAS_HOOK.
62
2076c72b
MS
632002-01-28 Michael Snyder <msnyder@redhat.com>
64
65 * regcache.c (legacy_read_register_gen): Need to be able to
66 read pseudo-register as well as real register.
67 (legacy_write_register_gen): Ditto.
68
8fcc723b
AC
692002-01-28 Andrew Cagney <ac131313@redhat.com>
70
71 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
72 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
73 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
74 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
75 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
76 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
77 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
78 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
79 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
80 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
81 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
82 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
83 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
84 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
85 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
86 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
87 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
88 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
89 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
90 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
91
afe64c1a
AC
922002-01-28 Andrew Cagney <ac131313@redhat.com>
93
94 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
95 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
96 (initialize_current_architecture): Update target_byte_order using
97 information from BFD.
98 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
99 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
100 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
101
75bc7ddf
AC
1022002-01-28 Andrew Cagney <ac131313@redhat.com>
103
104 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
105 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
106
107 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
108 #ifdef INVALID_FLOAT.
109 * infcmd.c (do_registers_info): Ditto.
110 * values.c (unpack_double): Ditto. Add comment.
111
112 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
113 already commented out.
114
0280a90a
AS
1152002-01-26 Andreas Schwab <schwab@suse.de>
116
117 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
118 * m68klinux-nat.c: Update ptrace interface for fetching/storing
119 registers and add support for PTRACE_GETREGS.
120
7072a954
AC
1212002-01-24 Andrew Cagney <ac131313@redhat.com>
122
123 GDB 5.1.1 released from 5.1 branch.
124 * NEWS: Add 5.1.1 news.
125 * README: Sync with 5.1 branch.
126
86f902e0
FF
1272002-01-23 Fred Fish <fnf@redhat.com>
128
129 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
130 stabstring on initial malloc. Reallocing will copy it for us,
131 if necessary.
132
8af51c36
EZ
1332002-01-23 Elena Zannoni <ezannoni@redhat.com>
134
135 * Makefile.in (hpread_h): Delete.
136 (HFILES_NO_SRCDIR): Remove hpread.h.
137 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
138 (hpread.o): Update dependencies.
139 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
140
141 * hp-psymtab-read.c: Remove file.
142 * hp-symtab-read.c: Remove file.
143 * hpread.h: Remove file.
144
145 * hpread.c: Merge all contents of hp-psymtab-read.c,
146 hp-symtab-read.c and hpread.h into this file, as it was prior to
147 January 1999.
148
149 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
150 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
151 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
152 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
153
dc5cfeb6
EZ
1542002-01-23 Elena Zannoni <ezannoni@redhat.com>
155
156 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
157 fill_gregset): Call gdbarch_tdep() just once, assign result to
158 variable and use that, instead of calling the function several
159 times.
160
ea87b71b
AO
1612002-01-24 Alexandre Oliva <aoliva@redhat.com>
162
163 * configure.host: Accept sparcv9 as alias for sparc64.
164 * configure.tgt: Likewise.
165
13fc0c2f
KB
1662002-01-22 Kevin Buettner <kevinb@redhat.com>
167
168 * solib-aix5.c (build_so_list_from_mapfile)
169 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
170 arguments is not reversed.
171 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
172 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
173
7bd872fe
EZ
1742002-01-22 Elena Zannoni <ezannoni@redhat.com>
175
176 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
177 modified version of obsolete sh_fetch_pseudo_register.
178 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
179 (sh4_register_read): New function.
180 (sh_pseudo_register_write): New function. Renamed and modified
181 version of obsolete sh_store_pseudo_register.
182 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
183 (sh4_register_write): New function.
184 (sh_gdbarch_init): Remove setting of gdbarch function
185 fetch_pseudo_register and store_pseudo_register. Remove setting of
186 register_convert_to_raw, register_convert_to_virtual,
187 register_convertible.
188 (sh_sh4_register_convertible): Delete. No longer needed. All is
189 taken care by architecture specific functions
190 register_read/register_write.
191 (sh_sh4_register_convert_to_virtual): Make static.
192 (sh_sh4_register_convert_to_raw): Ditto.
193
069e84fd
AC
1942002-01-22 Andrew Cagney <ac131313@redhat.com>
195
196 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
197 (floatformat_is_nan, floatformat_mantissa): Ditto.
198
199 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
200 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
201 builtin_type_ieee_double_little,
202 builtin_type_ieee_double_littlebyte_bigword,
203 builtin_type_m68881_ext, builtin_type_i960_ext,
204 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
205 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
206 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
207 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
208
211a4f69
CV
2092002-01-22 Corinna Vinschen <vinschen@redhat.com>
210
211 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
212 parameter. Set frameless flag if it exists and depended of
213 whether the scanned function is frameless or not.
214 (xstormy16_skip_prologue): If function is frameless, return
215 result of xstormy16_scan_prologue().
216 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
217 call.
218
f81353e4
EZ
2192002-01-21 Elena Zannoni <ezannoni@redhat.com>
220
221 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
222 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
223 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
224 sh_sh4_register_byte, sh_sh4_register_raw_size,
225 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
226 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
227 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
228 sh_store_pseudo_register, sh_do_pseudo_register): Call
229 gdbarch_tdep() just once, assign result to variable and use that,
230 instead of calling the function several times.
231
63c73a17
MK
2322002-01-20 Mark Kettenis <kettenis@gnu.org>
233
234 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
235 macros instead of LAST_FPU_CTRL_REGNUM.
236 (store_register): Likewise.
237
39ad761d
JB
2382002-01-21 Jim Blandy <jimb@redhat.com>
239
240 * infcmd.c (run_command): Check that the `exec' target layer's BFD
241 is up-to-date before running the program, not just when a program
242 exits.
243
3d74b771
FF
2442002-01-21 Fred Fish <fnf@redhat.com>
245
246 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
247 when we have found all instructions we are looking for.
248
966fbf70
RE
2492002-01-21 Richard Earnshaw <rearnsha@arm.com>
250
251 * arm-tdep.c (arm_register_name): New function.
252 (arm_registers_names): Make static.
253 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
254 (arm_register_name): Declare.
255 (REGISTER_NAME): Use it.
256
c3b4394c
RE
2572002-01-21 Richard Earnshaw <rearnsha@arm.com>
258 Kevin Buettner <kevinb@redhat.com>
259
260 Convert arm targets to new FRAME interface.
261 * arm-tdep.c (struct frame_extra_info): Remove fsr.
262 (arm_frame_find_save_regs): Delete.
263 (arm_frame_init_saved_regs): New.
264 (arm_init_extra_frame_info): Alloacte saved_regs as required.
265 Allocate extra_info as required. Convert all uses of fsr.regs
266 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
267 to use extra_info.
268 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
269 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
270 (check_prologue_cache, save_prologue_cache): Likewise.
271 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
272 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
273 (FRAME_FIND_SAVED_REGS): Delete.
274 (arm_frame_find_saved_regs): Delete prototype.
275 (arm_frame_init_saved_regs): New prototype.
276 (FRAME_INIT_SAVED_REGS): Define.
277
61d99182
AC
2782002-01-20 Andrew Cagney <ac131313@redhat.com>
279
280 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
281
6aaea291
AC
2822002-01-20 Andrew Cagney <ac131313@redhat.com>
283
284 From Jeff Law <law@redhat.com>:
285 * infttrace.c: Include <sys/pstat.h>.
286 (child_pid_to_exec_file): Revamp. Use pstat call to get the
287 exec file if the ttrace equivalent fails.
288
15f698d2
AC
2892002-01-20 Andrew Cagney <ac131313@redhat.com>
290
291 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
292 (closeLogFile): Ditto.
293
f86ddd7c
MC
2942002-01-20 Michael Chastain <mec@shout.net>
295
296 * top.c (print_gdb_version): Bump copyright year to 2002.
297
904507ce
AC
2982002-01-20 Andrew Cagney <ac131313@redhat.com>
299
300 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
301 Zannoni and Eli Zaretskii.
302
d7f0b9ce
DJ
3032002-01-20 Daniel Jacobowitz <drow@mvista.com>
304
305 * buildsym.c: Update copyright years.
306 * c-typeprint.c: Likewise.
307 * dwarf2read.c: Likewise.
308 * f-typeprint.c: Likewise.
309 * gdbtypes.c: Likewise.
310 * gdbtypes.h: Likewise.
311 * hp-symtab-read.c: Likewise.
312 * hpread.c: Likewise.
313 * mdebugread.c: Likewise.
314 * p-typeprint.c: Likewise.
315
3fd3d7d2
AC
3162002-01-20 Andrew Cagney <ac131313@redhat.com>
317
318 * remote-sim.c (gdbsim_open): Simplify code testing the macro
319 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
320 byte-order selectable.
321 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
322 * arch-utils.c: Ditto.
323 (set_endian): Ditto.
324 (set_endian_from_file): Ditto.
325 * gdbserver/low-sim.c (create_inferior): Ditto.
326 * gdbarch.sh: Ditto.
327 * gdbarch.h: Re-generate.
328 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
329 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
330 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
331 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
332 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
333 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
334 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
335 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
336 macro definition.
337 * config/mips/tm-wince.h: Remove #undef of macro
338 TARGET_BYTE_ORDER_SELECTABLE.
339 * config/sh/tm-wince.h: Ditto.
340
b02dede2
DJ
3412002-01-20 Daniel Jacobowitz <drow@mvista.com>
342
343 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
344 member function fields. Add accessor macro
345 TYPE_FN_FIELD_ARTIFICIAL.
346 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
347 * c-typeprint.c (c_type_print_base): Skip artificial member
348 functions.
349
c3643761
DJ
3502002-01-20 Daniel Jacobowitz <drow@mvista.com>
351
352 * f-typeprint.c: Delete unused function f_type_print_args.
353 * p-typeprint.c: Delete unused function pascal_type_print_args.
354
8176bb6d
DJ
3552002-01-20 Daniel Jacobowitz <drow@mvista.com>
356
357 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
358 comment. Add ``artificial'' to ``union field_location''.
359
360 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
361
362 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
363 * mdebugread.c (parse_symbol): Likewise.
364 * stabsread.c (define_symbol): Likewise.
365 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
366 initializing TYPE_FIELD_BITPOS to n (obsolete).
367 (hpread_doc_function_type): Likewise.
368 * hpread.c (hpread_function_type): Likewise.
369
7fd60527
AC
3702002-01-20 Andrew Cagney <ac131313@redhat.com>
371
372 * configure.in (host_makefile_frag): Only require a host makefile
373 fragment when a native build.
374 * configure: Re-generate.
375
c2f05ac9
AC
3762002-01-20 Andrew Cagney <ac131313@redhat.com>
377
378 * doublest.h (floatformat_from_type): Declare.
379 * doublest.c (floatformat_from_type): New function.
380 (convert_typed_floating): Use.
381
382 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
383 call to function floatformat_from_type.
384
385 * gdbarch.sh (IEEE_FLOAT): Delete.
386 * gdbarch.h, gdbarch.c: Re-generate.
387 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
388 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
389 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
390 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
391 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
392 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
393 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
394 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
395 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
396 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
397 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
398 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
399
400 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
401 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
402 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
403 * sh-tdep.c (sh_gdbarch_init): Ditto.
404 * mips-tdep.c (mips_gdbarch_init): Ditto.
405 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
406 * cris-tdep.c (cris_gdbarch_init): Ditto.
407
abf22e64
AJ
4082002-01-20 Jiri Smid <smid@suse.cz>
409
410 * configure.host, configure.tgt: Support x86-64.
411 * NEWS: Note new target x86-64.
412
b7c4cbf8
AJ
413 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
414 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
415 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
416 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
417 x86-64-linux-nat.o): Fix dependencies.
418
82600034
AC
4192002-01-19 Andrew Cagney <ac131313@redhat.com>
420
421 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
422 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
423 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
424 * config/sparc/xm-sun4os4.h: Delete file.
425 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 426
bbe5c628
AC
4272002-01-19 Andrew Cagney <ac131313@redhat.com>
428
429 * config/sparc/sparclynx.mh (XM_FILE): Delete.
430 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
431 * config/m68k/m68klynx.mh (XM_FILE): Delete.
432 * config/i386/i386lynx.mh (XM_FILE): Delete.
433 * config/rs6000/xm-rs6000ly.h: Delete file.
434 * config/sparc/xm-sparclynx.h: Delete file.
435 * config/m68k/xm-m68klynx.h: Delete file.
436 * config/i386/xm-i386lynx.h: Delete file.
437 * config/xm-lynx.h: Delete file.
438 * config/djgpp/fnchange.lst: Update.
439
f8453e34
JT
4402002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
441
442 * alpha-tdep.c (alpha_register_byte): New function.
443 (alpha_register_raw_size): Ditto.
444 (alpha_register_virtual_size): Ditto.
445 (alpha_skip_prologue_internal): Renamed from
446 alpha_skip_prologue.
447 (alpha_skip_prologue): New version that calls
448 alpha_skip_prologue_internal.
449 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
450 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
451 second argument from alpha_skip_prologue.
452 (REGISTER_BYTE): Use alpha_register_byte.
453 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
454 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
455 (FRAMELESS_FUNCTION_INVOCATION): Use
456 generic_frameless_function_invocation_not.
457 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
458 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
459
52d9e613
AC
4602002-01-19 Andrew Cagney <ac131313@redhat.com>
461
462 * config/mips/xm-news-mips.h: Delete file.
463 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
464
465 * config/m88k/xm-m88k.h: Delete file.
466 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
467 * config/m88k/xm-delta88v4.h: Ditto.
468 * config/m88k/xm-delta88.h: Ditto.
469
470 * config/alpha/xm-fbsd.h: Delete file.
471 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
472
473 * config/sparc/xm-sparc.h: Delete file.
474 * Makefile.in (xm-sun4os4.h): Delete dependency.
475 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
476 * config/sparc/xm-sun4os4.h: Ditto.
477 * config/sparc/xm-linux.h: Ditto.
478
479 * config/i386/xm-windows.h: Delete file.
480
2d1b2124
AC
4812002-01-19 Andrew Cagney <ac131313@redhat.com>
482
483 * utils.c: Include <sys/param.h> for MAXPATHLEN.
484 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
485
ee1f65f0
JT
4862002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
487
488 * alpha-tdep.c (alpha_call_dummy_words): New.
489 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
490 (CALL_DUMMY_P): Define.
491 (CALL_DUMMY_WORDS): Define.
492 (SIZEOF_CALL_DUMMY_WORDS): Define.
493
98081e55
PB
4942002-01-19 Per Bothner <per@bothner.com>
495
496 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
497 isn't NULL, which can happen with some gcj-3.x-produced code.
498
0d056799
JT
4992002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
500
501 * alpha-tdep.c (alpha_register_virtual_type): New function.
502 (alpha_init_frame_pc_first): Ditto.
503 (alpha_fix_call_dummy): Ditto.
504 (alpha_store_struct_return): Ditto.
505 (alpha_extract_struct_value_address): Ditto.
506 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
507 alpha_register_virtual_type.
508 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
509 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
510 alpha_extract_struct_value_address.
511 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
512 (INIT_FRAME_PC): Use init_frame_pc_noop.
513 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
514
4604bcad
MK
5152002-01-19 Mark Kettenis <kettenis@gnu.org>
516
517 * i386gnu-nat.c: Include "i386-tdep.h".
518 (fetch_fpregs): Simplify code dealing with uninitialized floating
519 point states such that it doesn't require FP7_REGNUM.
520
140f9984
JT
5212002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
522
abf22e64
AJ
523 * alpha-tdep.c (frame_extra_info): New.
524 (alpha_find_saved_regs): Make static. Use
140f9984
JT
525 frame->extra_info.
526 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
527 (alpha_frame_saved_pc): Use frame->extra_info.
528 (temp_saved_regs): Don't declare as struct frame_saved_regs.
529 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
530 (init_extra_frame_info): Rename to...
531 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 532 (alpha_print_extra_frame_info): New function.
140f9984
JT
533 (alpha_frame_locals_address): Ditto.
534 (alpha_frame_args_address): Ditto.
abf22e64 535 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
536 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
537 alpha_frame_args_address.
abf22e64 538 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 539 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
540 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
541 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
542 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
543 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
544
d734c450
JT
5452002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
546
547 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
548 (alpha_cannot_fetch_register): Ditto.
549 (alpha_cannot_store_register): Ditto.
550 (alpha_register_convertible): Ditto.
551 (alpha_use_struct_convention): Ditto.
552 * config/alpha/tm-alpha.h: Update copyright years.
553 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
554 (INNER_THAN): Use core_addr_lessthan.
555 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
556 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
557 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
558 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
559 (FRAME_CHAIN): Remove unnecessary cast.
560
b4ceaee6
AC
5612002-01-18 Andrew Cagney <ac131313@redhat.com>
562
563 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
564 obsolete.
565
0a65a603
AC
5662002-01-18 Andrew Cagney <ac131313@redhat.com>
567
568 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
569 * monitor.c, remote-array.c, remote-bug.c: Ditto.
570 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
571 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
572 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
573 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
574 * x86-64-linux-nat.c: Ditto.
575
636a6dfc
JT
5762002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
577
abf22e64 578 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
579 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
580 (REGISTER_NAME): Define.
581
acceddb6
JT
5822002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
583
584 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
585
ec32e4be
JT
5862002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
587
588 * alpha-tdep.c: Update copyright years.
589 (alpha_next_pc): New function.
590 (alpha_software_single_step): Ditto.
591 * config/alpha/tm-alpha.h: Add prototype for
592 alpha_software_single_step.
593
e771a871
JT
5942002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
595
596 * alphabsd-nat.c: Update copyright years.
597 (fill_gregset): Use regcache_collect.
598 (fill_fpregset): Likewise.
599 (fetch_inferior_registers): Only fetch integer registers
600 if requested to do so.
601 (store_inferior_registers): Only store integer registers
602 if requested to do so.
603
7708fa01
AC
6042002-01-17 Andrew Cagney <ac131313@redhat.com>
605
606 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
607 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
608 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
609 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
610 * config/alpha/fbsd.mh (XDEPFILES): Delete.
611 * config/arm/linux.mh (XDEPFILES): Delete.
612 * config/arm/nbsd.mh (XDEPFILES): Delete.
613 * config/i386/i386dgux.mh (XDEPFILES): Delete.
614 * config/i386/i386sol2.mh (XDEPFILES): Delete.
615 * config/i386/i386m3.mh (XDEPFILES): Delete.
616 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
617 * config/i386/i386gnu.mh (XDEPFILES): Delete.
618 * config/i386/fbsd.mh (XDEPFILES): Delete.
619 * config/i386/i386bsd.mh (XDEPFILES): Delete.
620 * config/i386/i386sco5.mh (XDEPFILES): Delete.
621 * config/i386/i386v4.mh (XDEPFILES): Delete.
622 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
623 * config/i386/i386sco4.mh (XDEPFILES): Delete.
624 * config/i386/i386aix.mh (XDEPFILES): Delete.
625 * config/i386/go32.mh (XDEPFILES): Delete.
626 * config/i386/cygwin.mh (XDEPFILES): Delete.
627 * config/i386/i386lynx.mh (XDEPFILES): Delete.
628 * config/i386/i386mach.mh (XDEPFILES): Delete.
629 * config/i386/i386v32.mh (XDEPFILES): Delete.
630 * config/i386/linux.mh (XDEPFILES): Delete.
631 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
632 * config/i386/ncr3000.mh (XDEPFILES): Delete.
633 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
634 * config/i386/i386sco.mh (XDEPFILES): Delete.
635 * config/i386/i386v.mh (XDEPFILES): Delete.
636 * config/i386/nbsd.mh (XDEPFILES): Delete.
637 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
638 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
639 * config/i386/symmetry.mh (XDEPFILES): Delete.
640 * config/i386/obsd.mh (XDEPFILES): Delete.
641 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
642 * config/ia64/linux.mh (XDEPFILES): Delete.
643 * config/ia64/aix.mh (XDEPFILES): Delete.
644 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
645 * config/m68k/dpx2.mh (XDEPFILES): Delete.
646 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
647 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
648 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
649 * config/m68k/linux.mh (XDEPFILES): Delete.
650 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
651 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
652 * config/m68k/nbsd.mh (XDEPFILES): Delete.
653 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
654 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
655 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
656 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
657 * config/m88k/delta88.mh (XDEPFILES): Delete.
658 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
659 * config/m88k/m88k.mh (XDEPFILES): Delete.
660 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
661 * config/mips/linux.mh (XDEPFILES): Delete.
662 * config/mips/irix6.mh (XDEPFILES): Delete.
663 * config/mips/irix5.mh (XDEPFILES): Delete.
664 * config/mips/irix4.mh (XDEPFILES): Delete.
665 * config/mips/irix3.mh (XDEPFILES): Delete.
666 * config/mips/decstation.mh (XDEPFILES): Delete.
667 * config/mips/mipsm3.mh (XDEPFILES): Delete.
668 (NATDEPFILES): Move core-aout.o to here.
669 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
670 * config/pa/hpux1020.mh (XDEPFILES): Delete.
671 * config/pa/hppabsd.mh (XDEPFILES): Delete.
672 * config/pa/hppahpux.mh (XDEPFILES): Delete.
673 * config/pa/hpux11w.mh (XDEPFILES): Delete.
674 * config/pa/hppaosf.mh (XDEPFILES): Delete.
675 * config/pa/hpux11.mh (XDEPFILES): Delete.
676 * config/powerpc/aix.mh (XDEPFILES): Delete.
677 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
678 * config/powerpc/linux.mh (XDEPFILES): Delete.
679 * config/romp/rtbsd.mh: Rename XDEPFILES.
680 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
681 * config/rs6000/aix4.mh (XDEPFILES): Delete.
682 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
683 * config/s390/s390.mh (XDEPFILES): Delete.
684 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
685 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
686 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
687 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
688 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
689 * config/sparc/nbsd.mh (XDEPFILES): Delete.
690 * config/sparc/linux.mh (XDEPFILES): Delete.
691 * config/vax/vaxult.mh (XDEPFILES): Delete.
692 * config/vax/vaxult2.mh (XDEPFILES): Delete.
693 * Makefile.in (DEPFILES): Remove XDEPFILES.
694
375fc983
AC
6952002-01-17 Andrew Cagney <ac131313@redhat.com>
696
697 * utils.c (internal_verror): Fix comments, default is yes not no.
698 Update queries to match. Default to quit and dump core.
699
8926118c
AC
7002002-01-17 Andrew Cagney <ac131313@redhat.com>
701
702 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
703 copyright.
704 * defs.h, event-top.c, gdbcmd.h: Ditto.
705 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
706 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
707 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
708 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
709 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
710 * mi/mi-main.c:Ditto.
711
712 * stack.c, symfile.c: Update copyright.
713
45b7b345
DJ
7142002-01-17 Daniel Jacobowitz <drow@mvista.com>
715
db728ff7
DJ
716 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
717 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
718 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
719 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 720
db728ff7
DJ
7212002-01-17 Daniel Jacobowitz <drow@mvista.com>
722
723 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
724 * gdbserver/low-lynx.c (myattach): Likewise.
725 * gdbserver/low-nbsd.c (myattach): Likewise.
726 * gdbserver/low-sim.c (myattach): Likewise.
727 * gdbserver/low-sparc.c (myattach): Likewise.
728 * gdbserver/low-sun3.c (myattach): Likewise.
729
730 * gdbserver/low-linux.c (myattach): New function.
45b7b345 731
db728ff7 732 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
733 (main): Handle "--attach".
734
8de3c354
AC
7352002-01-16 Andrew Cagney <ac131313@redhat.com>
736
737 * MAINTAINERS (language support): Daniel Jacobwitz is C++
738 maintainer.
739
b0129042
DJ
7402002-01-15 Daniel Jacobowitz <drow@mvista.com>
741
742 * c-typeprint.c (is_type_conversion_operator): Add additional
743 check for non-conversion operators.
744
ba8679fb 7452002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
746
747 * linux-proc.c: Add "info proc" command, a la procfs.c.
748 (read_mapping): New function, abstract and re-use code.
749 (linux_find_memory_regions): Use new func read_mapping.
750 (linux_info_proc_cmd): New function, implement "info proc".
751 (_initialize_linux_proc): Add new command "info proc".
752
e4f9b4d5
MS
7532002-01-15 Michael Snyder <msnyder@redhat.com>
754
755 * symfile.c (generic_load): Use bfd_map_over_sections method
756 instead of manipulating bfd structure members directly.
757 (add_section_size_callback): New function, bfd sections callback
758 used by generic_load.
759 (load_sections_callback): New function, bfd sections callback
760 used by generic_load.
761
08cf96df
EZ
7622002-01-15 Elena Zannoni <ezannoni@redhat.com>
763
abf22e64 764 [Based on work by Jim Blandy]
08cf96df
EZ
765 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
766 (builtin_type_vec128): Export.
767 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
768 types.
769 (builtin_type_vec128): New builtin type for 128 bit vector
770 registers.
771 (build_gdbtypes): Initialize builtin_type_v16qi and
772 builtin_type_v8hi. Create the vec128 register builtin type
773 structure.
774 (build_builtin_type_vec128): New function.
abf22e64 775 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
776 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
777 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
778 AltiVec register to new builtin type.
779
d7242108
DJ
7802001-01-15 Daniel Jacobowitz <drow@mvista.com>
781
782 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
783 to make_cv_type.
784
4ee3352d
AC
7852002-01-14 Andrew Cagney <ac131313@redhat.com>
786
787 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
788 CLEAN_UP_REGISTER_VALUE.
789 * regcache.c (supply_register): Update only call.
790
f015b2e7
AC
7912002-01-14 Andrew Cagney <ac131313@redhat.com>
792
793 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
794 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
795 a29k-*-vxworks* targets as obsolete.
796
356ae49d
MS
7972002-01-14 Michael Snyder <msnyder@redhat.com>
798
799 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
800 until we can resolve portability issues.
801 * gregset.h: Remove references to fpxregs.
802 * gcore.c (gcore_command): Initialize note_sec to NULL.
803
ade8f45e
AC
8042002-01-13 Andrew Cagney <ac131313@redhat.com>
805
806 * signals.c (target_signal_to_name): Rewrite. Only use
807 signals[].name when in bounds and non-NULL.
abf22e64 808
89c49e7a
AC
8092002-01-13 Andrew Cagney <ac131313@redhat.com>
810
811 From Petr Ledvina <ledvinap@kae.zcu.cz>:
812 * signals.c (target_signal_to_name): Verify that SIG is within the
813 bounds of the signals array.
814
4daa9f9f
AC
8152002-01-13 Andrew Cagney <ac131313@redhat.com>
816
817 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
818
ba4bbdcb
KS
8192002-01-13 Keith Seitz <keiths@redhat.com>
820
821 * stack.c (print_frame_info_base): Print the frame's pc
822 only if when print_frame_info_listing_hook is not defined.
823
575bbeb6
KS
8242002-01-13 Keith Seitz <keiths@redhat.com>
825
826 * varobj.c (varobj_set_value): Make sure that there were no
827 errors evaluating the object before attempting to set its
828 value.
829 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
830 so this offset adjustment is no longer necessary.
831 (create_child): Don't set the error flag if the child is
832 a CPLUS_FAKE_CHILD.
833 (value_of_child): If value_fetch_lazy fails, return NULL
834 so that callers will be notified that an error occurred.
835 (c_value_of_variable): Delay check of variable's validity
836 until later. We actually want all structs and unions to have
837 the value "{...}".
838 Do not return "???" for variables which could not be evaluated.
839 This error condition must be returned to the caller so that it
840 can get the error condition from gdb.
841 (cplus_name_of_child): Adjust index for vptr before figuring
842 out the name of the child.
843 (cplus_value_of_child): If a child's (real) parent is not valid,
844 don't even bother trying to give a value for it. Just return
845 an error. Change all instances in this function.
846 (cplus_type_of_child): If our parent is one of the "fake"
847 parents, we need to get at the type of the real parent, and
848 derive the child's true type using this information.
849
b76898ab
AC
8502002-01-13 Andrew Cagney <ac131313@redhat.com>
851
852 From 2002-01-09 John Marshall <johnm@falch.net>:
853 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
854 sources.redhat.com, and tweak some related URLs which had
855 suffered from linkrot.
856
b6649e88
AC
8572002-01-13 Andrew Cagney <ac131313@redhat.com>
858
859 From Jeff law:
860 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
861 structures passed in registers.
862
82cc5033
EZ
8632002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
864
865 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
866 white space which prevented compilation. Reported by DSK
867 <dsk@student.unsw.edu.au>.
868
ba5f2f8a
MS
8692002-01-11 Michael Snyder <msnyder@redhat.com>
870
fbd35540
MS
871 * symfile.c (build_section_addr_info_from_section_tab):
872 Use bfd access method instead of manipulating bfd directly.
873 (syms_from_objfile): Ditto.
874 (simple_overlay_update_1): Ditto.
875 (simple_overlay_update): Ditto.
876 (generic_load): Ditto.
877 (overlay_unmapped_address): FIXME comment, bfd access methods.
878 (sections_overlap): FIXME comment, bfd access methods.
879 (pc_in_mapped_range): FIXME comment, bfd access methods.
880 (pc_in_unmapped_range): FIXME comment, bfd access methods.
881 (section_is_mapped): FIXME comment, bfd access methods.
882 (section_is_overlay): FIXME comment, bfd access methods.
883
ba5f2f8a
MS
884 * symfile.c (generic_load): Whitespace and long line cleanups.
885 Remove duplicate variable, change several local variables to
886 more appropriate data types.
887 (print_transfer_performance): Use %lu instead of %ld for ulongs.
888
17df2af6
AC
8892002-01-12 Andrew Cagney <ac131313@redhat.com>
890
891 From Peter Schauer:
892 * language.c (longest_local_hex_string_custom): Use phex_nz to
893 convert NUM to a hex string.
894
ec920329
EZ
8952002-01-12 Elena Zannoni <ezannoni@redhat.com>
896
897 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
898 the function.
538a76d6 899 Update Copyright year.
ec920329 900
3abd2e01
AC
9012002-01-12 Andrew Cagney <ac131313@redhat.com>
902
903 * language.c (longest_raw_hex_string): Delete unused function.
904
b21b22e0
PS
9052002-01-11 Petr Sorfa <petrs@caldera.com>
906
907 * MAINTAINERS (write-after-approval): Add myself.
908 * dwarf2read.c (read_tag_string_type): Handling of
909 DW_AT_byte_size.
910 (read_tag_string_type): FORTRAN fix to prevent propagation of
911 first string size.
912 (set_cu_language): Handling of DW_LANG_Fortran95
913
747fe712
RE
9142002-01-11 Richard Earnshaw <rearnsha@arm.com>
915
916 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
917 GETPID(inferior_ptid).
918 (store_inferior_registers): Likewise.
919
f1bea926
JM
9202002-01-10 Jason Merrill <jason@redhat.com>
921
922 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
923 Fix DW_OP_minus.
924
ae940673
AC
9252002-01-10 Andrew Cagney <ac131313@redhat.com>
926
927 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
928 and bfd/elf32-sh-nbsd.c.
929
00546b04
MS
9302002-01-10 Michael Snyder <msnyder@redhat.com>
931
352ed7b4
MS
932 * NEWS: Mention --pid and corefile/proc-id behavior change.
933
c18be923
MS
934 * Makefile.in: Add rules for gcore.o and linux-proc.o.
935 * gcore.c: Include cli/cli-decode.h instead of command.h.
936
00546b04
MS
937 * main.c (captured_main): Add new command line option "--pid".
938 If the second command line argument (following the symbol-file)
939 begins with a digit, try to attach to it before trying to open
940 it as a corefile.
941 (print_gdb_help): Document the "--pid" argument.
942
db60ec62
EZ
9432002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
944
945 * completer.c (command_completer): New function.
946
947 * completer.h <command_completer>: Add prototype.
948
949 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
950 completer for the "help" command.
951
39c22d1a
JM
9522002-01-09 Jason Merrill <jason@redhat.com>
953
954 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
955
c564377f
MS
9562002-01-09 Michael Snyder <msnyder@redhat.com>
957
975aec09
MS
958 * i386-linux-nat.c (fill_fpxregset): Make global.
959 (store_fpxregset): Ditto.
960
db4a10fa
MS
961 * gregset.h (gdb_fpxregset_t): Define.
962 (supply_fpxregset): Prototype.
963 (fill_fpxregset): Prototype.
964
c564377f
MS
965 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
966
c3d45d70
RE
9672002-01-09 Richard Earnshaw <rearnsha@arm.com>
968
969 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
970 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
971 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
972
fcc87af1
AC
9732002-01-09 Andrew Cagney <ac131313@redhat.com>
974
975 * MAINTAINERS: Update target maintainer rules so that any
976 Maintainer can approve a tested patch for a maintenance-only
977 target.
978
dd96c05b
RE
9792002-01-09 Richard Earnshaw <rearnsha@arm.com>
980
d4297db9 981 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 982
d4297db9 983 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
984 IN_SIGTRAMP.
985
145fdc6e
MS
9862002-01-08 Michael Snyder <msnyder@redhat.com>
987
988 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
989 real name of the executable, rather than the /proc name.
990
be4d1333
MS
9912002-01-03 Michael Snyder <msnyder@redhat.com>
992
993 Implement a "generate-core-file" command in gdb, save target state.
994 * gcore.c: New file. Implement new command 'generate-core-file'.
995 Save a corefile image of the current state of the inferior.
996 * linux-proc.c: Add linux-specific code for saving corefiles.
997 * target.h (struct target_ops): Add new target vectors for saving
998 corefiles; to_find_memory_regions and to_make_corefile_notes.
999 (target_find_memory_regions): New macro.
1000 (target_make_corefile_notes): New macro.
1001 * target.c (update_current_target): Inherit new target methods.
1002 (dummy_find_memory_regions): New place-holder method.
1003 (dummy_make_corefile_notes): New place-holder method.
1004 (init_dummy_target): Initialize new dummy target vectors.
1005 * exec.c (exec_set_find_memory_regions): New function.
1006 Allow the exec_ops vector for memory regions to be taken over.
1007 (exec_make_note_section): New function, target vector method.
1008 * defs.h (exec_set_find_memory_regions): Export prototype.
1009 * procfs.c (proc_find_memory_regions): New function, corefile method.
1010 (procfs_make_note_section): New function, corefile method.
1011 (init_procfs_ops): Set new target vector pointers.
1012 (find_memory_regions_callback): New function.
1013 (procfs_do_thread_registers): New function.
1014 (procfs_corefile_thread_callback): New function.
1015 * sol-thread.c (sol_find_memory_regions): New function.
1016 (sol_make_note_section): New function.
1017 (init_sol_thread_ops): Initialize new target vectors.
1018 * inftarg.c (inftarg_set_find_memory_regions): New function.
1019 Allow to_find_memory_regions vector to be taken over.
1020 (inftarg_set_make_corefile_notes): New function.
1021 Allow to_make_corefile_notes vector to be taken over.
1022 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1023 interface layer if not target_has_execution (may be a corefile).
1024 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1025 * config/sparc/sun4sol2.mh: Ditto.
1026 * config/alpha/alpha-linux.mh: Ditto.
1027 * config/arm/linux.mh: Ditto.
1028 * config/i386/x86-64linux.mh: Ditto.
1029 * config/ia64/linux.mh: Ditto.
1030 * config/m68k/linux.mh: Ditto.
1031 * config/mips/linux.mh: Ditto.
1032 * config/powerpc/linux.mh: Ditto.
1033 * config/sparc/linux.mh: Ditto.
1034
c6b92abd
MS
10352002-01-07 Michael Snyder <msnyder@redhat.com>
1036
1037 * arm-linux-nat.c: Remove references to regcache.c internal data
1038 (registers[] and register_valid[]).
1039
4b09dc8c
MS
10402002-01-07 Michael Snyder <msnyder@redhat.com>
1041
abf22e64
AJ
1042 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1043 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
1044 symbol file and shlibs.
1045 * Makefile.in: Add rule for linux-proc.o.
1046 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1047 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1048 * config/arm/linux.mh: Ditto.
1049 * config/i386/linux.mh: Ditto.
1050 * config/i386/x86-64linux.mh: Ditto.
1051 * config/ia64/linux.mh: Ditto.
1052 * config/m68k/linux.mh: Ditto.
1053 * config/mips/linux.mh: Ditto.
1054 * config/powerpc/linux.mh: Ditto.
1055 * config/sparc/linux.mh: Ditto.
1056
c25b74ac
PM
10572002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1058
1059 * win32-nat.c: Add i386-tdep.h dependency.
1060
94cd915f
MS
10612002-01-07 Michael Snyder <msnyder@redhat.com>
1062
c7cccb76
MS
1063 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1064 instead of bfd_get_arch_size. Don't bail out just because
1065 there's no exec_bfd.
abf22e64 1066
34c0bd93
MS
1067 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1068 * p-valprint.c (pascal_object_print_value): Ditto.
1069 * somread.c (som_symtab_read): Ditto.
1070 * symfile.c (simple_free_overlay_region_table): Ditto.
1071 * valops.c (value_assign): Ditto.
1072
21c1c920
MS
1073 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1074 use tilde_expand and strerror for opening save-tracepoints file.
1075
5bbd998e
MS
1076 * thread-db.c (thread_db_new_objfile): Indendation fix.
1077
94cd915f
MS
1078 * infptrace.c (GDB_MAX_ALLOCA): New define.
1079 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 1080 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
1081 can be overridden with whatever value is appropriate to the host).
1082 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1083 alloca to allocate potentially large buffer.
1084 * rs6000-nat.c (child_xfer_memory): Ditto.
1085 * symm-nat.c (child_xfer_memory): Ditto.
1086 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1087
494e8a93
JSC
10882002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1089
1090 From Nick Clifton <nickc@redhat.com>
1091 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1092
d0e1d48e
MS
10932002-01-07 Michael Snyder <msnyder@redhat.com>
1094
abf22e64 1095 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
1096 Don't use exec_bfd if it's NULL.
1097
290b2c7a
MK
10982002-01-06 Mark Kettenis <kettenis@gnu.org>
1099
abf22e64 1100 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 1101
aef21287
AC
11022002-01-06 Andrew Cagney <ac131313@redhat.com>
1103
1104 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1105 * gnu-nat.c: Ditto.
1106
30efa627
AC
11072002-01-06 Andrew Cagney <ac131313@redhat.com>
1108
1109 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1110 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1111 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1112 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1113 z8k-coff have not been multi-arched. Update z8k-coff build
1114 status.
1115
9b4ff276
AC
11162002-01-06 Andrew Cagney <ac131313@redhat.com>
1117
1118 * MAINTAINERS: Mark a29k target as obsolete.
1119 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1120 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1121 comments.
1122 * NEWS: Note that a29k targets are obsolete.
1123 * a29k-tdep.c: Mark as obsolete.
1124 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1125 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1126 a29k-*-vxworks* targets as obsolete.
1127 * remote-adapt.c: Obsolete.
1128 * remote-eb.c: Obsolete.
1129 * remote-mm.c: Obsolete.
1130 * remote-udi.c: Obsolete.
1131 * config/a29k/a29k-udi.mt: Obsolete.
1132 * config/a29k/a29k.mt: Obsolete.
1133 * config/a29k/tm-a29k.h: Obsolete.
1134 * config/a29k/tm-vx29k.h: Obsolete.
1135 * config/a29k/vx29k.mt: Obsolete.
1136
a9011d31
AC
11372002-01-05 Andrew Cagney <ac131313@redhat.com>
1138
1139 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1140 with BFD_ENDIAN_BIG.
1141
9299404e
AC
11422002-01-05 Andrew Cagney <ac131313@redhat.com>
1143
1144 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1145 * configure, config.in: Re-generate.
1146 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1147 * defs.h: Do not include <endian.h>.
1148
7e89e357
JT
11492002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1150
1151 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1152 * config.in: Regenerate.
1153 * configure.in: Update copyright years.
1154 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1155 * configure: Regenerate.
1156 * i386bsd-nat.c: Update copyright years.
1157 (fill_gregset): Use regcache_collect.
1158 (fetch_inferior_registers): Only fetch integer registers
1159 if requested to do so. Add support for XMM registers
1160 using PT_GETXMMREGS.
1161 (store_inferior_registers): Only store integer registers
1162 if requested to do so. Add support for XMM registers
1163 using PT_SETXMMREGS.
1164 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1165 (store_inferior_registers): Remove.
1166 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1167 (fetch_elfcore_registers): New function.
1168 (i386nbsd_elfcore_fns): New.
1169 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1170 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1171 i386bsd-nat.o.
1172 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1173 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1174 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1175 * config/i386/tm-nbsd.h: Update copyright years.
1176 (HAVE_SSE_REGS): Define.
1177 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1178 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1179 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1180 (SIGCONTEXT_PC_OFFSET): Remove.
1181 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1182
a752853e
AC
11832002-01-05 Andrew Cagney <ac131313@redhat.com>
1184
1185 * configure.tgt: Remove powerpc-*-macos* target.
1186 * config/m68k/xm-mpw.h: Delete file.
1187 * config/xm-mpw.h: Delete file.
1188 * ser-mac.c: Delete file.
1189 * mpw-make.sed: Delete file.
1190 * mpw-config.in: Delete file.
1191 * mac-xdep.c: Delete file.
1192 * mac-gdb.r: Delete file.
1193 * mac-defs.h: Delete file.
1194 * mac-nat.c: Delete file.
1195 * config/powerpc/macos.mh: Delete file.
1196 * config/powerpc/macos.mt: Delete file.
1197 * config/powerpc/nm-macos.h: Delete file.
1198 * config/powerpc/tm-macos.h: Delete file.
1199 * source.c (openp, open_source_file): Remove obsolete code.
1200 * top.c (gdb_readline): Ditto.
1201 * utils.c (query): Ditto.
1202 * event-top.c (display_gdb_prompt): Ditto.
1203 * Makefile.in (ser-mac.o): Delete obsolete target.
1204 * NEWS: Update.
1205
d7449b42
AC
12062002-01-04 Andrew Cagney <ac131313@redhat.com>
1207
1208 * defs.h (BIG_ENDIAN): Delete macro definition.
1209 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1210 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1211 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1212 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1213 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1214 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1215 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1216 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1217 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1218 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1219 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1220 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1221 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1222 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1223 * gdbarch.c: Re-generate.
1224
356374e8
DJ
12252002-01-04 Daniel Jacobowitz <drow@mvista.com>
1226
1227 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1228 for core files.
1229
a2b8f8f8
JT
12302002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1231
1232 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1233
12466af9
AC
12342002-01-04 Andrew Cagney <ac131313@redhat.com>
1235
1236 * value.h (value_ptr): Delete typedef.
1237
3549ab40
JT
12382002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1239
1240 * i386nbsd-nat.c: Update copyright years.
1241 Include i386-tdep.h.
1242
fedbd091
EZ
12432002-01-04 Elena Zannoni <ezannoni@redhat.com>
1244
1245 * stabsread.c: Update copyright years.
1246
1247 From Debashis Mahata <debashis.mahata@wipro.com>:
1248 (read_struct_fields): Deal with Sun C compiler erroneous stab
1249 output for structs and unions.
fec8b34f 1250 Fix PR gdb/269.
fedbd091 1251
eb43544b
DJ
12522002-01-04 Daniel Jacobowitz <drow@mvista.com>
1253
1254 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1255 prototype.
1256
1514d34e
DJ
12572002-01-04 Daniel Jacobowitz <drow@mvista.com>
1258
1259 * cp-abi.c: Fix whitespace.
1260 (baseclass_offset): New wrapper function.
1261 * cp-abi.h (baseclass_offset): Add prototype.
1262 (struct cp_abi_ops): Add baseclass_offset pointer.
1263
1264 * valops.c (vb_match): Move to...
1265 * gnu-v2-abi.c (vb_match): here.
1266 * valops.c (baseclass_offset): Move to...
1267 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1268
1269 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1270
1271 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1272 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1273 * hpacc-abi.c (init_hpacc_ops): Likewise.
1274
7f8c9282
DJ
12752002-01-04 Daniel Jacobowitz <drow@mvista.com>
1276
1277 * valops.c (find_overload_match): Accept obj as a
1278 reference parameter. Update it before returning.
1279 * value.h (find_overload_match): Update prototype.
1280 * eval.c (evaluate_subexp_standard): Pass object to
1281 find_overload_match by reference.
1282
f23631e4
AC
12832002-01-03 Andrew Cagney <ac131313@redhat.com>
1284
1285 * valarith.c: Replace value_ptr with struct value pointer. Remove
1286 register attribute from value declarations.
1287 * valops.c: Ditto.
1288 * value.h: Ditto.
1289 * scm-lang.c (scm_lookup_name): Ditto.
1290
79e10fab 12912002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 1292
79e10fab
AC
1293 Abstract the functionality of iterating over mapped memory
1294 regions into a general purpose iterator function.
abf22e64 1295 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
1296 iterator for memory sections.
1297 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1298 (solib_mappings_callback): New function, callback for above.
1299 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1300 (info_mappings_callback): New function, callback for above.
1301
1302 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1303
c5ad026a
MK
13042002-01-01 Mark Kettenis <kettenis@gnu.org>
1305
d2a7c97a
MK
1306 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1307 * i386-tdep.c: Include "elf-bfd.h".
1308 (process_note_abi_tag_sections): New function.
1309 (i386_gdbarch_init): Add code to recognize various OS/ABI
1310 combinations.
1311
c5ad026a
MK
1312 * maint.c (_initialize_maint_cmds): Add missing \ in
1313 string-literal.
1314
a1a5b71e 1315For older changes see ChangeLog-2001
c906108c
SS
1316\f
1317Local Variables:
1318mode: change-log
1319left-margin: 8
1320fill-column: 74
1321version-control: never
1322End:
This page took 0.374131 seconds and 4 git commands to generate.