]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/ChangeLog
2003-02-06 Andrew Cagney <ac131313@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
1 2003-02-06 Andrew Cagney <ac131313@redhat.com>
2
3 * Makefile.in (symm-nat.o): Update dependencies.
4 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
5 (lynx-nat.o, ia64-linux-nat.): Ditto.
6 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
7 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
8 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
9
10 * Makefile.in (inflow_h): Define.
11 (procfs.o, inflow.o, procfs.o): Update dependencies.
12 * inftarg.c (child_stop): Delete extern declaration of
13 inferior_process_group. Include "inflow.h".
14 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
15 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
16 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
17 (our_process_group, inferior_process_group): Extern declarations.
18
19 * procfs.c: Include "gdb_assert.h".
20
21 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
22 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
23 * jv-typeprint.c (java_type_print_base): Ditto.
24 * typeprint.c (typedef_print): Eliminate STREQ.
25 * cli/cli-script.c (define_command, define_command): Ditto.
26 * main.c (captured_main): Ditto.
27 * values.c (lookup_internalvar): Ditto.
28 * utils.c (safe_strerror, parse_escape): Eliminate assignment
29 within `if' conditional.
30 * linespec.c (decode_line_2): Ditto.
31 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
32 (bfd_openw_with_cleanup): Ditto.
33
34 2003-02-07 Mark Kettenis <kettenis@gnu.org>
35
36 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
37 legacy_extract_return_value and store_return_value to
38 legacy_return_value.
39
40 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
41
42 * win32-nat.c (get_relocated_section_addrs): New function. Find
43 section load addresses for symbol handling in relocated DLLs.
44 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
45
46 2003-02-05 Fred Fish <fnf@intrinsity.com>
47
48 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
49 '=' and '!='.
50 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
51 with '&' and '=='.
52 (angel_RDI_info): Ditto.
53 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
54 with '&' and '!='.
55 (threads_continue_all_with_signals): Ditto.
56
57 2003-02-05 Jim Ingham <jingham@apple.com>
58 Keith Seitz <keiths@redhat.com>
59 Elena Zannoni <ezannoni@redhat.com>
60 Andrew Cagney <ac131313@redhat.com>
61
62 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
63 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
64 (SUBDIR_MI_OBS): Add "mi-interp.o".
65 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
66 (SFILES): Add "interps.c".
67 (COMMON_OBS): Add "interps.o".
68 (interps_h, mi_main_h): Define.
69 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
70 (mi-main.o, main.o, event-top.o): Update dependencies.
71 * cli/cli-interp.c: New file.
72 * interps.h, interps.c: New files.
73 * top.c: (gdb_init): Don't install the default interpreter, handed
74 by captured_main.
75 * main.c: Include "interps.h".
76 (interpreter_p): Note that it should malloc'ed.
77 (captured_command_loop): Call current_interp_command_loop.
78 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
79 xfree and xstrdup when updating interpreter_p. Install the
80 default interpreter. Add hack to stop mi1's copyright notice
81 being encoded.
82 * event-top.h (gdb_setup_readline): Declare.
83 (gdb_disable_readline): Declare.
84 * event-top.c: Include "interps.h".
85 (display_gdb_prompt): Call current_interp_display_prompt_p.
86 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
87 gdb_stdlog, and gdb_stdtarg.
88 (_initialize_event_loop): Don't call gdb_setup_readline.
89 * cli-out.c (cli_out_set_stream): New function.
90 * cli-out.h (cli_out_set_stream): Declare.
91
92 2003-02-06 Mark Kettenis <kettenis@gnu.org>
93
94 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
95 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
96 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
97 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
98 config/i386/i386v42mp.mt: Removed.
99
100 2003-02-05 Mark Kettenis <kettenis@gnu.org>
101
102 * configure.tgt (*-*-solaris*): Set gdb_osabi to
103 GDB_OSABI_SOLARIS.
104
105 2003-02-05 Michael Chastain <mec@shout.net>
106
107 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
108 2.12.1 and earlier versions.
109
110 2003-02-05 Andrew Cagney <ac131313@redhat.com>
111
112 Remove orphaned hosts, targets and files.
113 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
114 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
115 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
116 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
117 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
118 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
119 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
120 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
121 * config/sparc/tm-sp64sim.h: Delete.
122 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
123 hosts.
124 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
125 mips*-dec-mach3* targets.
126
127 2003-02-04 Michael Chastain <mec@shout.net>
128
129 * NEWS: Fix typo: sepcifying -> specifying.
130
131 2003-02-04 Michael Chastain <mec@shout.net>
132
133 * dwarfread.c: Add documentation on the state of dwarf-1,
134 looking towards obsoletion.
135
136 2003-02-03 Michael Chastain <mec@shout.net>
137
138 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
139 gdb/testsuite/gdb.c++/pr-1023.exp.
140
141 2003-02-04 Andrew Cagney <ac131313@redhat.com>
142
143 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
144 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
145
146 * utils.c (init_page_info): Delete reference to MPW in comments.
147 * main.c (captured_main): Delete #ifdef MPW.
148
149 2003-02-04 Andrew Cagney <ac131313@redhat.com>
150
151 * NEWS: Note that the m32r-*-elf* is obsolete.
152 * monitor.c (monitor_expect): Obsolete reference to m32r.
153 * configure.tgt: Mark m32r-*-elf* as obsolete.
154 * MAINTAINERS: Mark m32k as obsolete.
155 * m32r-rom.c: Obsolete file.
156 * config/m32r/m32r.mt: Obsolete file.
157 * config/m32r/tm-m32r.h: Obsolete file.
158 * m32r-stub.c: Obsolete file.
159 * m32r-tdep.c: Obsolete file.
160
161 2003-02-04 Andrew Cagney <ac131313@redhat.com>
162
163 * NEWS: Mention that the z8k-zilog-none is obsolete.
164 * MAINTAINERS: Mark z8k as obsolete.
165 * configure.tgt: Obsolete the z8k-*-coff* target.
166 * config/z8k/z8k.mt: Obsolete file.
167 * config/z8k/tm-z8k.h: Obsolete file.
168 * z8k-tdep.c: Obsolete file.
169
170 2003-02-04 Andrew Cagney <ac131313@redhat.com>
171
172 * NEWS: Mention that the mn10200-elf is obsolete.
173 * configure.tgt: Obsolete mn10200-*-* target.
174 * breakpoint.c (update_breakpoints_after_exec): Update comment to
175 mention that the mn10200 is obsolete.
176 * breakpoint.h: Ditto.
177 * MAINTAINERS: Mark the mn10200-elf as obsolete.
178 * config/mn10200/mn10200.mt: Obsolete file.
179 * config/mn10200/tm-mn10200.h: Obsolete file.
180 * mn10200-tdep.c: Obsolete file.
181
182 2003-02-04 Andrew Cagney <ac131313@redhat.com>
183
184 * MAINTAINERS: Mark h8500 as obsolete.
185 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
186 * findvar.c (value_from_register): Ditto.
187 * h8500-tdep.c: Mark file as obsolete.
188 * config/h8500/h8500.mt: Ditto.
189 * config/h8500/tm-h8500.h: Ditto.
190 * NEWS: Mention that h8500 is obsolete.
191
192 2003-02-04 David Carlton <carlton@math.stanford.edu>
193
194 * objfiles.c (allocate_objfile): Always set name. Add comment at
195 start of function.
196 * jv-lang.c (get_dynamics_objfile): Add comment.
197
198 2003-02-04 David Carlton <carlton@math.stanford.edu>
199
200 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
201 * printcmd.c (build_address_symbolic): Replace uses of
202 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
203 SYMBOL_NAME, and asm_demangle.
204 Update copyright.
205
206 2003-02-04 David Carlton <carlton@math.stanford.edu>
207
208 * linespec.c (decode_compound): Extract code into
209 lookup_prefix_sym.
210 (lookup_prefix_sym): New function.
211
212 2003-02-04 David Carlton <carlton@math.stanford.edu>
213
214 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
215 FLOAT_COERCION_BADNESS.
216 * gdbtypes.c (rank_one_type): Replace all uses of
217 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
218
219 2003-02-04 Jim Blandy <jimb@redhat.com>
220
221 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
222 section, let dwarf_macinfo_section point to it, not
223 dwarf_loc_section.
224
225 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
226
227 Pointed out by Anton Blanchard <anton@samba.org>.
228 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
229 (ppc_linux_at_sigtramp_return_path): Use it.
230
231 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
232
233 * defs.h (streq): Add prototype.
234 * utils.c (streq): New function.
235
236 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
237 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
238 * mdebugread.c (new_symbol): Likewise.
239 * stabsread.c (define_symbol): Likewise.
240 * coffread.c (process_coff_symbol): Likewise.
241 * dwarfread.c (new_symbol): Likewise.
242
243 * minsyms.c (prim_record_minimal_symbol_and_info): Use
244 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
245 here.
246 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
247 SYMBOL_INIT_DEMANGLED_NAME.
248 * objfiles.c: Include "hashtab.h".
249 (allocate_objfile): Call htab_set_functions_ex for the
250 demangled_names_hash.
251 (free_objfile): Call htab_delete for the demangled_names_hash.
252 * objfiles.h (struct htab): Add declaration.
253 (struct objfile): Add demangled_names_hash.
254 * symfile.c: Include "hashtab.h".
255 (reread_symbols): Call htab_delete for the demangled_names_hash.
256 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
257 SYMBOL_NAME in the bcache.
258 * symtab.c: Include "hashtab.h". Update comments.
259 (create_demangled_names_hash, symbol_set_names): New functions.
260 (symbol_find_demangled_name): New function, broken out from
261 symbol_init_demangled_names.
262 (symbol_init_demangled_names): Use it.
263 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
264 (SYMBOL_SET_NAMES): New macro.
265 (symbol_set_names): Add prototype.
266
267 2003-02-03 Jim Blandy <jimb@redhat.com>
268
269 Use a single, consistent representation for an empty minimal
270 symbol table in an objfile.
271 * objfiles.c (terminate_minimal_symbol_table): New function.
272 (allocate_objfile): Call it.
273 * objfiles.h (terminate_minimal_symbol_table): New declaration.
274 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
275 non-NULL.
276 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
277 objfile has minimal symbols, compare minimal_symbol_count to zero,
278 instead of comparing msymbols with NULL.
279 * objfiles.c (have_minimal_symbols): Same.
280 * solib-sunos.c (solib_add_common_symbols): Call
281 terminate_minimal_symbol_table.
282 * symfile.c (reread_symbols): Same.
283
284 2003-02-03 Kevin Buettner <kevinb@redhat.com>
285
286 * s390-tdep.c (s390_address_class_type_flags)
287 (s390_address_class_type_flags_to_name)
288 (s390_address_class_name_to_type_flags): New functions.
289 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
290 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
291
292 2003-02-03 Michael Snyder <msnyder@redhat.com>
293
294 * arm-tdep.c: Fix spell-o in comment.
295
296 2003-02-03 Michal Ludvig <mludvig@suse.cz>
297
298 * dwarf2cfi.c (pointer_encoding): Added new parameter.
299 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
300 error messages to contain BFD filename.
301
302 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
303
304 Fix PR gdb/742 gdb/743 gdb/877
305 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
306 (do_mixed_source_and_assembly): Use
307 make_cleanup_ui_out_tuple_begin_end and
308 make_cleanup_ui_out_tuple_begin_end.
309 (do_mixed_source_and_assembly): Ditto.
310 * thread.c (do_captured_list_thread_ids): Ditto.
311 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
312 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
313 ui_out_tuple_end): Delete prototypes.
314 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
315 ui_out_list_end, ui_out_tuple_end): Delete.
316
317 From Kevin Buettner <kevinb@redhat.com>:
318 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
319 * ui-out.c (make_cleanup_ui_out_table_begin_end)
320 (do_cleanup_table_end): New functions.
321 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
322 Use cleanups to invoke_ui_out_tuple_end().
323 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
324 * cli/cli-setshow.c (cmd_show_list): Use
325 make_cleanup_ui_out_tuple_begin_end.
326
327 2003-02-02 Andrew Cagney <ac131313@redhat.com>
328
329 * frame.c (frame_unwind_register): New function.
330 (frame_unwind_unsigned_register): Use.
331 (frame_unwind_signed_register): Use.
332 (frame_read_register): New function.
333 * frame.h (frame_unwind_register): Declare.
334 (frame_read_register): Declare.
335
336 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
337 and frame_unwind_register instead of read_memory, write_register
338 and deprecated_write_register_bytes.
339
340 2003-02-02 Andrew Cagney <ac131313@redhat.com>
341
342 * frame.h: Note that namelen can be negative.
343 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
344 NAME's length.
345
346 * NEWS: Mention that the d10v's `regs' command is deprecated.
347 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
348 (d10v_print_registers_info): New function.
349 (show_regs): Call d10v_print_registers_info.
350 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
351
352 2003-02-02 Mark Kettenis <kettenis@gnu.org>
353
354 * stack.c (print_frame_info): Restore call to annotate_frame_begin
355 lost in the previous patch.
356
357 2003-02-01 Andrew Cagney <ac131313@redhat.com>
358
359 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
360 * stack.c (print_frame_info_base): Output complete FRAME tuple
361 for synthesized frames.
362
363 2003-02-02 Andrew Cagney <ac131313@redhat.com>
364
365 * mips-nat.c (zerobuf): Delete.
366 (fetch_inferior_registers): Alloc local zerobuf.
367 (fetch_core_registers): Alloc local zerobuf.
368 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
369 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
370 * thread-db.c (thread_db_store_registers): Ditto.
371 * sh-tdep.c (sh_do_register): Ditto.
372 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
373 * remote-sim.c (gdbsim_store_register): Ditto.
374 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
375 * remote-e7000.c (fetch_regs_from_dump): Ditto.
376 * monitor.c (monitor_supply_register): Ditto.
377 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
378 * mips-nat.c (fetch_inferior_registers): Ditto.
379 * m68klinux-nat.c (fetch_register): Ditto.
380 * lynx-nat.c (fetch_inferior_registers): Ditto.
381 (fetch_inferior_registers): Ditto.
382 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
383 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
384 (hpux_thread_store_registers): Ditto.
385 * hppah-nat.c (fetch_register): Ditto.
386 * hppab-nat.c (fetch_register): Ditto.
387 * hppa-tdep.c (pa_register_look_aside): Ditto.
388 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
389 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
390
391 2003-02-01 Andrew Cagney <ac131313@redhat.com>
392
393 * gdbarch.sh: Explictly specify all method levels. When a
394 variable with an empty level, provide a non-multi-arch default.
395 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
396 * gdbarch.h: Re-generate.
397 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
398 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
399
400 2003-02-01 Andrew Cagney <ac131313@redhat.com>
401
402 * defs.h (host_pointer_to_address): Delete declaration.
403 (address_to_host_pointer): Delete declaration.
404 * utils.c (host_pointer_to_address): Delete function.
405 (address_to_host_pointer): Delete function.
406 * procfs.c (procfs_address_to_host_pointer): New function.
407 * procfs.c (proc_set_watchpoint): Use.
408 (procfs_can_use_hw_breakpoint): Update comments.
409 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
410 (som_solib_add): Use.
411 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
412 * hppa-tdep.c (unwind_command): Use.
413
414 2003-02-01 Andrew Cagney <ac131313@redhat.com>
415
416 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
417 strlen d_name.
418
419 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
420 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
421 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
422 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
423 (define_symbol): Update.
424 * symfile.c (generic_load): Remove references to nindy.
425 * symtab.c: Remove references to nindy.
426
427 2003-02-01 Andrew Cagney <ac131313@redhat.com>
428
429 * infcmd.c (print_float_info): Delete code conditional on
430 FLOAT_INFO.
431 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
432 * config/m68k/nm-apollo68b.h: Ditto.
433 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
434 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
435 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
436
437 2003-02-01 Mark Kettenis <kettenis@gnu.org>
438
439 * config/i386/tm-i386os9k.h: Removed.
440
441 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
442 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
443 they're identical to i[3456]86-*-sysv* now.
444 * config/i386/i386v32.mh: Removed.
445 * config/i386/xm-i386v32.h: Removed.
446 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
447
448 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
449
450 * config/i386/i386dgux.mh: Removed.
451 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
452
453 * configure.in: Fix typo.
454 * configure: Regenerated.
455
456 2003-01-31 David Carlton <carlton@math.stanford.edu>
457
458 * dwarf2read.c (dwarf2_locate_sections): Set
459 dwarf_ranges_section.
460
461 2003-01-31 Andrew Cagney <ac131313@redhat.com>
462
463 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
464 * utils.c: Update comments documenting legitimate uses of PTR.
465
466 * utils.c: Re-indent.
467
468 * config/djgpp/fnchange.lst: Delete nindy files.
469 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
470 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
471 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
472 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
473 * nindy-share/README, nindy-share/Onindy.c: Delete files.
474 * nindy-tdep.c, nindy-share/Makefile: Delete files.
475 * Makefile.in (init.c): Remove nindy references.
476 (saber_gdb): Delete rule.
477 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
478 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
479 and a68v-nat.c.
480 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
481 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
482 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
483 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
484 nindy-share/stop.h.
485 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
486 * saber.suppress: Delete file.
487
488 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
489
490 * dbxread.c (stabs_data): New static variable.
491 (fill_symbuf): Support an in-memory buffer for stabs data.
492 (stabs_seek): New function.
493 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
494 (read_ofile_symtab): Use stabs_seek.
495 (elfstab_build_psymtabs): Take an asection* instead of
496 an offset and size. Relocate the stabs data if necessary.
497 Save the section* for dbx_psymtab_to_symtab.
498 * dwarf2read.c: Add section variables for each debug section.
499 (dwarf2_locate_sections): Fill them in.
500 (dwarf2_read_section): Take an asection* argument.
501 Relocate the section contents if necessary.
502 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
503 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
504 it to dwarf2_read_section.
505 (dwarf2_build_frame_info): Update callers.
506 * elfread.c (elf_symfile_read): Update call to
507 elfstab_build_psymtabs.
508 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
509 (DBX_STAB_SECTION): New macro.
510 * stabsread.h (elfstab_build_psymtabs): Update prototype.
511 * symfile.c (symfile_dummy_outputs): New function.
512 (symfile_relocate_debug_section): New function.
513 * symfile.h (symfile_relocate_debug_section): Add prototype.
514
515 2003-01-31 Richard Henderson <rth@redhat.com>
516
517 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
518 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
519 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
520 * alpha-tdep.c (alpha_register_name): Add "unique".
521 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
522 (ALPHA_UNIQUE_REGNUM): New.
523 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
524
525 2003-01-31 Andrew Cagney <ac131313@redhat.com>
526
527 * README: Remove reference to Ericsson 1800 monitor.
528 * Makefile.in (remote-es.o): Delete rule.
529 (ALLDEPFILES): Delete remote-es.c.
530 * remote-es.c: Delete file.
531 * config/m68k/es1800.mt: Delete file.
532 * config/djgpp/fnchange.lst: Update.
533 * configure.tgt: Delete m68*-ericsson-* target.
534
535 2003-01-31 Adam Fedor <fedor@gnu.org>
536
537 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
538 Remove duplicate/shadowing variable of same name.
539
540 2003-01-30 Jim Blandy <jimb@redhat.com>
541
542 * symfile.c (find_separate_debug_file): Assert that the objfile's
543 directory name we compute ends with a slash, and then assume that
544 that's so everywhere we use it.
545
546 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
547
548 * valops.c (value_assign): Flush frame cache after stores to memory
549 also.
550
551 2003-01-30 Andrew Cagney <ac131313@redhat.com>
552
553 * Makefile.in (mon960-rom.o): Delete rule.
554 * mon960-rom.c: Delete file.
555
556 2003-01-30 Andrew Cagney <ac131313@redhat.com>
557
558 * d10v-tdep.c: Include "frame-unwind.h".
559 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
560 list.
561 (next_addr, uses_frame): Delete.
562 (struct d10v_unwind_cache): Define.
563 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
564 Use info instead of next_addr and uses_frame globals.
565 (d10v_frame_init_saved_regs): Delete function.
566 (d10v_init_extra_frame_info): Delete function.
567 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
568 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
569 init_frame_pc or frame_saved_pc.
570 (d10v_pop_frame): Delete function.
571 (do_d10v_pop_frame): Delete function.
572 (d10v_frame_chain): Delete function.
573 (d10v_frame_chain_valid): Delete function.
574 (d10v_frame_pc_unwind): New function.
575 (d10v_frame_id_unwind): New function.
576 (saved_regs_unwinder): New function.
577 (d10v_frame_register_unwind): New function.
578 (d10v_frame_pop): New function.
579 (d10v_frame_unwind): New variable.
580 (d10v_frame_p): New function.
581 (d10v_frame_saved_pc): Delete function.
582 * Makefile.in (d10v-tdep.o): Update dependencies.
583
584 2003-01-30 J. Brobecker <brobecker@gnat.com>
585
586 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
587 causing some regressions due to a change in the default value
588 for this macro.
589
590 2003-01-29 Richard Henderson <rth@redhat.com>
591 Elena Zannoni <ezannoni@redhat.com>
592 Daniel Jacobowitz <drow@mvista.com>
593
594 Fix PR gdb/961.
595 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
596 variables.
597 (RANGES_SECTION): New.
598 (dwarf_ranges_buffer): New variable.
599 (struct comp_unit_head): Add member "die".
600 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
601 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
602 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
603 (dwarf2_locate_sections): Likewise.
604 (dwarf2_build_psymtabs): Read .debug_ranges.
605 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
606 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
607 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
608 Look for DW_AT_ranges and return the bounding box.
609
610 2003-01-29 Brian Ford <ford@vss.fsi.com>
611
612 * win32-nat.c (cygwin_pid): Removed as unused.
613 (child_attach): Try fall back to Cygwin pid.
614
615 2003-01-29 Jim Blandy <jimb@redhat.com>
616
617 * objfiles.h (struct objfile): Doc fix.
618
619 2003-01-29 Andrew Cagney <ac131313@redhat.com>
620
621 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
622 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
623 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
624 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
625 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
626 (FRAME_SAVED_PC): Change to a function with predicate.
627 * gdbarch.h, gdbarch.c: Re-generate.
628
629 2003-01-28 Andrew Cagney <ac131313@redhat.com>
630
631 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
632
633 * complaints.c (complain): Delete function.
634 * complaints.h (struct deprecated_complaint): Delete definition.
635 (complain): Delete declaration.
636
637 2003-01-28 Kevin Buettner <kevinb@redhat.com>
638
639 * mips-tdep.c (mips_init_extra_frame_info): Return early for
640 dummy frames.
641
642 2003-01-27 Andrew Cagney <ac131313@redhat.com>
643
644 * sentinel-frame.h, sentinel-frame.c: New files.
645 * Makefile.in (frame.o): Update dependencies.
646 (SFILES): Add sentinel-frame.c.
647 (sentinel_frame_h): Define.
648 (COMMON_OBS): Add sentinel-frame.o.
649 (sentinel-frame.o): Specify dependencies.
650 * frame.c: Include "sentinel-frame.h".
651 (frame_register_unwind): Rewrite assuming that there is always a a
652 ->next frame.
653 (frame_register, generic_unwind_get_saved_register): Ditto.
654 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
655 (create_sentinel_frame, unwind_to_current_frame): New functions.
656 (get_current_frame): Rewrite using create_sentinel_frame and
657 unwind_to_current_frame. When possible, always create a frame.
658 (create_new_frame): Set next to the sentinel frame.
659 (get_next_frame): Rewrite. Don't go below the level 0 frame.
660 (deprecated_update_frame_pc_hack): Update the next frame's PC and
661 ID cache when necessary.
662 (frame_saved_regs_id_unwind): Use frame_relative_level.
663 (deprecated_generic_get_saved_register): Use frame_relative_level,
664 get_frame_saved_regs, get_frame_pc, get_frame_base and
665 get_next_frame.
666 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
667 frame_register.
668
669 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
670
671 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
672
673 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
674
675 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
676 (maintenance_set_profile_cmd): Use error () instead of warning ().
677
678 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
679
680 * configure.in: Check that -pg works if using --enable-profiling.
681 Check for monstartup and _mcleanup regardless of --enable-profiling.
682 * maint.c: Check for monstartup and _mcleanup before using them.
683 * config.in: Regenerated.
684 * configure: Regenerated.
685
686 2003-01-24 Nick Clifton <nickc@redhat.com>
687
688 * Add sh2e support:
689
690 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
691
692 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
693 (sh2e_show_regs): New.
694 (sh_gdbarch_init): Handle bfd_mach_sh2e.
695 * config/sh/tm-sh.h: Added sh2e to comments.
696
697 2003-01-23 Jim Blandy <jimb@redhat.com>
698
699 * symfile.c (syms_from_objfile): Don't print the "(no debugging
700 symbols found)" message here; we haven't checked for a separate
701 debug info file yet, so we don't know yet.
702 (symbol_file_add_with_addrs_or_offsets): Print it here, after
703 we've looked everywhere. Also, there's no need to print a special
704 message when we're loading the separate debug info file: the one
705 symbol_file_add prints is fine.
706
707 2003-01-23 Alexander Larsson <alexl@redhat.com>
708 Jim Blandy <jimb@redhat.com>
709
710 Add support for executables whose debug info has been separated
711 out into a separate file, leaving only a link behind.
712 * objfiles.h (struct objfile): New fields: separate_debug_objfile
713 and separate_debug_objfile_backlink.
714 (put_objfile_before): New declaration.
715 * symfile.c: #include "filenames.h".
716 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
717 debug info in a separate file, read that, too. Save the addrs
718 argument, so we can use it again to read the separated debug info;
719 syms_from_objfile modifies the table we pass it.
720 (reread_symbols): After re-reading an objfile, call
721 reread_separate_symbols to refresh its separate debug info
722 objfile, if it has one.
723 (reread_separate_symbols, find_separate_debug_file,
724 get_debug_link_info, separate_debug_file_exists): New functions.
725 (debug_file_directory): New global var.
726 (_initialize_symfile): Initialize debug_file_directory, and
727 provide the new `set debug-file-directory' command to let the user
728 change it.
729 * objfiles.c (free_objfile): If this objfile has its debug info in
730 a separate objfile, free that one too. If this is itself a
731 separate debug info objfile, clear our parent's backlink.
732 (put_objfile_before): New function.
733 * utils.c (gnu_debuglink_crc32): New function.
734 * defs.h (gnu_debuglink_crc32): New declaration.
735 * Makefile.in (symfile.o): Note dependency on "filenames.h".
736 * configure.in: Handle --with-separate-debug-dir config option.
737 * acinclude.m4 (AC_DEFINE_DIR): New macro.
738 * acconfig.h (DEBUGDIR): New macro.
739 * configure, aclocal.m4, config.in: Regenerated.
740
741 2003-01-22 Jim Blandy <jimb@redhat.com>
742
743 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
744 like the old symbol_file_add, but taking new arguments: you can
745 now pass in either a `struct section_addr_info' list to say where
746 each section is loaded, or a `struct section_offsets' table. Pass
747 these new arguments through to syms_from_objfile as appropriate.
748 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
749 with the appropriate quiescent values for the new arguments.
750
751 * symfile.c: #include "gdb_assert.h".
752 (syms_from_objfile): Add the ability to pass in a section offset
753 table directly, as an alternative to the section_addr_info table.
754 Document arguments better.
755 (symbol_file_add): Pass extra arguments to syms_from_objfile.
756 * symfile.h (syms_from_objfile): Update declaration.
757 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
758 syms_from_objfile.
759 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
760
761 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
762
763 Original patch by Tom Tromey <tromey@cygnus.com> and
764 Jason Molenda <jmolenda@apple.com>.
765 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
766 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
767 * NEWS: Mention profiling.
768 * configure.in (--enable-gdbtk): Fix typo.
769 (--enable-profiling): New. Set PROFILE_CFLAGS.
770 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
771 Fill in function.
772 (profiling_state): New variable.
773 (mcleanup_wrapper): New function.
774 (_initialize_maint): Remove NOTYET, fix call to
775 add_setshow_boolean_cmd for "maint set profile".
776 * configure: Regenerated.
777
778 2003-01-21 Martin M. Hunt <hunt@redhat.com>
779
780 * Makefile.in (install-gdbtk): Install PNG images too.
781
782 2003-01-21 Andrew Cagney <ac131313@redhat.com>
783
784 * exec.c (text_start): Delete global variable.
785 (exec_file_attach): Make text_start local to the function.
786 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
787 * valops.c (hand_function_call): Delete code that handles
788 BEFORE_TEXT_END and AFTER_TEXT_END.
789 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
790 of CALL_DUMMY_LOCATION.
791 * gdbarch.c: Regenerate.
792 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
793 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
794 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
795 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
796 (text_end): Delete extern declaration.
797
798 2003-01-21 Andrew Cagney <ac131313@redhat.com>
799
800 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
801 * blockframe.c (backtrace_below_main): Move to "frame.c".
802 (frame_chain_valid): Delete check for backtrace_below_main.
803 (_initialize_blockframe): Delete initialization, move ``set
804 backtrace-below-main'' command to "frame.c".
805 (do_flush_frames_sfunc): Delete function.
806 * frame.c: Include "command.h" and "gdbcmd.h".
807 (frame_type_from_pc): New function.
808 (create_new_frame): Use frame_type_from_pc.
809 (legacy_get_prev_frame): New function.
810 (get_prev_frame): Rewrite. When an old style frame, call
811 legacy_get_prev_frame. Otherwize, unwind the PC first.
812 (_initialize_frame): Add ``set backtrace-below-main'' command.
813 * Makefile.in (frame.o): Update dependencies.
814
815 2003-01-19 Andrew Cagney <ac131313@redhat.com>
816
817 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
818 DEPRECATED_REGISTERS_INFO.
819
820 2003-01-19 Andrew Cagney <ac131313@redhat.com>
821
822 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
823 Maintainers'. Update `Various Maintainers'.
824
825 2003-01-19 Andrew Cagney <ac131313@redhat.com>
826
827 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
828 * gdbarch.sh (POP_FRAME): Change to function with predicate.
829 Suppress actual parameters when `-'.
830 * gdbarch.h, gdbarch.c: Regenerate.
831
832 2003-01-19 Andrew Cagney <ac131313@redhat.com>
833
834 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
835 code handling dummy frames.
836
837 2003-01-19 Andrew Cagney <ac131313@redhat.com>
838
839 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
840 (struct frame_unwind): Add field pop.
841 * frame.h (frame_pop): Declare.
842 * frame.c (frame_saved_regs_pop): New function.
843 (trad_frame_unwinder): Add frame_saved_regs_pop.
844 (frame_pop): New function.
845 * dummy-frame.c (dummy_frame_pop): New function.
846 (discard_innermost_dummy): New function.
847 (generic_pop_dummy_frame): Use discard_innermost_dummy.
848 (dummy_frame_unwind): Add dummy_frame_pop.
849 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
850 * valops.c (hand_function_call): Ditto.
851 * stack.c (return_command): Ditto.
852
853 2003-01-18 Andrew Cagney <ac131313@redhat.com>
854
855 * cris-tdep.c: Fix function declaration indentation.
856 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
857 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
858 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
859 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
860 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
861 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
862
863 2003-01-18 Michael Chastain <mec@shout.net>
864
865 * README (Unpacking and Installation -- quick overview):
866 Warn against ".../gdb-5.3/gdb/configure".
867
868 2003-01-18 Andrew Cagney <ac131313@redhat.com>
869
870 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
871 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
872 (struct frame_unwind): Declare opaque.
873 (dummy_frame_p): Declare function.
874 * dummy-frame.c (dummy_frame_id_unwind): Make static.
875 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
876 * dummy-frame.c: Include "frame-unwind.h".
877 (dummy_frame_p): New function.
878 (dummy_frame_unwind): New variable.
879 * frame.c: Include "frame-unwind.h".
880 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
881 to use the new unwind field.
882 (set_unwind_by_pc): Delete function.
883 (create_new_frame, get_prev_frame): Set unwind field using
884 frame_unwind_find_by_pc.
885 (trad_frame_unwind, trad_frame_unwinder): New variables.
886 * frame.h (trad_frame_unwind): Declare variable.
887 (frame_id_unwind_ftype): Delete declaration.
888 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
889 (struct frame_unwind): Declare opaque.
890 (struct frame_info): Replace the fields id_unwind, pc_unwind and
891 register_unwind with a single unwind pointer.
892 * frame-unwind.h, frame-unwind.c: New files.
893 * Makefile.in (SFILES): Add frame-unwind.c.
894 (frame_unwind_h): Define.
895 (COMMON_OBS): Add frame-unwind.o.
896 (frame-unwind.o): Specify dependencies.
897 (frame.o, dummy-frame.o): Update dependencies.
898
899 2003-01-18 Andrew Cagney <ac131313@redhat.com>
900
901 * ada-valprint.c: Eliminate PTR.
902 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
903 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
904 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
905 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
906 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
907 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
908 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
909
910 2003-01-17 Andrew Cagney <ac131313@redhat.com>
911
912 * main.c (captured_main): Don't use PTR.
913 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
914 * gdbtypes.c (lookup_primitive_typename): Ditto.
915 (lookup_struct_elt_type): Ditto.
916 * f-valprint.c (info_common_command): Ditto.
917 (list_all_visible_commons): Ditto.
918 * jv-typeprint.c (java_type_print_base): Ditto.
919
920 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
921 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
922 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
923 i386-interix-nat.c and i386-interix-tdep.c. Rename
924 m68klinux-nat.c and m68klinux-tdep.c. Rename
925 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
926 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
927 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
928 * main.c (captured_main): Use xfree, not free.
929
930 2003-01-16 Andrew Cagney <ac131313@redhat.com>
931
932 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
933 ID back using a parameter.
934 * frame.c (frame_id_unwind): Update call.
935 (frame_saved_regs_id_unwind): Update.
936 * dummy-frame.c (dummy_frame_id_unwind): Update function.
937 * dummy-frame.h (struct frame_id): Add opaque declaration.
938 (dummy_frame_id_unwind): Update declaration.
939
940 2003-01-15 Andrew Cagney <ac131313@redhat.com>
941
942 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
943
944 2003-01-15 Stephen P. Smith <ischis2@cox.net>
945
946 * MAINTAINERS (Stephen P. Smith): Updated email address.
947
948 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
949
950 Fix PR gdb/898
951 * breakpoint.c (until_break_command): Add new argument. Use it to
952 decide whether to stop only at the current frame or not.
953 * breakpoint.h (until_break_command): Update prototype.
954 * infcmd.c (until_command): Add new argument to until_break_command
955 call.
956 (advance_command): New function.
957 (_initialize_infcmd): Update help string for 'until' command.
958 Add new 'advance' command.
959
960 2003-01-14 David Carlton <carlton@math.stanford.edu>
961
962 * linespec.c (decode_line_1): Normalize comments.
963 (set_flags): Ditto.
964 (locate_first_half): Ditto.
965 (decode_compound): Ditto.
966 (symtab_from_filename): Ditto.
967 (decode_all_digits): Ditto.
968 (decode_dollar): Ditto.
969 (find_methods): Ditto.
970 (find_toplevel_char): Ditto.
971
972 2003-01-13 Andrew Cagney <ac131313@redhat.com>
973
974 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
975 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
976 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
977 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
978 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
979 * language.c, language.h, m32r-tdep.c: Update copyright.
980 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
981 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
982 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
983 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
984 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
985 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
986
987 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
988
989 * stabsread.h (process_later, resolve_cfront_continuation):
990 Obsolete.
991 Update copyright years.
992 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
993 Update copyright year.
994 * dbxread.c(struct cont_elem): Obsolete.
995 (process_later, process_now): Obsolete functions.
996 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
997 Update copyright year.
998 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
999 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
1000 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
1001 (parse_partial_symbols): Obsolete cfront support.
1002 * stabsread.c
1003 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
1004 macros.
1005 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
1006 read_cfront_baseclasses, read_cfront_member_functions,
1007 resolve_cfront_continuation,read_cfront_static_fields,
1008 copy_cfront_struct_fields): Obsolete functions.
1009 (define_symbol, read_one_struct_field): Obsolete cfront support.
1010 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
1011 Update Copyright year.
1012
1013 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
1014
1015 * stack.c (print_frame_info, print_stack_frame_base_stub,
1016 print_stack_frame_base, show_and_print_stack_frame_stub,
1017 show_and_print_stack_frame, print_only_stack_frame_stub,
1018 print_only_stack_frame): Delete functions.
1019 (print_stack_frame_stub): Call print_frame_info instead of
1020 print_frame_info_base.
1021 (print_frame_info_base): Rename to print_frame_info.
1022 (backtrace_command_1): Call print_frame_info, instead of
1023 print_frame_info_base.
1024 (current_frame_command): Call print_stack_frame, instead of
1025 print_only_stack_frame.
1026 (frame_command): Call print_stack_frame, instead of
1027 show_and_print_stack_frame.
1028 (up_command): Ditto.
1029 (down_command): Ditto.
1030 * frame.h (print_only_stack_frame): Delete prototype.
1031 * infrun.c (normal_stop): Call print_stack_frame, instead of
1032 show_and_print_stack_frame.
1033 * thread.c (info_threads_command): Call print_stack_frame, instead
1034 of print_only_stack_frame.
1035
1036 2003-01-13 Andrew Cagney <ac131313@redhat.com>
1037
1038 * README (Graphical interface to GDB): Update URL. Point at
1039 gdb/links/.
1040
1041 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
1042 version match.
1043
1044 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1045
1046 * symtab.c (find_pc_sect_line): Don't consider end-of-function
1047 lines.
1048
1049 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1050
1051 * thread-db.c (attach_thread): Prototype.
1052 (struct private_thread_info): Remove lwpid. Add thread handle (th),
1053 thread information (ti), and valid flags (th_valid, ti_valid).
1054 (attach_thread): Move target_pid_to_str call to after the thread
1055 is added to GDB's list. Initialize the cache.
1056 (thread_get_info_callback, thread_db_map_id2thr)
1057 (thread_db_get_info): New functions.
1058 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
1059 (thread_db_store_registers, thread_db_thread_alive)
1060 (thread_db_get_thread_local_address): Use them.
1061 (thread_db_pid_to_str): Likewise. Return "Missing" instead
1062 of calling error() for threads in unknown state.
1063
1064 (clear_lwpid_callback): New function.
1065 (thread_db_resume): Use it to clear the cache.
1066
1067 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1068
1069 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
1070 (resume_callback): Remove dead code.
1071
1072 2003-01-13 Andrew Cagney <ac131313@redhat.com>
1073
1074 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
1075 predicate.
1076 * gdbarch.h, gdbarch.c: Regenerate.
1077 * stack.c (frame_info): Only initialize the saved registers when
1078 FRAME_INIT_SAVED_REGS_P.
1079 * frame.c (frame_saved_regs_register_unwind): Assert
1080 FRAME_INIT_SAVED_REGS_P.
1081 (deprecated_generic_get_saved_register): Ditto.
1082
1083 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1084
1085 * source.c (openp): Squelch warning about "filename".
1086
1087 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1088
1089 * source.c (openp): If the file does not exist don't necessarily
1090 search the path.
1091
1092 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1093
1094 Fix PR gdb/872.
1095 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
1096 (integer_types_same_name_p): New function.
1097 (rank_one_type): Use it.
1098 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
1099
1100 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1101
1102 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
1103 variables.
1104 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
1105 * configure.in: Add --with-sysroot.
1106 * configure: Regenerated.
1107 * main.c (gdb_sysroot): New variable.
1108 (captured_main): Initialize gdb_sysroot.
1109 * defs.h (gdb_sysroot): New extern declaration.
1110 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
1111
1112 2003-01-12 Michael Chastain <mec@shout.net>
1113
1114 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
1115
1116 2003-01-12 Michael Chastain <mec@shout.net>
1117
1118 * top.c (print_gdb_version): Bump copyright year to 2003.
1119
1120 2003-01-12 David Carlton <carlton@bactrian.org>
1121
1122 * linespec.c (symtab_from_filename): Rename variable 's' to
1123 'file_symtab'.
1124
1125 2003-01-12 Andrew Cagney <ac131313@redhat.com>
1126
1127 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
1128 dummy frame.
1129 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
1130
1131 2003-01-12 Andrew Cagney <ac131313@redhat.com>
1132
1133 * d10v-tdep.c: Include "gdb_assert.h".
1134 (d10v_store_return_value): Rewrite to match current interface.
1135 (d10v_extract_struct_value_address): Ditto.
1136 (d10v_extract_return_value): Ditto.
1137 (d10v_gdbarch_init): Set store_restore_value,
1138 extract_struct_value_address and extract_return_value.
1139
1140 2003-01-12 J. Brobecker <brobecker@gnat.com>
1141
1142 * hpread.c (set_namestring): New procedure replacing the
1143 SET_NAMESTRING macro.
1144 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
1145 by calls to set_namestring.
1146
1147 2003-01-11 J. Brobecker <brobecker@gnat.com>
1148
1149 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
1150 a compilation warning.
1151 (hpread_process_one_debug_symbol): Likewise.
1152
1153 2003-01-10 David Carlton <carlton@math.stanford.edu>
1154
1155 * linespec.c (decode_line_1): Rename variable 's' to
1156 'file_symtab'.
1157 (decode_all_digits): Rename argument 's' to 'file_symtab'.
1158 (decode_dollar): Ditto.
1159 (decode_variable): Ditto.
1160 (symbol_found): Ditto.
1161
1162 2003-01-09 Michael Chastain <mec@shout.net>
1163
1164 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
1165
1166 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
1167
1168 * win32-nat.c (set_process_privilege): New function.
1169 (child_attach): Call set_process_privilege() to enable the
1170 SE_DEBUG_NAME user privilege if available in process token.
1171
1172 2003-01-10 J. Brobecker <brobecker@gnat.com>
1173
1174 * hpread.c (hpread_process_one_debug_symbol): Fix a small
1175 compilation error in the previous revision.
1176
1177 2003-01-09 David Carlton <carlton@math.stanford.edu>
1178
1179 * linespec.c: Update copyright.
1180
1181 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1182
1183 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
1184 than inferior_ptid.
1185 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
1186
1187 2003-01-09 Andrew Cagney <ac131313@redhat.com>
1188
1189 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
1190 Update comments.
1191 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
1192 (frame_saved_regs_zalloc): Update.
1193 (frame_saved_regs_register_unwind): Update.
1194 (create_new_frame): Update.
1195 (get_prev_frame): Update.
1196 (frame_extra_info_zalloc): Update.
1197 (deprecated_get_frame_saved_regs): Update.
1198 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
1199 * cris-tdep.c: Update comment.
1200
1201 * somsolib.h: Fix function indentation.
1202 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
1203 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
1204 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
1205 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
1206 * somsolib.c, inftarg.c: Remove assignment in if conditional.
1207
1208 * infrun.c (follow_fork): Use ISO C definition.
1209 * expprint.c (print_subexp): Use xfree instead of free.
1210 * charset.c: Include "gdb_string.h" instead of <string.h>.
1211 (register_iconv_charsets): Use ISO C definition.
1212 (host_charset, target_charset): Ditto.
1213 * Makefile.in (charset.o): Update dependencies.
1214 (mi-cmd-env.o): Update dependencies.
1215
1216 2003-01-08 Andrew Cagney <cagney@redhat.com>
1217
1218 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
1219 get_frame_base.
1220
1221 2003-01-08 Andrew Cagney <ac131313@redhat.com>
1222
1223 * gdb_mbuild.sh: Add --keep option. When specified, keep the
1224 build directories. Save edited gdb output in Mbuild.log. If a
1225 build fails, remove any final GDB executable.
1226
1227 2003-01-08 Andrew Cagney <ac131313@redhat.com>
1228
1229 * gdb_mbuild.sh: Edit the output of `maint print architecture'
1230 replacing hex constants with function names and stripping leading
1231 file name directory prefixes.
1232
1233 2003-01-08 Andrew Cagney <cagney@redhat.com>
1234
1235 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
1236 get_frame_base.
1237
1238 2003-01-08 David Carlton <carlton@math.stanford.edu>
1239
1240 * linespec.c (decode_line_1): Move code into decode_variable.
1241 (decode_variable): New function.
1242
1243 2003-01-08 Andrew Cagney <ac131313@redhat.com>
1244
1245 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
1246
1247 2003-01-08 Andrew Cagney <cagney@redhat.com>
1248
1249 * cris-tdep.c (cris_frame_init_saved_regs): Use
1250 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
1251 saved_regs buffer.
1252 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
1253 (sh64_nofp_frame_init_saved_regs): Ditto.
1254 (sh_fp_frame_init_saved_regs): Ditto.
1255 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
1256 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1257 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1258 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1259
1260 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
1261
1262 * minsyms.c (lookup_minimal_symbol): Update comment.
1263 (lookup_minimal_symbol_text): Update comment. Use the hash table.
1264 (lookup_minimal_symbol_solib_trampoline): Likewise.
1265
1266 2003-01-08 Andrew Cagney <cagney@redhat.com>
1267
1268 * d10v-tdep.c (d10v_init_extra_frame_info): Use
1269 frame_relative_level.
1270
1271 * alpha-tdep.c: Use get_frame_extra_info.
1272 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1273 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
1274 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1275 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
1276
1277 * alpha-tdep.c: Use get_next_frame.
1278 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1279 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1280 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
1281 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
1282 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
1283 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
1284 * xstormy16-tdep.c: Ditto.
1285
1286 2003-01-07 Andrew Cagney <cagney@redhat.com>
1287
1288 * alpha-tdep.c: Use get_frame_base.
1289 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1290 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1291 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1292 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1293 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
1294 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1295 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
1296 * config/sparc/tm-sparc.h: Ditto.
1297
1298 2003-01-07 Andrew Cagney <cagney@redhat.com>
1299
1300 * frame.c (deprecated_get_frame_context): New function.
1301 (deprecated_set_frame_context): New function.
1302 * frame.h (deprecated_get_frame_context): Declare.
1303 (deprecated_set_frame_context): Declare.
1304 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
1305 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
1306
1307 2003-01-07 Andrew Cagney <cagney@redhat.com>
1308
1309 * frame.c (deprecated_set_frame_next_hack): New function.
1310 (deprecated_set_frame_prev_hack): New function.
1311 * frame.h (deprecated_set_frame_next_hack): Declare.
1312 (deprecated_set_frame_prev_hack): Declare.
1313 * mcore-tdep.c (analyze_dummy_frame): Use
1314 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
1315 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1316
1317 2003-01-07 David Carlton <carlton@math.stanford.edu>
1318
1319 * linespec.c (decode_line_1): Move code into decode_dollar.
1320 (decode_dollar): New function.
1321
1322 2003-01-07 Andrew Cagney <cagney@redhat.com>
1323
1324 * arm-tdep.c (arm_init_extra_frame_info): Use
1325 deprecated_update_frame_base_hack.
1326 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
1327 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1328 (fix_frame_pointer): Ditto.
1329 (mn10300_analyze_prologue): Ditto.
1330
1331 2003-01-07 Andrew Cagney <cagney@redhat.com>
1332
1333 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
1334 extra_info using frame_extra_info_zalloc.
1335 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
1336 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
1337 (sh64_init_extra_frame_info): Ditto.
1338 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
1339 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
1340 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1341 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
1342 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
1343 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
1344 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
1345 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
1346 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
1347 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
1348 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
1349 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
1350
1351 * mn10300-tdep.c (analyze_dummy_frame): Use
1352 deprecated_set_frame_extra_info_hack.
1353 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1354
1355 2003-01-07 J. Brobecker <brobecker@gnat.com>
1356
1357 * mdebugread.c (parse_symbol): Skip stProc entries which storage
1358 class is not scText. These do not define "real" procedures.
1359 (parse_partial_symbols): Likewise.
1360
1361 2003-01-06 Michael Snyder <msnyder@redhat.com>
1362
1363 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
1364
1365 2003-01-06 Andrew Cagney <ac131313@redhat.com>
1366
1367 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
1368 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
1369 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
1370 deprecated_frame_xmalloc_with_cleanup.
1371 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
1372 deprecated_frame_xmalloc.
1373 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
1374 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
1375
1376 2003-01-06 Andrew Cagney <cagney@redhat.com>
1377
1378 * x86-64-linux-tdep.c: Include "osabi.h".
1379 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
1380
1381 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
1382
1383 2003-01-06 Andrew Cagney <cagney@redhat.com>
1384
1385 * MAINTAINERS (Target Instruction Set Architectures): Update
1386 arm-elf. Can be built with -Werror, has been multiarched.
1387
1388 * value.h (unpack_long): Make buffer parameter constant.
1389 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
1390 * scm-lang.h (scm_parse): Ditto.
1391 * defs.h (extract_typed_address, extract_address): Ditto.
1392 (extract_long_unsigned_integer): Ditto.
1393 * inferior.h (unsigned_pointer_to_address): Ditto.
1394 (signed_pointer_to_address): Ditto.
1395 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
1396 * gdbarch.h, gdbarch.c: Regenerate.
1397 * findvar.c (extract_long_unsigned_integer): Update.
1398 (extract_address): Update.
1399 (extract_typed_address): Update.
1400 (unsigned_pointer_to_address): Update.
1401 * values.c (unpack_long): Update.
1402 (unpack_double): Update.
1403 (unpack_pointer): Update.
1404 (unpack_field_as_long): Update.
1405 * d10v-tdep.c (d10v_pointer_to_address): Update.
1406 * avr-tdep.c (avr_pointer_to_address): Update.
1407 * scm-lang.c (scm_unpack): Update.
1408 * findvar.c (signed_pointer_to_address): Update.
1409
1410 2003-01-06 Michal Ludvig <mludvig@suse.cz>
1411
1412 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
1413 since it is in i386-tdep.c.
1414
1415 2003-01-06 J. Brobecker <brobecker@gnat.com>
1416
1417 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
1418 failure introduced in the previous change.
1419
1420 2003-01-05 Michael Chastain <mec@shout.net>
1421
1422 * README: Remove references to deleted remote-*.c files:
1423 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
1424 remote-nrom.c, remote-os9k.c, remote-udi.c.
1425
1426 2003-01-05 Mark Kettenis <kettenis@gnu.org>
1427
1428 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
1429 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
1430 i386_get_longjmp_target.
1431
1432 2003-01-05 Andrew Cagney <ac131313@redhat.com>
1433
1434 * arm-tdep.c (prologue_cache): Change to a pointer.
1435 (_initialize_arm_tdep): Allocate prologue_cache.
1436 (check_prologue_cache): Update.
1437 (save_prologue_cache): Update.
1438 (arm_gdbarch_init): Update.
1439
1440 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1441
1442 * stabsread.c (update_method_name_from_physname): Call complaint()
1443 instead of error.
1444
1445 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1446
1447 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
1448 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
1449 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
1450
1451 * blockframe.c: Include "gdbcmd.h" and "command.h".
1452 (backtrace_below_main): New variable.
1453 (file_frame_chain_valid, func_frame_chain_valid)
1454 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
1455 (generic_func_frame_chain_valid): Remove functions.
1456 (frame_chain_valid, do_flush_frames_sfunc): New functions.
1457 (_initialize_blockframe): New function.
1458 * Makefile.in (blockframe.o): Update dependencies.
1459 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
1460 comment. Call frame_chain_valid ().
1461 * frame.h: Remove old prototypes. Add prototype for
1462 frame_chain_valid and update comments to match.
1463 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
1464 Remove old comment.
1465 * gdbarch.h: Regenerated.
1466 * gdbarch.c: Regenerated.
1467
1468 * alpha-tdep.c (alpha_gdbarch_init): Don't call
1469 set_gdbarch_frame_chain_valid.
1470 * avr-tdep.c (avr_gdbarch_init): Likewise.
1471 * cris-tdep.c (cris_gdbarch_init): Likewise.
1472 * frv-tdep.c (frv_gdbarch_init): Likewise.
1473 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
1474 * i386-tdep.c (i386_svr4_init_abi): Likewise.
1475 (i386_nw_init_abi): Likewise.
1476 (i386_gdbarch_init): Likewise.
1477 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
1478 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
1479 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
1480 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
1481 * mips-tdep.c (mips_gdbarch_init): Likewise.
1482 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
1483 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
1484 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
1485 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1486 * s390-tdep.c (s390_gdbarch_init): Likewise.
1487 * sh-tdep.c (sh_gdbarch_init): Likewise.
1488 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1489 * v850-tdep.c (v850_gdbarch_init): Likewise.
1490 * vax-tdep.c (vax_gdbarch_init): Likewise.
1491 * x86-64-tdep.c (x86_64_init_abi): Likewise.
1492
1493 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
1494 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
1495 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
1496 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
1497 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
1498 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
1499 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
1500 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
1501
1502 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1503
1504 * Makefile.in (acconfig_h): Remove incorrect macro.
1505 (config_h): Define.
1506 (osabi.o): Update dependencies.
1507 * configure.tgt: Set gdb_osabi based on target triplet.
1508 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
1509 * configure: Regenerated.
1510 * config.in: Regenerated.
1511 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
1512 (GDB_OSABI_DEFAULT): Define if not already defined.
1513 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
1514 (set_osabi_string): New variables.
1515 (gdbarch_register_osabi): Add new OS ABI to
1516 gdb_osabi_available_names.
1517 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
1518 (set_osabi, show_osabi): New functions.
1519 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
1520
1521 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1522
1523 * arch-utils.c (gdbarch_info_init): Set osabi to
1524 GDB_OSABI_UNINITIALIZED.
1525 * gdbarch.sh: Add osabi to struct gdbarch and to struct
1526 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
1527 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
1528 * gdbarch.c: Regenerated.
1529 * gdbarch.h: Regenerated.
1530 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
1531 there's no BFD.
1532 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
1533 * osabi.h (enum gdb_osabi): Move to defs.h.
1534 (gdbarch_init_osabi): Update prototype.
1535 * defs.h (enum gdb_osabi): Moved here.
1536 * Makefile.in: Update dependencies.
1537
1538 * alpha-tdep.h: Don't include "osabi.h".
1539 (struct gdbarch_tdep): Remove osabi member.
1540 * alpha-tdep.c: Include "osabi.h".
1541 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1542 iterate over arches. Update call to gdbarch_init_osabi.
1543 (alpha_dump_tdep): Don't dump osabi.
1544 * alpha-linux-tdep.c: Include "osabi.h".
1545 * alpha-osf1-tdep.c: Include "osabi.h".
1546 * alphafbsd-tdep.c: Include "osabi.h".
1547 * alphanbsd-tdep.c: Include "osabi.h".
1548
1549 * arm-tdep.h: Don't include "osabi.h".
1550 (struct gdbarch_tdep): Remove osabi member.
1551 * arm-tdep.c: Include "osabi.h".
1552 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1553 iterate over arches. Update call to gdbarch_init_osabi.
1554 (arm_dump_tdep): Don't dump osabi.
1555 * arm-linux-tdep.c: Include "osabi.h".
1556 * armnbsd-tdep.c: Include "osabi.h".
1557
1558 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
1559 Update call to gdbarch_init_osabi.
1560
1561 * i386-tdep.h: Don't include "osabi.h".
1562 (struct gdbarch_tdep): Remove osabi member.
1563 * i386-tdep.c: Include "osabi.h".
1564 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1565 iterate over arches. Update call to gdbarch_init_osabi.
1566 (i386_dump_tdep): Don't dump osabi.
1567 * i386-linux-tdep.c: Include "osabi.h".
1568 * i386-sol2-tdep.c: Include "osabi.h".
1569 * i386bsd-tdep.c: Include "osabi.h".
1570 * i386gnu-tdep.c: Include "osabi.h".
1571 * i386ly-tdep.c: Include "osabi.h".
1572 * i386nbsd-tdep.c: Include "osabi.h".
1573 * i386obsd-tdep.c: Include "osabi.h".
1574
1575 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
1576 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1577 check osabi when iterating over arches. Update call to
1578 gdbarch_init_osabi.
1579 (mips_dump_tdep): Don't dump osabi.
1580
1581 * ns32k-tdep.h: Don't include "osabi.h".
1582 (struct gdbarch_tdep): Remove.
1583 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
1584 gdbarch_lookup_osabi. Don't iterate over arches. Don't
1585 allocate tdep. Update call to gdbarch_init_osabi.
1586 (ns32k_dump_tdep): Remove.
1587 (_initialize_ns32k_tdep): Update call to gdbarch_register.
1588 * ns32knbsd-tdep.c: Include "osabi.h".
1589
1590 * ppc-tdep.h: Don't include "osabi.h".
1591 (struct gdbarch_tdep): Remove osabi member.
1592 * rs6000-tdep.c: Include "osabi.h".
1593 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
1594 osabi when iterating over arches. Update call to
1595 gdbarch_init_osabi.
1596 (rs6000_dump_tdep): Don't dump osabi.
1597 * ppc-linux-tdep.c: Include "osabi.h".
1598 * ppcnbsd-tdep.c: Include "osabi.h".
1599
1600 * sh-tdep.h: Don't include "osabi.h".
1601 (struct gdbarch_tdep): Remove osabi member.
1602 * sh-tdep.c: Include "osabi.h".
1603 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1604 iterate over arches. Update call to gdbarch_init_osabi.
1605 (sh_dump_tdep): Don't dump osabi.
1606 * shnbsd-tdep.c: Include "osabi.h".
1607
1608 * sparc-tdep.c: Include "osabi.h".
1609 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1610 iterate over arches. Update call to gdbarch_init_osabi.
1611 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
1612 tdep structure.
1613
1614 * vax-tdep.h: Don't include "osabi.h".
1615 (struct gdbarch_tdep): Remove.
1616 * vax-tdep.c: Include "osabi.h".
1617 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1618 iterate over arches. Don't allocate tdep. Update call
1619 to gdbarch_init_osabi.
1620 (vax_dump_tdep): Remove.
1621 (_initialize_vax_tdep): Update call to gdbarch_register.
1622
1623 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1624
1625 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
1626 entirely.
1627 (breakpoint_re_set_one): Don't fetch the value for a disabled
1628 watchpoint.
1629
1630 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1631
1632 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
1633 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
1634 (COERCE_FLOAT_TO_DOUBLE): Remove.
1635 * gdbarch.c: Regenerate.
1636 * gdbarch.h: Regenerate.
1637 * Makefile.in: Remove value_h from gdbarch_h.
1638 * valops.c (coerce_float_to_double): New variable.
1639 (default_coerce_float_to_double): Remove.
1640 (standard_coerce_float_to_double): Remove.
1641 (value_arg_coerce): Use coerce_float_to_double.
1642 (_initialize_valops): Add "set coerce-float-to-double".
1643 * value.h (default_coerce_float_to_double): Remove prototype.
1644 (standard_coerce_float_to_double): Remove prototype.
1645
1646 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1647 prototyped.
1648 * mdebugread.c (parse_symbol): Likewise.
1649 * stabsread.c (define_symbol): Mark all functions as prototyped.
1650
1651 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1652 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1653 set_gdbarch_coerce_float_to_double.
1654 * arm-tdep.c (arm_gdbarch_init): Likewise.
1655 * frv-tdep.c (frv_gdbarch_init): Likewise.
1656 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1657 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1658 * mips-tdep.c (mips_gdbarch_init): Likewise.
1659 (mips_coerce_float_to_double): Remove.
1660 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1661 (rs6000_coerce_float_to_double): Remove.
1662 * s390-tdep.c (s390_gdbarch_init): Likewise.
1663 * sh-tdep.c (sh_gdbarch_init): Likewise.
1664 (sh_coerce_float_to_double): Remove.
1665 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1666 (sparc_coerce_float_to_double): Remove.
1667 * v850-tdep.c (v850_gdbarch_init): Likewise.
1668 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1669 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1670 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1671 (hppa_coerce_float_to_double): Remove prototype.
1672 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1673
1674 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1675
1676 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
1677
1678 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1679
1680 Suggested by Stewart Brown <sb24@avaya.com>:
1681 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
1682 in recursive calls. Handle TYPE_CODE_TYPEDEF.
1683 (c_type_print_varspec_suffix): Likewise.
1684
1685 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1686
1687 * configure.in: Don't set and AC_SUBST SUBDIRS.
1688 * configure: Regenerated.
1689
1690 * configure.in: Remove code dealing with shared libraries.
1691 * Makefile.in: Remove HLDFLAGS and HLDENV.
1692 * configure: Regenerated.
1693
1694 2003-01-04 Andrew Cagney <ac131313@redhat.com>
1695
1696 * frame.c (deprecated_frame_xmalloc): New function.
1697 (deprecated_set_frame_saved_regs_hack): New function.
1698 (deprecated_set_frame_extra_info_hack): New function.
1699 * frame.h (deprecated_frame_xmalloc): Declare.
1700 (deprecated_set_frame_saved_regs_hack): Declare.
1701 (deprecated_set_frame_extra_info_hack): Declare.
1702
1703 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1704
1705 * configure.in: Move code that provides the --enable-gdbtk option
1706 right after the code that handles the --enable-tui option, and
1707 polish it somewhat.
1708 * configure: Regenerated.
1709
1710 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
1711 AC_CHECK_FUNCS and remove the old check for pread64.
1712 * acinclude.m4 (AC_GNU_SOURCE): New macro.
1713 * acconfig.h (_GNU_SOURCE): Add.
1714 (HAVE_PREAD64): Remove.
1715 * configure, aclocal.m4, config.in: Regenerated.
1716
1717 2003-01-03 Andrew Cagney <ac131313@redhat.com>
1718
1719 * alpha-tdep.c: Use get_frame_saved_regs.
1720 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1721 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1722 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1723 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1724 * vax-tdep.c, xstormy16-tdep.c: Ditto.
1725
1726 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1727
1728 * configure.in: Remove all use of the SUBDIRS variable; add
1729 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
1730 code providing the --enable-multi-ice option, and move it right in
1731 front of the code that checks whether gdbserver is supported.
1732 Polish that too.
1733 * configure: Regenerated.
1734 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1735 @SUBDIRS@.
1736
1737 2003-01-03 Andrew Cagney <cagney@redhat.com>
1738
1739 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1740 * avr-tdep.c, cris-tdep.c: Ditto.
1741 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1742 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1743
1744 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1745
1746 * configure.in: Remove --enable-netrom option.
1747 * configure: Regenerated.
1748
1749 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1750
1751 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1752 declaration for `struct re_pattern_buffer' instead.
1753 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1754
1755 2003-01-03 J. Brobecker <brobecker@gnat.com>
1756
1757 * mdebugread.c (parse_symbol): Count until the stEnd matching
1758 the structure name.
1759
1760 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1761
1762 * configure.in: Remove --with-cpu option.
1763 subscripts. Remove evil changequotes here.
1764 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1765 * config.in, configure: Regenerated.
1766
1767 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1768 * configure.in: Cleanup section that sources GDB and BFD configure
1769 subscripts. Remove evil changequotes here.
1770 * config.in, configure: Regenerated.
1771
1772 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1773
1774 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1775 frame accessor methods.
1776 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1777 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1778 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1779 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1780 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1781 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1782 * z8k-tdep.c: Ditto.
1783
1784 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1785
1786 * configure.in: Remove UI_OUT configuration code.
1787 * ada-lang.c: Update assuming UI_OUT is always true.
1788 * Makefile.in (UIOUT_CFLAGS): Remove.
1789 * configure: Regenerated.
1790 * TODO: Remove blurb about elimination of -DUI_OUT.
1791
1792 * configure.in: Move code that provides the --enable-gdbcli,
1793 --enable-gdbmi options right before the code that handles the
1794 --enable-tui option. Polish a bit.
1795 * configure: Regenerated.
1796
1797 * configure.in: Rewrite check for GNU regex and the
1798 --without-included regex option, and move it into the "Checks for
1799 library functions" section. This makes us use the system regex
1800 again by default on systems with version 2 of the GNU C library.
1801 This was apparently broken.
1802 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1803 * acconfig.h (USE_INCLUDED_REGEX): Remove.
1804 * config.in, configure: Regenerated.
1805
1806 * configure.in: Move code that provides the --enable-tui option
1807 before the "Checks for libraries" section. Polish the code
1808 somewhat and set need_curses to yes if we build the TUI. Rewrite
1809 code that looks for a library providing termcap functionality to
1810 match more closely what's done in the Readline library, and move
1811 it into to the "Checks for libraries" section.
1812 * configure: Regenerated.
1813 * Makefile.in (TERMCAP): Remove variable.
1814 * config/i386/go32.mh (TERMCAP): Remove variable.
1815
1816 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1817
1818 * MAINTAINERS: Mention gdb_mbuild.sh.
1819 * gdb_mbuild.sh: Rewrite.
1820
1821 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1822
1823 * configure.in: Fix typo in last change.
1824 * config.in, configure: Regenerated.
1825
1826 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1827
1828 * valarith.c (value_binop): Delete obsolete code and comments.
1829 * configure.host: Ditto.
1830 * buildsym.h (make_blockvector): Ditto.
1831 * buildsym.c (make_blockvector): Ditto.
1832 * defs.h (enum language): Ditto.
1833 (chill_demangle): Ditto.
1834 * elfread.c (elf_symtab_read): Ditto.
1835 * dwarfread.c (CHILL_PRODUCER): Ditto.
1836 (set_cu_language): Ditto.
1837 (handle_producer): Ditto.
1838 * expprint.c (print_subexp): Ditto.
1839 * gdbtypes.c (chill_varying_type): Ditto.
1840 * gdbtypes.h (builtin_type_chill_bool): Ditto.
1841 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1842 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1843 (chill_varying_type): Ditto.
1844 * language.h (_LANG_chill): Ditto.
1845 * language.c (binop_result_type, integral_type): Ditto.
1846 (character_type, string_type, structured_type): Ditto.
1847 (lang_bool_type, binop_type_check): Ditto.
1848 * stabsread.h (os9k_stabs): Ditto.
1849 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1850 (define_symbol, read_type, read_struct_fields): Ditto.
1851 (read_array_type, read_enum_type, read_huge_number): Ditto.
1852 (read_range_type, start_stabs): Ditto.
1853 * symfile.c (init_filename_language_table): Ditto.
1854 (add_psymbol_with_dem_name_to_list): Ditto.
1855 * symtab.c (symbol_init_language_specific): Ditto.
1856 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1857 * symtab.h (struct general_symbol_info): Ditto.
1858 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1859 * typeprint.c (typedef_print): Ditto.
1860 * utils.c (fprintf_symbol_filtered): Ditto.
1861 * valops.c (value_cast, search_struct_field, value_slice): Delete
1862 obsolete code.
1863 (varying_to_slice): Delete function.
1864 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1865 (varying_to_slice): Delete declaration.
1866 * MAINTAINERS: Update.
1867
1868 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1869
1870 * configure.in: Reorganize "Checks for library functions section"
1871 a bit. Remove check for `btowc' and `isascii' functions.
1872 * configure: Regenerated.
1873
1874 * acconfig.h (_MSE_INT_H): Remove.
1875 * configure.in: Create "Checks for header files" section, and move
1876 appropriate tests there. Don't check for objlist.h, wchar.h,
1877 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
1878 misdetection fix. Also add "Checks for types", "Checks for
1879 compiler characteristics" and "Checks for library functions"
1880 sections.
1881 * config.in, configure: Regenerated.
1882
1883 * configure.in: Create "Checks for programs" section, and move
1884 appropriate tests there.
1885
1886 2003-01-01 Mark Kettenis <kettenis@gnu.org>
1887
1888 * configure.in: Create "Checks for libraries" section, and move
1889 appropriate tests there. Cleanup check for wctype in libw. Use
1890 AC_SEARCH_LIBS to see whether we need libsocket.
1891 * configure: Regenerated.
1892
1893 For older changes see ChangeLog-2002
1894 \f
1895 Local Variables:
1896 mode: change-log
1897 left-margin: 8
1898 fill-column: 74
1899 version-control: never
1900 End: