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