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