2003-01-12 Michael Chastain <mec@shout.net>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2003-01-12 Michael Chastain <mec@shout.net>
2
3 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
4
5 2003-01-12 Michael Chastain <mec@shout.net>
6
7 * top.c (print_gdb_version): Bump copyright year to 2003.
8
9 2003-01-12 David Carlton <carlton@bactrian.org>
10
11 * linespec.c (symtab_from_filename): Rename variable 's' to
12 'file_symtab'.
13
14 2003-01-12 Andrew Cagney <ac131313@redhat.com>
15
16 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
17 dummy frame.
18 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
19
20 2003-01-12 Andrew Cagney <ac131313@redhat.com>
21
22 * d10v-tdep.c: Include "gdb_assert.h".
23 (d10v_store_return_value): Rewrite to match current interface.
24 (d10v_extract_struct_value_address): Ditto.
25 (d10v_extract_return_value): Ditto.
26 (d10v_gdbarch_init): Set store_restore_value,
27 extract_struct_value_address and extract_return_value.
28
29 2003-01-12 J. Brobecker <brobecker@gnat.com>
30
31 * hpread.c (set_namestring): New procedure replacing the
32 SET_NAMESTRING macro.
33 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
34 by calls to set_namestring.
35
36 2003-01-11 J. Brobecker <brobecker@gnat.com>
37
38 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
39 a compilation warning.
40 (hpread_process_one_debug_symbol): Likewise.
41
42 2003-01-10 David Carlton <carlton@math.stanford.edu>
43
44 * linespec.c (decode_line_1): Rename variable 's' to
45 'file_symtab'.
46 (decode_all_digits): Rename argument 's' to 'file_symtab'.
47 (decode_dollar): Ditto.
48 (decode_variable): Ditto.
49 (symbol_found): Ditto.
50
51 2003-01-09 Michael Chastain <mec@shout.net>
52
53 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
54
55 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
56
57 * win32-nat.c (set_process_privilege): New function.
58 (child_attach): Call set_process_privilege() to enable the
59 SE_DEBUG_NAME user privilege if available in process token.
60
61 2003-01-10 J. Brobecker <brobecker@gnat.com>
62
63 * hpread.c (hpread_process_one_debug_symbol): Fix a small
64 compilation error in the previous revision.
65
66 2003-01-09 David Carlton <carlton@math.stanford.edu>
67
68 * linespec.c: Update copyright.
69
70 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
71
72 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
73 than inferior_ptid.
74 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
75
76 2003-01-09 Andrew Cagney <ac131313@redhat.com>
77
78 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
79 Update comments.
80 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
81 (frame_saved_regs_zalloc): Update.
82 (frame_saved_regs_register_unwind): Update.
83 (create_new_frame): Update.
84 (get_prev_frame): Update.
85 (frame_extra_info_zalloc): Update.
86 (deprecated_get_frame_saved_regs): Update.
87 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
88 * cris-tdep.c: Update comment.
89
90 * somsolib.h: Fix function indentation.
91 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
92 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
93 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
94 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
95 * somsolib.c, inftarg.c: Remove assignment in if conditional.
96
97 * infrun.c (follow_fork): Use ISO C definition.
98 * expprint.c (print_subexp): Use xfree instead of free.
99 * charset.c: Include "gdb_string.h" instead of <string.h>.
100 (register_iconv_charsets): Use ISO C definition.
101 (host_charset, target_charset): Ditto.
102 * Makefile.in (charset.o): Update dependencies.
103 (mi-cmd-env.o): Update dependencies.
104
105 2003-01-08 Andrew Cagney <cagney@redhat.com>
106
107 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
108 get_frame_base.
109
110 2003-01-08 Andrew Cagney <ac131313@redhat.com>
111
112 * gdb_mbuild.sh: Add --keep option. When specified, keep the
113 build directories. Save edited gdb output in Mbuild.log. If a
114 build fails, remove any final GDB executable.
115
116 2003-01-08 Andrew Cagney <ac131313@redhat.com>
117
118 * gdb_mbuild.sh: Edit the output of `maint print architecture'
119 replacing hex constants with function names and stripping leading
120 file name directory prefixes.
121
122 2003-01-08 Andrew Cagney <cagney@redhat.com>
123
124 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
125 get_frame_base.
126
127 2003-01-08 David Carlton <carlton@math.stanford.edu>
128
129 * linespec.c (decode_line_1): Move code into decode_variable.
130 (decode_variable): New function.
131
132 2003-01-08 Andrew Cagney <ac131313@redhat.com>
133
134 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
135
136 2003-01-08 Andrew Cagney <cagney@redhat.com>
137
138 * cris-tdep.c (cris_frame_init_saved_regs): Use
139 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
140 saved_regs buffer.
141 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
142 (sh64_nofp_frame_init_saved_regs): Ditto.
143 (sh_fp_frame_init_saved_regs): Ditto.
144 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
145 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
146 * mcore-tdep.c (analyze_dummy_frame): Ditto.
147 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
148
149 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
150
151 * minsyms.c (lookup_minimal_symbol): Update comment.
152 (lookup_minimal_symbol_text): Update comment. Use the hash table.
153 (lookup_minimal_symbol_solib_trampoline): Likewise.
154
155 2003-01-08 Andrew Cagney <cagney@redhat.com>
156
157 * d10v-tdep.c (d10v_init_extra_frame_info): Use
158 frame_relative_level.
159
160 * alpha-tdep.c: Use get_frame_extra_info.
161 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
162 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
163 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
164 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
165
166 * alpha-tdep.c: Use get_next_frame.
167 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
168 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
169 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
170 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
171 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
172 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
173 * xstormy16-tdep.c: Ditto.
174
175 2003-01-07 Andrew Cagney <cagney@redhat.com>
176
177 * alpha-tdep.c: Use get_frame_base.
178 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
179 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
180 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
181 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
182 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
183 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
184 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
185 * config/sparc/tm-sparc.h: Ditto.
186
187 2003-01-07 Andrew Cagney <cagney@redhat.com>
188
189 * frame.c (deprecated_get_frame_context): New function.
190 (deprecated_set_frame_context): New function.
191 * frame.h (deprecated_get_frame_context): Declare.
192 (deprecated_set_frame_context): Declare.
193 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
194 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
195
196 2003-01-07 Andrew Cagney <cagney@redhat.com>
197
198 * frame.c (deprecated_set_frame_next_hack): New function.
199 (deprecated_set_frame_prev_hack): New function.
200 * frame.h (deprecated_set_frame_next_hack): Declare.
201 (deprecated_set_frame_prev_hack): Declare.
202 * mcore-tdep.c (analyze_dummy_frame): Use
203 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
204 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
205
206 2003-01-07 David Carlton <carlton@math.stanford.edu>
207
208 * linespec.c (decode_line_1): Move code into decode_dollar.
209 (decode_dollar): New function.
210
211 2003-01-07 Andrew Cagney <cagney@redhat.com>
212
213 * arm-tdep.c (arm_init_extra_frame_info): Use
214 deprecated_update_frame_base_hack.
215 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
216 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
217 (fix_frame_pointer): Ditto.
218 (mn10300_analyze_prologue): Ditto.
219
220 2003-01-07 Andrew Cagney <cagney@redhat.com>
221
222 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
223 extra_info using frame_extra_info_zalloc.
224 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
225 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
226 (sh64_init_extra_frame_info): Ditto.
227 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
228 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
229 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
230 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
231 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
232 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
233 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
234 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
235 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
236 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
237 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
238 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
239
240 * mn10300-tdep.c (analyze_dummy_frame): Use
241 deprecated_set_frame_extra_info_hack.
242 * mcore-tdep.c (analyze_dummy_frame): Ditto.
243
244 2003-01-07 J. Brobecker <brobecker@gnat.com>
245
246 * mdebugread.c (parse_symbol): Skip stProc entries which storage
247 class is not scText. These do not define "real" procedures.
248 (parse_partial_symbols): Likewise.
249
250 2003-01-06 Michael Snyder <msnyder@redhat.com>
251
252 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
253
254 2003-01-06 Andrew Cagney <ac131313@redhat.com>
255
256 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
257 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
258 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
259 deprecated_frame_xmalloc_with_cleanup.
260 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
261 deprecated_frame_xmalloc.
262 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
263 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
264
265 2003-01-06 Andrew Cagney <cagney@redhat.com>
266
267 * x86-64-linux-tdep.c: Include "osabi.h".
268 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
269
270 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
271
272 2003-01-06 Andrew Cagney <cagney@redhat.com>
273
274 * MAINTAINERS (Target Instruction Set Architectures): Update
275 arm-elf. Can be built with -Werror, has been multiarched.
276
277 * value.h (unpack_long): Make buffer parameter constant.
278 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
279 * scm-lang.h (scm_parse): Ditto.
280 * defs.h (extract_typed_address, extract_address): Ditto.
281 (extract_long_unsigned_integer): Ditto.
282 * inferior.h (unsigned_pointer_to_address): Ditto.
283 (signed_pointer_to_address): Ditto.
284 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
285 * gdbarch.h, gdbarch.c: Regenerate.
286 * findvar.c (extract_long_unsigned_integer): Update.
287 (extract_address): Update.
288 (extract_typed_address): Update.
289 (unsigned_pointer_to_address): Update.
290 * values.c (unpack_long): Update.
291 (unpack_double): Update.
292 (unpack_pointer): Update.
293 (unpack_field_as_long): Update.
294 * d10v-tdep.c (d10v_pointer_to_address): Update.
295 * avr-tdep.c (avr_pointer_to_address): Update.
296 * scm-lang.c (scm_unpack): Update.
297 * findvar.c (signed_pointer_to_address): Update.
298
299 2003-01-06 Michal Ludvig <mludvig@suse.cz>
300
301 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
302 since it is in i386-tdep.c.
303
304 2003-01-06 J. Brobecker <brobecker@gnat.com>
305
306 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
307 failure introduced in the previous change.
308
309 2003-01-05 Michael Chastain <mec@shout.net>
310
311 * README: Remove references to deleted remote-*.c files:
312 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
313 remote-nrom.c, remote-os9k.c, remote-udi.c.
314
315 2003-01-05 Mark Kettenis <kettenis@gnu.org>
316
317 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
318 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
319 i386_get_longjmp_target.
320
321 2003-01-05 Andrew Cagney <ac131313@redhat.com>
322
323 * arm-tdep.c (prologue_cache): Change to a pointer.
324 (_initialize_arm_tdep): Allocate prologue_cache.
325 (check_prologue_cache): Update.
326 (save_prologue_cache): Update.
327 (arm_gdbarch_init): Update.
328
329 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
330
331 * stabsread.c (update_method_name_from_physname): Call complaint()
332 instead of error.
333
334 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
335
336 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
337 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
338 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
339
340 * blockframe.c: Include "gdbcmd.h" and "command.h".
341 (backtrace_below_main): New variable.
342 (file_frame_chain_valid, func_frame_chain_valid)
343 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
344 (generic_func_frame_chain_valid): Remove functions.
345 (frame_chain_valid, do_flush_frames_sfunc): New functions.
346 (_initialize_blockframe): New function.
347 * Makefile.in (blockframe.o): Update dependencies.
348 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
349 comment. Call frame_chain_valid ().
350 * frame.h: Remove old prototypes. Add prototype for
351 frame_chain_valid and update comments to match.
352 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
353 Remove old comment.
354 * gdbarch.h: Regenerated.
355 * gdbarch.c: Regenerated.
356
357 * alpha-tdep.c (alpha_gdbarch_init): Don't call
358 set_gdbarch_frame_chain_valid.
359 * avr-tdep.c (avr_gdbarch_init): Likewise.
360 * cris-tdep.c (cris_gdbarch_init): Likewise.
361 * frv-tdep.c (frv_gdbarch_init): Likewise.
362 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
363 * i386-tdep.c (i386_svr4_init_abi): Likewise.
364 (i386_nw_init_abi): Likewise.
365 (i386_gdbarch_init): Likewise.
366 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
367 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
368 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
369 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
370 * mips-tdep.c (mips_gdbarch_init): Likewise.
371 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
372 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
373 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
374 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
375 * s390-tdep.c (s390_gdbarch_init): Likewise.
376 * sh-tdep.c (sh_gdbarch_init): Likewise.
377 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
378 * v850-tdep.c (v850_gdbarch_init): Likewise.
379 * vax-tdep.c (vax_gdbarch_init): Likewise.
380 * x86-64-tdep.c (x86_64_init_abi): Likewise.
381
382 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
383 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
384 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
385 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
386 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
387 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
388 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
389 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
390
391 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
392
393 * Makefile.in (acconfig_h): Remove incorrect macro.
394 (config_h): Define.
395 (osabi.o): Update dependencies.
396 * configure.tgt: Set gdb_osabi based on target triplet.
397 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
398 * configure: Regenerated.
399 * config.in: Regenerated.
400 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
401 (GDB_OSABI_DEFAULT): Define if not already defined.
402 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
403 (set_osabi_string): New variables.
404 (gdbarch_register_osabi): Add new OS ABI to
405 gdb_osabi_available_names.
406 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
407 (set_osabi, show_osabi): New functions.
408 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
409
410 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
411
412 * arch-utils.c (gdbarch_info_init): Set osabi to
413 GDB_OSABI_UNINITIALIZED.
414 * gdbarch.sh: Add osabi to struct gdbarch and to struct
415 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
416 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
417 * gdbarch.c: Regenerated.
418 * gdbarch.h: Regenerated.
419 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
420 there's no BFD.
421 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
422 * osabi.h (enum gdb_osabi): Move to defs.h.
423 (gdbarch_init_osabi): Update prototype.
424 * defs.h (enum gdb_osabi): Moved here.
425 * Makefile.in: Update dependencies.
426
427 * alpha-tdep.h: Don't include "osabi.h".
428 (struct gdbarch_tdep): Remove osabi member.
429 * alpha-tdep.c: Include "osabi.h".
430 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
431 iterate over arches. Update call to gdbarch_init_osabi.
432 (alpha_dump_tdep): Don't dump osabi.
433 * alpha-linux-tdep.c: Include "osabi.h".
434 * alpha-osf1-tdep.c: Include "osabi.h".
435 * alphafbsd-tdep.c: Include "osabi.h".
436 * alphanbsd-tdep.c: Include "osabi.h".
437
438 * arm-tdep.h: Don't include "osabi.h".
439 (struct gdbarch_tdep): Remove osabi member.
440 * arm-tdep.c: Include "osabi.h".
441 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
442 iterate over arches. Update call to gdbarch_init_osabi.
443 (arm_dump_tdep): Don't dump osabi.
444 * arm-linux-tdep.c: Include "osabi.h".
445 * armnbsd-tdep.c: Include "osabi.h".
446
447 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
448 Update call to gdbarch_init_osabi.
449
450 * i386-tdep.h: Don't include "osabi.h".
451 (struct gdbarch_tdep): Remove osabi member.
452 * i386-tdep.c: Include "osabi.h".
453 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
454 iterate over arches. Update call to gdbarch_init_osabi.
455 (i386_dump_tdep): Don't dump osabi.
456 * i386-linux-tdep.c: Include "osabi.h".
457 * i386-sol2-tdep.c: Include "osabi.h".
458 * i386bsd-tdep.c: Include "osabi.h".
459 * i386gnu-tdep.c: Include "osabi.h".
460 * i386ly-tdep.c: Include "osabi.h".
461 * i386nbsd-tdep.c: Include "osabi.h".
462 * i386obsd-tdep.c: Include "osabi.h".
463
464 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
465 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
466 check osabi when iterating over arches. Update call to
467 gdbarch_init_osabi.
468 (mips_dump_tdep): Don't dump osabi.
469
470 * ns32k-tdep.h: Don't include "osabi.h".
471 (struct gdbarch_tdep): Remove.
472 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
473 gdbarch_lookup_osabi. Don't iterate over arches. Don't
474 allocate tdep. Update call to gdbarch_init_osabi.
475 (ns32k_dump_tdep): Remove.
476 (_initialize_ns32k_tdep): Update call to gdbarch_register.
477 * ns32knbsd-tdep.c: Include "osabi.h".
478
479 * ppc-tdep.h: Don't include "osabi.h".
480 (struct gdbarch_tdep): Remove osabi member.
481 * rs6000-tdep.c: Include "osabi.h".
482 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
483 osabi when iterating over arches. Update call to
484 gdbarch_init_osabi.
485 (rs6000_dump_tdep): Don't dump osabi.
486 * ppc-linux-tdep.c: Include "osabi.h".
487 * ppcnbsd-tdep.c: Include "osabi.h".
488
489 * sh-tdep.h: Don't include "osabi.h".
490 (struct gdbarch_tdep): Remove osabi member.
491 * sh-tdep.c: Include "osabi.h".
492 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
493 iterate over arches. Update call to gdbarch_init_osabi.
494 (sh_dump_tdep): Don't dump osabi.
495 * shnbsd-tdep.c: Include "osabi.h".
496
497 * sparc-tdep.c: Include "osabi.h".
498 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
499 iterate over arches. Update call to gdbarch_init_osabi.
500 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
501 tdep structure.
502
503 * vax-tdep.h: Don't include "osabi.h".
504 (struct gdbarch_tdep): Remove.
505 * vax-tdep.c: Include "osabi.h".
506 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
507 iterate over arches. Don't allocate tdep. Update call
508 to gdbarch_init_osabi.
509 (vax_dump_tdep): Remove.
510 (_initialize_vax_tdep): Update call to gdbarch_register.
511
512 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
513
514 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
515 entirely.
516 (breakpoint_re_set_one): Don't fetch the value for a disabled
517 watchpoint.
518
519 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
520
521 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
522 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
523 (COERCE_FLOAT_TO_DOUBLE): Remove.
524 * gdbarch.c: Regenerate.
525 * gdbarch.h: Regenerate.
526 * Makefile.in: Remove value_h from gdbarch_h.
527 * valops.c (coerce_float_to_double): New variable.
528 (default_coerce_float_to_double): Remove.
529 (standard_coerce_float_to_double): Remove.
530 (value_arg_coerce): Use coerce_float_to_double.
531 (_initialize_valops): Add "set coerce-float-to-double".
532 * value.h (default_coerce_float_to_double): Remove prototype.
533 (standard_coerce_float_to_double): Remove prototype.
534
535 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
536 prototyped.
537 * mdebugread.c (parse_symbol): Likewise.
538 * stabsread.c (define_symbol): Mark all functions as prototyped.
539
540 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
541 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
542 set_gdbarch_coerce_float_to_double.
543 * arm-tdep.c (arm_gdbarch_init): Likewise.
544 * frv-tdep.c (frv_gdbarch_init): Likewise.
545 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
546 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
547 * mips-tdep.c (mips_gdbarch_init): Likewise.
548 (mips_coerce_float_to_double): Remove.
549 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
550 (rs6000_coerce_float_to_double): Remove.
551 * s390-tdep.c (s390_gdbarch_init): Likewise.
552 * sh-tdep.c (sh_gdbarch_init): Likewise.
553 (sh_coerce_float_to_double): Remove.
554 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
555 (sparc_coerce_float_to_double): Remove.
556 * v850-tdep.c (v850_gdbarch_init): Likewise.
557 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
558 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
559 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
560 (hppa_coerce_float_to_double): Remove prototype.
561 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
562
563 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
564
565 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
566
567 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
568
569 Suggested by Stewart Brown <sb24@avaya.com>:
570 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
571 in recursive calls. Handle TYPE_CODE_TYPEDEF.
572 (c_type_print_varspec_suffix): Likewise.
573
574 2003-01-04 Mark Kettenis <kettenis@gnu.org>
575
576 * configure.in: Don't set and AC_SUBST SUBDIRS.
577 * configure: Regenerated.
578
579 * configure.in: Remove code dealing with shared libraries.
580 * Makefile.in: Remove HLDFLAGS and HLDENV.
581 * configure: Regenerated.
582
583 2003-01-04 Andrew Cagney <ac131313@redhat.com>
584
585 * frame.c (deprecated_frame_xmalloc): New function.
586 (deprecated_set_frame_saved_regs_hack): New function.
587 (deprecated_set_frame_extra_info_hack): New function.
588 * frame.h (deprecated_frame_xmalloc): Declare.
589 (deprecated_set_frame_saved_regs_hack): Declare.
590 (deprecated_set_frame_extra_info_hack): Declare.
591
592 2003-01-04 Mark Kettenis <kettenis@gnu.org>
593
594 * configure.in: Move code that provides the --enable-gdbtk option
595 right after the code that handles the --enable-tui option, and
596 polish it somewhat.
597 * configure: Regenerated.
598
599 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
600 AC_CHECK_FUNCS and remove the old check for pread64.
601 * acinclude.m4 (AC_GNU_SOURCE): New macro.
602 * acconfig.h (_GNU_SOURCE): Add.
603 (HAVE_PREAD64): Remove.
604 * configure, aclocal.m4, config.in: Regenerated.
605
606 2003-01-03 Andrew Cagney <ac131313@redhat.com>
607
608 * alpha-tdep.c: Use get_frame_saved_regs.
609 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
610 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
611 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
612 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
613 * vax-tdep.c, xstormy16-tdep.c: Ditto.
614
615 2003-01-03 Mark Kettenis <kettenis@gnu.org>
616
617 * configure.in: Remove all use of the SUBDIRS variable; add
618 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
619 code providing the --enable-multi-ice option, and move it right in
620 front of the code that checks whether gdbserver is supported.
621 Polish that too.
622 * configure: Regenerated.
623 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
624 @SUBDIRS@.
625
626 2003-01-03 Andrew Cagney <cagney@redhat.com>
627
628 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
629 * avr-tdep.c, cris-tdep.c: Ditto.
630 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
631 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
632
633 2003-01-03 Mark Kettenis <kettenis@gnu.org>
634
635 * configure.in: Remove --enable-netrom option.
636 * configure: Regenerated.
637
638 2003-01-03 Mark Kettenis <kettenis@gnu.org>
639
640 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
641 declaration for `struct re_pattern_buffer' instead.
642 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
643
644 2003-01-03 J. Brobecker <brobecker@gnat.com>
645
646 * mdebugread.c (parse_symbol): Count until the stEnd matching
647 the structure name.
648
649 2003-01-02 Mark Kettenis <kettenis@gnu.org>
650
651 * configure.in: Remove --with-cpu option.
652 subscripts. Remove evil changequotes here.
653 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
654 * config.in, configure: Regenerated.
655
656 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
657 * configure.in: Cleanup section that sources GDB and BFD configure
658 subscripts. Remove evil changequotes here.
659 * config.in, configure: Regenerated.
660
661 2003-01-02 Andrew Cagney <ac131313@redhat.com>
662
663 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
664 frame accessor methods.
665 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
666 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
667 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
668 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
669 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
670 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
671 * z8k-tdep.c: Ditto.
672
673 2003-01-02 Mark Kettenis <kettenis@gnu.org>
674
675 * configure.in: Remove UI_OUT configuration code.
676 * ada-lang.c: Update assuming UI_OUT is always true.
677 * Makefile.in (UIOUT_CFLAGS): Remove.
678 * configure: Regenerated.
679 * TODO: Remove blurb about elimination of -DUI_OUT.
680
681 * configure.in: Move code that provides the --enable-gdbcli,
682 --enable-gdbmi options right before the code that handles the
683 --enable-tui option. Polish a bit.
684 * configure: Regenerated.
685
686 * configure.in: Rewrite check for GNU regex and the
687 --without-included regex option, and move it into the "Checks for
688 library functions" section. This makes us use the system regex
689 again by default on systems with version 2 of the GNU C library.
690 This was apparently broken.
691 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
692 * acconfig.h (USE_INCLUDED_REGEX): Remove.
693 * config.in, configure: Regenerated.
694
695 * configure.in: Move code that provides the --enable-tui option
696 before the "Checks for libraries" section. Polish the code
697 somewhat and set need_curses to yes if we build the TUI. Rewrite
698 code that looks for a library providing termcap functionality to
699 match more closely what's done in the Readline library, and move
700 it into to the "Checks for libraries" section.
701 * configure: Regenerated.
702 * Makefile.in (TERMCAP): Remove variable.
703 * config/i386/go32.mh (TERMCAP): Remove variable.
704
705 2003-01-02 Andrew Cagney <ac131313@redhat.com>
706
707 * MAINTAINERS: Mention gdb_mbuild.sh.
708 * gdb_mbuild.sh: Rewrite.
709
710 2003-01-02 Mark Kettenis <kettenis@gnu.org>
711
712 * configure.in: Fix typo in last change.
713 * config.in, configure: Regenerated.
714
715 2003-01-02 Andrew Cagney <ac131313@redhat.com>
716
717 * valarith.c (value_binop): Delete obsolete code and comments.
718 * configure.host: Ditto.
719 * buildsym.h (make_blockvector): Ditto.
720 * buildsym.c (make_blockvector): Ditto.
721 * defs.h (enum language): Ditto.
722 (chill_demangle): Ditto.
723 * elfread.c (elf_symtab_read): Ditto.
724 * dwarfread.c (CHILL_PRODUCER): Ditto.
725 (set_cu_language): Ditto.
726 (handle_producer): Ditto.
727 * expprint.c (print_subexp): Ditto.
728 * gdbtypes.c (chill_varying_type): Ditto.
729 * gdbtypes.h (builtin_type_chill_bool): Ditto.
730 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
731 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
732 (chill_varying_type): Ditto.
733 * language.h (_LANG_chill): Ditto.
734 * language.c (binop_result_type, integral_type): Ditto.
735 (character_type, string_type, structured_type): Ditto.
736 (lang_bool_type, binop_type_check): Ditto.
737 * stabsread.h (os9k_stabs): Ditto.
738 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
739 (define_symbol, read_type, read_struct_fields): Ditto.
740 (read_array_type, read_enum_type, read_huge_number): Ditto.
741 (read_range_type, start_stabs): Ditto.
742 * symfile.c (init_filename_language_table): Ditto.
743 (add_psymbol_with_dem_name_to_list): Ditto.
744 * symtab.c (symbol_init_language_specific): Ditto.
745 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
746 * symtab.h (struct general_symbol_info): Ditto.
747 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
748 * typeprint.c (typedef_print): Ditto.
749 * utils.c (fprintf_symbol_filtered): Ditto.
750 * valops.c (value_cast, search_struct_field, value_slice): Delete
751 obsolete code.
752 (varying_to_slice): Delete function.
753 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
754 (varying_to_slice): Delete declaration.
755 * MAINTAINERS: Update.
756
757 2003-01-02 Mark Kettenis <kettenis@gnu.org>
758
759 * configure.in: Reorganize "Checks for library functions section"
760 a bit. Remove check for `btowc' and `isascii' functions.
761 * configure: Regenerated.
762
763 * acconfig.h (_MSE_INT_H): Remove.
764 * configure.in: Create "Checks for header files" section, and move
765 appropriate tests there. Don't check for objlist.h, wchar.h,
766 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
767 misdetection fix. Also add "Checks for types", "Checks for
768 compiler characteristics" and "Checks for library functions"
769 sections.
770 * config.in, configure: Regenerated.
771
772 * configure.in: Create "Checks for programs" section, and move
773 appropriate tests there.
774
775 2003-01-01 Mark Kettenis <kettenis@gnu.org>
776
777 * configure.in: Create "Checks for libraries" section, and move
778 appropriate tests there. Cleanup check for wctype in libw. Use
779 AC_SEARCH_LIBS to see whether we need libsocket.
780 * configure: Regenerated.
781
782 For older changes see ChangeLog-2002
783 \f
784 Local Variables:
785 mode: change-log
786 left-margin: 8
787 fill-column: 74
788 version-control: never
789 End:
This page took 0.048581 seconds and 5 git commands to generate.