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