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