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