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