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