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