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