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