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