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