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