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