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