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