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