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