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