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