Re-indent utils.c.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
b1364885
AC
12003-01-31 Andrew Cagney <ac131313@redhat.com>
2
8731e58e
AC
3 * utils.c: Re-indent.
4
b1364885
AC
5 * config/djgpp/fnchange.lst: Delete nindy files.
6 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
7 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
8 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
9 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
10 * nindy-share/README, nindy-share/Onindy.c: Delete files.
11 * nindy-tdep.c, nindy-share/Makefile: Delete files.
12 * Makefile.in (init.c): Remove nindy references.
13 (saber_gdb): Delete rule.
14 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
15 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
16 and a68v-nat.c.
17 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
18 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
19 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
20 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
21 nindy-share/stop.h.
22 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
23 * saber.suppress: Delete file.
24
086df311
DJ
252003-01-31 Daniel Jacobowitz <drow@mvista.com>
26
27 * dbxread.c (stabs_data): New static variable.
28 (fill_symbuf): Support an in-memory buffer for stabs data.
29 (stabs_seek): New function.
30 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
31 (read_ofile_symtab): Use stabs_seek.
32 (elfstab_build_psymtabs): Take an asection* instead of
33 an offset and size. Relocate the stabs data if necessary.
34 Save the section* for dbx_psymtab_to_symtab.
35 * dwarf2read.c: Add section variables for each debug section.
36 (dwarf2_locate_sections): Fill them in.
37 (dwarf2_read_section): Take an asection* argument.
38 Relocate the section contents if necessary.
39 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
40 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
41 it to dwarf2_read_section.
42 (dwarf2_build_frame_info): Update callers.
43 * elfread.c (elf_symfile_read): Update call to
44 elfstab_build_psymtabs.
45 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
46 (DBX_STAB_SECTION): New macro.
47 * stabsread.h (elfstab_build_psymtabs): Update prototype.
48 * symfile.c (symfile_dummy_outputs): New function.
49 (symfile_relocate_debug_section): New function.
50 * symfile.h (symfile_relocate_debug_section): Add prototype.
51
87d1b352
RH
522003-01-31 Richard Henderson <rth@redhat.com>
53
54 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
55 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
56 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
57 * alpha-tdep.c (alpha_register_name): Add "unique".
58 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
59 (ALPHA_UNIQUE_REGNUM): New.
60 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
61
c48861fb
AC
622003-01-31 Andrew Cagney <ac131313@redhat.com>
63
64 * README: Remove reference to Ericsson 1800 monitor.
65 * Makefile.in (remote-es.o): Delete rule.
66 (ALLDEPFILES): Delete remote-es.c.
67 * remote-es.c: Delete file.
68 * config/m68k/es1800.mt: Delete file.
69 * config/djgpp/fnchange.lst: Update.
70 * configure.tgt: Delete m68*-ericsson-* target.
71
d764a824
AF
722003-01-31 Adam Fedor <fedor@gnu.org>
73
74 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
75 Remove duplicate/shadowing variable of same name.
76
fe36c4f4
JB
772003-01-30 Jim Blandy <jimb@redhat.com>
78
79 * symfile.c (find_separate_debug_file): Assert that the objfile's
80 directory name we compute ends with a slash, and then assume that
81 that's so everywhere we use it.
82
cb741690
DJ
832003-01-30 Daniel Jacobowitz <drow@mvista.com>
84
85 * valops.c (value_assign): Flush frame cache after stores to memory
86 also.
87
96ee5227
AC
882003-01-30 Andrew Cagney <ac131313@redhat.com>
89
90 * Makefile.in (mon960-rom.o): Delete rule.
91 * mon960-rom.c: Delete file.
92
7f6104a9
AC
932003-01-30 Andrew Cagney <ac131313@redhat.com>
94
95 * d10v-tdep.c: Include "frame-unwind.h".
96 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
97 list.
98 (next_addr, uses_frame): Delete.
99 (struct d10v_unwind_cache): Define.
100 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
101 Use info instead of next_addr and uses_frame globals.
102 (d10v_frame_init_saved_regs): Delete function.
103 (d10v_init_extra_frame_info): Delete function.
104 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
105 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
106 init_frame_pc or frame_saved_pc.
107 (d10v_pop_frame): Delete function.
108 (do_d10v_pop_frame): Delete function.
109 (d10v_frame_chain): Delete function.
110 (d10v_frame_chain_valid): Delete function.
111 (d10v_frame_pc_unwind): New function.
112 (d10v_frame_id_unwind): New function.
113 (saved_regs_unwinder): New function.
114 (d10v_frame_register_unwind): New function.
115 (d10v_frame_pop): New function.
116 (d10v_frame_unwind): New variable.
117 (d10v_frame_p): New function.
118 (d10v_frame_saved_pc): Delete function.
119 * Makefile.in (d10v-tdep.o): Update dependencies.
120
cad2e848
JB
1212003-01-30 J. Brobecker <brobecker@gnat.com>
122
123 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
124 causing some regressions due to a change in the default value
125 for this macro.
126
af34e669
DJ
1272003-01-29 Richard Henderson <rth@redhat.com>
128 Elena Zannoni <ezannoni@redhat.com>
129 Daniel Jacobowitz <drow@mvista.com>
130
131 Fix PR gdb/961.
132 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
133 variables.
134 (RANGES_SECTION): New.
135 (dwarf_ranges_buffer): New variable.
136 (struct comp_unit_head): Add member "die".
137 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
138 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
139 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
140 (dwarf2_locate_sections): Likewise.
141 (dwarf2_build_psymtabs): Read .debug_ranges.
142 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
143 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
144 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
145 Look for DW_AT_ranges and return the bounding box.
146
baa93fa6
CF
1472003-01-29 Brian Ford <ford@vss.fsi.com>
148
149 * win32-nat.c (cygwin_pid): Removed as unused.
150 (child_attach): Try fall back to Cygwin pid.
151
c63f977f
JB
1522003-01-29 Jim Blandy <jimb@redhat.com>
153
154 * objfiles.h (struct objfile): Doc fix.
155
d62d1979
AC
1562003-01-29 Andrew Cagney <ac131313@redhat.com>
157
158 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
159 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
160 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
161 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
162 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
163 (FRAME_SAVED_PC): Change to a function with predicate.
164 * gdbarch.h, gdbarch.c: Re-generate.
165
1ae18a04
AC
1662003-01-28 Andrew Cagney <ac131313@redhat.com>
167
52287340
AC
168 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
169
1ae18a04
AC
170 * complaints.c (complain): Delete function.
171 * complaints.h (struct deprecated_complaint): Delete definition.
172 (complain): Delete declaration.
173
f2c16bd6
KB
1742003-01-28 Kevin Buettner <kevinb@redhat.com>
175
176 * mips-tdep.c (mips_init_extra_frame_info): Return early for
177 dummy frames.
178
a94dd1fd
AC
1792003-01-27 Andrew Cagney <ac131313@redhat.com>
180
181 * sentinel-frame.h, sentinel-frame.c: New files.
182 * Makefile.in (frame.o): Update dependencies.
183 (SFILES): Add sentinel-frame.c.
184 (sentinel_frame_h): Define.
185 (COMMON_OBS): Add sentinel-frame.o.
186 (sentinel-frame.o): Specify dependencies.
187 * frame.c: Include "sentinel-frame.h".
188 (frame_register_unwind): Rewrite assuming that there is always a a
189 ->next frame.
190 (frame_register, generic_unwind_get_saved_register): Ditto.
191 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
192 (create_sentinel_frame, unwind_to_current_frame): New functions.
193 (get_current_frame): Rewrite using create_sentinel_frame and
194 unwind_to_current_frame. When possible, always create a frame.
195 (create_new_frame): Set next to the sentinel frame.
196 (get_next_frame): Rewrite. Don't go below the level 0 frame.
197 (deprecated_update_frame_pc_hack): Update the next frame's PC and
198 ID cache when necessary.
199 (frame_saved_regs_id_unwind): Use frame_relative_level.
200 (deprecated_generic_get_saved_register): Use frame_relative_level,
201 get_frame_saved_regs, get_frame_pc, get_frame_base and
202 get_next_frame.
203 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
204 frame_register.
205
5378adc4
DJ
2062003-01-27 Daniel Jacobowitz <drow@mvista.com>
207
208 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
209
51ee2ddc
DJ
2102003-01-27 Daniel Jacobowitz <drow@mvista.com>
211
212 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
213 (maintenance_set_profile_cmd): Use error () instead of warning ().
214
d9feb4e7
DJ
2152003-01-27 Daniel Jacobowitz <drow@mvista.com>
216
217 * configure.in: Check that -pg works if using --enable-profiling.
218 Check for monstartup and _mcleanup regardless of --enable-profiling.
219 * maint.c: Check for monstartup and _mcleanup before using them.
220 * config.in: Regenerated.
221 * configure: Regenerated.
222
cb3c37b2
JB
2232003-01-23 Jim Blandy <jimb@redhat.com>
224
225 * symfile.c (syms_from_objfile): Don't print the "(no debugging
226 symbols found)" message here; we haven't checked for a separate
227 debug info file yet, so we don't know yet.
228 (symbol_file_add_with_addrs_or_offsets): Print it here, after
229 we've looked everywhere. Also, there's no need to print a special
230 message when we're loading the separate debug info file: the one
231 symbol_file_add prints is fine.
232
5b5d99cf
JB
2332003-01-23 Alexander Larsson <alexl@redhat.com>
234 Jim Blandy <jimb@redhat.com>
235
236 Add support for executables whose debug info has been separated
237 out into a separate file, leaving only a link behind.
238 * objfiles.h (struct objfile): New fields: separate_debug_objfile
239 and separate_debug_objfile_backlink.
240 (put_objfile_before): New declaration.
241 * symfile.c: #include "filenames.h".
242 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
243 debug info in a separate file, read that, too. Save the addrs
244 argument, so we can use it again to read the separated debug info;
245 syms_from_objfile modifies the table we pass it.
246 (reread_symbols): After re-reading an objfile, call
247 reread_separate_symbols to refresh its separate debug info
248 objfile, if it has one.
249 (reread_separate_symbols, find_separate_debug_file,
250 get_debug_link_info, separate_debug_file_exists): New functions.
251 (debug_file_directory): New global var.
252 (_initialize_symfile): Initialize debug_file_directory, and
253 provide the new `set debug-file-directory' command to let the user
254 change it.
255 * objfiles.c (free_objfile): If this objfile has its debug info in
256 a separate objfile, free that one too. If this is itself a
257 separate debug info objfile, clear our parent's backlink.
258 (put_objfile_before): New function.
259 * utils.c (gnu_debuglink_crc32): New function.
260 * defs.h (gnu_debuglink_crc32): New declaration.
261 * Makefile.in (symfile.o): Note dependency on "filenames.h".
262 * configure.in: Handle --with-separate-debug-dir config option.
263 * acinclude.m4 (AC_DEFINE_DIR): New macro.
264 * acconfig.h (DEBUGDIR): New macro.
265 * configure, aclocal.m4, config.in: Regenerated.
266
7e8580c1
JB
2672003-01-22 Jim Blandy <jimb@redhat.com>
268
7904e09f
JB
269 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
270 like the old symbol_file_add, but taking new arguments: you can
271 now pass in either a `struct section_addr_info' list to say where
272 each section is loaded, or a `struct section_offsets' table. Pass
273 these new arguments through to syms_from_objfile as appropriate.
274 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
275 with the appropriate quiescent values for the new arguments.
276
7e8580c1
JB
277 * symfile.c: #include "gdb_assert.h".
278 (syms_from_objfile): Add the ability to pass in a section offset
279 table directly, as an alternative to the section_addr_info table.
280 Document arguments better.
281 (symbol_file_add): Pass extra arguments to syms_from_objfile.
282 * symfile.h (syms_from_objfile): Update declaration.
283 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
284 syms_from_objfile.
285 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
286
d28f9cdf
DJ
2872003-01-22 Daniel Jacobowitz <drow@mvista.com>
288
289 Original patch by Tom Tromey <tromey@cygnus.com> and
290 Jason Molenda <jmolenda@apple.com>.
291 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
292 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
293 * NEWS: Mention profiling.
294 * configure.in (--enable-gdbtk): Fix typo.
295 (--enable-profiling): New. Set PROFILE_CFLAGS.
296 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
297 Fill in function.
298 (profiling_state): New variable.
299 (mcleanup_wrapper): New function.
300 (_initialize_maint): Remove NOTYET, fix call to
301 add_setshow_boolean_cmd for "maint set profile".
302 * configure: Regenerated.
303
df21e465
MH
3042003-01-21 Martin M. Hunt <hunt@redhat.com>
305
306 * Makefile.in (install-gdbtk): Install PNG images too.
307
73c1f219
AC
3082003-01-21 Andrew Cagney <ac131313@redhat.com>
309
310 * exec.c (text_start): Delete global variable.
311 (exec_file_attach): Make text_start local to the function.
312 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
313 * valops.c (hand_function_call): Delete code that handles
314 BEFORE_TEXT_END and AFTER_TEXT_END.
315 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
316 of CALL_DUMMY_LOCATION.
317 * gdbarch.c: Regenerate.
318 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
319 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
320 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
321 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
322 (text_end): Delete extern declaration.
323
eb4f72c5
AC
3242003-01-21 Andrew Cagney <ac131313@redhat.com>
325
326 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
327 * blockframe.c (backtrace_below_main): Move to "frame.c".
328 (frame_chain_valid): Delete check for backtrace_below_main.
329 (_initialize_blockframe): Delete initialization, move ``set
330 backtrace-below-main'' command to "frame.c".
331 (do_flush_frames_sfunc): Delete function.
332 * frame.c: Include "command.h" and "gdbcmd.h".
333 (frame_type_from_pc): New function.
334 (create_new_frame): Use frame_type_from_pc.
335 (legacy_get_prev_frame): New function.
336 (get_prev_frame): Rewrite. When an old style frame, call
337 legacy_get_prev_frame. Otherwize, unwind the PC first.
338 (_initialize_frame): Add ``set backtrace-below-main'' command.
339 * Makefile.in (frame.o): Update dependencies.
340
778ce8cc
AC
3412003-01-19 Andrew Cagney <ac131313@redhat.com>
342
343 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
344 DEPRECATED_REGISTERS_INFO.
345
01c193c8
AC
3462003-01-19 Andrew Cagney <ac131313@redhat.com>
347
348 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
349 Maintainers'. Update `Various Maintainers'.
350
dedc2a2b
AC
3512003-01-19 Andrew Cagney <ac131313@redhat.com>
352
353 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
354 * gdbarch.sh (POP_FRAME): Change to function with predicate.
355 Suppress actual parameters when `-'.
356 * gdbarch.h, gdbarch.c: Regenerate.
357
b7261c70
AC
3582003-01-19 Andrew Cagney <ac131313@redhat.com>
359
360 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
361 code handling dummy frames.
362
dbe9fe58
AC
3632003-01-19 Andrew Cagney <ac131313@redhat.com>
364
365 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
366 (struct frame_unwind): Add field pop.
367 * frame.h (frame_pop): Declare.
368 * frame.c (frame_saved_regs_pop): New function.
369 (trad_frame_unwinder): Add frame_saved_regs_pop.
370 (frame_pop): New function.
371 * dummy-frame.c (dummy_frame_pop): New function.
372 (discard_innermost_dummy): New function.
373 (generic_pop_dummy_frame): Use discard_innermost_dummy.
374 (dummy_frame_unwind): Add dummy_frame_pop.
375 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
376 * valops.c (hand_function_call): Ditto.
377 * stack.c (return_command): Ditto.
378
570b8f7c
AC
3792003-01-18 Andrew Cagney <ac131313@redhat.com>
380
381 * cris-tdep.c: Fix function declaration indentation.
382 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
383 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
384 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
385 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
386 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
387 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
388
3892003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
390
391 * README (Unpacking and Installation -- quick overview):
392 Warn against ".../gdb-5.3/gdb/configure".
393
494cca16
AC
3942003-01-18 Andrew Cagney <ac131313@redhat.com>
395
396 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
397 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
398 (struct frame_unwind): Declare opaque.
399 (dummy_frame_p): Declare function.
400 * dummy-frame.c (dummy_frame_id_unwind): Make static.
401 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
402 * dummy-frame.c: Include "frame-unwind.h".
403 (dummy_frame_p): New function.
404 (dummy_frame_unwind): New variable.
405 * frame.c: Include "frame-unwind.h".
406 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
407 to use the new unwind field.
408 (set_unwind_by_pc): Delete function.
409 (create_new_frame, get_prev_frame): Set unwind field using
410 frame_unwind_find_by_pc.
411 (trad_frame_unwind, trad_frame_unwinder): New variables.
412 * frame.h (trad_frame_unwind): Declare variable.
413 (frame_id_unwind_ftype): Delete declaration.
414 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
415 (struct frame_unwind): Declare opaque.
416 (struct frame_info): Replace the fields id_unwind, pc_unwind and
417 register_unwind with a single unwind pointer.
418 * frame-unwind.h, frame-unwind.c: New files.
419 * Makefile.in (SFILES): Add frame-unwind.c.
420 (frame_unwind_h): Define.
421 (COMMON_OBS): Add frame-unwind.o.
422 (frame-unwind.o): Specify dependencies.
423 (frame.o, dummy-frame.o): Update dependencies.
424
4efb68b1
AC
4252003-01-18 Andrew Cagney <ac131313@redhat.com>
426
427 * ada-valprint.c: Eliminate PTR.
428 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
429 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
430 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
431 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
432 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
433 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
434 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
435
a84d24ee
AC
4362003-01-17 Andrew Cagney <ac131313@redhat.com>
437
762f08a3
AC
438 * main.c (captured_main): Don't use PTR.
439 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
440 * gdbtypes.c (lookup_primitive_typename): Ditto.
441 (lookup_struct_elt_type): Ditto.
442 * f-valprint.c (info_common_command): Ditto.
443 (list_all_visible_commons): Ditto.
444 * jv-typeprint.c (java_type_print_base): Ditto.
445
a84d24ee
AC
446 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
447 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
448 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
449 i386-interix-nat.c and i386-interix-tdep.c. Rename
450 m68klinux-nat.c and m68klinux-tdep.c. Rename
451 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
452 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
453 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
454 * main.c (captured_main): Use xfree, not free.
455
c170fb60
AC
4562003-01-16 Andrew Cagney <ac131313@redhat.com>
457
458 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
459 ID back using a parameter.
460 * frame.c (frame_id_unwind): Update call.
461 (frame_saved_regs_id_unwind): Update.
462 * dummy-frame.c (dummy_frame_id_unwind): Update function.
463 * dummy-frame.h (struct frame_id): Add opaque declaration.
464 (dummy_frame_id_unwind): Update declaration.
465
867f3898
AC
4662003-01-15 Andrew Cagney <ac131313@redhat.com>
467
468 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
469
40622be8 4702003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 471
40622be8 472 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 473
ae66c1fc
EZ
4742003-01-14 Elena Zannoni <ezannoni@redhat.com>
475
476 * breakpoint.c (until_break_command): Add new argument. Use it to
477 decide whether to stop only at the current frame or not.
478 * breakpoint.h (until_break_command): Update prototype.
479 * infcmd.c (until_command): Add new argument to until_break_command
480 call.
481 (advance_command): New function.
482 (_initialize_infcmd): Update help string for 'until' command.
483 Add new 'advance' command.
484
a04257e6
DC
4852003-01-14 David Carlton <carlton@math.stanford.edu>
486
487 * linespec.c (decode_line_1): Normalize comments.
488 (set_flags): Ditto.
489 (locate_first_half): Ditto.
490 (decode_compound): Ditto.
491 (symtab_from_filename): Ditto.
492 (decode_all_digits): Ditto.
493 (decode_dollar): Ditto.
494 (find_methods): Ditto.
495 (find_toplevel_char): Ditto.
496
1bac305b
AC
4972003-01-13 Andrew Cagney <ac131313@redhat.com>
498
499 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
500 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
501 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
502 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
503 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
504 * language.c, language.h, m32r-tdep.c: Update copyright.
505 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
506 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
507 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
508 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
509 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
510 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
511
25caa7a8
EZ
5122003-01-13 Elena Zannoni <ezannoni@redhat.com>
513
514 * stabsread.h (process_later, resolve_cfront_continuation):
515 Obsolete.
516 Update copyright years.
517 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
518 Update copyright year.
519 * dbxread.c(struct cont_elem): Obsolete.
520 (process_later, process_now): Obsolete functions.
521 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
522 Update copyright year.
523 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
524 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
525 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
526 (parse_partial_symbols): Obsolete cfront support.
527 * stabsread.c
528 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
529 macros.
530 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
531 read_cfront_baseclasses, read_cfront_member_functions,
532 resolve_cfront_continuation,read_cfront_static_fields,
533 copy_cfront_struct_fields): Obsolete functions.
534 (define_symbol, read_one_struct_field): Obsolete cfront support.
535 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
536 Update Copyright year.
537
7789c6f5
EZ
5382003-01-13 Elena Zannoni <ezannoni@redhat.com>
539
540 * stack.c (print_frame_info, print_stack_frame_base_stub,
541 print_stack_frame_base, show_and_print_stack_frame_stub,
542 show_and_print_stack_frame, print_only_stack_frame_stub,
543 print_only_stack_frame): Delete functions.
544 (print_stack_frame_stub): Call print_frame_info instead of
545 print_frame_info_base.
546 (print_frame_info_base): Rename to print_frame_info.
547 (backtrace_command_1): Call print_frame_info, instead of
548 print_frame_info_base.
549 (current_frame_command): Call print_stack_frame, instead of
550 print_only_stack_frame.
551 (frame_command): Call print_stack_frame, instead of
552 show_and_print_stack_frame.
553 (up_command): Ditto.
554 (down_command): Ditto.
555 * frame.h (print_only_stack_frame): Delete prototype.
556 * infrun.c (normal_stop): Call print_stack_frame, instead of
557 show_and_print_stack_frame.
558 * thread.c (info_threads_command): Call print_stack_frame, instead
559 of print_only_stack_frame.
560
3f5a3016
AC
5612003-01-13 Andrew Cagney <ac131313@redhat.com>
562
d99ba314
AC
563 * README (Graphical interface to GDB): Update URL. Point at
564 gdb/links/.
565
3f5a3016
AC
566 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
567 version match.
568
083ae935
DJ
5692003-01-13 Daniel Jacobowitz <drow@mvista.com>
570
571 * symtab.c (find_pc_sect_line): Don't consider end-of-function
572 lines.
573
5365276c
DJ
5742003-01-13 Daniel Jacobowitz <drow@mvista.com>
575
576 * thread-db.c (attach_thread): Prototype.
577 (struct private_thread_info): Remove lwpid. Add thread handle (th),
578 thread information (ti), and valid flags (th_valid, ti_valid).
579 (attach_thread): Move target_pid_to_str call to after the thread
580 is added to GDB's list. Initialize the cache.
581 (thread_get_info_callback, thread_db_map_id2thr)
582 (thread_db_get_info): New functions.
583 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
584 (thread_db_store_registers, thread_db_thread_alive)
585 (thread_db_get_thread_local_address): Use them.
586 (thread_db_pid_to_str): Likewise. Return "Missing" instead
587 of calling error() for threads in unknown state.
588
589 (clear_lwpid_callback): New function.
590 (thread_db_resume): Use it to clear the cache.
591
9fc30b6b
DJ
5922003-01-13 Daniel Jacobowitz <drow@mvista.com>
593
594 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
595 (resume_callback): Remove dead code.
596
8f871025
AC
5972003-01-13 Andrew Cagney <ac131313@redhat.com>
598
599 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
600 predicate.
601 * gdbarch.h, gdbarch.c: Regenerate.
602 * stack.c (frame_info): Only initialize the saved registers when
603 FRAME_INIT_SAVED_REGS_P.
604 * frame.c (frame_saved_regs_register_unwind): Assert
605 FRAME_INIT_SAVED_REGS_P.
606 (deprecated_generic_get_saved_register): Ditto.
607
3f565f1e
DJ
6082003-01-13 Daniel Jacobowitz <drow@mvista.com>
609
610 * source.c (openp): Squelch warning about "filename".
611
072b1022
DJ
6122003-01-13 Daniel Jacobowitz <drow@mvista.com>
613
614 * source.c (openp): If the file does not exist don't necessarily
615 search the path.
616
973ccf8b
DJ
6172003-01-13 Daniel Jacobowitz <drow@mvista.com>
618
619 Fix PR gdb/872.
620 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
621 (integer_types_same_name_p): New function.
622 (rank_one_type): Use it.
623 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
624
030292b7
DJ
6252003-01-13 Daniel Jacobowitz <drow@mvista.com>
626
627 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
628 variables.
629 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
630 * configure.in: Add --with-sysroot.
631 * configure: Regenerated.
632 * main.c (gdb_sysroot): New variable.
633 (captured_main): Initialize gdb_sysroot.
634 * defs.h (gdb_sysroot): New extern declaration.
635 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
636
afb5d334
MC
6372003-01-12 Michael Chastain <mec@shout.net>
638
639 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
640
751ceeb4
MC
6412003-01-12 Michael Chastain <mec@shout.net>
642
643 * top.c (print_gdb_version): Bump copyright year to 2003.
644
94cd26f8
DC
6452003-01-12 David Carlton <carlton@bactrian.org>
646
647 * linespec.c (symtab_from_filename): Rename variable 's' to
648 'file_symtab'.
649
1ce79225
AC
6502003-01-12 Andrew Cagney <ac131313@redhat.com>
651
652 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
653 dummy frame.
654 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
655
fa1fd571
AC
6562003-01-12 Andrew Cagney <ac131313@redhat.com>
657
658 * d10v-tdep.c: Include "gdb_assert.h".
659 (d10v_store_return_value): Rewrite to match current interface.
660 (d10v_extract_struct_value_address): Ditto.
661 (d10v_extract_return_value): Ditto.
662 (d10v_gdbarch_init): Set store_restore_value,
663 extract_struct_value_address and extract_return_value.
664
68b8d23e
JB
6652003-01-12 J. Brobecker <brobecker@gnat.com>
666
667 * hpread.c (set_namestring): New procedure replacing the
668 SET_NAMESTRING macro.
669 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
670 by calls to set_namestring.
671
6722003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
673
674 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
675 a compilation warning.
676 (hpread_process_one_debug_symbol): Likewise.
677
88d262ca
DC
6782003-01-10 David Carlton <carlton@math.stanford.edu>
679
680 * linespec.c (decode_line_1): Rename variable 's' to
681 'file_symtab'.
682 (decode_all_digits): Rename argument 's' to 'file_symtab'.
683 (decode_dollar): Ditto.
684 (decode_variable): Ditto.
685 (symbol_found): Ditto.
686
86669319
MC
6872003-01-09 Michael Chastain <mec@shout.net>
688
689 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
690
616a9dc4
CV
6912003-01-07 Corinna Vinschen <vinschen@redhat.com>
692
693 * win32-nat.c (set_process_privilege): New function.
694 (child_attach): Call set_process_privilege() to enable the
695 SE_DEBUG_NAME user privilege if available in process token.
696
3269bcfa
JB
6972003-01-10 J. Brobecker <brobecker@gnat.com>
698
699 * hpread.c (hpread_process_one_debug_symbol): Fix a small
700 compilation error in the previous revision.
701
2b0ee454
DC
7022003-01-09 David Carlton <carlton@math.stanford.edu>
703
704 * linespec.c: Update copyright.
705
b3ba1b44
DJ
7062003-01-09 Daniel Jacobowitz <drow@mvista.com>
707
708 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
709 than inferior_ptid.
710 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
711
4ef3f3be
AC
7122003-01-09 Andrew Cagney <ac131313@redhat.com>
713
479ab5a0
AC
714 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
715 Update comments.
716 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
717 (frame_saved_regs_zalloc): Update.
718 (frame_saved_regs_register_unwind): Update.
719 (create_new_frame): Update.
720 (get_prev_frame): Update.
721 (frame_extra_info_zalloc): Update.
722 (deprecated_get_frame_saved_regs): Update.
723 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
724 * cris-tdep.c: Update comment.
725
bde58177
AC
726 * somsolib.h: Fix function indentation.
727 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
728 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
729 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
730 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
731 * somsolib.c, inftarg.c: Remove assignment in if conditional.
732
4ef3f3be
AC
733 * infrun.c (follow_fork): Use ISO C definition.
734 * expprint.c (print_subexp): Use xfree instead of free.
735 * charset.c: Include "gdb_string.h" instead of <string.h>.
736 (register_iconv_charsets): Use ISO C definition.
737 (host_charset, target_charset): Ditto.
738 * Makefile.in (charset.o): Update dependencies.
739 (mi-cmd-env.o): Update dependencies.
740
1c615f7a
AC
7412003-01-08 Andrew Cagney <cagney@redhat.com>
742
743 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
744 get_frame_base.
745
c9a1dc08
AC
7462003-01-08 Andrew Cagney <ac131313@redhat.com>
747
748 * gdb_mbuild.sh: Add --keep option. When specified, keep the
749 build directories. Save edited gdb output in Mbuild.log. If a
750 build fails, remove any final GDB executable.
751
dbad9d94
AC
7522003-01-08 Andrew Cagney <ac131313@redhat.com>
753
754 * gdb_mbuild.sh: Edit the output of `maint print architecture'
755 replacing hex constants with function names and stripping leading
756 file name directory prefixes.
757
8d357cca
AC
7582003-01-08 Andrew Cagney <cagney@redhat.com>
759
760 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
761 get_frame_base.
762
bca02a8a
DC
7632003-01-08 David Carlton <carlton@math.stanford.edu>
764
765 * linespec.c (decode_line_1): Move code into decode_variable.
766 (decode_variable): New function.
767
7f8ab3a0
AC
7682003-01-08 Andrew Cagney <ac131313@redhat.com>
769
770 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
771
7b5849cc
AC
7722003-01-08 Andrew Cagney <cagney@redhat.com>
773
774 * cris-tdep.c (cris_frame_init_saved_regs): Use
775 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
776 saved_regs buffer.
777 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
778 (sh64_nofp_frame_init_saved_regs): Ditto.
779 (sh_fp_frame_init_saved_regs): Ditto.
780 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
781 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
782 * mcore-tdep.c (analyze_dummy_frame): Ditto.
783 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
784
72a5efb3
DJ
7852003-01-08 Daniel Jacobowitz <drow@mvista.com>
786
787 * minsyms.c (lookup_minimal_symbol): Update comment.
788 (lookup_minimal_symbol_text): Update comment. Use the hash table.
789 (lookup_minimal_symbol_solib_trampoline): Likewise.
790
11c02a10
AC
7912003-01-08 Andrew Cagney <cagney@redhat.com>
792
aab3ea25
AC
793 * d10v-tdep.c (d10v_init_extra_frame_info): Use
794 frame_relative_level.
795
da50a4b7
AC
796 * alpha-tdep.c: Use get_frame_extra_info.
797 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
798 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
799 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
800 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
801
11c02a10
AC
802 * alpha-tdep.c: Use get_next_frame.
803 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
804 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
805 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
806 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
807 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
808 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
809 * xstormy16-tdep.c: Ditto.
810
1e2330ba
AC
8112003-01-07 Andrew Cagney <cagney@redhat.com>
812
813 * alpha-tdep.c: Use get_frame_base.
814 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
815 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
816 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
817 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
818 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
819 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
820 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
821 * config/sparc/tm-sparc.h: Ditto.
822
2d75187b
AC
8232003-01-07 Andrew Cagney <cagney@redhat.com>
824
825 * frame.c (deprecated_get_frame_context): New function.
826 (deprecated_set_frame_context): New function.
827 * frame.h (deprecated_get_frame_context): Declare.
828 (deprecated_set_frame_context): Declare.
829 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
830 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
831
483d36b2
AC
8322003-01-07 Andrew Cagney <cagney@redhat.com>
833
834 * frame.c (deprecated_set_frame_next_hack): New function.
835 (deprecated_set_frame_prev_hack): New function.
836 * frame.h (deprecated_set_frame_next_hack): Declare.
837 (deprecated_set_frame_prev_hack): Declare.
838 * mcore-tdep.c (analyze_dummy_frame): Use
839 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
840 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
841
14e91ac5
DC
8422003-01-07 David Carlton <carlton@math.stanford.edu>
843
844 * linespec.c (decode_line_1): Move code into decode_dollar.
845 (decode_dollar): New function.
846
b0c6b05c
AC
8472003-01-07 Andrew Cagney <cagney@redhat.com>
848
849 * arm-tdep.c (arm_init_extra_frame_info): Use
850 deprecated_update_frame_base_hack.
851 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
852 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
853 (fix_frame_pointer): Ditto.
854 (mn10300_analyze_prologue): Ditto.
855
a00a19e9
AC
8562003-01-07 Andrew Cagney <cagney@redhat.com>
857
858 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
859 extra_info using frame_extra_info_zalloc.
860 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
861 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
862 (sh64_init_extra_frame_info): Ditto.
863 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
864 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
865 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
866 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
867 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
868 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
869 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
870 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
871 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
872 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
873 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
874 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
875
876 * mn10300-tdep.c (analyze_dummy_frame): Use
877 deprecated_set_frame_extra_info_hack.
878 * mcore-tdep.c (analyze_dummy_frame): Ditto.
879
1fb4c65b
JB
8802003-01-07 J. Brobecker <brobecker@gnat.com>
881
882 * mdebugread.c (parse_symbol): Skip stProc entries which storage
883 class is not scText. These do not define "real" procedures.
884 (parse_partial_symbols): Likewise.
885
9fe7d6bf
MS
8862003-01-06 Michael Snyder <msnyder@redhat.com>
887
888 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
889
f6c609c4
AC
8902003-01-06 Andrew Cagney <ac131313@redhat.com>
891
892 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
893 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
894 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
895 deprecated_frame_xmalloc_with_cleanup.
896 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
897 deprecated_frame_xmalloc.
898 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
899 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
900
d995ff4b
AC
9012003-01-06 Andrew Cagney <cagney@redhat.com>
902
84dc46cb
AC
903 * x86-64-linux-tdep.c: Include "osabi.h".
904 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
905
d995ff4b
AC
906 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
907
66140c26
AC
9082003-01-06 Andrew Cagney <cagney@redhat.com>
909
910 * MAINTAINERS (Target Instruction Set Architectures): Update
911 arm-elf. Can be built with -Werror, has been multiarched.
912
913 * value.h (unpack_long): Make buffer parameter constant.
914 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
915 * scm-lang.h (scm_parse): Ditto.
916 * defs.h (extract_typed_address, extract_address): Ditto.
917 (extract_long_unsigned_integer): Ditto.
918 * inferior.h (unsigned_pointer_to_address): Ditto.
919 (signed_pointer_to_address): Ditto.
920 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
921 * gdbarch.h, gdbarch.c: Regenerate.
922 * findvar.c (extract_long_unsigned_integer): Update.
923 (extract_address): Update.
924 (extract_typed_address): Update.
925 (unsigned_pointer_to_address): Update.
926 * values.c (unpack_long): Update.
927 (unpack_double): Update.
928 (unpack_pointer): Update.
929 (unpack_field_as_long): Update.
930 * d10v-tdep.c (d10v_pointer_to_address): Update.
931 * avr-tdep.c (avr_pointer_to_address): Update.
932 * scm-lang.c (scm_unpack): Update.
933 * findvar.c (signed_pointer_to_address): Update.
934
b089b3da
ML
9352003-01-06 Michal Ludvig <mludvig@suse.cz>
936
937 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
938 since it is in i386-tdep.c.
939
aff87235
JB
9402003-01-06 J. Brobecker <brobecker@gnat.com>
941
942 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
943 failure introduced in the previous change.
944
34f5e845
MC
9452003-01-05 Michael Chastain <mec@shout.net>
946
947 * README: Remove references to deleted remote-*.c files:
948 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
949 remote-nrom.c, remote-os9k.c, remote-udi.c.
950
28bcfd30
MK
9512003-01-05 Mark Kettenis <kettenis@gnu.org>
952
953 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
954 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
955 i386_get_longjmp_target.
956
15a5b3ee
AC
9572003-01-05 Andrew Cagney <ac131313@redhat.com>
958
959 * arm-tdep.c (prologue_cache): Change to a pointer.
960 (_initialize_arm_tdep): Allocate prologue_cache.
961 (check_prologue_cache): Update.
962 (save_prologue_cache): Update.
963 (arm_gdbarch_init): Update.
964
c263362b
DJ
9652003-01-04 Daniel Jacobowitz <drow@mvista.com>
966
967 * stabsread.c (update_method_name_from_physname): Call complaint()
968 instead of error.
969
51603483
DJ
9702003-01-04 Daniel Jacobowitz <drow@mvista.com>
971
972 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
973 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
974 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
975
976 * blockframe.c: Include "gdbcmd.h" and "command.h".
977 (backtrace_below_main): New variable.
978 (file_frame_chain_valid, func_frame_chain_valid)
979 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
980 (generic_func_frame_chain_valid): Remove functions.
981 (frame_chain_valid, do_flush_frames_sfunc): New functions.
982 (_initialize_blockframe): New function.
983 * Makefile.in (blockframe.o): Update dependencies.
984 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
985 comment. Call frame_chain_valid ().
986 * frame.h: Remove old prototypes. Add prototype for
987 frame_chain_valid and update comments to match.
988 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
989 Remove old comment.
990 * gdbarch.h: Regenerated.
991 * gdbarch.c: Regenerated.
992
993 * alpha-tdep.c (alpha_gdbarch_init): Don't call
994 set_gdbarch_frame_chain_valid.
995 * avr-tdep.c (avr_gdbarch_init): Likewise.
996 * cris-tdep.c (cris_gdbarch_init): Likewise.
997 * frv-tdep.c (frv_gdbarch_init): Likewise.
998 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
999 * i386-tdep.c (i386_svr4_init_abi): Likewise.
1000 (i386_nw_init_abi): Likewise.
1001 (i386_gdbarch_init): Likewise.
1002 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
1003 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
1004 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
1005 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
1006 * mips-tdep.c (mips_gdbarch_init): Likewise.
1007 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
1008 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
1009 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
1010 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1011 * s390-tdep.c (s390_gdbarch_init): Likewise.
1012 * sh-tdep.c (sh_gdbarch_init): Likewise.
1013 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1014 * v850-tdep.c (v850_gdbarch_init): Likewise.
1015 * vax-tdep.c (vax_gdbarch_init): Likewise.
1016 * x86-64-tdep.c (x86_64_init_abi): Likewise.
1017
1018 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
1019 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
1020 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
1021 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
1022 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
1023 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
1024 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
1025 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
1026
b00a8037
DJ
10272002-01-04 Daniel Jacobowitz <drow@mvista.com>
1028
1029 * Makefile.in (acconfig_h): Remove incorrect macro.
1030 (config_h): Define.
1031 (osabi.o): Update dependencies.
1032 * configure.tgt: Set gdb_osabi based on target triplet.
1033 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
1034 * configure: Regenerated.
1035 * config.in: Regenerated.
1036 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
1037 (GDB_OSABI_DEFAULT): Define if not already defined.
1038 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
1039 (set_osabi_string): New variables.
1040 (gdbarch_register_osabi): Add new OS ABI to
1041 gdb_osabi_available_names.
1042 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
1043 (set_osabi, show_osabi): New functions.
1044 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
1045
4be87837
DJ
10462003-01-04 Daniel Jacobowitz <drow@mvista.com>
1047
1048 * arch-utils.c (gdbarch_info_init): Set osabi to
1049 GDB_OSABI_UNINITIALIZED.
1050 * gdbarch.sh: Add osabi to struct gdbarch and to struct
1051 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
1052 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
1053 * gdbarch.c: Regenerated.
1054 * gdbarch.h: Regenerated.
1055 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
1056 there's no BFD.
1057 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
1058 * osabi.h (enum gdb_osabi): Move to defs.h.
1059 (gdbarch_init_osabi): Update prototype.
1060 * defs.h (enum gdb_osabi): Moved here.
1061 * Makefile.in: Update dependencies.
1062
1063 * alpha-tdep.h: Don't include "osabi.h".
1064 (struct gdbarch_tdep): Remove osabi member.
1065 * alpha-tdep.c: Include "osabi.h".
1066 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1067 iterate over arches. Update call to gdbarch_init_osabi.
1068 (alpha_dump_tdep): Don't dump osabi.
1069 * alpha-linux-tdep.c: Include "osabi.h".
1070 * alpha-osf1-tdep.c: Include "osabi.h".
1071 * alphafbsd-tdep.c: Include "osabi.h".
1072 * alphanbsd-tdep.c: Include "osabi.h".
1073
1074 * arm-tdep.h: Don't include "osabi.h".
1075 (struct gdbarch_tdep): Remove osabi member.
1076 * arm-tdep.c: Include "osabi.h".
1077 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1078 iterate over arches. Update call to gdbarch_init_osabi.
1079 (arm_dump_tdep): Don't dump osabi.
1080 * arm-linux-tdep.c: Include "osabi.h".
1081 * armnbsd-tdep.c: Include "osabi.h".
1082
1083 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
1084 Update call to gdbarch_init_osabi.
1085
1086 * i386-tdep.h: Don't include "osabi.h".
1087 (struct gdbarch_tdep): Remove osabi member.
1088 * i386-tdep.c: Include "osabi.h".
1089 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1090 iterate over arches. Update call to gdbarch_init_osabi.
1091 (i386_dump_tdep): Don't dump osabi.
1092 * i386-linux-tdep.c: Include "osabi.h".
1093 * i386-sol2-tdep.c: Include "osabi.h".
1094 * i386bsd-tdep.c: Include "osabi.h".
1095 * i386gnu-tdep.c: Include "osabi.h".
1096 * i386ly-tdep.c: Include "osabi.h".
1097 * i386nbsd-tdep.c: Include "osabi.h".
1098 * i386obsd-tdep.c: Include "osabi.h".
1099
1100 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
1101 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1102 check osabi when iterating over arches. Update call to
1103 gdbarch_init_osabi.
1104 (mips_dump_tdep): Don't dump osabi.
1105
1106 * ns32k-tdep.h: Don't include "osabi.h".
1107 (struct gdbarch_tdep): Remove.
1108 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
1109 gdbarch_lookup_osabi. Don't iterate over arches. Don't
1110 allocate tdep. Update call to gdbarch_init_osabi.
1111 (ns32k_dump_tdep): Remove.
1112 (_initialize_ns32k_tdep): Update call to gdbarch_register.
1113 * ns32knbsd-tdep.c: Include "osabi.h".
1114
1115 * ppc-tdep.h: Don't include "osabi.h".
1116 (struct gdbarch_tdep): Remove osabi member.
1117 * rs6000-tdep.c: Include "osabi.h".
1118 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
1119 osabi when iterating over arches. Update call to
1120 gdbarch_init_osabi.
1121 (rs6000_dump_tdep): Don't dump osabi.
1122 * ppc-linux-tdep.c: Include "osabi.h".
1123 * ppcnbsd-tdep.c: Include "osabi.h".
1124
1125 * sh-tdep.h: Don't include "osabi.h".
1126 (struct gdbarch_tdep): Remove osabi member.
1127 * sh-tdep.c: Include "osabi.h".
1128 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1129 iterate over arches. Update call to gdbarch_init_osabi.
1130 (sh_dump_tdep): Don't dump osabi.
1131 * shnbsd-tdep.c: Include "osabi.h".
1132
1133 * sparc-tdep.c: Include "osabi.h".
1134 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1135 iterate over arches. Update call to gdbarch_init_osabi.
1136 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
1137 tdep structure.
1138
1139 * vax-tdep.h: Don't include "osabi.h".
1140 (struct gdbarch_tdep): Remove.
1141 * vax-tdep.c: Include "osabi.h".
1142 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1143 iterate over arches. Don't allocate tdep. Update call
1144 to gdbarch_init_osabi.
1145 (vax_dump_tdep): Remove.
1146 (_initialize_vax_tdep): Update call to gdbarch_register.
1147
a881cf8e
DJ
11482003-01-04 Daniel Jacobowitz <drow@mvista.com>
1149
1150 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
1151 entirely.
1152 (breakpoint_re_set_one): Don't fetch the value for a disabled
1153 watchpoint.
1154
1e698235
DJ
11552003-01-04 Daniel Jacobowitz <drow@mvista.com>
1156
1157 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
1158 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
1159 (COERCE_FLOAT_TO_DOUBLE): Remove.
1160 * gdbarch.c: Regenerate.
1161 * gdbarch.h: Regenerate.
1162 * Makefile.in: Remove value_h from gdbarch_h.
1163 * valops.c (coerce_float_to_double): New variable.
1164 (default_coerce_float_to_double): Remove.
1165 (standard_coerce_float_to_double): Remove.
1166 (value_arg_coerce): Use coerce_float_to_double.
1167 (_initialize_valops): Add "set coerce-float-to-double".
1168 * value.h (default_coerce_float_to_double): Remove prototype.
1169 (standard_coerce_float_to_double): Remove prototype.
1170
1171 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1172 prototyped.
1173 * mdebugread.c (parse_symbol): Likewise.
1174 * stabsread.c (define_symbol): Mark all functions as prototyped.
1175
1176 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1177 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1178 set_gdbarch_coerce_float_to_double.
1179 * arm-tdep.c (arm_gdbarch_init): Likewise.
1180 * frv-tdep.c (frv_gdbarch_init): Likewise.
1181 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1182 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1183 * mips-tdep.c (mips_gdbarch_init): Likewise.
1184 (mips_coerce_float_to_double): Remove.
1185 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1186 (rs6000_coerce_float_to_double): Remove.
1187 * s390-tdep.c (s390_gdbarch_init): Likewise.
1188 * sh-tdep.c (sh_gdbarch_init): Likewise.
1189 (sh_coerce_float_to_double): Remove.
1190 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1191 (sparc_coerce_float_to_double): Remove.
1192 * v850-tdep.c (v850_gdbarch_init): Likewise.
1193 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1194 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1195 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1196 (hppa_coerce_float_to_double): Remove prototype.
1197 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1198
f436a26a
DJ
11992003-01-04 Daniel Jacobowitz <drow@mvista.com>
1200
1201 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
1202
248f8055
DJ
12032003-01-04 Daniel Jacobowitz <drow@mvista.com>
1204
1205 Suggested by Stewart Brown <sb24@avaya.com>:
1206 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
1207 in recursive calls. Handle TYPE_CODE_TYPEDEF.
1208 (c_type_print_varspec_suffix): Likewise.
1209
72cfdc76
MK
12102003-01-04 Mark Kettenis <kettenis@gnu.org>
1211
bfd260bb
MK
1212 * configure.in: Don't set and AC_SUBST SUBDIRS.
1213 * configure: Regenerated.
1214
72cfdc76
MK
1215 * configure.in: Remove code dealing with shared libraries.
1216 * Makefile.in: Remove HLDFLAGS and HLDENV.
1217 * configure: Regenerated.
1218
c8b8a898
AC
12192003-01-04 Andrew Cagney <ac131313@redhat.com>
1220
1221 * frame.c (deprecated_frame_xmalloc): New function.
1222 (deprecated_set_frame_saved_regs_hack): New function.
1223 (deprecated_set_frame_extra_info_hack): New function.
1224 * frame.h (deprecated_frame_xmalloc): Declare.
1225 (deprecated_set_frame_saved_regs_hack): Declare.
1226 (deprecated_set_frame_extra_info_hack): Declare.
1227
14abd0fb
MK
12282003-01-04 Mark Kettenis <kettenis@gnu.org>
1229
8ee53726
MK
1230 * configure.in: Move code that provides the --enable-gdbtk option
1231 right after the code that handles the --enable-tui option, and
1232 polish it somewhat.
1233 * configure: Regenerated.
1234
14abd0fb
MK
1235 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
1236 AC_CHECK_FUNCS and remove the old check for pread64.
1237 * acinclude.m4 (AC_GNU_SOURCE): New macro.
1238 * acconfig.h (_GNU_SOURCE): Add.
1239 (HAVE_PREAD64): Remove.
1240 * configure, aclocal.m4, config.in: Regenerated.
1241
b2fb4676
AC
12422003-01-03 Andrew Cagney <ac131313@redhat.com>
1243
1244 * alpha-tdep.c: Use get_frame_saved_regs.
1245 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1246 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1247 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1248 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1249 * vax-tdep.c, xstormy16-tdep.c: Ditto.
1250
8dcde887
MK
12512003-01-03 Mark Kettenis <kettenis@gnu.org>
1252
1253 * configure.in: Remove all use of the SUBDIRS variable; add
1254 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
1255 code providing the --enable-multi-ice option, and move it right in
1256 front of the code that checks whether gdbserver is supported.
1257 Polish that too.
1258 * configure: Regenerated.
1259 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1260 @SUBDIRS@.
1261
8ccd593b
AC
12622003-01-03 Andrew Cagney <cagney@redhat.com>
1263
1264 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1265 * avr-tdep.c, cris-tdep.c: Ditto.
1266 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1267 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1268
91151a06
MK
12692003-01-03 Mark Kettenis <kettenis@gnu.org>
1270
1271 * configure.in: Remove --enable-netrom option.
1272 * configure: Regenerated.
1273
8fe84d01
MK
12742003-01-03 Mark Kettenis <kettenis@gnu.org>
1275
1276 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1277 declaration for `struct re_pattern_buffer' instead.
1278 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1279
f0394be6
JB
12802003-01-03 J. Brobecker <brobecker@gnat.com>
1281
1282 * mdebugread.c (parse_symbol): Count until the stEnd matching
1283 the structure name.
1284
27e9bf90
MK
12852003-01-02 Mark Kettenis <kettenis@gnu.org>
1286
93d331ba
MK
1287 * configure.in: Remove --with-cpu option.
1288 subscripts. Remove evil changequotes here.
1289 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1290 * config.in, configure: Regenerated.
1291
27e9bf90
MK
1292 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1293 * configure.in: Cleanup section that sources GDB and BFD configure
1294 subscripts. Remove evil changequotes here.
1295 * config.in, configure: Regenerated.
1296
50abf9e5
AC
12972003-01-02 Andrew Cagney <ac131313@redhat.com>
1298
1299 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1300 frame accessor methods.
1301 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1302 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1303 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1304 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1305 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1306 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1307 * z8k-tdep.c: Ditto.
1308
287c1a40
MK
13092003-01-02 Mark Kettenis <kettenis@gnu.org>
1310
f5dbc56d
MK
1311 * configure.in: Remove UI_OUT configuration code.
1312 * ada-lang.c: Update assuming UI_OUT is always true.
1313 * Makefile.in (UIOUT_CFLAGS): Remove.
1314 * configure: Regenerated.
1315 * TODO: Remove blurb about elimination of -DUI_OUT.
1316
627af7ea
MK
1317 * configure.in: Move code that provides the --enable-gdbcli,
1318 --enable-gdbmi options right before the code that handles the
1319 --enable-tui option. Polish a bit.
1320 * configure: Regenerated.
1321
06825bd1
MK
1322 * configure.in: Rewrite check for GNU regex and the
1323 --without-included regex option, and move it into the "Checks for
1324 library functions" section. This makes us use the system regex
1325 again by default on systems with version 2 of the GNU C library.
1326 This was apparently broken.
1327 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1328 * acconfig.h (USE_INCLUDED_REGEX): Remove.
1329 * config.in, configure: Regenerated.
1330
287c1a40
MK
1331 * configure.in: Move code that provides the --enable-tui option
1332 before the "Checks for libraries" section. Polish the code
1333 somewhat and set need_curses to yes if we build the TUI. Rewrite
1334 code that looks for a library providing termcap functionality to
1335 match more closely what's done in the Readline library, and move
1336 it into to the "Checks for libraries" section.
1337 * configure: Regenerated.
1338 * Makefile.in (TERMCAP): Remove variable.
1339 * config/i386/go32.mh (TERMCAP): Remove variable.
1340
684e56bf
AC
13412003-01-02 Andrew Cagney <ac131313@redhat.com>
1342
1343 * MAINTAINERS: Mention gdb_mbuild.sh.
1344 * gdb_mbuild.sh: Rewrite.
1345
e1ea1d75
MK
13462003-01-02 Mark Kettenis <kettenis@gnu.org>
1347
1348 * configure.in: Fix typo in last change.
1349 * config.in, configure: Regenerated.
1350
1b831c93
AC
13512003-01-02 Andrew Cagney <ac131313@redhat.com>
1352
1353 * valarith.c (value_binop): Delete obsolete code and comments.
1354 * configure.host: Ditto.
1355 * buildsym.h (make_blockvector): Ditto.
1356 * buildsym.c (make_blockvector): Ditto.
1357 * defs.h (enum language): Ditto.
1358 (chill_demangle): Ditto.
1359 * elfread.c (elf_symtab_read): Ditto.
1360 * dwarfread.c (CHILL_PRODUCER): Ditto.
1361 (set_cu_language): Ditto.
1362 (handle_producer): Ditto.
1363 * expprint.c (print_subexp): Ditto.
1364 * gdbtypes.c (chill_varying_type): Ditto.
1365 * gdbtypes.h (builtin_type_chill_bool): Ditto.
1366 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1367 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1368 (chill_varying_type): Ditto.
1369 * language.h (_LANG_chill): Ditto.
1370 * language.c (binop_result_type, integral_type): Ditto.
1371 (character_type, string_type, structured_type): Ditto.
1372 (lang_bool_type, binop_type_check): Ditto.
1373 * stabsread.h (os9k_stabs): Ditto.
1374 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1375 (define_symbol, read_type, read_struct_fields): Ditto.
1376 (read_array_type, read_enum_type, read_huge_number): Ditto.
1377 (read_range_type, start_stabs): Ditto.
1378 * symfile.c (init_filename_language_table): Ditto.
1379 (add_psymbol_with_dem_name_to_list): Ditto.
1380 * symtab.c (symbol_init_language_specific): Ditto.
1381 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1382 * symtab.h (struct general_symbol_info): Ditto.
1383 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1384 * typeprint.c (typedef_print): Ditto.
1385 * utils.c (fprintf_symbol_filtered): Ditto.
1386 * valops.c (value_cast, search_struct_field, value_slice): Delete
1387 obsolete code.
1388 (varying_to_slice): Delete function.
1389 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1390 (varying_to_slice): Delete declaration.
1391 * MAINTAINERS: Update.
1392
8bb2c122
MK
13932003-01-02 Mark Kettenis <kettenis@gnu.org>
1394
97bf5e38
MK
1395 * configure.in: Reorganize "Checks for library functions section"
1396 a bit. Remove check for `btowc' and `isascii' functions.
1397 * configure: Regenerated.
1398
5ee754fc
MK
1399 * acconfig.h (_MSE_INT_H): Remove.
1400 * configure.in: Create "Checks for header files" section, and move
1401 appropriate tests there. Don't check for objlist.h, wchar.h,
1402 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
1403 misdetection fix. Also add "Checks for types", "Checks for
1404 compiler characteristics" and "Checks for library functions"
1405 sections.
1406 * config.in, configure: Regenerated.
1407
8bb2c122
MK
1408 * configure.in: Create "Checks for programs" section, and move
1409 appropriate tests there.
1410
9a156167
MK
14112003-01-01 Mark Kettenis <kettenis@gnu.org>
1412
1413 * configure.in: Create "Checks for libraries" section, and move
1414 appropriate tests there. Cleanup check for wctype in libw. Use
1415 AC_SEARCH_LIBS to see whether we need libsocket.
1416 * configure: Regenerated.
1417
a80e2bcb 1418For older changes see ChangeLog-2002
c906108c
SS
1419\f
1420Local Variables:
1421mode: change-log
1422left-margin: 8
1423fill-column: 74
1424version-control: never
1425End:
This page took 0.417057 seconds and 4 git commands to generate.