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