* symfile.c (syms_from_objfile): Don't print the "(no debugging
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2003-01-23 Jim Blandy <jimb@redhat.com>
2
3 * symfile.c (syms_from_objfile): Don't print the "(no debugging
4 symbols found)" message here; we haven't checked for a separate
5 debug info file yet, so we don't know yet.
6 (symbol_file_add_with_addrs_or_offsets): Print it here, after
7 we've looked everywhere. Also, there's no need to print a special
8 message when we're loading the separate debug info file: the one
9 symbol_file_add prints is fine.
10
11 2003-01-23 Alexander Larsson <alexl@redhat.com>
12 Jim Blandy <jimb@redhat.com>
13
14 Add support for executables whose debug info has been separated
15 out into a separate file, leaving only a link behind.
16 * objfiles.h (struct objfile): New fields: separate_debug_objfile
17 and separate_debug_objfile_backlink.
18 (put_objfile_before): New declaration.
19 * symfile.c: #include "filenames.h".
20 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
21 debug info in a separate file, read that, too. Save the addrs
22 argument, so we can use it again to read the separated debug info;
23 syms_from_objfile modifies the table we pass it.
24 (reread_symbols): After re-reading an objfile, call
25 reread_separate_symbols to refresh its separate debug info
26 objfile, if it has one.
27 (reread_separate_symbols, find_separate_debug_file,
28 get_debug_link_info, separate_debug_file_exists): New functions.
29 (debug_file_directory): New global var.
30 (_initialize_symfile): Initialize debug_file_directory, and
31 provide the new `set debug-file-directory' command to let the user
32 change it.
33 * objfiles.c (free_objfile): If this objfile has its debug info in
34 a separate objfile, free that one too. If this is itself a
35 separate debug info objfile, clear our parent's backlink.
36 (put_objfile_before): New function.
37 * utils.c (gnu_debuglink_crc32): New function.
38 * defs.h (gnu_debuglink_crc32): New declaration.
39 * Makefile.in (symfile.o): Note dependency on "filenames.h".
40 * configure.in: Handle --with-separate-debug-dir config option.
41 * acinclude.m4 (AC_DEFINE_DIR): New macro.
42 * acconfig.h (DEBUGDIR): New macro.
43 * configure, aclocal.m4, config.in: Regenerated.
44
45 2003-01-22 Jim Blandy <jimb@redhat.com>
46
47 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
48 like the old symbol_file_add, but taking new arguments: you can
49 now pass in either a `struct section_addr_info' list to say where
50 each section is loaded, or a `struct section_offsets' table. Pass
51 these new arguments through to syms_from_objfile as appropriate.
52 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
53 with the appropriate quiescent values for the new arguments.
54
55 * symfile.c: #include "gdb_assert.h".
56 (syms_from_objfile): Add the ability to pass in a section offset
57 table directly, as an alternative to the section_addr_info table.
58 Document arguments better.
59 (symbol_file_add): Pass extra arguments to syms_from_objfile.
60 * symfile.h (syms_from_objfile): Update declaration.
61 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
62 syms_from_objfile.
63 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
64
65 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
66
67 Original patch by Tom Tromey <tromey@cygnus.com> and
68 Jason Molenda <jmolenda@apple.com>.
69 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
70 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
71 * NEWS: Mention profiling.
72 * configure.in (--enable-gdbtk): Fix typo.
73 (--enable-profiling): New. Set PROFILE_CFLAGS.
74 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
75 Fill in function.
76 (profiling_state): New variable.
77 (mcleanup_wrapper): New function.
78 (_initialize_maint): Remove NOTYET, fix call to
79 add_setshow_boolean_cmd for "maint set profile".
80 * configure: Regenerated.
81
82 2003-01-21 Martin M. Hunt <hunt@redhat.com>
83
84 * Makefile.in (install-gdbtk): Install PNG images too.
85
86 2003-01-21 Andrew Cagney <ac131313@redhat.com>
87
88 * exec.c (text_start): Delete global variable.
89 (exec_file_attach): Make text_start local to the function.
90 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
91 * valops.c (hand_function_call): Delete code that handles
92 BEFORE_TEXT_END and AFTER_TEXT_END.
93 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
94 of CALL_DUMMY_LOCATION.
95 * gdbarch.c: Regenerate.
96 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
97 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
98 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
99 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
100 (text_end): Delete extern declaration.
101
102 2003-01-21 Andrew Cagney <ac131313@redhat.com>
103
104 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
105 * blockframe.c (backtrace_below_main): Move to "frame.c".
106 (frame_chain_valid): Delete check for backtrace_below_main.
107 (_initialize_blockframe): Delete initialization, move ``set
108 backtrace-below-main'' command to "frame.c".
109 (do_flush_frames_sfunc): Delete function.
110 * frame.c: Include "command.h" and "gdbcmd.h".
111 (frame_type_from_pc): New function.
112 (create_new_frame): Use frame_type_from_pc.
113 (legacy_get_prev_frame): New function.
114 (get_prev_frame): Rewrite. When an old style frame, call
115 legacy_get_prev_frame. Otherwize, unwind the PC first.
116 (_initialize_frame): Add ``set backtrace-below-main'' command.
117 * Makefile.in (frame.o): Update dependencies.
118
119 2003-01-19 Andrew Cagney <ac131313@redhat.com>
120
121 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
122 DEPRECATED_REGISTERS_INFO.
123
124 2003-01-19 Andrew Cagney <ac131313@redhat.com>
125
126 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
127 Maintainers'. Update `Various Maintainers'.
128
129 2003-01-19 Andrew Cagney <ac131313@redhat.com>
130
131 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
132 * gdbarch.sh (POP_FRAME): Change to function with predicate.
133 Suppress actual parameters when `-'.
134 * gdbarch.h, gdbarch.c: Regenerate.
135
136 2003-01-19 Andrew Cagney <ac131313@redhat.com>
137
138 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
139 code handling dummy frames.
140
141 2003-01-19 Andrew Cagney <ac131313@redhat.com>
142
143 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
144 (struct frame_unwind): Add field pop.
145 * frame.h (frame_pop): Declare.
146 * frame.c (frame_saved_regs_pop): New function.
147 (trad_frame_unwinder): Add frame_saved_regs_pop.
148 (frame_pop): New function.
149 * dummy-frame.c (dummy_frame_pop): New function.
150 (discard_innermost_dummy): New function.
151 (generic_pop_dummy_frame): Use discard_innermost_dummy.
152 (dummy_frame_unwind): Add dummy_frame_pop.
153 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
154 * valops.c (hand_function_call): Ditto.
155 * stack.c (return_command): Ditto.
156
157 2003-01-18 Andrew Cagney <ac131313@redhat.com>
158
159 * cris-tdep.c: Fix function declaration indentation.
160 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
161 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
162 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
163 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
164 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
165 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
166
167 2003-01-18 Michael Chastain <mec@shout.net>
168
169 * README (Unpacking and Installation -- quick overview):
170 Warn against ".../gdb-5.3/gdb/configure".
171
172 2003-01-18 Andrew Cagney <ac131313@redhat.com>
173
174 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
175 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
176 (struct frame_unwind): Declare opaque.
177 (dummy_frame_p): Declare function.
178 * dummy-frame.c (dummy_frame_id_unwind): Make static.
179 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
180 * dummy-frame.c: Include "frame-unwind.h".
181 (dummy_frame_p): New function.
182 (dummy_frame_unwind): New variable.
183 * frame.c: Include "frame-unwind.h".
184 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
185 to use the new unwind field.
186 (set_unwind_by_pc): Delete function.
187 (create_new_frame, get_prev_frame): Set unwind field using
188 frame_unwind_find_by_pc.
189 (trad_frame_unwind, trad_frame_unwinder): New variables.
190 * frame.h (trad_frame_unwind): Declare variable.
191 (frame_id_unwind_ftype): Delete declaration.
192 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
193 (struct frame_unwind): Declare opaque.
194 (struct frame_info): Replace the fields id_unwind, pc_unwind and
195 register_unwind with a single unwind pointer.
196 * frame-unwind.h, frame-unwind.c: New files.
197 * Makefile.in (SFILES): Add frame-unwind.c.
198 (frame_unwind_h): Define.
199 (COMMON_OBS): Add frame-unwind.o.
200 (frame-unwind.o): Specify dependencies.
201 (frame.o, dummy-frame.o): Update dependencies.
202
203 2003-01-18 Andrew Cagney <ac131313@redhat.com>
204
205 * ada-valprint.c: Eliminate PTR.
206 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
207 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
208 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
209 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
210 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
211 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
212 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
213
214 2003-01-17 Andrew Cagney <ac131313@redhat.com>
215
216 * main.c (captured_main): Don't use PTR.
217 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
218 * gdbtypes.c (lookup_primitive_typename): Ditto.
219 (lookup_struct_elt_type): Ditto.
220 * f-valprint.c (info_common_command): Ditto.
221 (list_all_visible_commons): Ditto.
222 * jv-typeprint.c (java_type_print_base): Ditto.
223
224 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
225 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
226 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
227 i386-interix-nat.c and i386-interix-tdep.c. Rename
228 m68klinux-nat.c and m68klinux-tdep.c. Rename
229 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
230 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
231 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
232 * main.c (captured_main): Use xfree, not free.
233
234 2003-01-16 Andrew Cagney <ac131313@redhat.com>
235
236 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
237 ID back using a parameter.
238 * frame.c (frame_id_unwind): Update call.
239 (frame_saved_regs_id_unwind): Update.
240 * dummy-frame.c (dummy_frame_id_unwind): Update function.
241 * dummy-frame.h (struct frame_id): Add opaque declaration.
242 (dummy_frame_id_unwind): Update declaration.
243
244 2003-01-15 Andrew Cagney <ac131313@redhat.com>
245
246 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
247
248 2003-01-15 Stephen P. Smith <ischis2@cox.net>
249
250 * MAINTAINERS (Stephen P. Smith): Updated email address.
251
252 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
253
254 * breakpoint.c (until_break_command): Add new argument. Use it to
255 decide whether to stop only at the current frame or not.
256 * breakpoint.h (until_break_command): Update prototype.
257 * infcmd.c (until_command): Add new argument to until_break_command
258 call.
259 (advance_command): New function.
260 (_initialize_infcmd): Update help string for 'until' command.
261 Add new 'advance' command.
262
263 2003-01-14 David Carlton <carlton@math.stanford.edu>
264
265 * linespec.c (decode_line_1): Normalize comments.
266 (set_flags): Ditto.
267 (locate_first_half): Ditto.
268 (decode_compound): Ditto.
269 (symtab_from_filename): Ditto.
270 (decode_all_digits): Ditto.
271 (decode_dollar): Ditto.
272 (find_methods): Ditto.
273 (find_toplevel_char): Ditto.
274
275 2003-01-13 Andrew Cagney <ac131313@redhat.com>
276
277 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
278 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
279 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
280 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
281 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
282 * language.c, language.h, m32r-tdep.c: Update copyright.
283 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
284 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
285 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
286 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
287 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
288 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
289
290 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
291
292 * stabsread.h (process_later, resolve_cfront_continuation):
293 Obsolete.
294 Update copyright years.
295 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
296 Update copyright year.
297 * dbxread.c(struct cont_elem): Obsolete.
298 (process_later, process_now): Obsolete functions.
299 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
300 Update copyright year.
301 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
302 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
303 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
304 (parse_partial_symbols): Obsolete cfront support.
305 * stabsread.c
306 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
307 macros.
308 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
309 read_cfront_baseclasses, read_cfront_member_functions,
310 resolve_cfront_continuation,read_cfront_static_fields,
311 copy_cfront_struct_fields): Obsolete functions.
312 (define_symbol, read_one_struct_field): Obsolete cfront support.
313 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
314 Update Copyright year.
315
316 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
317
318 * stack.c (print_frame_info, print_stack_frame_base_stub,
319 print_stack_frame_base, show_and_print_stack_frame_stub,
320 show_and_print_stack_frame, print_only_stack_frame_stub,
321 print_only_stack_frame): Delete functions.
322 (print_stack_frame_stub): Call print_frame_info instead of
323 print_frame_info_base.
324 (print_frame_info_base): Rename to print_frame_info.
325 (backtrace_command_1): Call print_frame_info, instead of
326 print_frame_info_base.
327 (current_frame_command): Call print_stack_frame, instead of
328 print_only_stack_frame.
329 (frame_command): Call print_stack_frame, instead of
330 show_and_print_stack_frame.
331 (up_command): Ditto.
332 (down_command): Ditto.
333 * frame.h (print_only_stack_frame): Delete prototype.
334 * infrun.c (normal_stop): Call print_stack_frame, instead of
335 show_and_print_stack_frame.
336 * thread.c (info_threads_command): Call print_stack_frame, instead
337 of print_only_stack_frame.
338
339 2003-01-13 Andrew Cagney <ac131313@redhat.com>
340
341 * README (Graphical interface to GDB): Update URL. Point at
342 gdb/links/.
343
344 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
345 version match.
346
347 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
348
349 * symtab.c (find_pc_sect_line): Don't consider end-of-function
350 lines.
351
352 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
353
354 * thread-db.c (attach_thread): Prototype.
355 (struct private_thread_info): Remove lwpid. Add thread handle (th),
356 thread information (ti), and valid flags (th_valid, ti_valid).
357 (attach_thread): Move target_pid_to_str call to after the thread
358 is added to GDB's list. Initialize the cache.
359 (thread_get_info_callback, thread_db_map_id2thr)
360 (thread_db_get_info): New functions.
361 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
362 (thread_db_store_registers, thread_db_thread_alive)
363 (thread_db_get_thread_local_address): Use them.
364 (thread_db_pid_to_str): Likewise. Return "Missing" instead
365 of calling error() for threads in unknown state.
366
367 (clear_lwpid_callback): New function.
368 (thread_db_resume): Use it to clear the cache.
369
370 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
371
372 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
373 (resume_callback): Remove dead code.
374
375 2003-01-13 Andrew Cagney <ac131313@redhat.com>
376
377 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
378 predicate.
379 * gdbarch.h, gdbarch.c: Regenerate.
380 * stack.c (frame_info): Only initialize the saved registers when
381 FRAME_INIT_SAVED_REGS_P.
382 * frame.c (frame_saved_regs_register_unwind): Assert
383 FRAME_INIT_SAVED_REGS_P.
384 (deprecated_generic_get_saved_register): Ditto.
385
386 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
387
388 * source.c (openp): Squelch warning about "filename".
389
390 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
391
392 * source.c (openp): If the file does not exist don't necessarily
393 search the path.
394
395 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
396
397 Fix PR gdb/872.
398 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
399 (integer_types_same_name_p): New function.
400 (rank_one_type): Use it.
401 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
402
403 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
404
405 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
406 variables.
407 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
408 * configure.in: Add --with-sysroot.
409 * configure: Regenerated.
410 * main.c (gdb_sysroot): New variable.
411 (captured_main): Initialize gdb_sysroot.
412 * defs.h (gdb_sysroot): New extern declaration.
413 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
414
415 2003-01-12 Michael Chastain <mec@shout.net>
416
417 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
418
419 2003-01-12 Michael Chastain <mec@shout.net>
420
421 * top.c (print_gdb_version): Bump copyright year to 2003.
422
423 2003-01-12 David Carlton <carlton@bactrian.org>
424
425 * linespec.c (symtab_from_filename): Rename variable 's' to
426 'file_symtab'.
427
428 2003-01-12 Andrew Cagney <ac131313@redhat.com>
429
430 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
431 dummy frame.
432 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
433
434 2003-01-12 Andrew Cagney <ac131313@redhat.com>
435
436 * d10v-tdep.c: Include "gdb_assert.h".
437 (d10v_store_return_value): Rewrite to match current interface.
438 (d10v_extract_struct_value_address): Ditto.
439 (d10v_extract_return_value): Ditto.
440 (d10v_gdbarch_init): Set store_restore_value,
441 extract_struct_value_address and extract_return_value.
442
443 2003-01-12 J. Brobecker <brobecker@gnat.com>
444
445 * hpread.c (set_namestring): New procedure replacing the
446 SET_NAMESTRING macro.
447 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
448 by calls to set_namestring.
449
450 2003-01-11 J. Brobecker <brobecker@gnat.com>
451
452 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
453 a compilation warning.
454 (hpread_process_one_debug_symbol): Likewise.
455
456 2003-01-10 David Carlton <carlton@math.stanford.edu>
457
458 * linespec.c (decode_line_1): Rename variable 's' to
459 'file_symtab'.
460 (decode_all_digits): Rename argument 's' to 'file_symtab'.
461 (decode_dollar): Ditto.
462 (decode_variable): Ditto.
463 (symbol_found): Ditto.
464
465 2003-01-09 Michael Chastain <mec@shout.net>
466
467 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
468
469 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
470
471 * win32-nat.c (set_process_privilege): New function.
472 (child_attach): Call set_process_privilege() to enable the
473 SE_DEBUG_NAME user privilege if available in process token.
474
475 2003-01-10 J. Brobecker <brobecker@gnat.com>
476
477 * hpread.c (hpread_process_one_debug_symbol): Fix a small
478 compilation error in the previous revision.
479
480 2003-01-09 David Carlton <carlton@math.stanford.edu>
481
482 * linespec.c: Update copyright.
483
484 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
485
486 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
487 than inferior_ptid.
488 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
489
490 2003-01-09 Andrew Cagney <ac131313@redhat.com>
491
492 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
493 Update comments.
494 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
495 (frame_saved_regs_zalloc): Update.
496 (frame_saved_regs_register_unwind): Update.
497 (create_new_frame): Update.
498 (get_prev_frame): Update.
499 (frame_extra_info_zalloc): Update.
500 (deprecated_get_frame_saved_regs): Update.
501 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
502 * cris-tdep.c: Update comment.
503
504 * somsolib.h: Fix function indentation.
505 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
506 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
507 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
508 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
509 * somsolib.c, inftarg.c: Remove assignment in if conditional.
510
511 * infrun.c (follow_fork): Use ISO C definition.
512 * expprint.c (print_subexp): Use xfree instead of free.
513 * charset.c: Include "gdb_string.h" instead of <string.h>.
514 (register_iconv_charsets): Use ISO C definition.
515 (host_charset, target_charset): Ditto.
516 * Makefile.in (charset.o): Update dependencies.
517 (mi-cmd-env.o): Update dependencies.
518
519 2003-01-08 Andrew Cagney <cagney@redhat.com>
520
521 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
522 get_frame_base.
523
524 2003-01-08 Andrew Cagney <ac131313@redhat.com>
525
526 * gdb_mbuild.sh: Add --keep option. When specified, keep the
527 build directories. Save edited gdb output in Mbuild.log. If a
528 build fails, remove any final GDB executable.
529
530 2003-01-08 Andrew Cagney <ac131313@redhat.com>
531
532 * gdb_mbuild.sh: Edit the output of `maint print architecture'
533 replacing hex constants with function names and stripping leading
534 file name directory prefixes.
535
536 2003-01-08 Andrew Cagney <cagney@redhat.com>
537
538 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
539 get_frame_base.
540
541 2003-01-08 David Carlton <carlton@math.stanford.edu>
542
543 * linespec.c (decode_line_1): Move code into decode_variable.
544 (decode_variable): New function.
545
546 2003-01-08 Andrew Cagney <ac131313@redhat.com>
547
548 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
549
550 2003-01-08 Andrew Cagney <cagney@redhat.com>
551
552 * cris-tdep.c (cris_frame_init_saved_regs): Use
553 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
554 saved_regs buffer.
555 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
556 (sh64_nofp_frame_init_saved_regs): Ditto.
557 (sh_fp_frame_init_saved_regs): Ditto.
558 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
559 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
560 * mcore-tdep.c (analyze_dummy_frame): Ditto.
561 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
562
563 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
564
565 * minsyms.c (lookup_minimal_symbol): Update comment.
566 (lookup_minimal_symbol_text): Update comment. Use the hash table.
567 (lookup_minimal_symbol_solib_trampoline): Likewise.
568
569 2003-01-08 Andrew Cagney <cagney@redhat.com>
570
571 * d10v-tdep.c (d10v_init_extra_frame_info): Use
572 frame_relative_level.
573
574 * alpha-tdep.c: Use get_frame_extra_info.
575 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
576 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
577 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
578 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
579
580 * alpha-tdep.c: Use get_next_frame.
581 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
582 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
583 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
584 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
585 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
586 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
587 * xstormy16-tdep.c: Ditto.
588
589 2003-01-07 Andrew Cagney <cagney@redhat.com>
590
591 * alpha-tdep.c: Use get_frame_base.
592 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
593 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
594 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
595 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
596 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
597 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
598 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
599 * config/sparc/tm-sparc.h: Ditto.
600
601 2003-01-07 Andrew Cagney <cagney@redhat.com>
602
603 * frame.c (deprecated_get_frame_context): New function.
604 (deprecated_set_frame_context): New function.
605 * frame.h (deprecated_get_frame_context): Declare.
606 (deprecated_set_frame_context): Declare.
607 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
608 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
609
610 2003-01-07 Andrew Cagney <cagney@redhat.com>
611
612 * frame.c (deprecated_set_frame_next_hack): New function.
613 (deprecated_set_frame_prev_hack): New function.
614 * frame.h (deprecated_set_frame_next_hack): Declare.
615 (deprecated_set_frame_prev_hack): Declare.
616 * mcore-tdep.c (analyze_dummy_frame): Use
617 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
618 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
619
620 2003-01-07 David Carlton <carlton@math.stanford.edu>
621
622 * linespec.c (decode_line_1): Move code into decode_dollar.
623 (decode_dollar): New function.
624
625 2003-01-07 Andrew Cagney <cagney@redhat.com>
626
627 * arm-tdep.c (arm_init_extra_frame_info): Use
628 deprecated_update_frame_base_hack.
629 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
630 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
631 (fix_frame_pointer): Ditto.
632 (mn10300_analyze_prologue): Ditto.
633
634 2003-01-07 Andrew Cagney <cagney@redhat.com>
635
636 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
637 extra_info using frame_extra_info_zalloc.
638 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
639 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
640 (sh64_init_extra_frame_info): Ditto.
641 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
642 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
643 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
644 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
645 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
646 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
647 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
648 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
649 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
650 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
651 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
652 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
653
654 * mn10300-tdep.c (analyze_dummy_frame): Use
655 deprecated_set_frame_extra_info_hack.
656 * mcore-tdep.c (analyze_dummy_frame): Ditto.
657
658 2003-01-07 J. Brobecker <brobecker@gnat.com>
659
660 * mdebugread.c (parse_symbol): Skip stProc entries which storage
661 class is not scText. These do not define "real" procedures.
662 (parse_partial_symbols): Likewise.
663
664 2003-01-06 Michael Snyder <msnyder@redhat.com>
665
666 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
667
668 2003-01-06 Andrew Cagney <ac131313@redhat.com>
669
670 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
671 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
672 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
673 deprecated_frame_xmalloc_with_cleanup.
674 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
675 deprecated_frame_xmalloc.
676 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
677 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
678
679 2003-01-06 Andrew Cagney <cagney@redhat.com>
680
681 * x86-64-linux-tdep.c: Include "osabi.h".
682 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
683
684 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
685
686 2003-01-06 Andrew Cagney <cagney@redhat.com>
687
688 * MAINTAINERS (Target Instruction Set Architectures): Update
689 arm-elf. Can be built with -Werror, has been multiarched.
690
691 * value.h (unpack_long): Make buffer parameter constant.
692 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
693 * scm-lang.h (scm_parse): Ditto.
694 * defs.h (extract_typed_address, extract_address): Ditto.
695 (extract_long_unsigned_integer): Ditto.
696 * inferior.h (unsigned_pointer_to_address): Ditto.
697 (signed_pointer_to_address): Ditto.
698 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
699 * gdbarch.h, gdbarch.c: Regenerate.
700 * findvar.c (extract_long_unsigned_integer): Update.
701 (extract_address): Update.
702 (extract_typed_address): Update.
703 (unsigned_pointer_to_address): Update.
704 * values.c (unpack_long): Update.
705 (unpack_double): Update.
706 (unpack_pointer): Update.
707 (unpack_field_as_long): Update.
708 * d10v-tdep.c (d10v_pointer_to_address): Update.
709 * avr-tdep.c (avr_pointer_to_address): Update.
710 * scm-lang.c (scm_unpack): Update.
711 * findvar.c (signed_pointer_to_address): Update.
712
713 2003-01-06 Michal Ludvig <mludvig@suse.cz>
714
715 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
716 since it is in i386-tdep.c.
717
718 2003-01-06 J. Brobecker <brobecker@gnat.com>
719
720 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
721 failure introduced in the previous change.
722
723 2003-01-05 Michael Chastain <mec@shout.net>
724
725 * README: Remove references to deleted remote-*.c files:
726 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
727 remote-nrom.c, remote-os9k.c, remote-udi.c.
728
729 2003-01-05 Mark Kettenis <kettenis@gnu.org>
730
731 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
732 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
733 i386_get_longjmp_target.
734
735 2003-01-05 Andrew Cagney <ac131313@redhat.com>
736
737 * arm-tdep.c (prologue_cache): Change to a pointer.
738 (_initialize_arm_tdep): Allocate prologue_cache.
739 (check_prologue_cache): Update.
740 (save_prologue_cache): Update.
741 (arm_gdbarch_init): Update.
742
743 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
744
745 * stabsread.c (update_method_name_from_physname): Call complaint()
746 instead of error.
747
748 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
749
750 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
751 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
752 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
753
754 * blockframe.c: Include "gdbcmd.h" and "command.h".
755 (backtrace_below_main): New variable.
756 (file_frame_chain_valid, func_frame_chain_valid)
757 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
758 (generic_func_frame_chain_valid): Remove functions.
759 (frame_chain_valid, do_flush_frames_sfunc): New functions.
760 (_initialize_blockframe): New function.
761 * Makefile.in (blockframe.o): Update dependencies.
762 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
763 comment. Call frame_chain_valid ().
764 * frame.h: Remove old prototypes. Add prototype for
765 frame_chain_valid and update comments to match.
766 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
767 Remove old comment.
768 * gdbarch.h: Regenerated.
769 * gdbarch.c: Regenerated.
770
771 * alpha-tdep.c (alpha_gdbarch_init): Don't call
772 set_gdbarch_frame_chain_valid.
773 * avr-tdep.c (avr_gdbarch_init): Likewise.
774 * cris-tdep.c (cris_gdbarch_init): Likewise.
775 * frv-tdep.c (frv_gdbarch_init): Likewise.
776 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
777 * i386-tdep.c (i386_svr4_init_abi): Likewise.
778 (i386_nw_init_abi): Likewise.
779 (i386_gdbarch_init): Likewise.
780 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
781 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
782 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
783 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
784 * mips-tdep.c (mips_gdbarch_init): Likewise.
785 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
786 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
787 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
788 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
789 * s390-tdep.c (s390_gdbarch_init): Likewise.
790 * sh-tdep.c (sh_gdbarch_init): Likewise.
791 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
792 * v850-tdep.c (v850_gdbarch_init): Likewise.
793 * vax-tdep.c (vax_gdbarch_init): Likewise.
794 * x86-64-tdep.c (x86_64_init_abi): Likewise.
795
796 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
797 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
798 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
799 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
800 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
801 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
802 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
803 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
804
805 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
806
807 * Makefile.in (acconfig_h): Remove incorrect macro.
808 (config_h): Define.
809 (osabi.o): Update dependencies.
810 * configure.tgt: Set gdb_osabi based on target triplet.
811 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
812 * configure: Regenerated.
813 * config.in: Regenerated.
814 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
815 (GDB_OSABI_DEFAULT): Define if not already defined.
816 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
817 (set_osabi_string): New variables.
818 (gdbarch_register_osabi): Add new OS ABI to
819 gdb_osabi_available_names.
820 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
821 (set_osabi, show_osabi): New functions.
822 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
823
824 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
825
826 * arch-utils.c (gdbarch_info_init): Set osabi to
827 GDB_OSABI_UNINITIALIZED.
828 * gdbarch.sh: Add osabi to struct gdbarch and to struct
829 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
830 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
831 * gdbarch.c: Regenerated.
832 * gdbarch.h: Regenerated.
833 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
834 there's no BFD.
835 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
836 * osabi.h (enum gdb_osabi): Move to defs.h.
837 (gdbarch_init_osabi): Update prototype.
838 * defs.h (enum gdb_osabi): Moved here.
839 * Makefile.in: Update dependencies.
840
841 * alpha-tdep.h: Don't include "osabi.h".
842 (struct gdbarch_tdep): Remove osabi member.
843 * alpha-tdep.c: Include "osabi.h".
844 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
845 iterate over arches. Update call to gdbarch_init_osabi.
846 (alpha_dump_tdep): Don't dump osabi.
847 * alpha-linux-tdep.c: Include "osabi.h".
848 * alpha-osf1-tdep.c: Include "osabi.h".
849 * alphafbsd-tdep.c: Include "osabi.h".
850 * alphanbsd-tdep.c: Include "osabi.h".
851
852 * arm-tdep.h: Don't include "osabi.h".
853 (struct gdbarch_tdep): Remove osabi member.
854 * arm-tdep.c: Include "osabi.h".
855 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
856 iterate over arches. Update call to gdbarch_init_osabi.
857 (arm_dump_tdep): Don't dump osabi.
858 * arm-linux-tdep.c: Include "osabi.h".
859 * armnbsd-tdep.c: Include "osabi.h".
860
861 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
862 Update call to gdbarch_init_osabi.
863
864 * i386-tdep.h: Don't include "osabi.h".
865 (struct gdbarch_tdep): Remove osabi member.
866 * i386-tdep.c: Include "osabi.h".
867 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
868 iterate over arches. Update call to gdbarch_init_osabi.
869 (i386_dump_tdep): Don't dump osabi.
870 * i386-linux-tdep.c: Include "osabi.h".
871 * i386-sol2-tdep.c: Include "osabi.h".
872 * i386bsd-tdep.c: Include "osabi.h".
873 * i386gnu-tdep.c: Include "osabi.h".
874 * i386ly-tdep.c: Include "osabi.h".
875 * i386nbsd-tdep.c: Include "osabi.h".
876 * i386obsd-tdep.c: Include "osabi.h".
877
878 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
879 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
880 check osabi when iterating over arches. Update call to
881 gdbarch_init_osabi.
882 (mips_dump_tdep): Don't dump osabi.
883
884 * ns32k-tdep.h: Don't include "osabi.h".
885 (struct gdbarch_tdep): Remove.
886 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
887 gdbarch_lookup_osabi. Don't iterate over arches. Don't
888 allocate tdep. Update call to gdbarch_init_osabi.
889 (ns32k_dump_tdep): Remove.
890 (_initialize_ns32k_tdep): Update call to gdbarch_register.
891 * ns32knbsd-tdep.c: Include "osabi.h".
892
893 * ppc-tdep.h: Don't include "osabi.h".
894 (struct gdbarch_tdep): Remove osabi member.
895 * rs6000-tdep.c: Include "osabi.h".
896 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
897 osabi when iterating over arches. Update call to
898 gdbarch_init_osabi.
899 (rs6000_dump_tdep): Don't dump osabi.
900 * ppc-linux-tdep.c: Include "osabi.h".
901 * ppcnbsd-tdep.c: Include "osabi.h".
902
903 * sh-tdep.h: Don't include "osabi.h".
904 (struct gdbarch_tdep): Remove osabi member.
905 * sh-tdep.c: Include "osabi.h".
906 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
907 iterate over arches. Update call to gdbarch_init_osabi.
908 (sh_dump_tdep): Don't dump osabi.
909 * shnbsd-tdep.c: Include "osabi.h".
910
911 * sparc-tdep.c: Include "osabi.h".
912 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
913 iterate over arches. Update call to gdbarch_init_osabi.
914 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
915 tdep structure.
916
917 * vax-tdep.h: Don't include "osabi.h".
918 (struct gdbarch_tdep): Remove.
919 * vax-tdep.c: Include "osabi.h".
920 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
921 iterate over arches. Don't allocate tdep. Update call
922 to gdbarch_init_osabi.
923 (vax_dump_tdep): Remove.
924 (_initialize_vax_tdep): Update call to gdbarch_register.
925
926 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
927
928 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
929 entirely.
930 (breakpoint_re_set_one): Don't fetch the value for a disabled
931 watchpoint.
932
933 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
934
935 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
936 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
937 (COERCE_FLOAT_TO_DOUBLE): Remove.
938 * gdbarch.c: Regenerate.
939 * gdbarch.h: Regenerate.
940 * Makefile.in: Remove value_h from gdbarch_h.
941 * valops.c (coerce_float_to_double): New variable.
942 (default_coerce_float_to_double): Remove.
943 (standard_coerce_float_to_double): Remove.
944 (value_arg_coerce): Use coerce_float_to_double.
945 (_initialize_valops): Add "set coerce-float-to-double".
946 * value.h (default_coerce_float_to_double): Remove prototype.
947 (standard_coerce_float_to_double): Remove prototype.
948
949 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
950 prototyped.
951 * mdebugread.c (parse_symbol): Likewise.
952 * stabsread.c (define_symbol): Mark all functions as prototyped.
953
954 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
955 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
956 set_gdbarch_coerce_float_to_double.
957 * arm-tdep.c (arm_gdbarch_init): Likewise.
958 * frv-tdep.c (frv_gdbarch_init): Likewise.
959 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
960 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
961 * mips-tdep.c (mips_gdbarch_init): Likewise.
962 (mips_coerce_float_to_double): Remove.
963 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
964 (rs6000_coerce_float_to_double): Remove.
965 * s390-tdep.c (s390_gdbarch_init): Likewise.
966 * sh-tdep.c (sh_gdbarch_init): Likewise.
967 (sh_coerce_float_to_double): Remove.
968 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
969 (sparc_coerce_float_to_double): Remove.
970 * v850-tdep.c (v850_gdbarch_init): Likewise.
971 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
972 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
973 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
974 (hppa_coerce_float_to_double): Remove prototype.
975 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
976
977 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
978
979 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
980
981 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
982
983 Suggested by Stewart Brown <sb24@avaya.com>:
984 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
985 in recursive calls. Handle TYPE_CODE_TYPEDEF.
986 (c_type_print_varspec_suffix): Likewise.
987
988 2003-01-04 Mark Kettenis <kettenis@gnu.org>
989
990 * configure.in: Don't set and AC_SUBST SUBDIRS.
991 * configure: Regenerated.
992
993 * configure.in: Remove code dealing with shared libraries.
994 * Makefile.in: Remove HLDFLAGS and HLDENV.
995 * configure: Regenerated.
996
997 2003-01-04 Andrew Cagney <ac131313@redhat.com>
998
999 * frame.c (deprecated_frame_xmalloc): New function.
1000 (deprecated_set_frame_saved_regs_hack): New function.
1001 (deprecated_set_frame_extra_info_hack): New function.
1002 * frame.h (deprecated_frame_xmalloc): Declare.
1003 (deprecated_set_frame_saved_regs_hack): Declare.
1004 (deprecated_set_frame_extra_info_hack): Declare.
1005
1006 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1007
1008 * configure.in: Move code that provides the --enable-gdbtk option
1009 right after the code that handles the --enable-tui option, and
1010 polish it somewhat.
1011 * configure: Regenerated.
1012
1013 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
1014 AC_CHECK_FUNCS and remove the old check for pread64.
1015 * acinclude.m4 (AC_GNU_SOURCE): New macro.
1016 * acconfig.h (_GNU_SOURCE): Add.
1017 (HAVE_PREAD64): Remove.
1018 * configure, aclocal.m4, config.in: Regenerated.
1019
1020 2003-01-03 Andrew Cagney <ac131313@redhat.com>
1021
1022 * alpha-tdep.c: Use get_frame_saved_regs.
1023 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1024 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1025 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1026 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1027 * vax-tdep.c, xstormy16-tdep.c: Ditto.
1028
1029 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1030
1031 * configure.in: Remove all use of the SUBDIRS variable; add
1032 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
1033 code providing the --enable-multi-ice option, and move it right in
1034 front of the code that checks whether gdbserver is supported.
1035 Polish that too.
1036 * configure: Regenerated.
1037 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1038 @SUBDIRS@.
1039
1040 2003-01-03 Andrew Cagney <cagney@redhat.com>
1041
1042 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1043 * avr-tdep.c, cris-tdep.c: Ditto.
1044 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1045 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1046
1047 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1048
1049 * configure.in: Remove --enable-netrom option.
1050 * configure: Regenerated.
1051
1052 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1053
1054 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1055 declaration for `struct re_pattern_buffer' instead.
1056 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1057
1058 2003-01-03 J. Brobecker <brobecker@gnat.com>
1059
1060 * mdebugread.c (parse_symbol): Count until the stEnd matching
1061 the structure name.
1062
1063 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1064
1065 * configure.in: Remove --with-cpu option.
1066 subscripts. Remove evil changequotes here.
1067 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1068 * config.in, configure: Regenerated.
1069
1070 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1071 * configure.in: Cleanup section that sources GDB and BFD configure
1072 subscripts. Remove evil changequotes here.
1073 * config.in, configure: Regenerated.
1074
1075 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1076
1077 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1078 frame accessor methods.
1079 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1080 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1081 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1082 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1083 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1084 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1085 * z8k-tdep.c: Ditto.
1086
1087 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1088
1089 * configure.in: Remove UI_OUT configuration code.
1090 * ada-lang.c: Update assuming UI_OUT is always true.
1091 * Makefile.in (UIOUT_CFLAGS): Remove.
1092 * configure: Regenerated.
1093 * TODO: Remove blurb about elimination of -DUI_OUT.
1094
1095 * configure.in: Move code that provides the --enable-gdbcli,
1096 --enable-gdbmi options right before the code that handles the
1097 --enable-tui option. Polish a bit.
1098 * configure: Regenerated.
1099
1100 * configure.in: Rewrite check for GNU regex and the
1101 --without-included regex option, and move it into the "Checks for
1102 library functions" section. This makes us use the system regex
1103 again by default on systems with version 2 of the GNU C library.
1104 This was apparently broken.
1105 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1106 * acconfig.h (USE_INCLUDED_REGEX): Remove.
1107 * config.in, configure: Regenerated.
1108
1109 * configure.in: Move code that provides the --enable-tui option
1110 before the "Checks for libraries" section. Polish the code
1111 somewhat and set need_curses to yes if we build the TUI. Rewrite
1112 code that looks for a library providing termcap functionality to
1113 match more closely what's done in the Readline library, and move
1114 it into to the "Checks for libraries" section.
1115 * configure: Regenerated.
1116 * Makefile.in (TERMCAP): Remove variable.
1117 * config/i386/go32.mh (TERMCAP): Remove variable.
1118
1119 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1120
1121 * MAINTAINERS: Mention gdb_mbuild.sh.
1122 * gdb_mbuild.sh: Rewrite.
1123
1124 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1125
1126 * configure.in: Fix typo in last change.
1127 * config.in, configure: Regenerated.
1128
1129 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1130
1131 * valarith.c (value_binop): Delete obsolete code and comments.
1132 * configure.host: Ditto.
1133 * buildsym.h (make_blockvector): Ditto.
1134 * buildsym.c (make_blockvector): Ditto.
1135 * defs.h (enum language): Ditto.
1136 (chill_demangle): Ditto.
1137 * elfread.c (elf_symtab_read): Ditto.
1138 * dwarfread.c (CHILL_PRODUCER): Ditto.
1139 (set_cu_language): Ditto.
1140 (handle_producer): Ditto.
1141 * expprint.c (print_subexp): Ditto.
1142 * gdbtypes.c (chill_varying_type): Ditto.
1143 * gdbtypes.h (builtin_type_chill_bool): Ditto.
1144 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1145 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1146 (chill_varying_type): Ditto.
1147 * language.h (_LANG_chill): Ditto.
1148 * language.c (binop_result_type, integral_type): Ditto.
1149 (character_type, string_type, structured_type): Ditto.
1150 (lang_bool_type, binop_type_check): Ditto.
1151 * stabsread.h (os9k_stabs): Ditto.
1152 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1153 (define_symbol, read_type, read_struct_fields): Ditto.
1154 (read_array_type, read_enum_type, read_huge_number): Ditto.
1155 (read_range_type, start_stabs): Ditto.
1156 * symfile.c (init_filename_language_table): Ditto.
1157 (add_psymbol_with_dem_name_to_list): Ditto.
1158 * symtab.c (symbol_init_language_specific): Ditto.
1159 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1160 * symtab.h (struct general_symbol_info): Ditto.
1161 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1162 * typeprint.c (typedef_print): Ditto.
1163 * utils.c (fprintf_symbol_filtered): Ditto.
1164 * valops.c (value_cast, search_struct_field, value_slice): Delete
1165 obsolete code.
1166 (varying_to_slice): Delete function.
1167 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1168 (varying_to_slice): Delete declaration.
1169 * MAINTAINERS: Update.
1170
1171 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1172
1173 * configure.in: Reorganize "Checks for library functions section"
1174 a bit. Remove check for `btowc' and `isascii' functions.
1175 * configure: Regenerated.
1176
1177 * acconfig.h (_MSE_INT_H): Remove.
1178 * configure.in: Create "Checks for header files" section, and move
1179 appropriate tests there. Don't check for objlist.h, wchar.h,
1180 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
1181 misdetection fix. Also add "Checks for types", "Checks for
1182 compiler characteristics" and "Checks for library functions"
1183 sections.
1184 * config.in, configure: Regenerated.
1185
1186 * configure.in: Create "Checks for programs" section, and move
1187 appropriate tests there.
1188
1189 2003-01-01 Mark Kettenis <kettenis@gnu.org>
1190
1191 * configure.in: Create "Checks for libraries" section, and move
1192 appropriate tests there. Cleanup check for wctype in libw. Use
1193 AC_SEARCH_LIBS to see whether we need libsocket.
1194 * configure: Regenerated.
1195
1196 For older changes see ChangeLog-2002
1197 \f
1198 Local Variables:
1199 mode: change-log
1200 left-margin: 8
1201 fill-column: 74
1202 version-control: never
1203 End:
This page took 0.053631 seconds and 4 git commands to generate.