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