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