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