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