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