]>
Commit | Line | Data |
---|---|---|
530b167e JJ |
1 | 2003-04-17 Jeff Johnston <[email protected]> |
2 | ||
3 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
4 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
5 | as types. | |
6 | ||
ab9fe00e KB |
7 | 2003-04-16 Kevin Buettner <[email protected]> |
8 | ||
610a3745 | 9 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
10 | the size of ``long double'' to 16, instead of 8. |
11 | ||
e64a344c MK |
12 | 2003-04-16 Mark Kettenis <[email protected]> |
13 | ||
14 | * i386-linux-nat.c: Add some whitespace to make things more | |
15 | readable. | |
16 | (fetch_register, store_register, fetch_inferior_registers, | |
17 | store_inferior_registers): Get rid of assignment in if-statement. | |
18 | (store_register): Fix typo in error message. | |
19 | ||
25d41031 AC |
20 | 2003-04-16 Andrew Cagney <[email protected]> |
21 | ||
22 | * utils.c (xmmalloc): Always allocate something, matches | |
23 | libiberty/xmalloc's semantics. | |
24 | (xmrealloc, xmcalloc): Ditto. | |
25 | ||
c50901fd AC |
26 | 2003-04-16 Andrew Cagney <[email protected]> |
27 | ||
28 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
29 | update comments. | |
30 | (get_frame_type): Initialize unwind and type when needed. | |
31 | (get_frame_id, frame_register_unwind): Ditto. | |
32 | ||
f81824a9 AC |
33 | 2003-04-16 Andrew Cagney <[email protected]> |
34 | ||
35 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
36 | obsolete. | |
37 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
38 | * sparcl-stub.c: Obsolete file. | |
39 | * config/sparc/tm-sparclet.h: Obsolete file. | |
40 | * sparclet-stub.c: Obsolete file. | |
41 | * sparclet-rom.c: Obsolete file. | |
42 | * sparcl-tdep.c: Obsolete file. | |
43 | * config/sparc/tm-sparclite.h: Obsolete file. | |
44 | * config/sparc/sparclite.mt: Obsolete file. | |
45 | * config/sparc/sparclet.mt: Obsolete file. | |
46 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
47 | sparc86x-*-* obsolete. | |
48 | ||
9219021c DC |
49 | 2003-04-15 David Carlton <[email protected]> |
50 | ||
51 | * Makefile.in (SFILES): Add cp-namespace.c. | |
52 | (COMMON_OBS): Add cp-namespace.o. | |
53 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
54 | (buildsym.o): Depend on cp_support_h. | |
55 | (cp-namespace.o): New. | |
56 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
57 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
58 | (dwarf2read.o): Depend on cp_support_h. | |
59 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
60 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
61 | processing_current_namespace. | |
62 | (read_namespace): Update processing_current_namespace; check for | |
63 | anonymous namespaces. | |
64 | (dwarf2_name): New function. | |
65 | (dwarf2_extension): Ditto. | |
66 | * cp-support.h: Update copyright, contributors. | |
67 | Add inclusion guards. | |
68 | Add opaque declaration for structs obstack, block, symbol. | |
69 | (struct using_direct): New struct. | |
70 | Add declarations for cp_find_first_component, | |
71 | cp_entire_prefix_len, processing_has_namespace_info, | |
72 | processing_current_namespace, cp_is_anonymous, | |
73 | cp_add_using_directive, cp_initialize_namespace, | |
74 | cp_finalize_namespace, cp_set_block_scope, | |
75 | cp_scan_for_anonymous_namespaces. | |
76 | * cp-namespace.c: New file. | |
77 | * cp-support.c: Update copyright. | |
78 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
79 | New variable maint_cplus_cmd_list. | |
80 | (cp_find_first_component): New function. | |
81 | (cp_entire_prefix_len, maint_cplus_command) | |
82 | (first_component_command, _initialize_cp_support): Ditto. | |
83 | * buildsym.c: Include cp-support.h. | |
84 | New variable using_list. | |
85 | (add_symbol_to_list): Check for anonymous namespaces. | |
86 | (finish_block): Set block's scope. | |
87 | (start_symtab): Initialize C++ namespace support. | |
88 | (end_symtab): Finalize C++ namespace support. | |
89 | * block.h: Add opaque declarations for structs | |
90 | block_namespace_info, using_direct, and obstack. | |
91 | Add declarations for block_set_scope and block_set_using. | |
92 | (struct block): Add 'language_specific' member. | |
93 | (BLOCK_NAMESPACE): New macro. | |
94 | * block.c: Include gdb_obstack.h and cp-support.h. | |
95 | (struct block_namespace_info): New struct. | |
96 | (block_set_scope): New function. | |
97 | (block_set_using, block_initialize_namespace): Ditto. | |
98 | ||
d5a921c9 KB |
99 | 2003-04-14 Kevin Buettner <[email protected]> |
100 | ||
101 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
102 | (locate_base): Return early if there aren't any link map offsets. | |
103 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
104 | is unavailable. | |
105 | ||
d2a52b27 DC |
106 | 2003-04-14 David Carlton <[email protected]> |
107 | ||
108 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
109 | in hash table. Fix for PR java/1039. | |
110 | ||
980cae7a DC |
111 | 2003-04-14 David Carlton <[email protected]> |
112 | ||
113 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
114 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
115 | * symtab.h: Change 'name' argument in declaration of | |
116 | symbol_set_names to 'linkage_name'. | |
117 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
118 | ||
e227b13c AC |
119 | 2003-04-14 Andrew Cagney <[email protected]> |
120 | ||
121 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
122 | return the fully sign-extended register value. | |
123 | (get_frame_pointer): Ditto. | |
124 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
125 | dummy frame. | |
126 | ||
36712a20 AC |
127 | 2003-04-14 Andrew Cagney <[email protected]> |
128 | ||
129 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
130 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
131 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
132 | (mips_push_register): Delete function. | |
133 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
134 | PUSH_FP_REGNUM. | |
135 | ||
44ea7b70 JB |
136 | 2003-04-14 Jim Blandy <[email protected]> |
137 | ||
138 | * symmisc.c: #include "gdb_regex.h". | |
139 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
140 | functions. | |
141 | * maint.c (maintenance_list_command): New function. | |
142 | (_initialize_maint_cmds): Register the above as commands. | |
143 | * symtab.h (maintenance_list_symtabs, | |
144 | maintenance_list_psymtabs): New declarations. | |
145 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
146 | (init_cmd_lists): Initialize it. | |
147 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
148 | * gdbcmd.h (maintenancelistlist): New declaration. | |
149 | * Makefile.in (symmisc.o): Update dependencies. | |
150 | ||
2d0c7962 EZ |
151 | 2003-04-14 Elena Zannoni <[email protected]> |
152 | ||
153 | * s390-nat.c: Include asm/types.h for addr_t. | |
154 | ||
1947a811 CV |
155 | 2003-04-14 Corinna Vinschen <[email protected]> |
156 | ||
157 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
158 | actually incoming type. | |
159 | ||
adb616d7 AC |
160 | 2003-04-13 Andrew Cagney <[email protected]> |
161 | ||
162 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
163 | get_next_frame and get_frame_saved_regs. | |
164 | ||
9b5e151c AC |
165 | 2003-04-13 Andrew Cagney <[email protected]> |
166 | ||
167 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
168 | of gdbarch_num_regs. | |
169 | ||
ef6e7e13 AC |
170 | 2003-04-13 Andrew Cagney <[email protected]> |
171 | ||
172 | * frame.h: Mention what replaced what in "struct frame_info". | |
173 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
174 | deprecated_update_frame_base_hack and | |
175 | deprecated_update_frame_pc_hack. | |
176 | * hppa-tdep.c: Ditto. | |
177 | ||
61fbb938 DJ |
178 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
179 | ||
180 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
181 | to read_reg and update its comment. Remove regnum member. | |
182 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
183 | Don't call read_reg when setting in_reg. Call read_reg to get | |
184 | the frame base if it's in a register. Return the register number | |
185 | on the stack instead of in the context. Remove extra arguments | |
186 | to read_reg. | |
187 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
188 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
189 | the register number on the expression stack. | |
190 | (needs_frame_read_reg): Remove extra arguments. | |
191 | ||
0d53c4c4 DJ |
192 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
193 | ||
194 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
195 | made non-static. | |
196 | (execute_stack_op): All callers updated. | |
197 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
198 | * dwarf2loc.c (find_location_expression): New function. | |
199 | (dwarf_expr_frame_base): Call it. | |
200 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
201 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
202 | locexpr_tracepoint_var_ref. | |
203 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
204 | Make static. | |
205 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
206 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
207 | functions. | |
208 | (dwarf2_loclist_funcs): New struct location_funcs. | |
209 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
210 | (struct dwarf2_locexpr_baton): Add comments. | |
211 | (dwarf2_loclist_funcs): New extern. | |
212 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
213 | base_address and base_known. | |
214 | (dwarf_loc_buffer): New variable. | |
215 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
216 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
217 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
218 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
219 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
220 | DWARF_LOC_SIZE. | |
221 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
222 | here, from... | |
223 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
224 | cu_header. | |
225 | (dwarf2_symbol_mark_computed): Handle location lists. | |
226 | ||
6aca59a3 DJ |
227 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
228 | ||
229 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
230 | if the linkage name demangled successfully. | |
231 | ||
aca1fcd0 MK |
232 | 2003-04-13 Mark Kettenis <[email protected]> |
233 | ||
97095916 MK |
234 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
235 | disassmbly_flavour): Removed. | |
236 | ||
aca1fcd0 MK |
237 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
238 | ||
562a961f MK |
239 | 2003-04-13 Mark Kettenis <[email protected]> |
240 | ||
241 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
242 | ||
bd013d54 AC |
243 | 2003-04-12 Andrew Cagney <[email protected]> |
244 | ||
245 | * frame.h (struct frame_info): Move definition from here ... | |
246 | * frame.c (struct frame_info): ... to here. | |
247 | ||
167ef8b1 AC |
248 | 2003-04-12 Andrew Cagney <[email protected]> |
249 | ||
250 | * gdbthread.h (save_infrun_state): Delete parameter | |
251 | "prev_func_start". | |
252 | (struct thread_info): Delete field "prev_func_start". | |
253 | (load_infrun_state): Ditto. | |
254 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
255 | * infrun.c (prev_func_start): Delete variable. | |
256 | (context_switch, init_wait_for_inferior): Update. | |
257 | (stop_stepping, keep_going): Update. | |
258 | ||
da3331ec AC |
259 | 2003-04-12 Andrew Cagney <[email protected]> |
260 | ||
261 | * gdbarch.sh: Add missing opaque declarations. | |
262 | * gdbarch.h: Regnerate. | |
263 | * symtab.h: Add missing opaque declarations. | |
264 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
265 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
266 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
267 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
268 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
269 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
270 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
271 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
272 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
273 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
274 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
275 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
276 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
277 | ||
18adea3f AC |
278 | 2003-04-11 Andrew Cagney <[email protected]> |
279 | ||
280 | * frame.c (get_frame_id): Return this frame's "id". | |
281 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
282 | function start. | |
283 | (legacy_saved_regs_this_id): Replace function body with | |
284 | internal-error. | |
285 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
286 | FRAME_OBSTACK_ZALLOC. | |
287 | (create_new_frame): Mark the frame ID as valid. | |
288 | ||
2252e863 AO |
289 | 2003-04-11 Alexandre Oliva <[email protected]> |
290 | ||
291 | * Makefile.in (libbfd_h): Added missing setting. | |
292 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
293 | according to the selected ABI. | |
294 | ||
a8245ab8 JJ |
295 | 2003-04-11 Jeff Johnston <[email protected]> |
296 | ||
297 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
298 | ||
6913c89a AC |
299 | 2003-04-11 Andrew Cagney <[email protected]> |
300 | ||
301 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
302 | SAVED_PC_AFTER_CALL. | |
303 | * gdbarch.h, gdbarch.c: Regenerate. | |
304 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
305 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
306 | * vax-tdep.c (vax_gdbarch_init): Update. | |
307 | * v850-tdep.c (v850_gdbarch_init): Update. | |
308 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
309 | * sh-tdep.c (sh_gdbarch_init): Update. | |
310 | * s390-tdep.c (s390_gdbarch_init): Update. | |
311 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
312 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
313 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
314 | * mips-tdep.c (mips_gdbarch_init): Update. | |
315 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
316 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
317 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
318 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
319 | (ia64_saved_pc_after_call): Update declaration. | |
320 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
321 | * i386-tdep.c (i386_gdbarch_init): Update. | |
322 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
323 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
324 | * frv-tdep.c (frv_gdbarch_init): Update. | |
325 | * cris-tdep.c (cris_gdbarch_init): Update. | |
326 | * avr-tdep.c (avr_gdbarch_init): Update. | |
327 | * arm-tdep.c (arm_gdbarch_init): Update. | |
328 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
329 | * ns32knbsd-nat.c (frame_num_args): Update. | |
330 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
331 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
332 | * infrun.c (step_over_function): Update. | |
333 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
334 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
335 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
336 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
337 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
338 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
339 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
340 | * arch-utils.c (init_frame_pc_default): Update. | |
341 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
342 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
343 | declaration. | |
344 | ||
38edeab8 AC |
345 | 2003-04-11 Andrew Cagney <[email protected]> |
346 | ||
347 | * i387-tdep.c: Update copyright. | |
348 | (i387_to_double): Delete function. | |
349 | (double_to_i387): Delete function. | |
350 | ||
81f8a206 AC |
351 | 2003-04-10 Andrew Cagney <[email protected]> |
352 | ||
353 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
354 | frame's function's address. Simplify. | |
355 | (d10v_frame_unwind_cache): Check that the frame's function is | |
356 | non-zero. | |
357 | ||
6e691f7a JB |
358 | 2003-04-10 Jim Blandy <[email protected]> |
359 | ||
360 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
361 | call to set_gdbarch_deprecated_push_arguments. | |
362 | ||
7f78e237 AC |
363 | 2003-04-10 Andrew Cagney <[email protected]> |
364 | ||
365 | * frame.c (fprint_frame_id): New function. | |
366 | (fprint_frame_type, fprint_frame): New function. | |
367 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
368 | (create_sentinel_frame, get_frame_id): Ditto. | |
369 | (frame_id_p, frame_id_eq): Ditto. | |
370 | (frame_id_inner, create_new_frame): Ditto. | |
371 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
372 | (deprecated_update_frame_pc_hack): Ditto. | |
373 | (frame_register_unwind): Ditto. | |
374 | (deprecated_update_frame_base_hack): Ditto. | |
375 | ||
f870b49b CV |
376 | 2003-04-10 Corinna Vinschen <[email protected]> |
377 | ||
378 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
379 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
380 | frame_chain function. | |
381 | * Makefile.in: Add dependencies due to above change. | |
382 | ||
7c86889b CV |
383 | 2003-04-10 Corinna Vinschen <[email protected]> |
384 | ||
385 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
386 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
387 | inside_entry_file. | |
388 | ||
d0a55772 AC |
389 | 2003-04-09 Andrew Cagney <[email protected]> |
390 | ||
391 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
392 | "stack_addr" and "code_addr". Update comments. | |
393 | (frame_id_build): Update parameter names and comment. | |
394 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
395 | * dummy-frame.c (dummy_frame_this_id): Update. | |
396 | * breakpoint.c (print_one_breakpoint): Update. | |
397 | * frame.c (get_frame_id): Update. | |
398 | (get_frame_base, frame_id_build): Update. | |
399 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
400 | (deprecated_update_frame_base_hack): Update. | |
401 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
402 | (frame_id_inner): Ditto. | |
403 | ||
ac16bf07 AC |
404 | 2003-04-09 Andrew Cagney <[email protected]> |
405 | ||
406 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
407 | pointer constant. | |
408 | * utils.c (gdb_print_host_address): Update. | |
409 | ||
366cfc9e KB |
410 | 2003-04-09 Kevin Buettner <[email protected]> |
411 | ||
412 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
413 | register number for R0 is 0. | |
414 | ||
cd983b5c JB |
415 | 2003-04-09 J. Brobecker <[email protected]> |
416 | ||
417 | * frame.h (struct gdbarch): Add opaque structure definition | |
418 | to avoid a compilation warning on LynxOS 4.0. | |
419 | ||
d1340264 AC |
420 | 2003-04-09 Andrew Cagney <[email protected]> |
421 | ||
422 | * frame.h (struct frame_info): Delete field "pc". Replace | |
423 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
424 | structure. | |
425 | * frame.c (frame_pc_unwind): Update. | |
426 | (create_sentinel_frame): Do not set "pc". | |
427 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
428 | (get_frame_pc): Call frame_pc_unwind. | |
429 | (deprecated_update_frame_pc_hack): Update. | |
430 | (create_new_frame): Use "pc" not "->pc". | |
431 | ||
90a6fffb AC |
432 | 2003-04-09 Andrew Cagney <[email protected]> |
433 | ||
434 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
435 | (legacy_get_prev_frame): Ditto. | |
436 | (get_frame_base): Return id.base directly. | |
437 | (deprecated_update_frame_base_hack): Update "id.base". | |
438 | * frame.h (struct frame_info): Delete field "frame". | |
439 | ||
2fbce691 AC |
440 | 2003-04-09 Andrew Cagney <[email protected]> |
441 | ||
442 | * NEWS: Mention that the "Sequent family" is obsolete. | |
443 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
444 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
445 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
446 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
447 | * config/i386/tm-ptx4.h: Obsolete file. | |
448 | * config/i386/tm-ptx.h: Obsolete file. | |
449 | * symm-tdep.c: Obsolete file. | |
450 | * config/i386/symmetry.mt: Obsolete file. | |
451 | * config/i386/tm-symmetry.h: Obsolete file. | |
452 | * symm-nat.c: Obsolete file. | |
453 | * config/i386/nm-symmetry.h: Obsolete file. | |
454 | * config/i386/xm-symmetry.h: Obsolete file. | |
455 | * config/i386/symmetry.mh: Obsolete file. | |
456 | * config/i386/nm-ptx4.h: Obsolete file. | |
457 | * config/i386/ptx4.mh: Obsolete file. | |
458 | * config/i386/ptx.mt: Obsolete file. | |
459 | * config/i386/ptx.mh: Obsolete file. | |
460 | * config/i386/xm-ptx4.h: Obsolete file. | |
461 | * config/i386/xm-ptx.h: Obsolete file. | |
462 | ||
78c43945 AC |
463 | 2003-04-09 Andrew Cagney <[email protected]> |
464 | ||
465 | Obsolete mips*-*-mach3*. | |
466 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
467 | * m3-nat.c: Obsolete file. | |
468 | * config/nm-m3.h: Obsolete file. | |
469 | * config/mips/tm-mipsm3.h: Obsolete file. | |
470 | * config/mips/mipsm3.mt: Obsolete file. | |
471 | * config/mips/mipsm3.mh: Obsolete file. | |
472 | * config/mips/xm-mipsm3.h: Obsolete file. | |
473 | * mipsm3-nat.c: Obsolete file. | |
474 | * configure.host: Obsolete mips-dec-mach3*. | |
475 | * configure.tgt: Obsolete mips*-*-mach3*. | |
476 | ||
f1908289 AC |
477 | 2003-04-09 Andrew Cagney <[email protected]> |
478 | ||
479 | * doublest.h: Update copyright. | |
480 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
481 | store_floating and extract_floating. Update comments. | |
482 | * doublest.c: Update copyright. | |
483 | (extract_floating_by_length): Replace extract_floating. | |
484 | (store_floating_by_length): Replace store_floating. | |
485 | (deprecated_extract_floating): New function. | |
486 | (deprecated_store_floating): New function. | |
487 | (extract_typed_floating): Call extract_floating_by_length. | |
488 | (store_typed_floating): Call store_floating_by_length. | |
489 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
490 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
491 | (sh64_extract_return_value): Update. | |
492 | (sh_sh4_register_convert_to_virtual): Update. | |
493 | (sh_sh64_register_convert_to_virtual): Update. | |
494 | (sh_sh4_register_convert_to_raw): Update. | |
495 | (sh_sh64_register_convert_to_raw): Update. | |
496 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
497 | (rs6000_register_convert_to_raw): Update. | |
498 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
499 | (ia64_register_convert_to_raw): Update. | |
500 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
501 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
502 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
503 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
504 | (alpha_register_convert_to_raw): Update. | |
505 | ||
4443bd83 AC |
506 | 2003-04-08 Andrew Cagney <[email protected]> |
507 | ||
508 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
509 | * gdbarch.h, gdbarch.c: Re-generate. | |
510 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
511 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
512 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
513 | conditionally, use frame_pc_unwind as an alternative. Add | |
514 | comments. | |
515 | * arch-utils.c (init_frame_pc_default): Only call | |
516 | SAVED_PC_AFTER_CALL when available. | |
517 | ||
c0236d92 EZ |
518 | 2003-04-08 Elena Zannoni <[email protected]> |
519 | ||
520 | * infrun.c (stop_soon): Rename from stop_soon_quietly. | |
521 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. | |
522 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
523 | (start_remote): Ditto. | |
524 | (handle_inferior_event): Ditto. | |
525 | (save_inferior_status): Ditto. | |
526 | (restore_inferior_status): Ditto. | |
527 | * infcmd.c (attach_command): Ditto. | |
528 | * fork-child.c (startup_inferior): Ditto. | |
529 | * inferior.h (stop_soon): Rename from stop_soon_quietly. | |
530 | * alpha-tdep.c (heuristic_proc_start): Ditto. | |
531 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
532 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
533 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
534 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
535 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
536 | * remote-vx.c (vx_create_inferior): Ditto. | |
537 | ||
538 | 2003-04-08 Elena Zannoni <[email protected]> | |
539 | ||
540 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
541 | override the default behavior of handle_inferior_event. | |
542 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
543 | reflect that it is now an enum. | |
544 | (start_remote): Ditto. | |
545 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
546 | is set to handle the new GNU/Linux kernel behavior for | |
547 | attach/sigstop. Update uses of stop_soon_quietly. | |
548 | * inferior.h (enum stop_kind): New enum. | |
549 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
550 | Reset normal handle_inferior_event behavior, afterwards. | |
551 | * fork-child.c (startup_inferior): Update. | |
552 | * alpha-tdep.c (heuristic_proc_start): Update. | |
553 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
554 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
555 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
556 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
557 | * remote-vx.c (vx_create_inferior): Update. | |
558 | * mips-tdep.c (heuristic_proc_start): Update. | |
559 | ||
1211bce3 EZ |
560 | 2003-04-07 Elena Zannoni <[email protected]> |
561 | ||
562 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
563 | be freed more than once, causing wild memory corruptions. | |
564 | (gdb_disassembly): Look for the substring "-thread", | |
565 | instead of "-threads" in the target name, to make sure to find | |
566 | the 'multi-thread' target. Also, make sure we do the right thing | |
567 | with the "core" target. | |
568 | ||
f0ef6b29 KB |
569 | 2003-04-07 Kevin Buettner <[email protected]> |
570 | ||
571 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
572 | do_fp_register_row(). Registers are now (also) printed as hex. | |
573 | Only one register is printed per row. | |
574 | (mips_print_register, do_fp_register_row): Print floating point | |
575 | registers with mips_print_fp_register(). | |
576 | ||
8cf71652 AC |
577 | 2003-04-06 Andrew Cagney <[email protected]> |
578 | ||
5e488a7b AC |
579 | * valprint.h (inspect_it): Add extern declaration. |
580 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
581 | (selectors_info, classes_info): Ditto. | |
582 | (find_objc_msgcall): Fix indentation. | |
583 | (objc_printstr): Delete extern declarations. | |
584 | ||
8cf71652 AC |
585 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
586 | ||
e6ba3bc9 AC |
587 | 2003-04-06 Andrew Cagney <[email protected]> |
588 | ||
589 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
590 | Update comment. | |
591 | * frame.c (legacy_saved_regs_this_id): Update. | |
592 | (legacy_get_prev_frame): Update. | |
593 | * xstormy16-tdep.c: Update comment. | |
594 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
595 | * blockframe.c (legacy_frame_chain_valid): Update. | |
596 | ||
55e1d7e7 AC |
597 | 2003-04-06 Andrew Cagney <[email protected]> |
598 | ||
996179ee AC |
599 | * valprint.c (val_print_type_code_int): Delete #ifdef |
600 | PRINT_TYPELESS_INTEGER code. | |
601 | ||
55e1d7e7 AC |
602 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
603 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
604 | multi-arch definition. | |
605 | * gdbarch.h: Re-generate. | |
606 | ||
43bd9a9e AC |
607 | 2003-04-05 Andrew Cagney <[email protected]> |
608 | ||
609 | Eliminate FRAME_FIND_SAVED_REGS. | |
610 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
611 | Change FSR parameter to a pointer. | |
612 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
613 | Assume FSR parameter is a pointer. | |
614 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
615 | Make fsr a pointer. | |
616 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
617 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
618 | saved_regs a pointer. | |
619 | (hppa_frame_saved_pc): Ditto. | |
620 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
621 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
622 | pointer. | |
623 | (restore_pc_queue): Make fsr a pointer. | |
624 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
625 | (hppa_frame_chain): Make saved_regs a pointer, call | |
626 | hppa_frame_init_saved_regs. | |
627 | * sparc-tdep.c: Include "gdb_assert.h". | |
628 | (sparc_frame_find_saved_regs): Replace internal_error with | |
629 | gdb_assert. | |
630 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
631 | FRAME_FIND_SAVED_REGS. | |
632 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
633 | * gdbarch.h: Regenerate. | |
634 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
635 | (deprecated_get_frame_saved_regs): Delete declaration. | |
636 | (struct frame_saved_regs): Delete definition. | |
637 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
638 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
639 | (hppa_frame_find_saved_regs): Delete declaration. | |
640 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
641 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
642 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
643 | FRAME_FIND_SAVED_REGS in comment. | |
644 | ||
be41e9f4 AC |
645 | 2003-04-05 Andrew Cagney <[email protected]> |
646 | ||
647 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
648 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
649 | (struct frame_info): Add field "prev_func" for caching the | |
650 | previous frame's function address. | |
651 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
652 | get_pc_function_start and get_frame_pc into get_frame_func. | |
653 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
654 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
655 | * s390-tdep.c (s390_function_start): Ditto. | |
656 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
657 | (rs6000_frameless_function_invocation): Ditto. | |
658 | (rs6000_frame_saved_pc): Ditto. | |
659 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
660 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
661 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
662 | (i386_frame_init_saved_regs): Ditto. | |
663 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
664 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
665 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
666 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
667 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
668 | ||
a01dd7cc AC |
669 | 2003-04-05 Andrew Cagney <[email protected]> |
670 | ||
671 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
672 | function start. Update comments. | |
673 | ||
5e5592e6 AC |
674 | 2003-04-05 Andrew Cagney <[email protected]> |
675 | ||
676 | * frame.c (get_frame_id): Update comment. | |
677 | (legacy_get_prev_frame): Update comment. | |
678 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
679 | * gdbarch.h: Regenerate. | |
680 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
681 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
682 | ||
6fba5002 AC |
683 | 2003-04-05 Andrew Cagney <[email protected]> |
684 | ||
685 | * stack.c (print_frame_info): Use get_frame_pc. | |
686 | ||
7df05f2b AC |
687 | 2003-04-04 Andrew Cagney <[email protected]> |
688 | ||
689 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
690 | the frame's type from the unwinder. | |
691 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
692 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
693 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
694 | (get_frame_base_address): Use get_frame_type. | |
695 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
696 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
697 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
698 | (struct frame_info): Add comment explaining why the frame contains | |
699 | a "type" field. | |
700 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
701 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
702 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
703 | NORMAL_FRAME. | |
704 | * frame-unwind.h: Include "frame.h". | |
705 | (struct frame_unwind): Add "type" field. | |
706 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
707 | ||
11889732 AC |
708 | 2003-04-04 Andrew Cagney <[email protected]> |
709 | ||
710 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
711 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
712 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
713 | get_frame_base. | |
714 | (d10v_unwind_dummy_id): Use frame_id_build. | |
715 | * frame.c (find_frame_sal): Use get_frame_pc. | |
716 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
717 | deprecated_update_frame_base_hack. | |
718 | (create_sentinel_frame): Add comment about ->pc going away. | |
719 | (get_prev_frame): Add comment about ->pc going away. | |
720 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
721 | frame_id_build, deprecated_update_frame_pc_hack and | |
722 | deprecated_update_frame_base_hack. | |
723 | (select_frame): Use get_frame_pc. | |
724 | (legacy_saved_regs_this_id): Use frame_id_build. | |
725 | ||
50c46a0d EZ |
726 | 2003-04-04 Elena Zannoni <[email protected]> |
727 | ||
728 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the | |
729 | signed integer case. | |
730 | (classify_argument): Handle enumerations and references. | |
731 | ||
50bbdbd9 AC |
732 | 2003-04-04 Andrew Cagney <[email protected]> |
733 | ||
734 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
735 | ID to NULL. | |
736 | ||
36018d2e AF |
737 | 2003-04-01 Adam Fedor <[email protected]> |
738 | ||
739 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
740 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
741 | SYMBOL_NATURAL_NAME. | |
742 | (classes_info, find_methods): Likewise. | |
743 | ||
35cec841 KB |
744 | 2003-04-03 Kevin Buettner <[email protected]> |
745 | ||
746 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
747 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
748 | ||
43136899 BR |
749 | 2003-04-02 Bob Rossi <[email protected]> |
750 | ||
751 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
752 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
753 | (mi-cmd-file.o): Update dependencies. | |
754 | ||
040b99fd KB |
755 | 2003-04-01 Kevin Buettner <[email protected]> |
756 | ||
757 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
758 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
759 | ||
9a3d7dfd AF |
760 | 2003-04-01 Adam Fedor <[email protected]> |
761 | ||
762 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
763 | * language.h (struct language_defn): Add la_demangle. | |
764 | (language_demangle): Declare. | |
765 | * language.c (language_demangle): New function. | |
766 | (unk_lang_demangle): Likewise. | |
767 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
768 | Add ukn_lang_demangle. | |
769 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. | |
770 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. | |
771 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. | |
772 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
773 | * jv-lang.c (java_demangle): New function | |
774 | (java_language_defn): Use it for la_demangle element. | |
775 | * objc-lang.c (objc_demangle): Add options argument | |
776 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
777 | * maint.c (maintenance_demangle): Replace switch with | |
778 | call to language_demangle. | |
779 | * utils.c (fprintf_symbol_filtered): Likewise. | |
780 | ||
5e074003 AC |
781 | 2003-04-01 Andrew Cagney <[email protected]> |
782 | ||
783 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
784 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
785 | PRINT_TYPELESS_INTEGER. | |
786 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
787 | PUSH_RETURN_ADDRESS. | |
788 | ||
270cb5d6 AC |
789 | 2003-04-01 Andrew Cagney <[email protected]> |
790 | ||
791 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
792 | * d10v-tdep.c: Include "frame-base.h". | |
793 | (d10v_frame_unwind): Make constant. | |
794 | (d10v_frame_base_address): New function. | |
795 | (d10v_frame_base): New variable. | |
796 | (d10v_gdbarch_init): Set frame_base default. | |
797 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
798 | comment for base. | |
799 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
800 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
801 | address and this frame's func address for the frame ID. Use | |
802 | frame_id_build. Don't analyze beyond the current instruction. | |
803 | ||
6bfb3e36 AC |
804 | 2003-04-01 Andrew Cagney <[email protected]> |
805 | ||
806 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
807 | Refer to the base address, instead of the address of the first | |
808 | local or parameter. | |
809 | ||
da62e633 AC |
810 | 2003-04-01 Andrew Cagney <[email protected]> |
811 | ||
812 | Add frame debug info addresses: | |
813 | * frame-base.c: New file. | |
814 | * frame-base.h: New file. | |
815 | * frame.h (struct frame_base): Add opaque declaration. | |
816 | (get_frame_base): Update comment. | |
817 | (get_frame_base_address): Declare. | |
818 | (get_frame_locals_address): Declare. | |
819 | (get_frame_args_address): Declare. | |
820 | (struct frame_info): Add "base" and "base_cache". Update | |
821 | comments on the unwinder. | |
822 | * frame.c: Include "frame-base.h". | |
823 | (get_frame_locals_address): New function. | |
824 | (get_frame_base_address): New function. | |
825 | (get_frame_args_address): New function. | |
826 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
827 | get_frame_args_address. | |
828 | * stack.c (frame_info): Use get_frame_locals_address and | |
829 | get_frame_args_address. | |
830 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
831 | moved to "frame-base.c". | |
832 | * printcmd.c (print_frame_nameless_args): Ditto. | |
833 | * symtab.h (address_class): Update comments. | |
834 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
835 | get_frame_base_address. | |
836 | * dwarf2expr.c (execute_stack_op): Ditto. | |
837 | * Makefile.in (frame_base_h): Define. | |
838 | (frame.o): Update dependencies. | |
839 | (frame-base.o): Add dependencies. | |
840 | (SFILES): Add frame-base.c. | |
841 | (COMMON_OBS): Add frame-base.o. | |
842 | ||
3d30e9c2 AC |
843 | 2003-04-01 Andrew Cagney <[email protected]> |
844 | ||
845 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
846 | CALL_DUMMY_LENGTH): Ditto. | |
847 | * gdbarch.c: Re-generate. | |
848 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
849 | (CALL_DUMMY_LENGTH): Delete macro. | |
850 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
851 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
852 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
853 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
854 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
855 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
856 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
857 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
858 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
859 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
860 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
861 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
862 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
863 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
864 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
865 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
866 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
867 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
868 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
869 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
870 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
871 | ||
ce0c7262 CV |
872 | 2003-04-01 Corinna Vinschen <[email protected]> |
873 | ||
874 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
875 | ||
73dd234f AC |
876 | 2003-04-01 Andrew Cagney <[email protected]> |
877 | ||
878 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
879 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
880 | * gdbarch.h, gdbarch.c: Re-generate. | |
881 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
882 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
883 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
884 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
885 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
886 | * infcmd.c (run_stack_dummy): Simplify assuming | |
887 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
888 | * infrun.c (handle_inferior_event): Ditto. | |
889 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
890 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
891 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
892 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
893 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
894 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
895 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
896 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
897 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
898 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
899 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
900 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
901 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
902 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
903 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
904 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
905 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
906 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
907 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
908 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
909 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
910 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
911 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
912 | ||
97606a13 DJ |
913 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
914 | ||
915 | * symfile.c (symfile_relocate_debug_section): Update call to | |
916 | bfd_simple_get_relocated_section_contents. | |
917 | ||
e8ab51f7 AC |
918 | 2003-03-31 Andrew Cagney <[email protected]> |
919 | ||
920 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
921 | * gdbarch.h, gdbarch.c: Regenerate. | |
922 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
923 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
924 | available. | |
925 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
926 | * dummy-frame.h: Update comment. | |
927 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
928 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
929 | fix_call_dummy. | |
930 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
931 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
932 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
933 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
934 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
935 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
936 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
937 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
938 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
939 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
940 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
941 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
942 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
943 | ||
018d1b48 JB |
944 | 2003-03-31 J. Brobecker <[email protected]> |
945 | ||
946 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
947 | (INIT_FRAME_AP): Likewise. | |
948 | (EXTRA_FRAME_INFO): Likewise. | |
949 | ||
e9a2674e AC |
950 | 2003-03-31 Andrew Cagney <[email protected]> |
951 | ||
952 | * gdbarch.sh: Include "symfile.h". | |
953 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
954 | * gdbarch.h, gdbarch.c: Re-generate. | |
955 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
956 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
957 | call_dummy_address, the default is at entry_point_address. | |
958 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
959 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
960 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
961 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
962 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
963 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
964 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
965 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
966 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
967 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
968 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
969 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
970 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
971 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
972 | ||
e8a8712a AC |
973 | 2003-03-31 Andrew Cagney <[email protected]> |
974 | ||
975 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
976 | * gdbarch.h, gdbarch.c: Re-generate. | |
977 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
978 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
979 | * vax-tdep.c (vax_gdbarch_init): Update. | |
980 | * v850-tdep.c (v850_gdbarch_init): Update. | |
981 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
982 | * sh-tdep.c (sh_gdbarch_init): Update. | |
983 | * s390-tdep.c (s390_gdbarch_init): Update. | |
984 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
985 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
986 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
987 | * mips-tdep.c (mips_gdbarch_init): Update. | |
988 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
989 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
990 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
991 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
992 | * i386-tdep.c (i386_gdbarch_init): Update. | |
993 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
994 | * frv-tdep.c (frv_gdbarch_init): Update. | |
995 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
996 | * cris-tdep.c (cris_gdbarch_init): Update. | |
997 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
998 | * avr-tdep.c (avr_gdbarch_init): Update. | |
999 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1000 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1001 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
1002 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
1003 | * frame.c (legacy_get_prev_frame): Ditto. | |
1004 | * valops.c (call_function_by_hand): Delete function. | |
1005 | (hand_function_call): Rename to call_function_by_hand | |
1006 | ||
ed234cf8 AC |
1007 | 2003-03-30 Andrew Cagney <[email protected]> |
1008 | ||
1009 | 2002-11-10 Klee Dienes <[email protected]> | |
1010 | * value.h (struct value): Update comment. | |
1011 | ||
06c77151 AC |
1012 | 2003-03-30 Andrew Cagney <[email protected]> |
1013 | ||
6c2b5168 AC |
1014 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
1015 | D10V_FP_REGNUM. | |
1016 | (d10v_gdbarch_init): Do not set fp_regnum. | |
1017 | ||
06c77151 AC |
1018 | * frame.c (get_frame_base): Force ID initialization. |
1019 | (get_prev_frame): Move computation of the frame ID from here ... | |
1020 | (get_frame_id): ... to here. | |
1021 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
1022 | * frame.h (struct frame_info): Add field "id_p". | |
1023 | ||
97a1a11c MK |
1024 | 2003-03-30 Mark Kettenis <[email protected]> |
1025 | ||
1026 | * i386-tdep.c (i386_store_struct_return): Removed. | |
1027 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
1028 | ||
6c0e89ed AC |
1029 | 2003-03-30 Andrew Cagney <[email protected]> |
1030 | ||
1031 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
1032 | * gdbarch.h, gdbarch.c: Regenerate. | |
1033 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
1034 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
1035 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1036 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1037 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1038 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1039 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1040 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
1041 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1042 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
1043 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1044 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
1045 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
1046 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
1047 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
1048 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1049 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1050 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1051 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1052 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1053 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1054 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1055 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1056 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
1057 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
1058 | instead of when push_dummy_call is not available. | |
1059 | ||
f7dd6af2 AC |
1060 | 2003-03-30 Andrew Cagney <[email protected]> |
1061 | ||
1062 | * infttrace.c: Include "gdbthread.h". | |
1063 | (parent_attach_all): Fix function signature. | |
1064 | (call_ptrace): Update call. | |
1065 | * Makefile.in (infttrace.o): Update dependencies. | |
1066 | ||
28f617b3 AC |
1067 | 2003-03-30 Andrew Cagney <[email protected]> |
1068 | ||
1069 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
1070 | PUSH_RETURN_ADDRESS. | |
1071 | * gdbarch.h, gdbarch.c: Regenerate. | |
1072 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1073 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1074 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1075 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1076 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1077 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1078 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1079 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1080 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1081 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1082 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1083 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1084 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1085 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1086 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1087 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1088 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1089 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1090 | * valops.c (hand_function_call): Update. | |
1091 | ||
4d628cd7 AC |
1092 | 2003-03-29 Andrew Cagney <[email protected]> |
1093 | ||
1094 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
1095 | sizeof_call_dummy_words. | |
1096 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
1097 | define. | |
1098 | * gdbarch.h: Regenerate. | |
1099 | ||
65e82032 AC |
1100 | 2003-03-29 Andrew Cagney <[email protected]> |
1101 | ||
1102 | * infttrace.h: New file. | |
1103 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
1104 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
1105 | (hpread_read_doc_function_type): Detect an initialized type1. | |
1106 | (hpread_quick_traverse): Initialize mod_name_string. | |
1107 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
1108 | (som_solib_get_solib_by_pc): Declare. | |
1109 | (so_lib_thread_start_addr): Declare. | |
1110 | (no_shared_libraries): Declare. | |
1111 | * somread.c (init_import_symbols): Make static. Add forward | |
1112 | declaration. | |
1113 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
1114 | parent_attach_all. | |
1115 | (hppa_insert_hw_watchpoint): Declare. | |
1116 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
1117 | * hppah-nat.c: Include "gdb_string.h". | |
1118 | (parent_attach_all): Delete extern declaration, moved to | |
1119 | "infttrace.h". | |
1120 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
1121 | int. | |
1122 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
1123 | * Makefile.in (infttrace_h): Define. | |
1124 | (hpread.o): Update dependencies. | |
1125 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
1126 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
1127 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
1128 | * infrun.c (handle_inferior_event): Always initialize | |
1129 | stepped_after_stopped_by_watchpoint. Add default and remove | |
1130 | fallthrough in switch statement. | |
1131 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
1132 | parameter to int. | |
1133 | (hppa_remove_hw_watchpoint): Ditto. | |
1134 | ||
2c3bbe77 AC |
1135 | 2003-03-29 Andrew Cagney <[email protected]> |
1136 | ||
1137 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
1138 | offset. | |
1139 | ||
2dd604e7 RE |
1140 | 2003-03-29 Richard Earnshaw <[email protected]> |
1141 | ||
1142 | * arm-tdep.c (arm_push_arguments): Delete. | |
1143 | (struct stack_item): New type. | |
1144 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
1145 | (arm_store_struct_return): Delte. | |
1146 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
1147 | arm_push_arguments or arm_store_struct_return. | |
1148 | ||
e8933a55 AC |
1149 | 2003-03-28 Andrew Cagney <[email protected]> |
1150 | ||
1151 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
1152 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
1153 | * d10v-tdep.c: Include "remote.h". | |
1154 | (target_resume_hook): Delete extern declaration. | |
1155 | (target_wait_loop_hook): Ditto. | |
1156 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
1157 | (d10v_ts2_register_sim_regno): Eliminate call to | |
1158 | legacy_register_sim_regno. | |
1159 | (d10v_ts3_register_sim_regno): Ditto. | |
1160 | ||
6949171e JJ |
1161 | 2003-03-28 Jeff Johnston <[email protected]> |
1162 | ||
1163 | * thread.c: Reindented. | |
1164 | * lin-lwp.c: Ditto. | |
1165 | * linux-proc.c: Ditto. | |
1166 | ||
98c7071f BR |
1167 | 2003-03-28 Bob Rossi <[email protected]> |
1168 | ||
1169 | * MAINTAINERS (write after approval): Add myself. | |
1170 | ||
5edc9ca6 TR |
1171 | 2003-03-27 Theodore A. Roth <[email protected]> |
1172 | ||
1173 | * objc-exp.y: Add missing semi-colons. | |
1174 | ||
378bfd1b AC |
1175 | 2003-03-27 Andrew Cagney <[email protected]> |
1176 | ||
1177 | * regcache.c (write_sp): Delete function and references. | |
1178 | * inferior.h (write_sp): Delete declaration. | |
1179 | * valops.c (hand_function_call): Replace write_sp with | |
1180 | TARGET_WRITE_SP. | |
1181 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
1182 | (sparc_pop_frame): Ditto. | |
1183 | ||
56056df7 AC |
1184 | 2003-03-27 Andrew Cagney <[email protected]> |
1185 | ||
1186 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
1187 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
1188 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
1189 | * config/pa/xm-pa.h: Obsolete file. | |
1190 | * config/pa/xm-hppab.h: Obsolete file. | |
1191 | * config/pa/nm-hppab.h: Obsolete file. | |
1192 | * config/pa/tm-hppab.h: Obsolete file. | |
1193 | * config/pa/tm-hppao.h: Obsolete file. | |
1194 | * config/pa/nm-hppao.h: Obsolete file. | |
1195 | * config/pa/tm-pro.h: Obsolete file. | |
1196 | * config/pa/hppaosf.mt: Obsolete file. | |
1197 | * config/pa/hppaosf.mh: Obsolete file. | |
1198 | * config/pa/hppapro.mt: Obsolete file. | |
1199 | * config/pa/hppabsd.mt: Obsolete file. | |
1200 | * config/pa/hppabsd.mh: Obsolete file. | |
1201 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
1202 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
1203 | hppa*-*-osf*. | |
1204 | ||
5873a88d AC |
1205 | 2003-03-27 Andrew Cagney <[email protected]> |
1206 | ||
1207 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
1208 | push_arguments. Don't set push_return_address or write_sp. | |
1209 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
1210 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
1211 | handled by push_dummy_call. | |
1212 | ||
b81774d8 AC |
1213 | 2003-03-26 Andrew Cagney <[email protected]> |
1214 | ||
1215 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
1216 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
1217 | regcache and dummy_addr parameters. | |
1218 | * gdbarch.h, gdbarch.c: Re-generate. | |
1219 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
1220 | available; assume it will handle stack alignment and return | |
1221 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
1222 | legacy_push_arguments. | |
1223 | (legacy_push_arguments): Rename default_push_arguments. | |
1224 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
1225 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
1226 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
1227 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
1228 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
1229 | * config/i386/tm-symmetry.h: Update. | |
1230 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1231 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1232 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1233 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1234 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1235 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1236 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1237 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1238 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1239 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1240 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1241 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1242 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1243 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1244 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1245 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1246 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1247 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1248 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1249 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1250 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
1251 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1252 | ||
f541410f DJ |
1253 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
1254 | ||
1255 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
1256 | signal range test. | |
1257 | ||
69f567ae DJ |
1258 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
1259 | ||
1260 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
1261 | (struct sal_chain, map_catch_names): Remove. | |
1262 | (catch_exception_command_1): Don't call | |
1263 | handle_gnu_4_16_catch_command. | |
1264 | ||
d5d14a5a DJ |
1265 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
1266 | ||
1267 | From Mark Dettinger <[email protected]>: | |
1268 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
1269 | ||
bdd73e22 DJ |
1270 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
1271 | ||
1272 | * signals/signals.c: Fix typos in last change. | |
1273 | ||
960cb555 DJ |
1274 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
1275 | ||
1276 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
1277 | not already defined. Use __SIGRTMIN if available. | |
1278 | (target_signal_from_host): Remove SIGRTMIN block. | |
1279 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
1280 | the signal is within the realtime range. | |
1281 | ||
f636b87d AF |
1282 | 2003-03-25 Adam Fedor <[email protected]> |
1283 | ||
1284 | * Makefile.in (infrun.o): Add $(language_h) | |
1285 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
1286 | for language specific trampolines. | |
1287 | * language.h (struct language_defn): Add skip_trampoline. | |
1288 | (skip_language_trampoline): Declare. | |
1289 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
1290 | New functions. | |
1291 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
1292 | Add ukn_lang_trampoline. | |
1293 | * ada-lang.c (ada_language_defn): Add NULL for language | |
1294 | specific skip_trampoline. | |
1295 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
1296 | scm-lang.c: Likewise. | |
1297 | * objc-lang.c (objc_skip_trampoline): New function. | |
1298 | (objc_language_defn): Add objc_skip_trampoline. | |
1299 | ||
28f617b3 | 1300 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
1301 | |
1302 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
1303 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
1304 | the previous frame. | |
1305 | ||
f933a9c5 AC |
1306 | 2003-03-25 Andrew Cagney <[email protected]> |
1307 | ||
1308 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
1309 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
1310 | * gdbarch.h, gdbarch.c: Re-generate. | |
1311 | * config/sparc/tm-sparc.h | |
1312 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
1313 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
1314 | deprecated_extra_stack_alignment_needed. | |
1315 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
1316 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
1317 | extra_stack_alignment_needed. | |
1318 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1319 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
1320 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1321 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1322 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1323 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1324 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1325 | ||
4183d812 AC |
1326 | 2003-03-25 Andrew Cagney <[email protected]> |
1327 | ||
1328 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
1329 | STORE_STRUCT_RETURN. | |
1330 | * gdbarch.h, gdbarch.c: Regenerate. | |
1331 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
1332 | (d10v_push_arguments): Set the struct return register. | |
1333 | (d10v_gdbarch_init): Update. | |
1334 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1335 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1336 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1337 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1338 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1339 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1340 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1341 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1342 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1343 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1344 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1345 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1346 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1347 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1348 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1349 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1350 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1351 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1352 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1353 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1354 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1355 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1356 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1357 | ||
1bf6d5cc AC |
1358 | 2003-03-25 Andrew Cagney <[email protected]> |
1359 | ||
1360 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
1361 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
1362 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
1363 | * gdbarch.h, gdbarch.c: Regenerate. | |
1364 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
1365 | call_dummy_stack_adjust_p. | |
1366 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
1367 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1368 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1369 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1370 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
1371 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
1372 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1373 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1374 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1375 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1376 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1377 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
1378 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1379 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1380 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
1381 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1382 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1383 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
1384 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
1385 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
1386 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
1387 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
1388 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
1389 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
1390 | call_dummy_stack_adjust_p. | |
1391 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
1392 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
1393 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
1394 | * valops.c (hand_function_call): Update. | |
1395 | ||
71c08af0 CV |
1396 | 2003-03-25 Corinna Vinschen <[email protected]> |
1397 | ||
1398 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
1399 | set_gdbarch_char_signed. | |
1400 | ||
30757f90 RE |
1401 | 2003-03-25 Richard Earnshaw <[email protected]> |
1402 | ||
1403 | PR cli/548 | |
1404 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
1405 | ||
03d48a7d RE |
1406 | 2003-03-25 Richard Earnshaw <[email protected]> |
1407 | ||
1408 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
1409 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
1410 | ||
2cf6873c AF |
1411 | 2003-03-24 Adam Fedor <[email protected]> |
1412 | ||
1413 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
1414 | * objc-lang.h: Add multiple inclusion protection. | |
1415 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
1416 | ||
17c0759e RE |
1417 | 2003-03-24 Richard Earnshaw <[email protected]> |
1418 | ||
1419 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
1420 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
1421 | ||
618ce49f AC |
1422 | 2003-03-23 Andrew Cagney <[email protected]> |
1423 | ||
1424 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
1425 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
1426 | * gdbarch.h, gdbarch.c: Regenerate. | |
1427 | * valops.c (hand_function_call): Update. | |
1428 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
1429 | * frame.c (legacy_saved_regs_this_id): Update. | |
1430 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
1431 | * dummy-frame.h: Update. | |
1432 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
1433 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
1434 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
1435 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
1436 | * config/m68k/tm-sun3.h: Update. | |
1437 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
1438 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1439 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1440 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1441 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1442 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
1443 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1444 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1445 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
1446 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
1447 | (frame_get_saved_regs): Update. | |
1448 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
1449 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1450 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1451 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1452 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1453 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1454 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1455 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1456 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
1457 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
1458 | (i386_interix_back_one_frame): Update. | |
1459 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1460 | (hppa_init_extra_frame_info): Update. | |
1461 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1462 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1463 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1464 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1465 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1466 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1467 | ||
fd50bc42 RE |
1468 | 2003-03-22 Richard Earnshaw <[email protected]> |
1469 | ||
1470 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
1471 | (arm_get_fp_model): Declare. | |
1472 | * arm-tdep.c (fp_model_strings): New string array. | |
1473 | (arm_fp_model, current_fp_model): New variables. | |
1474 | (arm_get_fp_model): New function. | |
1475 | (arm_set_fp): New function. | |
1476 | (set_fp_model_sfunc): New function. | |
1477 | (show_fp_model): New function. | |
1478 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
1479 | (arm_extract_return_value): Use arm_get_fp_model. | |
1480 | (arm_store_return_value): Likewise. | |
1481 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
1482 | to initialize the floating-point data types. | |
1483 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
1484 | model is FPA. | |
1485 | ||
26304000 RE |
1486 | 2003-03-22 Richard Earnshaw <[email protected]> |
1487 | ||
1488 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
1489 | the current setting of each value. | |
1490 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
1491 | new_set and new_show. Use add_setshow_cmd_full and | |
1492 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" | |
1493 | commands and add new version as subcommands of "set/show arm". | |
1494 | ||
afd7eef0 RE |
1495 | 2003-03-22 Richard Earnshaw <[email protected]> |
1496 | ||
1497 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
1498 | (set_arm_command, show_arm_command): New functions. | |
1499 | (_initialize_arm_tdep): Add them. | |
1500 | (num_disassembly_options): Renamed from num_flavor_options. | |
1501 | (valid_disassembly_styles): Renamed from valid_flavors. | |
1502 | (disassembly_style): Renamed from disassembly_flavor. | |
1503 | (set_disassembly_style_sfunc): Renamed from | |
1504 | set_disassembly_flavor_sfunc. | |
1505 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
1506 | (arm_othernames): Updated. | |
1507 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
1508 | command. Add "set/show arm disassembly" commands. Deprecate | |
1509 | "othernames" command. | |
1510 | ||
299a7944 RE |
1511 | 2003-03-22 Richard Earnshaw <[email protected]> |
1512 | ||
1513 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
1514 | (arm-tdep.o): Depend on elf_arm_h. | |
1515 | ||
c1dac9e6 RE |
1516 | 2003-03-22 Richard Earnshaw <[email protected]> |
1517 | ||
1518 | * Makefile.in (coff_internal_h): Define. | |
1519 | (arm-tdep.o): Update dependencies. | |
1520 | ||
2702d96c RE |
1521 | 2003-03-22 Richard Earnshaw <[email protected]> |
1522 | ||
1523 | * arm-tdep.c (prologue_cache): Delete. | |
1524 | (check_prologue_cache, save_prologue_cache): Delete. | |
1525 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
1526 | (arm_gdb_arch_init): Don't initialize it. | |
1527 | (_initialize_arm_tdep): Likewise. | |
1528 | ||
27d5d74b SC |
1529 | 2003-03-21 Stephane Carrez <[email protected]> |
1530 | ||
1531 | * MAINTAINERS (tui): Maintainer of tui code. | |
1532 | ||
1762d96d CV |
1533 | 2003-03-21 Corinna Vinschen <[email protected]> |
1534 | ||
1535 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
1536 | (i386-cygwin-tdep.o): Add dependencies. | |
1537 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
1538 | * i386-cygwin-tdep.c: New file. | |
1539 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
1540 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
1541 | ||
4c2e2391 AC |
1542 | 2003-03-20 Andrew Cagney <[email protected]> |
1543 | ||
f20d38b7 AC |
1544 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
1545 | (handle_inferior_event): Remove code calling | |
1546 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
1547 | ||
0022b738 AC |
1548 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
1549 | already has a full path. | |
1550 | ||
864dbc90 AC |
1551 | * main.c (gdb_main): Return 1. |
1552 | (captured_main): Call error to report an invalid interpreter. | |
1553 | ||
4c2e2391 AC |
1554 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
1555 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
1556 | ||
5ef7553b JB |
1557 | 2003-03-19 J. Brobecker <[email protected]> |
1558 | ||
1559 | Continuing work to convert the hppa targets to multiarch partial. | |
1560 | ||
1561 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
1562 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
1563 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
1564 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
1565 | for the switch to multiarch partial. | |
1566 | ||
7bde8967 KB |
1567 | 2003-03-19 Kevin Buettner <[email protected]> |
1568 | ||
1569 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
1570 | when iss is issNull. | |
1571 | ||
b006a9e9 KB |
1572 | 2003-03-18 Kevin Buettner <[email protected]> |
1573 | ||
1574 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
1575 | NUM_REGS bounds check. | |
1576 | ||
5e2e9765 KB |
1577 | 2003-03-18 Kevin Buettner <[email protected]> |
1578 | ||
1579 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
1580 | * mips-tdep.c (gdb_assert.h): Include. | |
1581 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
1582 | (mips_register_name): Handle integer registers explicitly. Add | |
1583 | bounds checking. | |
1584 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
1585 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
1586 | handled by mips_register_name() now. | |
1587 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
1588 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
1589 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
1590 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
1591 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
1592 | ||
a2867626 AC |
1593 | 2003-03-18 Andrew Cagney <[email protected]> |
1594 | ||
1595 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
1596 | a void pointer. | |
1597 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
1598 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
1599 | ||
06600e06 JB |
1600 | 2003-03-18 J. Brobecker <[email protected]> |
1601 | ||
1602 | * infrun.c (observer.h): Add #include. | |
1603 | (normal_stop): Add call to observer_notify_normal_stop. | |
1604 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
1605 | ||
7daf4f5b JB |
1606 | 2003-03-18 J. Brobecker <[email protected]> |
1607 | ||
1608 | Continuing work to convert the hppa targets to multiarch partial. | |
1609 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
1610 | parameter. Reformat comment. | |
1611 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
1612 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
1613 | to match new profile. | |
1614 | ||
3371ccc0 JB |
1615 | 2003-03-18 J. Brobecker <[email protected]> |
1616 | ||
1617 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
1618 | appear to be working in any case. | |
1619 | ||
4fbe891e JB |
1620 | 2003-03-18 J. Brobecker <[email protected]> |
1621 | ||
1622 | * observer.c (observer_test_first_observer): New static variable. | |
1623 | (observer_test_second_observer): Likewise. | |
1624 | (observer_test_third_observer): Likewise. | |
1625 | (observer_test_first_notification_function): New static function. | |
1626 | (observer_test_second_notification_function): Likewise. | |
1627 | (observer_test_third_notification_function): Likewise. | |
1628 | ||
a7ff40e7 JB |
1629 | 2003-03-17 J. Brobecker <[email protected]> |
1630 | ||
1631 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
1632 | * somsolib.c (gdb_assert.h): Likewise. | |
1633 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
1634 | (somsolib.o): Likewise. | |
1635 | ||
26ca4152 AC |
1636 | 2003-03-17 Andrew Cagney <[email protected]> |
1637 | ||
1638 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
1639 | BFD. Simplify setting of di.endian. | |
1640 | ||
0a613259 AC |
1641 | 2003-03-17 Andrew Cagney <[email protected]> |
1642 | ||
1643 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
1644 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
1645 | ||
1646 | From Elena Zannoni <[email protected]> | |
1647 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
1648 | vector and floating-point parameters. | |
1649 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
1650 | convention. | |
1651 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
1652 | ||
1132738f FN |
1653 | 2003-03-17 Fernando Nasser <[email protected]> |
1654 | ||
1655 | * MAINTAINERS: Remove my name from several maintainership roles. | |
1656 | ||
6dc42492 AC |
1657 | 2003-03-17 Andrew Cagney <[email protected]> |
1658 | ||
1659 | Fix frame off-by-one bug. | |
1660 | * frame-unwind.h (frame_this_id_ftype): Replace | |
1661 | frame_unwind_id_ftype. | |
1662 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
1663 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
1664 | with "prev_register". | |
1665 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
1666 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
1667 | comment. | |
1668 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
1669 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
1670 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
1671 | (dummy_frame_unwind): Update. | |
1672 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
1673 | sentinel_frame_register_unwind. | |
1674 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
1675 | (sentinel_frame_unwinder): Update. | |
1676 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
1677 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
1678 | * frame.c (create_sentinel_frame): Update. Initialize | |
1679 | "prologue_cache" instead of "unwind_cache". | |
1680 | (frame_register_unwind): Call this frame's prev_register with the | |
1681 | next frame and this frame's prologue cache. | |
1682 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
1683 | this frame and prev frame's prologue cache. Document that this | |
1684 | call is shifted one to the left when compared to the | |
1685 | frame_register_unwind call. | |
1686 | (legacy_saved_regs_prev_register): Replace | |
1687 | frame_saved_regs_register_unwind. | |
1688 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
1689 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
1690 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
1691 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
1692 | (d10v_frame_unwind): Update. | |
1693 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
1694 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
1695 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
1696 | "saved_regs" with "this_saved_regs". | |
1697 | ||
efd710d6 AC |
1698 | 2003-03-16 Andrew Cagney <[email protected]> |
1699 | ||
1700 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
1701 | problem reported by Mark Kettenis. | |
1702 | ||
4e259f09 MK |
1703 | 2003-03-16 Mark Kettenis <[email protected]> |
1704 | ||
1705 | * i386-tdep.c (i386_register_type): Renamed from | |
1706 | i386_register_virtual_type. Adjust function signature. | |
1707 | (i386_gdbarch_init): Set register_type instead of | |
1708 | deprecated_max_register_raw_size, | |
1709 | deprecated_max_register_virtual_size and register_virtual_type. | |
1710 | ||
055bb976 AC |
1711 | 2003-03-14 Andrew Cagney <[email protected]> |
1712 | ||
1713 | * frame.c (get_prev_frame): When a legacy frame, always call | |
1714 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
1715 | the unwinder is new. | |
1716 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
1717 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
1718 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
1719 | ||
ac2adee5 AC |
1720 | 2003-03-14 Andrew Cagney <[email protected]> |
1721 | ||
1722 | * frame.c (get_saved_register): Delete function. | |
1723 | * frame.h (get_saved_register): Delete declaration. | |
1724 | * xstormy16-tdep.c: Update comment. | |
1725 | * regcache.h: Update comments. | |
1726 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
1727 | get_saved_register and extract_address, use | |
1728 | frame_read_unsigned_register. | |
1729 | (sparc_frame_saved_pc): Ditto. | |
1730 | (sparc_get_saved_register): Instead of get_saved_register, use | |
1731 | frame_register. | |
1732 | (sparc_pop_frame): Ditto. | |
1733 | * findvar.c: Update comments. | |
1734 | (value_of_register): Call frame_register instead of | |
1735 | get_saved_register. | |
1736 | (value_from_register): Ditto. | |
1737 | * config/sparc/tm-sparc.h: Update comment. | |
1738 | * breakpoint.c: Update comment. | |
1739 | ||
129c1cd6 AC |
1740 | 2003-03-14 Andrew Cagney <[email protected]> |
1741 | ||
1742 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
1743 | GET_SAVED_REGISTER. | |
1744 | * gdbarch.h, gdbarch.c: Re-generate. | |
1745 | * frame.h: Update comments. | |
1746 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1747 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1748 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1749 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1750 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1751 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1752 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1753 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1754 | * frame.c (frame_register): Update. | |
1755 | (get_saved_register): Update. | |
1756 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
1757 | ||
749b82f6 AC |
1758 | 2003-03-13 Andrew Cagney <[email protected]> |
1759 | ||
1760 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
1761 | * gdbarch.h, gdbarch.c: Regenerate. | |
1762 | * valops.c (hand_function_call): Update comment. | |
1763 | * stack.c (return_command): Update comment. | |
1764 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
1765 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
1766 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1767 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1768 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1769 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1770 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1771 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1772 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1773 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1774 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1775 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1776 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1777 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1778 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1779 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1780 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1781 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1782 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1783 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1784 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1785 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1786 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1787 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1788 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1789 | ||
1594fa56 AC |
1790 | 2003-03-13 Andrew Cagney <[email protected]> |
1791 | ||
1792 | * frame.c (legacy_frame_p): New function. | |
1793 | (get_prev_frame): Use legacy_frame_p. | |
1794 | * frame.h (legacy_frame_p): Declare. | |
1795 | ||
7717fda3 V |
1796 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
1797 | ||
1798 | * MAINTAINERS (write after approval): Alphabetically | |
1799 | listing corrected. | |
1800 | ||
0c67cbe9 V |
1801 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
1802 | ||
1803 | * MAINTAINERS (write after approval): Add myself. | |
1804 | ||
03febf99 AC |
1805 | 2003-03-12 Andrew Cagney <[email protected]> |
1806 | ||
1807 | * frame.c (get_prev_frame): Rename the frame parameter to | |
1808 | "this_frame". | |
1809 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
1810 | ||
0a1e1ca1 AC |
1811 | 2003-03-12 Andrew Cagney <[email protected]> |
1812 | ||
1813 | * frame.c (get_current_frame): Check target_has_registers before | |
1814 | checking target_has_stack. | |
1815 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
1816 | instead of deprecated_selected_frame. | |
1817 | * findvar.c (value_of_register): Pass "frame", not | |
1818 | deprecated_selected_frame, to value_of_builtin_reg. | |
1819 | ||
a66a9c23 AC |
1820 | 2003-03-12 Andrew Cagney <[email protected]> |
1821 | ||
1822 | * regcache.c (regcache_cooked_write_signed): New function. | |
1823 | (regcache_cooked_write_unsigned): New function. | |
1824 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
1825 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
1826 | * regcache.h (regcache_cooked_write_signed): Declare. | |
1827 | (regcache_cooked_write_unsigned): Declare. | |
1828 | ||
8bedc050 AC |
1829 | 2003-03-12 Andrew Cagney <[email protected]> |
1830 | ||
1831 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
1832 | * gdbarch.h, gdbarch.c: Re-generate. | |
1833 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1834 | * x86-64-tdep.h: Update. | |
1835 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1836 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1837 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1838 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1839 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1840 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1841 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
1842 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1843 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1844 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1845 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1846 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1847 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1848 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1849 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1850 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
1851 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1852 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1853 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1854 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1855 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1856 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1857 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1858 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
1859 | (sh64_init_extra_frame_info): Update. | |
1860 | * ns32knbsd-nat.c (frame_num_args): Update. | |
1861 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
1862 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
1863 | (xstormy16_frame_chain_valid): Update. | |
1864 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
1865 | * v850-tdep.c (v850_frame_chain): Update. | |
1866 | (v850_pop_frame): Update. | |
1867 | (v850_init_extra_frame_info): Update. | |
1868 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
1869 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
1870 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
1871 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
1872 | (mn10300_pop_frame_regular): Update. | |
1873 | (mn10300_init_extra_frame_info): Update. | |
1874 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
1875 | (mips_frame_chain): Update. | |
1876 | (mips_pop_frame): Update. | |
1877 | * mcore-tdep.c (mcore_frame_chain): Update. | |
1878 | (mcore_pop_frame): Update. | |
1879 | (mcore_init_extra_frame_info): Update. | |
1880 | * arch-utils.c (init_frame_pc_default): Update. | |
1881 | * m68k-tdep.c (isi_frame_num_args): Update. | |
1882 | (delta68_frame_num_args): Update. | |
1883 | (news_frame_num_args): Update. | |
1884 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
1885 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
1886 | (alpha_frame_chain): Update. | |
1887 | (alpha_pop_frame): Update. | |
1888 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
1889 | (hppa_init_extra_frame_info): Update. | |
1890 | (hppa_frame_chain): Update. | |
1891 | (hppa_frame_chain_valid): Update. | |
1892 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
1893 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
1894 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
1895 | (arm_init_extra_frame_info): Update. | |
1896 | (arm_pop_frame): Update. | |
1897 | * frame.c (frame_pc_unwind): Update. | |
1898 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
1899 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
1900 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
1901 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
1902 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
1903 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
1904 | ||
7a25a7c1 AC |
1905 | 2003-03-12 Andrew Cagney <[email protected]> |
1906 | ||
1907 | Eliminate the need for POP_FRAME. | |
1908 | * frame.c (do_frame_unwind_register): New function. | |
1909 | (frame_pop): When no POP_FRAME, pop the frame using register | |
1910 | unwind and a scratch regcache. | |
1911 | (frame_saved_regs_pop): Delete function. | |
1912 | (trad_frame_unwinder): Update. | |
1913 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
1914 | (d10v_frame_unwind): Update. | |
1915 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
1916 | (sentinel_frame_unwinder): Update. | |
1917 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
1918 | (dummy_frame_unwind): Update. | |
1919 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
1920 | (struct frame_unwind): Update. | |
1921 | ||
2f38ef89 KB |
1922 | 2003-03-11 Kevin Buettner <[email protected]> |
1923 | ||
1924 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
1925 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
1926 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
1927 | Do range checks on register number obtained from debugging info. | |
1928 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
1929 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
1930 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
1931 | mapping function. | |
1932 | (do_fp_register_row): Fix typo which caused double type to be | |
1933 | used when attempting to unpack a float. | |
1934 | ||
552f4abf JB |
1935 | 2003-03-11 J. Brobecker <[email protected]> |
1936 | ||
1937 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
1938 | ||
e0d2ae16 AC |
1939 | 2003-03-11 Andrew Cagney <[email protected]> |
1940 | ||
1941 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
1942 | frame. Problem found by Corinna Vinschen. | |
1943 | ||
ddbfdd06 PM |
1944 | 2003-03-11 Pierre Muller <[email protected]> |
1945 | ||
1946 | * doublest.c (floatformat_from_length): Accept also | |
1947 | the real size of 'long double' type. | |
1948 | ||
088b2ddc | 1949 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 1950 | |
088b2ddc | 1951 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
1952 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
1953 | as the old value, to match what is freed in bpstat_clear. | |
1954 | ||
f56f77c1 DC |
1955 | 2003-03-10 David Carlton <[email protected]> |
1956 | ||
1957 | * minsyms.c (add_minsym_to_hash_table): Replace | |
1958 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
1959 | (compare_minimal_symbols, compact_minimal_symbols) | |
1960 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
1961 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
1962 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
1963 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
1964 | ||
5602984a AC |
1965 | 2003-03-10 Andrew Cagney <[email protected]> |
1966 | ||
1967 | * regcache.h (regcache_cooked_read_ftype): Define. | |
1968 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
1969 | * regcache.c (regcache_save, regcache_restore): Update. | |
1970 | (do_cooked_read): New function. | |
1971 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
1972 | regcache_restore. | |
1973 | ||
8bedc050 AC |
1974 | 2003-03-10 Andrew Cagney <[email protected]> |
1975 | ||
1976 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
1977 | * gdbarch.h, gdbarch.c: Re-generate. | |
1978 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1979 | * x86-64-tdep.h: Update. | |
1980 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1981 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1982 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1983 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1984 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1985 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1986 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
1987 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1988 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1989 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1990 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1991 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1992 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1993 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1994 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1995 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
1996 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1997 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1998 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1999 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2000 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2001 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2002 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2003 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
2004 | (sh64_init_extra_frame_info): Update. | |
2005 | * ns32knbsd-nat.c (frame_num_args): Update. | |
2006 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
2007 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
2008 | (xstormy16_frame_chain_valid): Update. | |
2009 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
2010 | * v850-tdep.c (v850_frame_chain): Update. | |
2011 | (v850_pop_frame): Update. | |
2012 | (v850_init_extra_frame_info): Update. | |
2013 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
2014 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
2015 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
2016 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
2017 | (mn10300_pop_frame_regular): Update. | |
2018 | (mn10300_init_extra_frame_info): Update. | |
2019 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
2020 | (mips_frame_chain): Update. | |
2021 | (mips_pop_frame): Update. | |
2022 | * mcore-tdep.c (mcore_frame_chain): Update. | |
2023 | (mcore_pop_frame): Update. | |
2024 | (mcore_init_extra_frame_info): Update. | |
2025 | * arch-utils.c (init_frame_pc_default): Update. | |
2026 | * m68k-tdep.c (isi_frame_num_args): Update. | |
2027 | (delta68_frame_num_args): Update. | |
2028 | (news_frame_num_args): Update. | |
2029 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
2030 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
2031 | (alpha_frame_chain): Update. | |
2032 | (alpha_pop_frame): Update. | |
2033 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
2034 | (hppa_init_extra_frame_info): Update. | |
2035 | (hppa_frame_chain): Update. | |
2036 | (hppa_frame_chain_valid): Update. | |
2037 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
2038 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
2039 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
2040 | (arm_init_extra_frame_info): Update. | |
2041 | (arm_pop_frame): Update. | |
2042 | * frame.c (frame_pc_unwind): Update. | |
2043 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2044 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
2045 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
2046 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2047 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2048 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2049 | ||
12cc2063 AC |
2050 | 2003-03-10 Andrew Cagney <[email protected]> |
2051 | ||
2052 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
2053 | * gdbarch.h, gdbarch.c: Regenerate. | |
2054 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
2055 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
2056 | (frame_saved_regs_pc_unwind): Delete function. | |
2057 | (trad_frame_unwinder): Update. | |
2058 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
2059 | (struct frame_unwind): Update. | |
2060 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
2061 | (dummy_frame_unwind): Update. | |
2062 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
2063 | (sentinel_frame_unwinder): Update. | |
2064 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
2065 | (d10v_frame_unwind): Update. | |
2066 | (d10v_unwind_pc): New function. | |
2067 | (d10v_gdbarch_init): Set unwind_pc. | |
2068 | ||
ef840a37 AC |
2069 | 2003-03-10 Andrew Cagney <[email protected]> |
2070 | ||
a2ce2e56 AC |
2071 | * gdbarch.h: Re-generate. |
2072 | ||
ef840a37 AC |
2073 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
2074 | PC. | |
2075 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
2076 | the PC register. | |
2077 | ||
08f3424b MK |
2078 | 2003-03-08 Mark Kettenis <[email protected]> |
2079 | ||
2080 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
2081 | ||
1248ede2 AC |
2082 | 2003-03-08 Andrew Cagney <[email protected]> |
2083 | ||
2084 | * cli-out.c: Update copyright. | |
2085 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
2086 | ||
f49bacc8 AC |
2087 | 2003-03-08 Andrew Cagney <[email protected]> |
2088 | ||
2089 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
2090 | the result. | |
2091 | ||
9b05f993 AC |
2092 | 2003-03-07 Andrew Cagney <[email protected]> |
2093 | ||
2094 | * gdbarch.sh: Don't generate two macro definitions when an | |
2095 | undefined macro taking no arguments. | |
2096 | * gdbarch.h: Regenerate. | |
2097 | ||
166f4c7b ML |
2098 | 2002-03-07 Michal Ludvig <[email protected]> |
2099 | ||
2100 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
2101 | (x86_64_unwind_dummy_id): New functions. | |
2102 | (x86_64_init_abi): Register these two new functions. | |
2103 | ||
6d686a84 ML |
2104 | 2003-03-07 Michal Ludvig <[email protected]> |
2105 | ||
2106 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
2107 | (x86_64_skip_prologue): Move prologue detection to | |
2108 | separate function. | |
2109 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
2110 | ||
6314f104 AC |
2111 | 2003-03-05 Andrew Cagney <[email protected]> |
2112 | ||
2113 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
2114 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
2115 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
2116 | to use unwind_dummy_id when a dummy frame. | |
2117 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
2118 | predicate. | |
2119 | * gdbarch.h, gdbarch.c: Regneerate. | |
2120 | ||
ceea5145 AC |
2121 | 2003-03-05 Andrew Cagney <[email protected]> |
2122 | ||
2123 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
2124 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
2125 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
2126 | values. | |
2127 | ||
0d843116 AC |
2128 | 2003-03-05 Andrew Cagney <[email protected]> |
2129 | ||
2130 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
2131 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
2132 | "next_addr" with "sp_offset". Add "r11_offset". | |
2133 | (d10v_frame_unwind_cache): Update. | |
2134 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
2135 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
2136 | RN was saved in r11_offset. | |
2137 | ||
b2579786 AC |
2138 | 2003-03-05 Andrew Cagney <[email protected]> |
2139 | ||
2140 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
2141 | cached PC value in the next frame. | |
2142 | ||
218e5956 AC |
2143 | 2003-03-05 Andrew Cagney <[email protected]> |
2144 | ||
2145 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
2146 | "id_unwind_cache" with "id". | |
2147 | (frame_id_unwind): Delete declaration. | |
2148 | * frame.c (frame_id_unwind): Delete function. | |
2149 | (get_prev_frame): Call the frame id unwind method directly. Store | |
2150 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
2151 | is a problem with the wrong unwind ID being called with the wrong | |
2152 | unwind cache. | |
2153 | ||
ed363b1b DJ |
2154 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
2155 | ||
2156 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
2157 | ||
fe1f4a5e DJ |
2158 | 2003-03-05 James Ingham <[email protected]> |
2159 | Daniel Jacobowitz <[email protected]> | |
2160 | ||
2161 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
2162 | (auto_cp_abi): New variable. | |
2163 | (current_cp_abi, num_cp_abis): Make static. | |
2164 | (CP_ABI_MAX): Define. | |
2165 | (cp_abis): Turn into an array. | |
2166 | (value_virtual_fn_field): Fix formatting. | |
2167 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
2168 | takes a pointer. | |
2169 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
2170 | (list_cp_abis, _initialize_cp_abi): New functions. | |
2171 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
2172 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
2173 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
2174 | * Makefile.in (cp-abi.o): Update dependencies. | |
2175 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
2176 | instead of switch_to_cp_abi. | |
2177 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
2178 | register_cp_abi. | |
2179 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
2180 | register_cp_abi. | |
2181 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
2182 | ||
e4adbba9 DJ |
2183 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
2184 | ||
2185 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
2186 | * dwarf2loc.c: Include "regcache.h". | |
2187 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
2188 | register_size. | |
2189 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2190 | ||
91ccbfc1 TR |
2191 | 2003-03-04 Theodore A. Roth <[email protected]> |
2192 | ||
2193 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
2194 | number of io registers reported by remote target is not a multiple of | |
2195 | step. | |
2196 | ||
3d4e8fd2 DC |
2197 | 2003-03-04 David Carlton <[email protected]> |
2198 | ||
2199 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
2200 | (lookup_symbol_aux_psymtabs): Update call to | |
2201 | lookup_partial_symbol. | |
2202 | (lookup_transparent_type, find_main_psymtab) | |
2203 | (make_symbol_overload_list): Ditto. | |
2204 | ||
ed42d87b KH |
2205 | 2003-03-04 Kazu Hirata <[email protected]> |
2206 | ||
2207 | * MAINTAINERS (Write after approval): Update my email address. | |
2208 | ||
a0ed5532 AC |
2209 | 2003-03-03 Andrew Cagney <[email protected]> |
2210 | ||
2211 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
2212 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
2213 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
2214 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
2215 | MAX_REGISTER_VIRTUAL_SIZE. | |
2216 | * regcache.c (legacy_max_register_raw_size): New function. | |
2217 | (legacy_max_register_virtual_size): New function. | |
2218 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
2219 | (MAX_REGISTER_RAW_SIZE): Define. | |
2220 | (legacy_max_register_raw_size): Declare. | |
2221 | (legacy_max_register_virtual_size): Declare. | |
2222 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
2223 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
2224 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
2225 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
2226 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
2227 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
2228 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
2229 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
2230 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
2231 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2232 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2233 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2234 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2235 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2236 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2237 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2238 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2239 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2240 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2241 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2242 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2243 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2244 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2245 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2246 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2247 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2248 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2249 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2250 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2251 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2252 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2253 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
2254 | max_register_raw_size or max_register_virtual_size. | |
2255 | ||
8e437497 DC |
2256 | 2003-03-03 David Carlton <[email protected]> |
2257 | ||
2258 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
2259 | SYMBOL_MATCHES_NAME, add comment. | |
2260 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
2261 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
2262 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
2263 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
2264 | * symtab.c (lookup_partial_symbol): Use | |
2265 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
2266 | unhelpful comment. | |
2267 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
2268 | SYMBOL_MATCHES_NAME. | |
2269 | Fix for PR c++/33. | |
2270 | ||
25120b0d DC |
2271 | 2003-03-03 David Carlton <[email protected]> |
2272 | ||
2273 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
2274 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
2275 | by regexp matching against SYMBOL_NATURAL_NAME. | |
2276 | ||
78a11fb4 DC |
2277 | 2003-03-03 David Carlton <[email protected]> |
2278 | ||
2279 | * linespec.c (find_method): Extract code into collect_methods. | |
2280 | (collect_methods): New. | |
2281 | ||
645dd519 MK |
2282 | 2003-03-02 Mark Kettenis <[email protected]> |
2283 | ||
b4700d91 MK |
2284 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
2285 | get_frame_base. | |
2286 | ||
645dd519 MK |
2287 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
2288 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
2289 | ||
0aa7e1aa SC |
2290 | 2003-03-02 Stephane Carrez <[email protected]> |
2291 | ||
2292 | * arch-utils.c (generic_register_byte): Fix to use the loop index | |
2293 | and not regnum when summing the size of all registers up to regnum. | |
2294 | ||
f30ee0bc AC |
2295 | 2003-03-01 Andrew Cagney <[email protected]> |
2296 | ||
2297 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
2298 | FRAME_INIT_SAVED_REGS. | |
2299 | * gdbarch.h, gdbarch.c: Regenerate. | |
2300 | * stack.c (frame_info): Update. | |
2301 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
2302 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
2303 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
2304 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
2305 | * mips-tdep.c (mips_pop_frame): Update. | |
2306 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
2307 | * ia64-tdep.c (ia64_frame_chain): Update. | |
2308 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
2309 | (ia64_frameless_function_invocation): Update. | |
2310 | (ia64_init_extra_frame_info): Update. | |
2311 | (ia64_pop_frame_regular): Update. | |
2312 | * frame.h (struct frame_info): Update comment. | |
2313 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
2314 | * frame.c (frame_saved_regs_register_unwind): Update. | |
2315 | (frame_saved_regs_register_unwind): Update. | |
2316 | (deprecated_generic_get_saved_register): Update. | |
2317 | * cris-tdep.c: Update comment. | |
2318 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
2319 | Rename macro. | |
2320 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2321 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2322 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2323 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2324 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2325 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2326 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2327 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2328 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
2329 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2330 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2331 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2332 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2333 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2334 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2335 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2336 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2337 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2338 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2339 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2340 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2341 | ||
42fa7c0f AC |
2342 | 2003-03-01 Andrew Cagney <[email protected]> |
2343 | ||
2344 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
2345 | option enum and switch. When no windows, set the interpreter to | |
2346 | INTERP_CONSOLE. | |
2347 | ||
49c7e338 AC |
2348 | 2003-03-01 Andrew Cagney <[email protected]> |
2349 | ||
2350 | * main.c (captured_main): Replace magic option characters with an | |
2351 | enum. | |
2352 | ||
e9582e71 AC |
2353 | 2003-03-01 Andrew Cagney <[email protected]> |
2354 | ||
2355 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
2356 | INIT_EXTRA_FRAME_INFO. | |
2357 | * gdbarch.h, gdbarch.c: Regenerate. | |
2358 | * arm-tdep.c: Update comments. | |
2359 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
2360 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
2361 | * frame.h, avr-tdep.c: Ditto. | |
2362 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
2363 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
2364 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
2365 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
2366 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
2367 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
2368 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
2369 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
2370 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
2371 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2372 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
2373 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
2374 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
2375 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2376 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
2377 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2378 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2379 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
2380 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
2381 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
2382 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2383 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
2384 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
2385 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
2386 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
2387 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2388 | ||
35cac7cf AC |
2389 | 2003-03-01 Andrew Cagney <[email protected]> |
2390 | ||
2391 | * gdbarch.sh (register_type): New function with predicate. | |
2392 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
2393 | * gdbarch.h, gdbarch.c: Re-generate. | |
2394 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
2395 | (generic_register_size): When available, use | |
2396 | gdbarch_register_type. | |
2397 | * regcache.c (init_regcache_descr): When available, initialize the | |
2398 | register type array using gdbarch_register_type. If the | |
2399 | architecture supplies gdbarch_register_type, do not use the legacy | |
2400 | regcache layout. | |
2401 | * d10v-tdep.c (d10v_register_type): Replace | |
2402 | d10v_register_virtual_type. | |
2403 | (d10v_gdbarch_init): Set register_type instead of | |
2404 | register_virtual_type. | |
2405 | ||
7b83296f AC |
2406 | 2003-03-01 Andrew Cagney <[email protected]> |
2407 | ||
2408 | * Makefile.in (ax-gdb.o): Update dependencies. | |
2409 | * ax-gdb.c: Include "regcache.h". | |
2410 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
2411 | * findvar.c (value_of_register): Ditto. | |
2412 | * infcmd.c (default_print_registers_info): Ditto. | |
2413 | ||
eadc1c87 MK |
2414 | 2003-03-01 Mark Kettenis <[email protected]> |
2415 | ||
2416 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
2417 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
2418 | ||
14143612 MK |
2419 | 2003-03-01 Mark Kettenis <[email protected]> |
2420 | ||
2421 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
2422 | of STREQ. | |
2423 | ||
a55cc764 DJ |
2424 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
2425 | ||
2426 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2427 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
2428 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
2429 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
2430 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
2431 | (locexpr_tracepoint_var_ref): New function. | |
2432 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
2433 | ||
08a617da AC |
2434 | 2003-02-28 Andrew Cagney <[email protected]> |
2435 | ||
2436 | * regcache.c (register_size): New function. | |
2437 | * regcache.h (register_size): Declare | |
2438 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
2439 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
2440 | ||
4224873a DC |
2441 | 2003-02-28 David Carlton <[email protected]> |
2442 | ||
2443 | * linespec.c (decode_compound): Extract code into find_method. | |
2444 | (find_method): New. | |
2445 | ||
ccdc5d7f JB |
2446 | 2003-02-28 J. Brobecker <[email protected]> |
2447 | ||
2448 | * Makefile.in: Add rules to build and link in observer.o. | |
2449 | ||
974e8ced JB |
2450 | 2003-02-27 J. Brobecker <[email protected]> |
2451 | ||
2452 | * observer.c: Minor comments edits. | |
2453 | ||
7a28f973 JB |
2454 | 2003-02-27 J. Brobecker <[email protected]> |
2455 | ||
2456 | * observer.h, observer.c: New file. | |
2457 | ||
27cddce2 AC |
2458 | 2003-02-27 Andrew Cagney <[email protected]> |
2459 | ||
2460 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
2461 | ||
b94a41a1 SC |
2462 | 2003-02-27 Stephane Carrez <[email protected]> |
2463 | ||
2464 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
2465 | (M6812_OP_STS_EXT): Likewise. | |
2466 | (m6811_prologue): Use the above to recognize prologue. | |
2467 | (m6812_prologue): Likewise. | |
2468 | ||
c8be8951 DC |
2469 | 2003-02-27 David Carlton <[email protected]> |
2470 | ||
2471 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
2472 | SYMBOL_PRINT_NAME. | |
2473 | (compare_psymbols): Ditto. | |
2474 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
2475 | ||
d05bb1fc MS |
2476 | 2003-02-27 Michael Snyder <[email protected]> |
2477 | ||
4e845cd3 MS |
2478 | * f-lang.c (build_fortran_types): New function. |
2479 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
2480 | * doublest.c (extract_floating): Fix warning text. |
2481 | ||
f3824013 AC |
2482 | 2003-02-27 Andrew Cagney <[email protected]> |
2483 | ||
2484 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
2485 | predicate. Replaces PUSH_DUMMY_FRAME. | |
2486 | * gdbarch.h, gdbarch.c: Regnerate. | |
2487 | * valops.c (hand_function_call): Update. Call | |
2488 | generic_push_dummy_frame directly. | |
2489 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2490 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2491 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2492 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2493 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2494 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2495 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
2496 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
2497 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
2498 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
2499 | push_dummy_frame to generic_push_dummy_frame. | |
2500 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
2501 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2502 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
2503 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2504 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
2505 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2506 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
2507 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2508 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2509 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
2510 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
2511 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2512 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
2513 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
2514 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
2515 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
2516 | ||
ad188201 KB |
2517 | 2003-02-26 Kevin Buettner <[email protected]> |
2518 | ||
2519 | * mips-tdep.c (show_mips_abi): New function. | |
2520 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
2521 | command ``show mips abi''. | |
2522 | ||
6b37567a JJ |
2523 | 2003-02-26 Jeff Johnston <[email protected]> |
2524 | ||
2525 | From Elena Zannoni <[email protected]> | |
2526 | * dbxread.c (process_one_symbol): Only record line 0 if one or | |
2527 | more sline entries have been seen for the function. | |
2528 | ||
d3e0a5bf MC |
2529 | 2003-02-26 Michael Chastain <[email protected]> |
2530 | ||
2531 | * configure: Regenerate with autoconf 000227. | |
2532 | ||
18972eea MC |
2533 | 2003-02-26 Michael Chastain <[email protected]> |
2534 | ||
2535 | Close PR build/660. | |
2536 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
2537 | for old libc5/glibc. | |
2538 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
2539 | ||
0bbde931 KW |
2540 | 2003-02-26 Kris Warkentin <[email protected]> |
2541 | ||
2542 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
2543 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
2544 | ||
27ca5dad MC |
2545 | 2003-02-26 Michael Chastain <[email protected]> |
2546 | ||
2547 | * configure.in: New variable HAVE_UINTPTR_T. | |
2548 | * configure, config.in: Regenerated. | |
2549 | ||
6f88d630 DJ |
2550 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
2551 | ||
2552 | Fix PR build/1097. | |
2553 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
2554 | ||
b14185ce AC |
2555 | 2003-02-25 Andrew Cagney <[email protected]> |
2556 | ||
2557 | * frame.c (get_prev_frame): Add comment on check for | |
2558 | inside_entry_func. Only check for inside_entry_file when not a | |
2559 | dummy and not a sentinel. Check that the new frame is not inner | |
2560 | to the old frame. | |
2561 | ||
ac2bd0a9 AC |
2562 | 2003-02-25 Andrew Cagney <[email protected]> |
2563 | ||
2564 | * frame.c (frame_debug): New variable. | |
2565 | (_initialize_frame): Add "set/show debug frame" command. | |
2566 | (get_prev_frame): When frame_debug, print reason why unwind | |
2567 | failed. | |
2568 | ||
b18a0fd2 MC |
2569 | 2003-02-25 Michael Chastain <[email protected]> |
2570 | ||
2571 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
2572 | to avoid uintptr_t definition problems. | |
2573 | ||
22abf04a DC |
2574 | 2003-02-25 David Carlton <[email protected]> |
2575 | ||
2576 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
2577 | (SYMBOL_LINKAGE_NAME): Ditto. | |
2578 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
2579 | SYMBOL_LINKAGE_NAME. | |
2580 | (struct general_symbol_info): Expand comment. | |
2581 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
2582 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
2583 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
2584 | * symtab.c (symbol_natural_name): New function. | |
2585 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
2586 | DEPRECATED_SYMBOL_NAME. | |
2587 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
2588 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
2589 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
2590 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
2591 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
2592 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
2593 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
2594 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
2595 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
2596 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
2597 | * ada-exp.y: Ditto. | |
2598 | * ada-exp.y: Update copyright. | |
2599 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
2600 | * cp-valprint.c: Ditto. | |
2601 | ||
1a5848f6 JJ |
2602 | 2003-02-25 Jeff Johnston <[email protected]> |
2603 | ||
2604 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
2605 | and errno is set to ESRCH. | |
2606 | ||
7343d46a AC |
2607 | 2003-02-24 Andrew Cagney <[email protected]> |
2608 | ||
2609 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
2610 | paddr when printing udot_off's value. | |
2611 | ||
49fa1dc2 DC |
2612 | 2003-02-24 David Carlton <[email protected]> |
2613 | ||
2614 | * symtab.c (make_symbol_overload_list): Only read in partial | |
2615 | symtabs containing a matching partial symbol. | |
2616 | ||
0fe19209 DC |
2617 | 2003-02-24 David Carlton <[email protected]> |
2618 | ||
2619 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
2620 | do the comparison, not strcmp. | |
2621 | * symfile.c (compare_psymbols): Ditto. | |
2622 | * defs.h: Declare strcmp_iw_ordered. | |
2623 | * utils.c (strcmp_iw_ordered): New function. | |
2624 | ||
8e3ee7b5 JB |
2625 | 2003-02-24 Jim Blandy <[email protected]> |
2626 | ||
2627 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
2628 | support, shared libs): Remove my name from here, to better reflect | |
2629 | reality. | |
2630 | ||
7df1a324 KW |
2631 | 2003-02-24 Kris Warkentin <[email protected]> |
2632 | ||
2633 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
2634 | (target_ops): Add to_have_continuable_watchpoint. | |
2635 | * target.c (update_current_target): Add INHERIT line for | |
2636 | to_have_continuable_watchpoint. | |
2637 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
2638 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
2639 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
2640 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
2641 | ||
d1c76907 EZ |
2642 | 2003-02-24 Elena Zannoni <[email protected]> |
2643 | ||
2644 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
2645 | maintainership. | |
2646 | ||
2610b0bf KW |
2647 | 2003-02-24 Kris Warkentin <[email protected]> |
2648 | ||
f46169db KW |
2649 | * solib.c (solib_open): Call target defined search function after |
2650 | failing with solib-search-path. | |
2651 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
2652 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 2653 | |
9a3c34fe KW |
2654 | 2003-02-24 Kris Warkentin <[email protected]> |
2655 | ||
f46169db | 2656 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 2657 | |
2417dd25 SC |
2658 | 2003-02-23 Stephane Carrez <[email protected]> |
2659 | ||
2660 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
2661 | ||
b631436b SC |
2662 | 2003-02-22 Stephane Carrez <[email protected]> |
2663 | ||
2664 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
2665 | (m68hc11_add_reggroups): New function. | |
2666 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
2667 | (m68hc11_gdbarch_init): Install the reggroups. | |
2668 | (_initialize_m68hc11_tdep): Initialize them. | |
2669 | ||
0aa8c1e4 JW |
2670 | 2003-02-21 James E Wilson <[email protected]> |
2671 | ||
2672 | * MAINTAINERS: Update my email address. | |
2673 | ||
50ceaba5 DC |
2674 | 2003-02-21 David Carlton <[email protected]> |
2675 | ||
2676 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
2677 | ||
4c2df51b DJ |
2678 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
2679 | ||
2680 | Based on a patch from Daniel Berlin ([email protected]). | |
2681 | * symtab.h: Add opaque declarations of struct axs_value and | |
2682 | struct agent_expr. | |
2683 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
2684 | (struct location_funcs): New type. | |
2685 | (struct symbol): Add "loc" to aux_value. | |
2686 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
2687 | * dwarf2read.c: Include "dwarf2expr.h". | |
2688 | (dwarf2_symbol_mark_computed): New function. | |
2689 | (read_func_scope): Use it. | |
2690 | (var_decode_location): New function. | |
2691 | (new_symbol): Use it. | |
2692 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
2693 | ||
2694 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
2695 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
2696 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
2697 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
2698 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
2699 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
2700 | LOC_COMPUTED_ARG. | |
2701 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
2702 | * m2-exp.y (yylex): Likewise. | |
2703 | * printcmd.c (address_info, print_frame_args): Likewise. | |
2704 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
2705 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
2706 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
2707 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
2708 | * symtab.c (lookup_block_symbol): Likewise. | |
2709 | ||
5784d15e AF |
2710 | 2003-02-20 Adam Fedor <[email protected]> |
2711 | ||
2712 | * symtab.h: Remove objc_specific struct | |
2713 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
2714 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
2715 | Have language_objc use cplus_specific struct. | |
2716 | ||
d4cad8db TT |
2717 | 2003-02-20 Tom Tromey <[email protected]> |
2718 | ||
2719 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
2720 | TYPE_NAME, when printing a String value. PR java/1075. | |
2721 | ||
2f9a90b4 AF |
2722 | 2003-02-20 Adam Fedor <[email protected]> |
2723 | ||
d38074a8 | 2724 | * objc-lang.h (find_methods): Remove declaration. |
2f9a90b4 AF |
2725 | * objc-lang.c (find_methods): Make static. |
2726 | ||
6f17862b CF |
2727 | 2003-02-20 Christopher Faylor <[email protected]> |
2728 | ||
2729 | * win32-nat.c (get_image_name): Check return value from | |
2730 | ReadProcessMemory. | |
2731 | (child_xfer_memory): Ditto. | |
2732 | ||
715d1656 AO |
2733 | 2003-02-20 Alexandre Oliva <[email protected]> |
2734 | ||
2735 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
2736 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
2737 | '${exec_prefix}' (in addition to the expansion thereof) as | |
2738 | relocatable. | |
2739 | * configure: Rebuilt. | |
2740 | ||
b1262a02 DC |
2741 | 2003-02-20 David Carlton <[email protected]> |
2742 | ||
2743 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
2744 | 2002-12-23 patch. Add comment. | |
2745 | ||
7134143f DJ |
2746 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2747 | ||
2748 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
2749 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
2750 | install_minimal_symbols. | |
2751 | (stabsect_build_psymtabs): Likewise. | |
2752 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
2753 | earlier. | |
2754 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
2755 | and do_cleanups earlier. | |
2756 | * nlmread.c (nlm_symfile_read): Likewise. | |
2757 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
2758 | install_minimal_symbols and make appropriate cleanups. | |
2759 | ||
cf466558 KB |
2760 | 2003-02-20 Kevin Buettner <[email protected]> |
2761 | ||
2762 | * solib.c (reload_shared_libraries): New function. | |
2763 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
2764 | and ``set solib-absolute-prefix''. | |
2765 | ||
de5ad195 DC |
2766 | 2003-02-20 David Carlton <[email protected]> |
2767 | ||
2768 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
2769 | expand comment. | |
2770 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
2771 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
2772 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
2773 | * ax-gdb.c (gen_var_ref): Ditto. | |
2774 | * breakpoint.c (print_one_breakpoint): Ditto. | |
2775 | * buildsym.c (finish_block): Ditto. | |
2776 | * c-valprint.c (c_val_print): Ditto. | |
2777 | * expprint.c (print_subexp): Ditto. | |
2778 | * findvar.c (locate_var_value): Ditto. | |
2779 | * infcmd.c (jump_command): Ditto. | |
2780 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
2781 | * maint.c (maintenance_translate_address): Ditto. | |
2782 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
2783 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): | |
2784 | Ditto. | |
2785 | * p-valprint.c (pascal_val_print): Ditto. | |
2786 | * stabsread.c (define_symbol): Ditto. | |
2787 | * stack.c (print_frame, frame_info, print_block_frame_locals) | |
2788 | (print_frame_arg_vars, return_command): Ditto. | |
2789 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
2790 | * symmisc.c (print_symbol): Ditto. | |
2791 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) | |
2792 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
2793 | (rbreak_command): Ditto. | |
2794 | * tracepoint.c (tracepoints_info): Ditto. | |
2795 | * typeprint.c (typedef_print): Ditto. | |
2796 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
2797 | * cli/cli-cmds.c (edit_command, list_command): Ditto. | |
2798 | * ada-typeprint.c: Update Copyright. | |
2799 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
2800 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
2801 | ||
f796e4be KB |
2802 | 2003-02-20 Kevin Buettner <[email protected]> |
2803 | ||
2804 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
2805 | * frame.h (generic_unwind_get_saved_register): Declare. | |
2806 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
2807 | current regcache when frame is NULL. | |
2808 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
2809 | that must be NULL. | |
2810 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
2811 | instead of frame_register_unwind(). | |
2812 | ||
836cc9f4 AC |
2813 | 2003-02-20 Andrew Cagney <[email protected]> |
2814 | ||
2815 | * remote-sim.c (gdbsim_insert_breakpoint) | |
2816 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
2817 | code. | |
2818 | ||
501eef12 AC |
2819 | 2003-02-20 Andrew Cagney <[email protected]> |
2820 | ||
2821 | * remote.c (_initialize_remote): Add commands "set/show remote | |
2822 | hardware-watchpoint-limit" and "set/show remote | |
2823 | hardware-breakpoint-limit". | |
2824 | (remote_hw_watchpoint_limit): Initialize to -1. | |
2825 | (remote_hw_breakpoint_limit): Ditto. | |
2826 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
2827 | ||
1b6bc7e0 CF |
2828 | 2003-02-19 Raoul Gough <[email protected]> |
2829 | ||
2830 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
2831 | portable executable using the export table. | |
2832 | * coff-pe-read.h: New file. | |
2833 | * coffread.c: Include coff-pe-read.h. | |
2834 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
2835 | debugging symbols found. | |
2836 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
2837 | (coff_pe_read_h): Define. | |
2838 | (COMMON_OBS): Add coff-pe-read.o. | |
2839 | (coffread.o): Add coff_pe_read_h dependency. | |
2840 | (coff-pe-read.o): New target. | |
2841 | ||
fe898f56 DC |
2842 | 2003-02-19 David Carlton <[email protected]> |
2843 | ||
2844 | * Makefile.in (SFILES): Add block.c. | |
2845 | (block_h): New. | |
2846 | (COMMON_OBS): Add block.o. | |
2847 | (block.o): New. | |
2848 | (x86-64-tdep.o): Add $(block_h). | |
2849 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
2850 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
2851 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
2852 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
2853 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
2854 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
2855 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
2856 | * value.h: Add opaque declaration for struct block. | |
2857 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
2858 | * ada-lang.h: Ditto. | |
2859 | * x86-64-tdep.c: #include "block.h" | |
2860 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
2861 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
2862 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
2863 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
2864 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
2865 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
2866 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
2867 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
2868 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
2869 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
2870 | * symtab.c (block_function): Ditto. | |
2871 | (contained_in): Ditto. | |
2872 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
2873 | block.h. Add opaque declaration for struct block. | |
2874 | * symtab.h: Move block_function and contained_in declarations to | |
2875 | block.h. Add opaque declarations for struct block, struct | |
2876 | blockvector. | |
2877 | (struct block): Move to block.h. | |
2878 | (struct blockvector): Ditto. | |
2879 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
2880 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
2881 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
2882 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
2883 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
2884 | Ditto. | |
2885 | * block.c: New file. | |
2886 | * block.h: New file. | |
2887 | ||
173345b5 TR |
2888 | 2003-02-19 Theodore A. Roth <[email protected]> |
2889 | ||
2890 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
2891 | (avr_store_return_value): Remove function. | |
2892 | (avr_extract_struct_value_address): Remove function. | |
2893 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
2894 | ||
338ef23d AC |
2895 | 2003-02-19 Andrew Cagney <[email protected]> |
2896 | ||
2897 | * rs6000-tdep.c: Include "gdb_assert.h". | |
2898 | (registers_e500): Add "acc" and "spefscr". | |
2899 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
2900 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
2901 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
2902 | really is "r0". | |
2903 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
2904 | ||
5412f5f3 KS |
2905 | 2003-02-18 Keith Seitz <[email protected]> |
2906 | ||
2907 | * Makefile.in: Add gdbtk-interps.c. | |
2908 | ||
881324eb KB |
2909 | 2003-02-18 Kevin Buettner <[email protected]> |
2910 | ||
2911 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
2912 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
2913 | ||
6a2f5abf AC |
2914 | 2003-02-18 Andrew Cagney <[email protected]> |
2915 | ||
2916 | * symtab.h (struct objfile): Add opaque declaration. | |
2917 | ||
54c7009d EZ |
2918 | 2003-02-18 Elena Zannoni <[email protected]> |
2919 | ||
2920 | From Jim Ingham <[email protected]>: | |
2921 | * dbxread.c (process_one_symbol): Use last_function_start rather | |
2922 | than function_start_offset to find the real beginning of the | |
2923 | current function. The latter is just the text section offset on | |
2924 | some systems, the former is always the real function start. | |
2925 | ||
7ee6d7eb AC |
2926 | 2003-02-17 Andrew Cagney <[email protected]> |
2927 | ||
2928 | * configure.in: Revert ${target} != ${host}. | |
2929 | ||
2846da9b AC |
2930 | 2003-02-17 Andrew Cagney <[email protected]> |
2931 | ||
2932 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
2933 | instead of the absence of the "nm.h" file, to determine of the | |
2934 | configuration non-native. | |
2935 | * configure: Regenerate. | |
2936 | ||
3b27aeea EZ |
2937 | 2003-02-14 Elena Zannoni <[email protected]> |
2938 | ||
2939 | From Brian Ford <[email protected]> | |
2940 | ||
2941 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
2942 | conditionalize tui_active test. | |
2943 | (lookup_cmd_1): Ditto. | |
2944 | ||
b0b1c2c0 MK |
2945 | 2003-02-14 Mark Kettenis <[email protected]> |
2946 | ||
2947 | * configure.in: Add check for _etext. | |
2948 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
2949 | available. | |
2950 | * config.in, configure: regenerated. | |
2951 | ||
8f05cde5 DJ |
2952 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
2953 | ||
2954 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
2955 | ||
021e7609 AC |
2956 | 2003-02-14 Andrew Cagney <[email protected]> |
2957 | ||
2958 | * main.c (tui_version): Delete variable. | |
2959 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
2960 | enabling tui_version. | |
2961 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
2962 | tui_version. | |
2963 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
2964 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
2965 | * defs.h (tui_version): Delete declaration. | |
2966 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
2967 | (tui-interp.o): Add rules. | |
2968 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
2969 | ||
e325dcec CF |
2970 | 2003-02-14 Christopher Faylor <[email protected]> |
2971 | ||
36ffb041 | 2972 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
2973 | just-loaded dll. |
2974 | ||
c4f90d87 JM |
2975 | 2003-02-12 Jason Molenda ([email protected]) |
2976 | ||
2977 | * symmisc.c (print_objfile_statistics): Include information about | |
2978 | the number of psymtabs and symtabs in each object file. | |
2979 | ||
e46e5ccd KS |
2980 | 2003-02-13 Keith R Seitz <[email protected]> |
2981 | ||
2982 | * main.h (struct captured_main_args): Add interpreter_p. | |
2983 | * main.c (captured_main): Initialize interpreter_p from context. | |
2984 | * gdb.c (main): Set interpreter_p argument. | |
2985 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
2986 | ||
fe97fe9c AC |
2987 | 2003-02-12 Andrew Cagney <[email protected]> |
2988 | ||
2989 | * event-top.c (cli_command_loop): Delete declaration. | |
2990 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
2991 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
2992 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
2993 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
2994 | cli_command_loop. | |
2995 | ||
1cdac4ef AC |
2996 | 2003-02-12 Andrew Cagney <[email protected]> |
2997 | ||
2998 | * interps.h (interp_command_loop_ftype): Change return type to | |
2999 | void. | |
3000 | ||
48037ead ML |
3001 | 2003-02-12 Michal Ludvig <[email protected]> |
3002 | ||
3003 | * x86-64-tdep.c (x86_64_extract_return_value) | |
3004 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
3005 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
3006 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
3007 | ||
033afc63 AC |
3008 | 2003-02-11 Andrew Cagney <[email protected]> |
3009 | ||
3010 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
3011 | * aclocal.m4: Regenerate. | |
3012 | * configure: Regenerate. | |
3013 | ||
3014 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
3015 | TCL_LD_SEARCH_FLAGS. | |
3016 | ||
40d02bca ML |
3017 | 2003-02-10 Michal Ludvig <[email protected]> |
3018 | ||
3019 | * dwarf2cfi.c: Reindented. | |
3020 | ||
11308a41 AC |
3021 | 2003-02-09 Andrew Cagney <[email protected]> |
3022 | ||
3023 | * interps.c (clear_interpreter_hooks): Convert function definition | |
3024 | to ISO C. | |
3025 | ||
e1c1c0f6 DC |
3026 | 2003-02-07 David Carlton <[email protected]> |
3027 | ||
3028 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
3029 | ||
ab5d3da6 KB |
3030 | 2003-02-07 Kevin Buettner <[email protected]> |
3031 | ||
3032 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
3033 | (struct type): ...to here. | |
3034 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
3035 | field. | |
3036 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
3037 | (replace_type): Set length on all type variants for a given type. | |
3038 | ||
b8a92b82 AC |
3039 | 2003-02-07 Andrew Cagney <[email protected]> |
3040 | ||
3041 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
3042 | <sys/stat.h>. | |
3043 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
3044 | ||
5cb316ef AC |
3045 | 2003-02-06 Andrew Cagney <[email protected]> |
3046 | ||
2555fe1a AC |
3047 | * Makefile.in (symm-nat.o): Update dependencies. |
3048 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
3049 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
3050 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
3051 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
3052 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
3053 | ||
44270758 AC |
3054 | * Makefile.in (inflow_h): Define. |
3055 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
3056 | * inftarg.c (child_stop): Delete extern declaration of | |
3057 | inferior_process_group. Include "inflow.h". | |
3058 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
3059 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
3060 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
3061 | (our_process_group, inferior_process_group): Extern declarations. | |
3062 | ||
df8f7274 AC |
3063 | * procfs.c: Include "gdb_assert.h". |
3064 | ||
5cb316ef AC |
3065 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
3066 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
3067 | * jv-typeprint.c (java_type_print_base): Ditto. | |
3068 | * typeprint.c (typedef_print): Eliminate STREQ. | |
3069 | * cli/cli-script.c (define_command, define_command): Ditto. | |
3070 | * main.c (captured_main): Ditto. | |
3071 | * values.c (lookup_internalvar): Ditto. | |
3072 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
3073 | within `if' conditional. | |
3074 | * linespec.c (decode_line_2): Ditto. | |
3075 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
3076 | (bfd_openw_with_cleanup): Ditto. | |
3077 | ||
2a28ccea MK |
3078 | 2003-02-07 Mark Kettenis <[email protected]> |
3079 | ||
3080 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
3081 | legacy_extract_return_value and store_return_value to | |
3082 | legacy_return_value. | |
3083 | ||
786b8124 CF |
3084 | 2003-02-06 Raoul Gough <[email protected]> |
3085 | ||
3086 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
3087 | section load addresses for symbol handling in relocated DLLs. | |
3088 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
3089 | ||
b871e4ec FF |
3090 | 2003-02-05 Fred Fish <[email protected]> |
3091 | ||
3092 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
3093 | '=' and '!='. | |
3094 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
3095 | with '&' and '=='. | |
3096 | (angel_RDI_info): Ditto. | |
3097 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
3098 | with '&' and '!='. | |
3099 | (threads_continue_all_with_signals): Ditto. | |
3100 | ||
4389a95a AC |
3101 | 2003-02-05 Jim Ingham <[email protected]> |
3102 | Keith Seitz <[email protected]> | |
3103 | Elena Zannoni <[email protected]> | |
3104 | Andrew Cagney <[email protected]> | |
3105 | ||
3106 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
3107 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
3108 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
3109 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
3110 | (SFILES): Add "interps.c". | |
3111 | (COMMON_OBS): Add "interps.o". | |
3112 | (interps_h, mi_main_h): Define. | |
3113 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
3114 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
3115 | * cli/cli-interp.c: New file. | |
3116 | * interps.h, interps.c: New files. | |
3117 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
3118 | by captured_main. | |
3119 | * main.c: Include "interps.h". | |
3120 | (interpreter_p): Note that it should malloc'ed. | |
3121 | (captured_command_loop): Call current_interp_command_loop. | |
3122 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
3123 | xfree and xstrdup when updating interpreter_p. Install the | |
3124 | default interpreter. Add hack to stop mi1's copyright notice | |
3125 | being encoded. | |
3126 | * event-top.h (gdb_setup_readline): Declare. | |
3127 | (gdb_disable_readline): Declare. | |
3128 | * event-top.c: Include "interps.h". | |
3129 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
3130 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
3131 | gdb_stdlog, and gdb_stdtarg. | |
3132 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
3133 | * cli-out.c (cli_out_set_stream): New function. | |
3134 | * cli-out.h (cli_out_set_stream): Declare. | |
3135 | ||
ff3b5810 MK |
3136 | 2003-02-06 Mark Kettenis <[email protected]> |
3137 | ||
3138 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
3139 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
3140 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
3141 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
3142 | config/i386/i386v42mp.mt: Removed. | |
3143 | ||
5b729aa5 MK |
3144 | 2003-02-05 Mark Kettenis <[email protected]> |
3145 | ||
3146 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
3147 | GDB_OSABI_SOLARIS. | |
3148 | ||
8cc15142 MC |
3149 | 2003-02-05 Michael Chastain <[email protected]> |
3150 | ||
3151 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
3152 | 2.12.1 and earlier versions. | |
3153 | ||
5aa5d4b9 AC |
3154 | 2003-02-05 Andrew Cagney <[email protected]> |
3155 | ||
3156 | Remove orphaned hosts, targets and files. | |
3157 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
3158 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
3159 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
3160 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
3161 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
3162 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
3163 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
3164 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
3165 | * config/sparc/tm-sp64sim.h: Delete. | |
3166 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
3167 | hosts. | |
3168 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
3169 | mips*-dec-mach3* targets. | |
3170 | ||
b68767c1 MC |
3171 | 2003-02-04 Michael Chastain <[email protected]> |
3172 | ||
3173 | * NEWS: Fix typo: sepcifying -> specifying. | |
3174 | ||
5ae7ca1d MC |
3175 | 2003-02-04 Michael Chastain <[email protected]> |
3176 | ||
3177 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
3178 | looking towards obsoletion. | |
3179 | ||
d08a4280 MC |
3180 | 2003-02-03 Michael Chastain <[email protected]> |
3181 | ||
3182 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
3183 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
3184 | ||
e9be73e4 AC |
3185 | 2003-02-04 Andrew Cagney <[email protected]> |
3186 | ||
3187 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
3188 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
3189 | ||
3190 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
3191 | * main.c (captured_main): Delete #ifdef MPW. | |
3192 | ||
05d57f6f AC |
3193 | 2003-02-04 Andrew Cagney <[email protected]> |
3194 | ||
3195 | * NEWS: Note that the m32r-*-elf* is obsolete. | |
3196 | * monitor.c (monitor_expect): Obsolete reference to m32r. | |
3197 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
3198 | * MAINTAINERS: Mark m32k as obsolete. | |
3199 | * m32r-rom.c: Obsolete file. | |
3200 | * config/m32r/m32r.mt: Obsolete file. | |
3201 | * config/m32r/tm-m32r.h: Obsolete file. | |
3202 | * m32r-stub.c: Obsolete file. | |
3203 | * m32r-tdep.c: Obsolete file. | |
3204 | ||
8b0e5691 AC |
3205 | 2003-02-04 Andrew Cagney <[email protected]> |
3206 | ||
3207 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
3208 | * MAINTAINERS: Mark z8k as obsolete. | |
3209 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
3210 | * config/z8k/z8k.mt: Obsolete file. | |
3211 | * config/z8k/tm-z8k.h: Obsolete file. | |
3212 | * z8k-tdep.c: Obsolete file. | |
3213 | ||
67f16606 AC |
3214 | 2003-02-04 Andrew Cagney <[email protected]> |
3215 | ||
3216 | * NEWS: Mention that the mn10200-elf is obsolete. | |
3217 | * configure.tgt: Obsolete mn10200-*-* target. | |
3218 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
3219 | mention that the mn10200 is obsolete. | |
3220 | * breakpoint.h: Ditto. | |
3221 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
3222 | * config/mn10200/mn10200.mt: Obsolete file. | |
3223 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
3224 | * mn10200-tdep.c: Obsolete file. | |
3225 | ||
fd2299bd AC |
3226 | 2003-02-04 Andrew Cagney <[email protected]> |
3227 | ||
3228 | * MAINTAINERS: Mark h8500 as obsolete. | |
3229 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
3230 | * findvar.c (value_from_register): Ditto. | |
3231 | * h8500-tdep.c: Mark file as obsolete. | |
3232 | * config/h8500/h8500.mt: Ditto. | |
3233 | * config/h8500/tm-h8500.h: Ditto. | |
3234 | * NEWS: Mention that h8500 is obsolete. | |
3235 | ||
eb9a305d DC |
3236 | 2003-02-04 David Carlton <[email protected]> |
3237 | ||
3238 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
3239 | start of function. | |
3240 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
3241 | ||
406fc7fb DC |
3242 | 2003-02-04 David Carlton <[email protected]> |
3243 | ||
3244 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
3245 | * printcmd.c (build_address_symbolic): Replace uses of | |
3246 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
3247 | SYMBOL_NAME, and asm_demangle. | |
3248 | Update copyright. | |
3249 | ||
93d91629 DC |
3250 | 2003-02-04 David Carlton <[email protected]> |
3251 | ||
3252 | * linespec.c (decode_compound): Extract code into | |
3253 | lookup_prefix_sym. | |
3254 | (lookup_prefix_sym): New function. | |
3255 | ||
1c5cb38e DC |
3256 | 2003-02-04 David Carlton <[email protected]> |
3257 | ||
3258 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
3259 | FLOAT_COERCION_BADNESS. | |
3260 | * gdbtypes.c (rank_one_type): Replace all uses of | |
3261 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
3262 | ||
0cf824c9 JB |
3263 | 2003-02-04 Jim Blandy <[email protected]> |
3264 | ||
3265 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
3266 | section, let dwarf_macinfo_section point to it, not | |
3267 | dwarf_loc_section. | |
3268 | ||
a2d356b0 DJ |
3269 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
3270 | ||
3271 | Pointed out by Anton Blanchard <[email protected]>. | |
3272 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
3273 | (ppc_linux_at_sigtramp_return_path): Use it. | |
3274 | ||
2de7ced7 DJ |
3275 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
3276 | ||
3277 | * defs.h (streq): Add prototype. | |
3278 | * utils.c (streq): New function. | |
3279 | ||
3280 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
3281 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
3282 | * mdebugread.c (new_symbol): Likewise. | |
3283 | * stabsread.c (define_symbol): Likewise. | |
3284 | * coffread.c (process_coff_symbol): Likewise. | |
3285 | * dwarfread.c (new_symbol): Likewise. | |
3286 | ||
3287 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
3288 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
3289 | here. | |
3290 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
3291 | SYMBOL_INIT_DEMANGLED_NAME. | |
3292 | * objfiles.c: Include "hashtab.h". | |
3293 | (allocate_objfile): Call htab_set_functions_ex for the | |
3294 | demangled_names_hash. | |
3295 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
3296 | * objfiles.h (struct htab): Add declaration. | |
3297 | (struct objfile): Add demangled_names_hash. | |
3298 | * symfile.c: Include "hashtab.h". | |
3299 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
3300 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
3301 | SYMBOL_NAME in the bcache. | |
3302 | * symtab.c: Include "hashtab.h". Update comments. | |
3303 | (create_demangled_names_hash, symbol_set_names): New functions. | |
3304 | (symbol_find_demangled_name): New function, broken out from | |
3305 | symbol_init_demangled_names. | |
3306 | (symbol_init_demangled_names): Use it. | |
3307 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
3308 | (SYMBOL_SET_NAMES): New macro. | |
3309 | (symbol_set_names): Add prototype. | |
3310 | ||
15831452 JB |
3311 | 2003-02-03 Jim Blandy <[email protected]> |
3312 | ||
3313 | Use a single, consistent representation for an empty minimal | |
3314 | symbol table in an objfile. | |
3315 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
3316 | (allocate_objfile): Call it. | |
3317 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
3318 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
3319 | non-NULL. | |
3320 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether | |
3321 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
3322 | instead of comparing msymbols with NULL. | |
3323 | * objfiles.c (have_minimal_symbols): Same. | |
3324 | * solib-sunos.c (solib_add_common_symbols): Call | |
3325 | terminate_minimal_symbol_table. | |
3326 | * symfile.c (reread_symbols): Same. | |
3327 | ||
ffc65945 KB |
3328 | 2003-02-03 Kevin Buettner <[email protected]> |
3329 | ||
3330 | * s390-tdep.c (s390_address_class_type_flags) | |
3331 | (s390_address_class_type_flags_to_name) | |
3332 | (s390_address_class_name_to_type_flags): New functions. | |
3333 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
3334 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
3335 | ||
f211c6d4 MS |
3336 | 2003-02-03 Michael Snyder <[email protected]> |
3337 | ||
3338 | * arm-tdep.c: Fix spell-o in comment. | |
3339 | ||
659b0389 ML |
3340 | 2003-02-03 Michal Ludvig <[email protected]> |
3341 | ||
3342 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
3343 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
3344 | error messages to contain BFD filename. | |
3345 | ||
3b31d625 EZ |
3346 | 2003-02-02 Elena Zannoni <[email protected]> |
3347 | ||
997b089a | 3348 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
3349 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
3350 | (do_mixed_source_and_assembly): Use | |
3351 | make_cleanup_ui_out_tuple_begin_end and | |
3352 | make_cleanup_ui_out_tuple_begin_end. | |
3353 | (do_mixed_source_and_assembly): Ditto. | |
3354 | * thread.c (do_captured_list_thread_ids): Ditto. | |
3355 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
3356 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
3357 | ui_out_tuple_end): Delete prototypes. | |
3358 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
3359 | ui_out_list_end, ui_out_tuple_end): Delete. | |
3360 | ||
3361 | From Kevin Buettner <[email protected]>: | |
3362 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
3363 | * ui-out.c (make_cleanup_ui_out_table_begin_end) | |
3364 | (do_cleanup_table_end): New functions. | |
3365 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
3366 | Use cleanups to invoke_ui_out_tuple_end(). | |
3367 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3368 | * cli/cli-setshow.c (cmd_show_list): Use | |
3369 | make_cleanup_ui_out_tuple_begin_end. | |
3370 | ||
5b181d62 AC |
3371 | 2003-02-02 Andrew Cagney <[email protected]> |
3372 | ||
3373 | * frame.c (frame_unwind_register): New function. | |
3374 | (frame_unwind_unsigned_register): Use. | |
3375 | (frame_unwind_signed_register): Use. | |
3376 | (frame_read_register): New function. | |
3377 | * frame.h (frame_unwind_register): Declare. | |
3378 | (frame_read_register): Declare. | |
3379 | ||
3380 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
3381 | and frame_unwind_register instead of read_memory, write_register | |
3382 | and deprecated_write_register_bytes. | |
3383 | ||
5f601589 AC |
3384 | 2003-02-02 Andrew Cagney <[email protected]> |
3385 | ||
3386 | * frame.h: Note that namelen can be negative. | |
3387 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
3388 | NAME's length. | |
3389 | ||
3390 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
3391 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
3392 | (d10v_print_registers_info): New function. | |
3393 | (show_regs): Call d10v_print_registers_info. | |
3394 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
3395 | ||
6a3fe0a4 MK |
3396 | 2003-02-02 Mark Kettenis <[email protected]> |
3397 | ||
3398 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
3399 | lost in the previous patch. | |
3400 | ||
075559bc AC |
3401 | 2003-02-01 Andrew Cagney <[email protected]> |
3402 | ||
3403 | From 2002-11-09 Jason Molenda ([email protected]) | |
3404 | * stack.c (print_frame_info_base): Output complete FRAME tuple | |
3405 | for synthesized frames. | |
3406 | ||
6789195b AC |
3407 | 2003-02-02 Andrew Cagney <[email protected]> |
3408 | ||
3409 | * mips-nat.c (zerobuf): Delete. | |
3410 | (fetch_inferior_registers): Alloc local zerobuf. | |
3411 | (fetch_core_registers): Alloc local zerobuf. | |
3412 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
3413 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
3414 | * thread-db.c (thread_db_store_registers): Ditto. | |
3415 | * sh-tdep.c (sh_do_register): Ditto. | |
3416 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
3417 | * remote-sim.c (gdbsim_store_register): Ditto. | |
3418 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
3419 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
3420 | * monitor.c (monitor_supply_register): Ditto. | |
3421 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
3422 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
3423 | * m68klinux-nat.c (fetch_register): Ditto. | |
3424 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
3425 | (fetch_inferior_registers): Ditto. | |
3426 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
3427 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
3428 | (hpux_thread_store_registers): Ditto. | |
3429 | * hppah-nat.c (fetch_register): Ditto. | |
3430 | * hppab-nat.c (fetch_register): Ditto. | |
3431 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
3432 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
3433 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
3434 | ||
e669114a AC |
3435 | 2003-02-01 Andrew Cagney <[email protected]> |
3436 | ||
3437 | * gdbarch.sh: Explictly specify all method levels. When a | |
3438 | variable with an empty level, provide a non-multi-arch default. | |
3439 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
3440 | * gdbarch.h: Re-generate. | |
3441 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
3442 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
3443 | ||
9a043c1d AC |
3444 | 2003-02-01 Andrew Cagney <[email protected]> |
3445 | ||
3446 | * defs.h (host_pointer_to_address): Delete declaration. | |
3447 | (address_to_host_pointer): Delete declaration. | |
3448 | * utils.c (host_pointer_to_address): Delete function. | |
3449 | (address_to_host_pointer): Delete function. | |
3450 | * procfs.c (procfs_address_to_host_pointer): New function. | |
3451 | * procfs.c (proc_set_watchpoint): Use. | |
3452 | (procfs_can_use_hw_breakpoint): Update comments. | |
3453 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
3454 | (som_solib_add): Use. | |
3455 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
3456 | * hppa-tdep.c (unwind_command): Use. | |
3457 | ||
7ca9f392 AC |
3458 | 2003-02-01 Andrew Cagney <[email protected]> |
3459 | ||
94bbfd30 AC |
3460 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
3461 | strlen d_name. | |
3462 | ||
7ca9f392 AC |
3463 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
3464 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
3465 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
3466 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
3467 | (define_symbol): Update. | |
3468 | * symfile.c (generic_load): Remove references to nindy. | |
3469 | * symtab.c: Remove references to nindy. | |
3470 | ||
31a85ea2 AC |
3471 | 2003-02-01 Andrew Cagney <[email protected]> |
3472 | ||
3473 | * infcmd.c (print_float_info): Delete code conditional on | |
3474 | FLOAT_INFO. | |
3475 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
3476 | * config/m68k/nm-apollo68b.h: Ditto. | |
3477 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
3478 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
3479 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
3480 | ||
f6e85fc8 MK |
3481 | 2003-02-01 Mark Kettenis <[email protected]> |
3482 | ||
6015b6a0 MK |
3483 | * config/i386/tm-i386os9k.h: Removed. |
3484 | ||
f7a30bdf MK |
3485 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
3486 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
3487 | they're identical to i[3456]86-*-sysv* now. | |
3488 | * config/i386/i386v32.mh: Removed. | |
3489 | * config/i386/xm-i386v32.h: Removed. | |
3490 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
3491 | ||
28d52111 MK |
3492 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
3493 | ||
4d3f6bce MK |
3494 | * config/i386/i386dgux.mh: Removed. |
3495 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
3496 | ||
f6e85fc8 MK |
3497 | * configure.in: Fix typo. |
3498 | * configure: Regenerated. | |
3499 | ||
53955967 DC |
3500 | 2003-01-31 David Carlton <[email protected]> |
3501 | ||
3502 | * dwarf2read.c (dwarf2_locate_sections): Set | |
3503 | dwarf_ranges_section. | |
3504 | ||
b1364885 AC |
3505 | 2003-01-31 Andrew Cagney <[email protected]> |
3506 | ||
8dbb1c65 AC |
3507 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
3508 | * utils.c: Update comments documenting legitimate uses of PTR. | |
3509 | ||
8731e58e AC |
3510 | * utils.c: Re-indent. |
3511 | ||
b1364885 AC |
3512 | * config/djgpp/fnchange.lst: Delete nindy files. |
3513 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
3514 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
3515 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
3516 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
3517 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
3518 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
3519 | * Makefile.in (init.c): Remove nindy references. | |
3520 | (saber_gdb): Delete rule. | |
3521 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
3522 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
3523 | and a68v-nat.c. | |
3524 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
3525 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
3526 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
3527 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
3528 | nindy-share/stop.h. | |
3529 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
3530 | * saber.suppress: Delete file. | |
3531 | ||
086df311 DJ |
3532 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
3533 | ||
3534 | * dbxread.c (stabs_data): New static variable. | |
3535 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
3536 | (stabs_seek): New function. | |
3537 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
3538 | (read_ofile_symtab): Use stabs_seek. | |
3539 | (elfstab_build_psymtabs): Take an asection* instead of | |
3540 | an offset and size. Relocate the stabs data if necessary. | |
3541 | Save the section* for dbx_psymtab_to_symtab. | |
3542 | * dwarf2read.c: Add section variables for each debug section. | |
3543 | (dwarf2_locate_sections): Fill them in. | |
3544 | (dwarf2_read_section): Take an asection* argument. | |
3545 | Relocate the section contents if necessary. | |
3546 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
3547 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
3548 | it to dwarf2_read_section. | |
3549 | (dwarf2_build_frame_info): Update callers. | |
3550 | * elfread.c (elf_symfile_read): Update call to | |
3551 | elfstab_build_psymtabs. | |
3552 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
3553 | (DBX_STAB_SECTION): New macro. | |
3554 | * stabsread.h (elfstab_build_psymtabs): Update prototype. | |
3555 | * symfile.c (symfile_dummy_outputs): New function. | |
3556 | (symfile_relocate_debug_section): New function. | |
3557 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
3558 | ||
87d1b352 RH |
3559 | 2003-01-31 Richard Henderson <[email protected]> |
3560 | ||
3561 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
3562 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
3563 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
3564 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
3565 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
3566 | (ALPHA_UNIQUE_REGNUM): New. | |
3567 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
3568 | ||
c48861fb AC |
3569 | 2003-01-31 Andrew Cagney <[email protected]> |
3570 | ||
3571 | * README: Remove reference to Ericsson 1800 monitor. | |
3572 | * Makefile.in (remote-es.o): Delete rule. | |
3573 | (ALLDEPFILES): Delete remote-es.c. | |
3574 | * remote-es.c: Delete file. | |
3575 | * config/m68k/es1800.mt: Delete file. | |
3576 | * config/djgpp/fnchange.lst: Update. | |
3577 | * configure.tgt: Delete m68*-ericsson-* target. | |
3578 | ||
d764a824 AF |
3579 | 2003-01-31 Adam Fedor <[email protected]> |
3580 | ||
3581 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
3582 | Remove duplicate/shadowing variable of same name. | |
3583 | ||
fe36c4f4 JB |
3584 | 2003-01-30 Jim Blandy <[email protected]> |
3585 | ||
3586 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
3587 | directory name we compute ends with a slash, and then assume that | |
3588 | that's so everywhere we use it. | |
3589 | ||
cb741690 DJ |
3590 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
3591 | ||
3592 | * valops.c (value_assign): Flush frame cache after stores to memory | |
3593 | also. | |
3594 | ||
96ee5227 AC |
3595 | 2003-01-30 Andrew Cagney <[email protected]> |
3596 | ||
3597 | * Makefile.in (mon960-rom.o): Delete rule. | |
3598 | * mon960-rom.c: Delete file. | |
3599 | ||
7f6104a9 AC |
3600 | 2003-01-30 Andrew Cagney <[email protected]> |
3601 | ||
3602 | * d10v-tdep.c: Include "frame-unwind.h". | |
3603 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
3604 | list. | |
3605 | (next_addr, uses_frame): Delete. | |
3606 | (struct d10v_unwind_cache): Define. | |
3607 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
3608 | Use info instead of next_addr and uses_frame globals. | |
3609 | (d10v_frame_init_saved_regs): Delete function. | |
3610 | (d10v_init_extra_frame_info): Delete function. | |
3611 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
3612 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
3613 | init_frame_pc or frame_saved_pc. | |
3614 | (d10v_pop_frame): Delete function. | |
3615 | (do_d10v_pop_frame): Delete function. | |
3616 | (d10v_frame_chain): Delete function. | |
3617 | (d10v_frame_chain_valid): Delete function. | |
3618 | (d10v_frame_pc_unwind): New function. | |
3619 | (d10v_frame_id_unwind): New function. | |
3620 | (saved_regs_unwinder): New function. | |
3621 | (d10v_frame_register_unwind): New function. | |
3622 | (d10v_frame_pop): New function. | |
3623 | (d10v_frame_unwind): New variable. | |
3624 | (d10v_frame_p): New function. | |
3625 | (d10v_frame_saved_pc): Delete function. | |
3626 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
3627 | ||
cad2e848 JB |
3628 | 2003-01-30 J. Brobecker <[email protected]> |
3629 | ||
3630 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
3631 | causing some regressions due to a change in the default value | |
3632 | for this macro. | |
3633 | ||
af34e669 DJ |
3634 | 2003-01-29 Richard Henderson <[email protected]> |
3635 | Elena Zannoni <[email protected]> | |
3636 | Daniel Jacobowitz <[email protected]> | |
3637 | ||
3638 | Fix PR gdb/961. | |
3639 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New | |
3640 | variables. | |
3641 | (RANGES_SECTION): New. | |
3642 | (dwarf_ranges_buffer): New variable. | |
3643 | (struct comp_unit_head): Add member "die". | |
3644 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
3645 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
3646 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
3647 | (dwarf2_locate_sections): Likewise. | |
3648 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
3649 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
3650 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
3651 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
3652 | Look for DW_AT_ranges and return the bounding box. | |
3653 | ||
baa93fa6 CF |
3654 | 2003-01-29 Brian Ford <[email protected]> |
3655 | ||
3656 | * win32-nat.c (cygwin_pid): Removed as unused. | |
3657 | (child_attach): Try fall back to Cygwin pid. | |
3658 | ||
c63f977f JB |
3659 | 2003-01-29 Jim Blandy <[email protected]> |
3660 | ||
3661 | * objfiles.h (struct objfile): Doc fix. | |
3662 | ||
d62d1979 AC |
3663 | 2003-01-29 Andrew Cagney <[email protected]> |
3664 | ||
3665 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
3666 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
3667 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
3668 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
3669 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
3670 | (FRAME_SAVED_PC): Change to a function with predicate. | |
3671 | * gdbarch.h, gdbarch.c: Re-generate. | |
3672 | ||
1ae18a04 AC |
3673 | 2003-01-28 Andrew Cagney <[email protected]> |
3674 | ||
52287340 AC |
3675 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
3676 | ||
1ae18a04 AC |
3677 | * complaints.c (complain): Delete function. |
3678 | * complaints.h (struct deprecated_complaint): Delete definition. | |
3679 | (complain): Delete declaration. | |
3680 | ||
f2c16bd6 KB |
3681 | 2003-01-28 Kevin Buettner <[email protected]> |
3682 | ||
3683 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
3684 | dummy frames. | |
3685 | ||
a94dd1fd AC |
3686 | 2003-01-27 Andrew Cagney <[email protected]> |
3687 | ||
3688 | * sentinel-frame.h, sentinel-frame.c: New files. | |
3689 | * Makefile.in (frame.o): Update dependencies. | |
3690 | (SFILES): Add sentinel-frame.c. | |
3691 | (sentinel_frame_h): Define. | |
3692 | (COMMON_OBS): Add sentinel-frame.o. | |
3693 | (sentinel-frame.o): Specify dependencies. | |
3694 | * frame.c: Include "sentinel-frame.h". | |
3695 | (frame_register_unwind): Rewrite assuming that there is always a a | |
3696 | ->next frame. | |
3697 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
3698 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
3699 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
3700 | (get_current_frame): Rewrite using create_sentinel_frame and | |
3701 | unwind_to_current_frame. When possible, always create a frame. | |
3702 | (create_new_frame): Set next to the sentinel frame. | |
3703 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
3704 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
3705 | ID cache when necessary. | |
3706 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
3707 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
3708 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
3709 | get_next_frame. | |
3710 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
3711 | frame_register. | |
3712 | ||
5378adc4 DJ |
3713 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
3714 | ||
3715 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
3716 | ||
51ee2ddc DJ |
3717 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
3718 | ||
3719 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
3720 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
3721 | ||
d9feb4e7 DJ |
3722 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
3723 | ||
3724 | * configure.in: Check that -pg works if using --enable-profiling. | |
3725 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
3726 | * maint.c: Check for monstartup and _mcleanup before using them. | |
3727 | * config.in: Regenerated. | |
3728 | * configure: Regenerated. | |
3729 | ||
2d188dd3 NC |
3730 | 2003-01-24 Nick Clifton <[email protected]> |
3731 | ||
3732 | * Add sh2e support: | |
3733 | ||
3734 | 2002-04-02 Elena Zannoni <[email protected]> | |
3735 | ||
3736 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
3737 | (sh2e_show_regs): New. | |
3738 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
3739 | * config/sh/tm-sh.h: Added sh2e to comments. | |
3740 | ||
cb3c37b2 JB |
3741 | 2003-01-23 Jim Blandy <[email protected]> |
3742 | ||
3743 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
3744 | symbols found)" message here; we haven't checked for a separate | |
3745 | debug info file yet, so we don't know yet. | |
3746 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
3747 | we've looked everywhere. Also, there's no need to print a special | |
3748 | message when we're loading the separate debug info file: the one | |
3749 | symbol_file_add prints is fine. | |
3750 | ||
5b5d99cf JB |
3751 | 2003-01-23 Alexander Larsson <[email protected]> |
3752 | Jim Blandy <[email protected]> | |
3753 | ||
3754 | Add support for executables whose debug info has been separated | |
3755 | out into a separate file, leaving only a link behind. | |
3756 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
3757 | and separate_debug_objfile_backlink. | |
3758 | (put_objfile_before): New declaration. | |
3759 | * symfile.c: #include "filenames.h". | |
3760 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
3761 | debug info in a separate file, read that, too. Save the addrs | |
3762 | argument, so we can use it again to read the separated debug info; | |
3763 | syms_from_objfile modifies the table we pass it. | |
3764 | (reread_symbols): After re-reading an objfile, call | |
3765 | reread_separate_symbols to refresh its separate debug info | |
3766 | objfile, if it has one. | |
3767 | (reread_separate_symbols, find_separate_debug_file, | |
3768 | get_debug_link_info, separate_debug_file_exists): New functions. | |
3769 | (debug_file_directory): New global var. | |
3770 | (_initialize_symfile): Initialize debug_file_directory, and | |
3771 | provide the new `set debug-file-directory' command to let the user | |
3772 | change it. | |
3773 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
3774 | a separate objfile, free that one too. If this is itself a | |
3775 | separate debug info objfile, clear our parent's backlink. | |
3776 | (put_objfile_before): New function. | |
3777 | * utils.c (gnu_debuglink_crc32): New function. | |
3778 | * defs.h (gnu_debuglink_crc32): New declaration. | |
3779 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
3780 | * configure.in: Handle --with-separate-debug-dir config option. | |
3781 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
3782 | * acconfig.h (DEBUGDIR): New macro. | |
3783 | * configure, aclocal.m4, config.in: Regenerated. | |
3784 | ||
7e8580c1 JB |
3785 | 2003-01-22 Jim Blandy <[email protected]> |
3786 | ||
7904e09f JB |
3787 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
3788 | like the old symbol_file_add, but taking new arguments: you can | |
3789 | now pass in either a `struct section_addr_info' list to say where | |
3790 | each section is loaded, or a `struct section_offsets' table. Pass | |
3791 | these new arguments through to syms_from_objfile as appropriate. | |
3792 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, | |
3793 | with the appropriate quiescent values for the new arguments. | |
3794 | ||
7e8580c1 JB |
3795 | * symfile.c: #include "gdb_assert.h". |
3796 | (syms_from_objfile): Add the ability to pass in a section offset | |
3797 | table directly, as an alternative to the section_addr_info table. | |
3798 | Document arguments better. | |
3799 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
3800 | * symfile.h (syms_from_objfile): Update declaration. | |
3801 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
3802 | syms_from_objfile. | |
3803 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
3804 | ||
d28f9cdf DJ |
3805 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
3806 | ||
3807 | Original patch by Tom Tromey <[email protected]> and | |
3808 | Jason Molenda <[email protected]>. | |
3809 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
3810 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
3811 | * NEWS: Mention profiling. | |
3812 | * configure.in (--enable-gdbtk): Fix typo. | |
3813 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
3814 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
3815 | Fill in function. | |
3816 | (profiling_state): New variable. | |
3817 | (mcleanup_wrapper): New function. | |
3818 | (_initialize_maint): Remove NOTYET, fix call to | |
3819 | add_setshow_boolean_cmd for "maint set profile". | |
3820 | * configure: Regenerated. | |
3821 | ||
df21e465 MH |
3822 | 2003-01-21 Martin M. Hunt <[email protected]> |
3823 | ||
3824 | * Makefile.in (install-gdbtk): Install PNG images too. | |
3825 | ||
73c1f219 AC |
3826 | 2003-01-21 Andrew Cagney <[email protected]> |
3827 | ||
3828 | * exec.c (text_start): Delete global variable. | |
3829 | (exec_file_attach): Make text_start local to the function. | |
3830 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
3831 | * valops.c (hand_function_call): Delete code that handles | |
3832 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
3833 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
3834 | of CALL_DUMMY_LOCATION. | |
3835 | * gdbarch.c: Regenerate. | |
3836 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
3837 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
3838 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
3839 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
3840 | (text_end): Delete extern declaration. | |
3841 | ||
eb4f72c5 AC |
3842 | 2003-01-21 Andrew Cagney <[email protected]> |
3843 | ||
3844 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
3845 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
3846 | (frame_chain_valid): Delete check for backtrace_below_main. | |
3847 | (_initialize_blockframe): Delete initialization, move ``set | |
3848 | backtrace-below-main'' command to "frame.c". | |
3849 | (do_flush_frames_sfunc): Delete function. | |
3850 | * frame.c: Include "command.h" and "gdbcmd.h". | |
3851 | (frame_type_from_pc): New function. | |
3852 | (create_new_frame): Use frame_type_from_pc. | |
3853 | (legacy_get_prev_frame): New function. | |
3854 | (get_prev_frame): Rewrite. When an old style frame, call | |
3855 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
3856 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
3857 | * Makefile.in (frame.o): Update dependencies. | |
3858 | ||
778ce8cc AC |
3859 | 2003-01-19 Andrew Cagney <[email protected]> |
3860 | ||
3861 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
3862 | DEPRECATED_REGISTERS_INFO. | |
3863 | ||
01c193c8 AC |
3864 | 2003-01-19 Andrew Cagney <[email protected]> |
3865 | ||
3866 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
3867 | Maintainers'. Update `Various Maintainers'. | |
3868 | ||
dedc2a2b AC |
3869 | 2003-01-19 Andrew Cagney <[email protected]> |
3870 | ||
3871 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
3872 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
3873 | Suppress actual parameters when `-'. | |
3874 | * gdbarch.h, gdbarch.c: Regenerate. | |
3875 | ||
b7261c70 AC |
3876 | 2003-01-19 Andrew Cagney <[email protected]> |
3877 | ||
3878 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
3879 | code handling dummy frames. | |
3880 | ||
dbe9fe58 AC |
3881 | 2003-01-19 Andrew Cagney <[email protected]> |
3882 | ||
3883 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
3884 | (struct frame_unwind): Add field pop. | |
3885 | * frame.h (frame_pop): Declare. | |
3886 | * frame.c (frame_saved_regs_pop): New function. | |
3887 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
3888 | (frame_pop): New function. | |
3889 | * dummy-frame.c (dummy_frame_pop): New function. | |
3890 | (discard_innermost_dummy): New function. | |
3891 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
3892 | (dummy_frame_unwind): Add dummy_frame_pop. | |
3893 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
3894 | * valops.c (hand_function_call): Ditto. | |
3895 | * stack.c (return_command): Ditto. | |
3896 | ||
570b8f7c AC |
3897 | 2003-01-18 Andrew Cagney <[email protected]> |
3898 | ||
3899 | * cris-tdep.c: Fix function declaration indentation. | |
3900 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
3901 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
3902 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
3903 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
3904 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
3905 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
3906 | ||
3907 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
3908 | |
3909 | * README (Unpacking and Installation -- quick overview): | |
3910 | Warn against ".../gdb-5.3/gdb/configure". | |
3911 | ||
494cca16 AC |
3912 | 2003-01-18 Andrew Cagney <[email protected]> |
3913 | ||
3914 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
3915 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
3916 | (struct frame_unwind): Declare opaque. | |
3917 | (dummy_frame_p): Declare function. | |
3918 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
3919 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
3920 | * dummy-frame.c: Include "frame-unwind.h". | |
3921 | (dummy_frame_p): New function. | |
3922 | (dummy_frame_unwind): New variable. | |
3923 | * frame.c: Include "frame-unwind.h". | |
3924 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
3925 | to use the new unwind field. | |
3926 | (set_unwind_by_pc): Delete function. | |
3927 | (create_new_frame, get_prev_frame): Set unwind field using | |
3928 | frame_unwind_find_by_pc. | |
3929 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
3930 | * frame.h (trad_frame_unwind): Declare variable. | |
3931 | (frame_id_unwind_ftype): Delete declaration. | |
3932 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
3933 | (struct frame_unwind): Declare opaque. | |
3934 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
3935 | register_unwind with a single unwind pointer. | |
3936 | * frame-unwind.h, frame-unwind.c: New files. | |
3937 | * Makefile.in (SFILES): Add frame-unwind.c. | |
3938 | (frame_unwind_h): Define. | |
3939 | (COMMON_OBS): Add frame-unwind.o. | |
3940 | (frame-unwind.o): Specify dependencies. | |
3941 | (frame.o, dummy-frame.o): Update dependencies. | |
3942 | ||
4efb68b1 AC |
3943 | 2003-01-18 Andrew Cagney <[email protected]> |
3944 | ||
3945 | * ada-valprint.c: Eliminate PTR. | |
3946 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
3947 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
3948 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
3949 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
3950 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
3951 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
3952 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
3953 | ||
a84d24ee AC |
3954 | 2003-01-17 Andrew Cagney <[email protected]> |
3955 | ||
762f08a3 AC |
3956 | * main.c (captured_main): Don't use PTR. |
3957 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
3958 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
3959 | (lookup_struct_elt_type): Ditto. | |
3960 | * f-valprint.c (info_common_command): Ditto. | |
3961 | (list_all_visible_commons): Ditto. | |
3962 | * jv-typeprint.c (java_type_print_base): Ditto. | |
3963 | ||
a84d24ee AC |
3964 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
3965 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
3966 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
3967 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
3968 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
3969 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
3970 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
3971 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
3972 | * main.c (captured_main): Use xfree, not free. | |
3973 | ||
c170fb60 AC |
3974 | 2003-01-16 Andrew Cagney <[email protected]> |
3975 | ||
3976 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
3977 | ID back using a parameter. | |
3978 | * frame.c (frame_id_unwind): Update call. | |
3979 | (frame_saved_regs_id_unwind): Update. | |
3980 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
3981 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
3982 | (dummy_frame_id_unwind): Update declaration. | |
3983 | ||
867f3898 AC |
3984 | 2003-01-15 Andrew Cagney <[email protected]> |
3985 | ||
3986 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
3987 | ||
40622be8 | 3988 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 3989 | |
40622be8 | 3990 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 3991 | |
ae66c1fc EZ |
3992 | 2003-01-14 Elena Zannoni <[email protected]> |
3993 | ||
997b089a | 3994 | Fix PR gdb/898 |
ae66c1fc EZ |
3995 | * breakpoint.c (until_break_command): Add new argument. Use it to |
3996 | decide whether to stop only at the current frame or not. | |
3997 | * breakpoint.h (until_break_command): Update prototype. | |
3998 | * infcmd.c (until_command): Add new argument to until_break_command | |
3999 | call. | |
4000 | (advance_command): New function. | |
4001 | (_initialize_infcmd): Update help string for 'until' command. | |
4002 | Add new 'advance' command. | |
4003 | ||
a04257e6 DC |
4004 | 2003-01-14 David Carlton <[email protected]> |
4005 | ||
4006 | * linespec.c (decode_line_1): Normalize comments. | |
4007 | (set_flags): Ditto. | |
4008 | (locate_first_half): Ditto. | |
4009 | (decode_compound): Ditto. | |
4010 | (symtab_from_filename): Ditto. | |
4011 | (decode_all_digits): Ditto. | |
4012 | (decode_dollar): Ditto. | |
4013 | (find_methods): Ditto. | |
4014 | (find_toplevel_char): Ditto. | |
4015 | ||
1bac305b AC |
4016 | 2003-01-13 Andrew Cagney <[email protected]> |
4017 | ||
4018 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
4019 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
4020 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
4021 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
4022 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
4023 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
4024 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
4025 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
4026 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
4027 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
4028 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
4029 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
4030 | ||
25caa7a8 EZ |
4031 | 2003-01-13 Elena Zannoni <[email protected]> |
4032 | ||
4033 | * stabsread.h (process_later, resolve_cfront_continuation): | |
4034 | Obsolete. | |
4035 | Update copyright years. | |
4036 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
4037 | Update copyright year. | |
4038 | * dbxread.c(struct cont_elem): Obsolete. | |
4039 | (process_later, process_now): Obsolete functions. | |
4040 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. | |
4041 | Update copyright year. | |
4042 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
4043 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
4044 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
4045 | (parse_partial_symbols): Obsolete cfront support. | |
4046 | * stabsread.c | |
4047 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
4048 | macros. | |
4049 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
4050 | read_cfront_baseclasses, read_cfront_member_functions, | |
4051 | resolve_cfront_continuation,read_cfront_static_fields, | |
4052 | copy_cfront_struct_fields): Obsolete functions. | |
4053 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
4054 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
4055 | Update Copyright year. | |
4056 | ||
7789c6f5 EZ |
4057 | 2003-01-13 Elena Zannoni <[email protected]> |
4058 | ||
4059 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
4060 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
4061 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
4062 | print_only_stack_frame): Delete functions. | |
4063 | (print_stack_frame_stub): Call print_frame_info instead of | |
4064 | print_frame_info_base. | |
4065 | (print_frame_info_base): Rename to print_frame_info. | |
4066 | (backtrace_command_1): Call print_frame_info, instead of | |
4067 | print_frame_info_base. | |
4068 | (current_frame_command): Call print_stack_frame, instead of | |
4069 | print_only_stack_frame. | |
4070 | (frame_command): Call print_stack_frame, instead of | |
4071 | show_and_print_stack_frame. | |
4072 | (up_command): Ditto. | |
4073 | (down_command): Ditto. | |
4074 | * frame.h (print_only_stack_frame): Delete prototype. | |
4075 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
4076 | show_and_print_stack_frame. | |
4077 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
4078 | of print_only_stack_frame. | |
4079 | ||
3f5a3016 AC |
4080 | 2003-01-13 Andrew Cagney <[email protected]> |
4081 | ||
d99ba314 AC |
4082 | * README (Graphical interface to GDB): Update URL. Point at |
4083 | gdb/links/. | |
4084 | ||
3f5a3016 AC |
4085 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
4086 | version match. | |
4087 | ||
083ae935 DJ |
4088 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4089 | ||
4090 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
4091 | lines. | |
4092 | ||
5365276c DJ |
4093 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4094 | ||
4095 | * thread-db.c (attach_thread): Prototype. | |
4096 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
4097 | thread information (ti), and valid flags (th_valid, ti_valid). | |
4098 | (attach_thread): Move target_pid_to_str call to after the thread | |
4099 | is added to GDB's list. Initialize the cache. | |
4100 | (thread_get_info_callback, thread_db_map_id2thr) | |
4101 | (thread_db_get_info): New functions. | |
4102 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
4103 | (thread_db_store_registers, thread_db_thread_alive) | |
4104 | (thread_db_get_thread_local_address): Use them. | |
4105 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
4106 | of calling error() for threads in unknown state. | |
4107 | ||
4108 | (clear_lwpid_callback): New function. | |
4109 | (thread_db_resume): Use it to clear the cache. | |
4110 | ||
9fc30b6b DJ |
4111 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4112 | ||
4113 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
4114 | (resume_callback): Remove dead code. | |
4115 | ||
8f871025 AC |
4116 | 2003-01-13 Andrew Cagney <[email protected]> |
4117 | ||
4118 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
4119 | predicate. | |
4120 | * gdbarch.h, gdbarch.c: Regenerate. | |
4121 | * stack.c (frame_info): Only initialize the saved registers when | |
4122 | FRAME_INIT_SAVED_REGS_P. | |
4123 | * frame.c (frame_saved_regs_register_unwind): Assert | |
4124 | FRAME_INIT_SAVED_REGS_P. | |
4125 | (deprecated_generic_get_saved_register): Ditto. | |
4126 | ||
3f565f1e DJ |
4127 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4128 | ||
4129 | * source.c (openp): Squelch warning about "filename". | |
4130 | ||
072b1022 DJ |
4131 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4132 | ||
4133 | * source.c (openp): If the file does not exist don't necessarily | |
4134 | search the path. | |
4135 | ||
973ccf8b DJ |
4136 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4137 | ||
4138 | Fix PR gdb/872. | |
4139 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
4140 | (integer_types_same_name_p): New function. | |
4141 | (rank_one_type): Use it. | |
4142 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
4143 | ||
030292b7 DJ |
4144 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
4145 | ||
4146 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
4147 | variables. | |
4148 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
4149 | * configure.in: Add --with-sysroot. | |
4150 | * configure: Regenerated. | |
4151 | * main.c (gdb_sysroot): New variable. | |
4152 | (captured_main): Initialize gdb_sysroot. | |
4153 | * defs.h (gdb_sysroot): New extern declaration. | |
4154 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
4155 | ||
afb5d334 MC |
4156 | 2003-01-12 Michael Chastain <[email protected]> |
4157 | ||
4158 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
4159 | ||
751ceeb4 MC |
4160 | 2003-01-12 Michael Chastain <[email protected]> |
4161 | ||
4162 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
4163 | ||
94cd26f8 DC |
4164 | 2003-01-12 David Carlton <[email protected]> |
4165 | ||
4166 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
4167 | 'file_symtab'. | |
4168 | ||
1ce79225 AC |
4169 | 2003-01-12 Andrew Cagney <[email protected]> |
4170 | ||
4171 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
4172 | dummy frame. | |
4173 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
4174 | ||
fa1fd571 AC |
4175 | 2003-01-12 Andrew Cagney <[email protected]> |
4176 | ||
4177 | * d10v-tdep.c: Include "gdb_assert.h". | |
4178 | (d10v_store_return_value): Rewrite to match current interface. | |
4179 | (d10v_extract_struct_value_address): Ditto. | |
4180 | (d10v_extract_return_value): Ditto. | |
4181 | (d10v_gdbarch_init): Set store_restore_value, | |
4182 | extract_struct_value_address and extract_return_value. | |
4183 | ||
68b8d23e JB |
4184 | 2003-01-12 J. Brobecker <[email protected]> |
4185 | ||
4186 | * hpread.c (set_namestring): New procedure replacing the | |
4187 | SET_NAMESTRING macro. | |
4188 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
4189 | by calls to set_namestring. | |
4190 | ||
4191 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
4192 | |
4193 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
4194 | a compilation warning. | |
4195 | (hpread_process_one_debug_symbol): Likewise. | |
4196 | ||
88d262ca DC |
4197 | 2003-01-10 David Carlton <[email protected]> |
4198 | ||
4199 | * linespec.c (decode_line_1): Rename variable 's' to | |
4200 | 'file_symtab'. | |
4201 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
4202 | (decode_dollar): Ditto. | |
4203 | (decode_variable): Ditto. | |
4204 | (symbol_found): Ditto. | |
4205 | ||
86669319 MC |
4206 | 2003-01-09 Michael Chastain <[email protected]> |
4207 | ||
4208 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
4209 | ||
616a9dc4 CV |
4210 | 2003-01-07 Corinna Vinschen <[email protected]> |
4211 | ||
4212 | * win32-nat.c (set_process_privilege): New function. | |
4213 | (child_attach): Call set_process_privilege() to enable the | |
4214 | SE_DEBUG_NAME user privilege if available in process token. | |
4215 | ||
3269bcfa JB |
4216 | 2003-01-10 J. Brobecker <[email protected]> |
4217 | ||
4218 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
4219 | compilation error in the previous revision. | |
4220 | ||
2b0ee454 DC |
4221 | 2003-01-09 David Carlton <[email protected]> |
4222 | ||
4223 | * linespec.c: Update copyright. | |
4224 | ||
b3ba1b44 DJ |
4225 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
4226 | ||
4227 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
4228 | than inferior_ptid. | |
4229 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
4230 | ||
4ef3f3be AC |
4231 | 2003-01-09 Andrew Cagney <[email protected]> |
4232 | ||
479ab5a0 AC |
4233 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
4234 | Update comments. | |
4235 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
4236 | (frame_saved_regs_zalloc): Update. | |
4237 | (frame_saved_regs_register_unwind): Update. | |
4238 | (create_new_frame): Update. | |
4239 | (get_prev_frame): Update. | |
4240 | (frame_extra_info_zalloc): Update. | |
4241 | (deprecated_get_frame_saved_regs): Update. | |
4242 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
4243 | * cris-tdep.c: Update comment. | |
4244 | ||
bde58177 AC |
4245 | * somsolib.h: Fix function indentation. |
4246 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
4247 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
4248 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
4249 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
4250 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
4251 | ||
4ef3f3be AC |
4252 | * infrun.c (follow_fork): Use ISO C definition. |
4253 | * expprint.c (print_subexp): Use xfree instead of free. | |
4254 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
4255 | (register_iconv_charsets): Use ISO C definition. | |
4256 | (host_charset, target_charset): Ditto. | |
4257 | * Makefile.in (charset.o): Update dependencies. | |
4258 | (mi-cmd-env.o): Update dependencies. | |
4259 | ||
1c615f7a AC |
4260 | 2003-01-08 Andrew Cagney <[email protected]> |
4261 | ||
4262 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
4263 | get_frame_base. | |
4264 | ||
c9a1dc08 AC |
4265 | 2003-01-08 Andrew Cagney <[email protected]> |
4266 | ||
4267 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
4268 | build directories. Save edited gdb output in Mbuild.log. If a | |
4269 | build fails, remove any final GDB executable. | |
4270 | ||
dbad9d94 AC |
4271 | 2003-01-08 Andrew Cagney <[email protected]> |
4272 | ||
4273 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
4274 | replacing hex constants with function names and stripping leading | |
4275 | file name directory prefixes. | |
4276 | ||
8d357cca AC |
4277 | 2003-01-08 Andrew Cagney <[email protected]> |
4278 | ||
4279 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
4280 | get_frame_base. | |
4281 | ||
bca02a8a DC |
4282 | 2003-01-08 David Carlton <[email protected]> |
4283 | ||
4284 | * linespec.c (decode_line_1): Move code into decode_variable. | |
4285 | (decode_variable): New function. | |
4286 | ||
7f8ab3a0 AC |
4287 | 2003-01-08 Andrew Cagney <[email protected]> |
4288 | ||
4289 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
4290 | ||
7b5849cc AC |
4291 | 2003-01-08 Andrew Cagney <[email protected]> |
4292 | ||
4293 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
4294 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
4295 | saved_regs buffer. | |
4296 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
4297 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
4298 | (sh_fp_frame_init_saved_regs): Ditto. | |
4299 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
4300 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
4301 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
4302 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
4303 | ||
72a5efb3 DJ |
4304 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
4305 | ||
4306 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
4307 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
4308 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
4309 | ||
11c02a10 AC |
4310 | 2003-01-08 Andrew Cagney <[email protected]> |
4311 | ||
aab3ea25 AC |
4312 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
4313 | frame_relative_level. | |
4314 | ||
da50a4b7 AC |
4315 | * alpha-tdep.c: Use get_frame_extra_info. |
4316 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4317 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
4318 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
4319 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
4320 | ||
11c02a10 AC |
4321 | * alpha-tdep.c: Use get_next_frame. |
4322 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4323 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
4324 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
4325 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
4326 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
4327 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
4328 | * xstormy16-tdep.c: Ditto. | |
4329 | ||
1e2330ba AC |
4330 | 2003-01-07 Andrew Cagney <[email protected]> |
4331 | ||
4332 | * alpha-tdep.c: Use get_frame_base. | |
4333 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4334 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
4335 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
4336 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
4337 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
4338 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
4339 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
4340 | * config/sparc/tm-sparc.h: Ditto. | |
4341 | ||
2d75187b AC |
4342 | 2003-01-07 Andrew Cagney <[email protected]> |
4343 | ||
4344 | * frame.c (deprecated_get_frame_context): New function. | |
4345 | (deprecated_set_frame_context): New function. | |
4346 | * frame.h (deprecated_get_frame_context): Declare. | |
4347 | (deprecated_set_frame_context): Declare. | |
4348 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
4349 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
4350 | ||
483d36b2 AC |
4351 | 2003-01-07 Andrew Cagney <[email protected]> |
4352 | ||
4353 | * frame.c (deprecated_set_frame_next_hack): New function. | |
4354 | (deprecated_set_frame_prev_hack): New function. | |
4355 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
4356 | (deprecated_set_frame_prev_hack): Declare. | |
4357 | * mcore-tdep.c (analyze_dummy_frame): Use | |
4358 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
4359 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
4360 | ||
14e91ac5 DC |
4361 | 2003-01-07 David Carlton <[email protected]> |
4362 | ||
4363 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
4364 | (decode_dollar): New function. | |
4365 | ||
b0c6b05c AC |
4366 | 2003-01-07 Andrew Cagney <[email protected]> |
4367 | ||
4368 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
4369 | deprecated_update_frame_base_hack. | |
4370 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
4371 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
4372 | (fix_frame_pointer): Ditto. | |
4373 | (mn10300_analyze_prologue): Ditto. | |
4374 | ||
a00a19e9 AC |
4375 | 2003-01-07 Andrew Cagney <[email protected]> |
4376 | ||
4377 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
4378 | extra_info using frame_extra_info_zalloc. | |
4379 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
4380 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
4381 | (sh64_init_extra_frame_info): Ditto. | |
4382 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
4383 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
4384 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
4385 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
4386 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
4387 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
4388 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
4389 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
4390 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
4391 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
4392 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
4393 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
4394 | ||
4395 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
4396 | deprecated_set_frame_extra_info_hack. | |
4397 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
4398 | ||
1fb4c65b JB |
4399 | 2003-01-07 J. Brobecker <[email protected]> |
4400 | ||
4401 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
4402 | class is not scText. These do not define "real" procedures. | |
4403 | (parse_partial_symbols): Likewise. | |
4404 | ||
9fe7d6bf MS |
4405 | 2003-01-06 Michael Snyder <[email protected]> |
4406 | ||
4407 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
4408 | ||
f6c609c4 AC |
4409 | 2003-01-06 Andrew Cagney <[email protected]> |
4410 | ||
4411 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
4412 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
4413 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
4414 | deprecated_frame_xmalloc_with_cleanup. | |
4415 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
4416 | deprecated_frame_xmalloc. | |
4417 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
4418 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
4419 | ||
d995ff4b AC |
4420 | 2003-01-06 Andrew Cagney <[email protected]> |
4421 | ||
84dc46cb AC |
4422 | * x86-64-linux-tdep.c: Include "osabi.h". |
4423 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
4424 | ||
d995ff4b AC |
4425 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
4426 | ||
66140c26 AC |
4427 | 2003-01-06 Andrew Cagney <[email protected]> |
4428 | ||
4429 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
4430 | arm-elf. Can be built with -Werror, has been multiarched. | |
4431 | ||
4432 | * value.h (unpack_long): Make buffer parameter constant. | |
4433 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
4434 | * scm-lang.h (scm_parse): Ditto. | |
4435 | * defs.h (extract_typed_address, extract_address): Ditto. | |
4436 | (extract_long_unsigned_integer): Ditto. | |
4437 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
4438 | (signed_pointer_to_address): Ditto. | |
4439 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
4440 | * gdbarch.h, gdbarch.c: Regenerate. | |
4441 | * findvar.c (extract_long_unsigned_integer): Update. | |
4442 | (extract_address): Update. | |
4443 | (extract_typed_address): Update. | |
4444 | (unsigned_pointer_to_address): Update. | |
4445 | * values.c (unpack_long): Update. | |
4446 | (unpack_double): Update. | |
4447 | (unpack_pointer): Update. | |
4448 | (unpack_field_as_long): Update. | |
4449 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
4450 | * avr-tdep.c (avr_pointer_to_address): Update. | |
4451 | * scm-lang.c (scm_unpack): Update. | |
4452 | * findvar.c (signed_pointer_to_address): Update. | |
4453 | ||
b089b3da ML |
4454 | 2003-01-06 Michal Ludvig <[email protected]> |
4455 | ||
4456 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore | |
4457 | since it is in i386-tdep.c. | |
4458 | ||
aff87235 JB |
4459 | 2003-01-06 J. Brobecker <[email protected]> |
4460 | ||
4461 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
4462 | failure introduced in the previous change. | |
4463 | ||
34f5e845 MC |
4464 | 2003-01-05 Michael Chastain <[email protected]> |
4465 | ||
4466 | * README: Remove references to deleted remote-*.c files: | |
4467 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
4468 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
4469 | ||
28bcfd30 MK |
4470 | 2003-01-05 Mark Kettenis <[email protected]> |
4471 | ||
4472 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
4473 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
4474 | i386_get_longjmp_target. | |
4475 | ||
15a5b3ee AC |
4476 | 2003-01-05 Andrew Cagney <[email protected]> |
4477 | ||
4478 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
4479 | (_initialize_arm_tdep): Allocate prologue_cache. | |
4480 | (check_prologue_cache): Update. | |
4481 | (save_prologue_cache): Update. | |
4482 | (arm_gdbarch_init): Update. | |
4483 | ||
c263362b DJ |
4484 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4485 | ||
4486 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
4487 | instead of error. | |
4488 | ||
51603483 DJ |
4489 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4490 | ||
4491 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
4492 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
4493 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
4494 | ||
4495 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
4496 | (backtrace_below_main): New variable. | |
4497 | (file_frame_chain_valid, func_frame_chain_valid) | |
4498 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
4499 | (generic_func_frame_chain_valid): Remove functions. | |
4500 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
4501 | (_initialize_blockframe): New function. | |
4502 | * Makefile.in (blockframe.o): Update dependencies. | |
4503 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
4504 | comment. Call frame_chain_valid (). | |
4505 | * frame.h: Remove old prototypes. Add prototype for | |
4506 | frame_chain_valid and update comments to match. | |
4507 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
4508 | Remove old comment. | |
4509 | * gdbarch.h: Regenerated. | |
4510 | * gdbarch.c: Regenerated. | |
4511 | ||
4512 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
4513 | set_gdbarch_frame_chain_valid. | |
4514 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
4515 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
4516 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
4517 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
4518 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
4519 | (i386_nw_init_abi): Likewise. | |
4520 | (i386_gdbarch_init): Likewise. | |
4521 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
4522 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
4523 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
4524 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
4525 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
4526 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
4527 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
4528 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
4529 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
4530 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
4531 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
4532 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
4533 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
4534 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
4535 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
4536 | ||
4537 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
4538 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
4539 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
4540 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
4541 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
4542 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
4543 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
4544 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
4545 | ||
b00a8037 DJ |
4546 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4547 | ||
4548 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
4549 | (config_h): Define. | |
4550 | (osabi.o): Update dependencies. | |
4551 | * configure.tgt: Set gdb_osabi based on target triplet. | |
4552 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
4553 | * configure: Regenerated. | |
4554 | * config.in: Regenerated. | |
4555 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
4556 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
4557 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
4558 | (set_osabi_string): New variables. | |
4559 | (gdbarch_register_osabi): Add new OS ABI to | |
4560 | gdb_osabi_available_names. | |
4561 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
4562 | (set_osabi, show_osabi): New functions. | |
4563 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
4564 | ||
4be87837 DJ |
4565 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4566 | ||
4567 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
4568 | GDB_OSABI_UNINITIALIZED. | |
4569 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
4570 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
4571 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
4572 | * gdbarch.c: Regenerated. | |
4573 | * gdbarch.h: Regenerated. | |
4574 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
4575 | there's no BFD. | |
4576 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
4577 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
4578 | (gdbarch_init_osabi): Update prototype. | |
4579 | * defs.h (enum gdb_osabi): Moved here. | |
4580 | * Makefile.in: Update dependencies. | |
4581 | ||
4582 | * alpha-tdep.h: Don't include "osabi.h". | |
4583 | (struct gdbarch_tdep): Remove osabi member. | |
4584 | * alpha-tdep.c: Include "osabi.h". | |
4585 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4586 | iterate over arches. Update call to gdbarch_init_osabi. | |
4587 | (alpha_dump_tdep): Don't dump osabi. | |
4588 | * alpha-linux-tdep.c: Include "osabi.h". | |
4589 | * alpha-osf1-tdep.c: Include "osabi.h". | |
4590 | * alphafbsd-tdep.c: Include "osabi.h". | |
4591 | * alphanbsd-tdep.c: Include "osabi.h". | |
4592 | ||
4593 | * arm-tdep.h: Don't include "osabi.h". | |
4594 | (struct gdbarch_tdep): Remove osabi member. | |
4595 | * arm-tdep.c: Include "osabi.h". | |
4596 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4597 | iterate over arches. Update call to gdbarch_init_osabi. | |
4598 | (arm_dump_tdep): Don't dump osabi. | |
4599 | * arm-linux-tdep.c: Include "osabi.h". | |
4600 | * armnbsd-tdep.c: Include "osabi.h". | |
4601 | ||
4602 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
4603 | Update call to gdbarch_init_osabi. | |
4604 | ||
4605 | * i386-tdep.h: Don't include "osabi.h". | |
4606 | (struct gdbarch_tdep): Remove osabi member. | |
4607 | * i386-tdep.c: Include "osabi.h". | |
4608 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4609 | iterate over arches. Update call to gdbarch_init_osabi. | |
4610 | (i386_dump_tdep): Don't dump osabi. | |
4611 | * i386-linux-tdep.c: Include "osabi.h". | |
4612 | * i386-sol2-tdep.c: Include "osabi.h". | |
4613 | * i386bsd-tdep.c: Include "osabi.h". | |
4614 | * i386gnu-tdep.c: Include "osabi.h". | |
4615 | * i386ly-tdep.c: Include "osabi.h". | |
4616 | * i386nbsd-tdep.c: Include "osabi.h". | |
4617 | * i386obsd-tdep.c: Include "osabi.h". | |
4618 | ||
4619 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
4620 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4621 | check osabi when iterating over arches. Update call to | |
4622 | gdbarch_init_osabi. | |
4623 | (mips_dump_tdep): Don't dump osabi. | |
4624 | ||
4625 | * ns32k-tdep.h: Don't include "osabi.h". | |
4626 | (struct gdbarch_tdep): Remove. | |
4627 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
4628 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
4629 | allocate tdep. Update call to gdbarch_init_osabi. | |
4630 | (ns32k_dump_tdep): Remove. | |
4631 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
4632 | * ns32knbsd-tdep.c: Include "osabi.h". | |
4633 | ||
4634 | * ppc-tdep.h: Don't include "osabi.h". | |
4635 | (struct gdbarch_tdep): Remove osabi member. | |
4636 | * rs6000-tdep.c: Include "osabi.h". | |
4637 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
4638 | osabi when iterating over arches. Update call to | |
4639 | gdbarch_init_osabi. | |
4640 | (rs6000_dump_tdep): Don't dump osabi. | |
4641 | * ppc-linux-tdep.c: Include "osabi.h". | |
4642 | * ppcnbsd-tdep.c: Include "osabi.h". | |
4643 | ||
4644 | * sh-tdep.h: Don't include "osabi.h". | |
4645 | (struct gdbarch_tdep): Remove osabi member. | |
4646 | * sh-tdep.c: Include "osabi.h". | |
4647 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4648 | iterate over arches. Update call to gdbarch_init_osabi. | |
4649 | (sh_dump_tdep): Don't dump osabi. | |
4650 | * shnbsd-tdep.c: Include "osabi.h". | |
4651 | ||
4652 | * sparc-tdep.c: Include "osabi.h". | |
4653 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4654 | iterate over arches. Update call to gdbarch_init_osabi. | |
4655 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
4656 | tdep structure. | |
4657 | ||
4658 | * vax-tdep.h: Don't include "osabi.h". | |
4659 | (struct gdbarch_tdep): Remove. | |
4660 | * vax-tdep.c: Include "osabi.h". | |
4661 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4662 | iterate over arches. Don't allocate tdep. Update call | |
4663 | to gdbarch_init_osabi. | |
4664 | (vax_dump_tdep): Remove. | |
4665 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
4666 | ||
a881cf8e DJ |
4667 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4668 | ||
4669 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
4670 | entirely. | |
4671 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
4672 | watchpoint. | |
4673 | ||
1e698235 DJ |
4674 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4675 | ||
4676 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
4677 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
4678 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4679 | * gdbarch.c: Regenerate. | |
4680 | * gdbarch.h: Regenerate. | |
4681 | * Makefile.in: Remove value_h from gdbarch_h. | |
4682 | * valops.c (coerce_float_to_double): New variable. | |
4683 | (default_coerce_float_to_double): Remove. | |
4684 | (standard_coerce_float_to_double): Remove. | |
4685 | (value_arg_coerce): Use coerce_float_to_double. | |
4686 | (_initialize_valops): Add "set coerce-float-to-double". | |
4687 | * value.h (default_coerce_float_to_double): Remove prototype. | |
4688 | (standard_coerce_float_to_double): Remove prototype. | |
4689 | ||
4690 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
4691 | prototyped. | |
4692 | * mdebugread.c (parse_symbol): Likewise. | |
4693 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
4694 | ||
4695 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
4696 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
4697 | set_gdbarch_coerce_float_to_double. | |
4698 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
4699 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
4700 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
4701 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
4702 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
4703 | (mips_coerce_float_to_double): Remove. | |
4704 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
4705 | (rs6000_coerce_float_to_double): Remove. | |
4706 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
4707 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
4708 | (sh_coerce_float_to_double): Remove. | |
4709 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
4710 | (sparc_coerce_float_to_double): Remove. | |
4711 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
4712 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
4713 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4714 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4715 | (hppa_coerce_float_to_double): Remove prototype. | |
4716 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4717 | ||
f436a26a DJ |
4718 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4719 | ||
4720 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
4721 | ||
248f8055 DJ |
4722 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
4723 | ||
4724 | Suggested by Stewart Brown <[email protected]>: | |
4725 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
4726 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
4727 | (c_type_print_varspec_suffix): Likewise. | |
4728 | ||
72cfdc76 MK |
4729 | 2003-01-04 Mark Kettenis <[email protected]> |
4730 | ||
bfd260bb MK |
4731 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
4732 | * configure: Regenerated. | |
4733 | ||
72cfdc76 MK |
4734 | * configure.in: Remove code dealing with shared libraries. |
4735 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
4736 | * configure: Regenerated. | |
4737 | ||
c8b8a898 AC |
4738 | 2003-01-04 Andrew Cagney <[email protected]> |
4739 | ||
4740 | * frame.c (deprecated_frame_xmalloc): New function. | |
4741 | (deprecated_set_frame_saved_regs_hack): New function. | |
4742 | (deprecated_set_frame_extra_info_hack): New function. | |
4743 | * frame.h (deprecated_frame_xmalloc): Declare. | |
4744 | (deprecated_set_frame_saved_regs_hack): Declare. | |
4745 | (deprecated_set_frame_extra_info_hack): Declare. | |
4746 | ||
14abd0fb MK |
4747 | 2003-01-04 Mark Kettenis <[email protected]> |
4748 | ||
8ee53726 MK |
4749 | * configure.in: Move code that provides the --enable-gdbtk option |
4750 | right after the code that handles the --enable-tui option, and | |
4751 | polish it somewhat. | |
4752 | * configure: Regenerated. | |
4753 | ||
14abd0fb MK |
4754 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
4755 | AC_CHECK_FUNCS and remove the old check for pread64. | |
4756 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
4757 | * acconfig.h (_GNU_SOURCE): Add. | |
4758 | (HAVE_PREAD64): Remove. | |
4759 | * configure, aclocal.m4, config.in: Regenerated. | |
4760 | ||
b2fb4676 AC |
4761 | 2003-01-03 Andrew Cagney <[email protected]> |
4762 | ||
4763 | * alpha-tdep.c: Use get_frame_saved_regs. | |
4764 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4765 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
4766 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
4767 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
4768 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
4769 | ||
8dcde887 MK |
4770 | 2003-01-03 Mark Kettenis <[email protected]> |
4771 | ||
4772 | * configure.in: Remove all use of the SUBDIRS variable; add | |
4773 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
4774 | code providing the --enable-multi-ice option, and move it right in | |
4775 | front of the code that checks whether gdbserver is supported. | |
4776 | Polish that too. | |
4777 | * configure: Regenerated. | |
4778 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
4779 | @SUBDIRS@. | |
4780 | ||
8ccd593b AC |
4781 | 2003-01-03 Andrew Cagney <[email protected]> |
4782 | ||
4783 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
4784 | * avr-tdep.c, cris-tdep.c: Ditto. | |
4785 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
4786 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
4787 | ||
91151a06 MK |
4788 | 2003-01-03 Mark Kettenis <[email protected]> |
4789 | ||
4790 | * configure.in: Remove --enable-netrom option. | |
4791 | * configure: Regenerated. | |
4792 | ||
8fe84d01 MK |
4793 | 2003-01-03 Mark Kettenis <[email protected]> |
4794 | ||
4795 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
4796 | declaration for `struct re_pattern_buffer' instead. | |
4797 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
4798 | ||
f0394be6 JB |
4799 | 2003-01-03 J. Brobecker <[email protected]> |
4800 | ||
4801 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
4802 | the structure name. | |
4803 | ||
27e9bf90 MK |
4804 | 2003-01-02 Mark Kettenis <[email protected]> |
4805 | ||
93d331ba MK |
4806 | * configure.in: Remove --with-cpu option. |
4807 | subscripts. Remove evil changequotes here. | |
4808 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
4809 | * config.in, configure: Regenerated. | |
4810 | ||
27e9bf90 MK |
4811 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
4812 | * configure.in: Cleanup section that sources GDB and BFD configure | |
4813 | subscripts. Remove evil changequotes here. | |
4814 | * config.in, configure: Regenerated. | |
4815 | ||
50abf9e5 AC |
4816 | 2003-01-02 Andrew Cagney <[email protected]> |
4817 | ||
4818 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
4819 | frame accessor methods. | |
4820 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4821 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
4822 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
4823 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
4824 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
4825 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
4826 | * z8k-tdep.c: Ditto. | |
4827 | ||
287c1a40 MK |
4828 | 2003-01-02 Mark Kettenis <[email protected]> |
4829 | ||
f5dbc56d MK |
4830 | * configure.in: Remove UI_OUT configuration code. |
4831 | * ada-lang.c: Update assuming UI_OUT is always true. | |
4832 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
4833 | * configure: Regenerated. | |
4834 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
4835 | ||
627af7ea MK |
4836 | * configure.in: Move code that provides the --enable-gdbcli, |
4837 | --enable-gdbmi options right before the code that handles the | |
4838 | --enable-tui option. Polish a bit. | |
4839 | * configure: Regenerated. | |
4840 | ||
06825bd1 MK |
4841 | * configure.in: Rewrite check for GNU regex and the |
4842 | --without-included regex option, and move it into the "Checks for | |
4843 | library functions" section. This makes us use the system regex | |
4844 | again by default on systems with version 2 of the GNU C library. | |
4845 | This was apparently broken. | |
4846 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
4847 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
4848 | * config.in, configure: Regenerated. | |
4849 | ||
287c1a40 MK |
4850 | * configure.in: Move code that provides the --enable-tui option |
4851 | before the "Checks for libraries" section. Polish the code | |
4852 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
4853 | code that looks for a library providing termcap functionality to | |
4854 | match more closely what's done in the Readline library, and move | |
4855 | it into to the "Checks for libraries" section. | |
4856 | * configure: Regenerated. | |
4857 | * Makefile.in (TERMCAP): Remove variable. | |
4858 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
4859 | ||
684e56bf AC |
4860 | 2003-01-02 Andrew Cagney <[email protected]> |
4861 | ||
4862 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
4863 | * gdb_mbuild.sh: Rewrite. | |
4864 | ||
e1ea1d75 MK |
4865 | 2003-01-02 Mark Kettenis <[email protected]> |
4866 | ||
4867 | * configure.in: Fix typo in last change. | |
4868 | * config.in, configure: Regenerated. | |
4869 | ||
1b831c93 AC |
4870 | 2003-01-02 Andrew Cagney <[email protected]> |
4871 | ||
4872 | * valarith.c (value_binop): Delete obsolete code and comments. | |
4873 | * configure.host: Ditto. | |
4874 | * buildsym.h (make_blockvector): Ditto. | |
4875 | * buildsym.c (make_blockvector): Ditto. | |
4876 | * defs.h (enum language): Ditto. | |
4877 | (chill_demangle): Ditto. | |
4878 | * elfread.c (elf_symtab_read): Ditto. | |
4879 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
4880 | (set_cu_language): Ditto. | |
4881 | (handle_producer): Ditto. | |
4882 | * expprint.c (print_subexp): Ditto. | |
4883 | * gdbtypes.c (chill_varying_type): Ditto. | |
4884 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
4885 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
4886 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
4887 | (chill_varying_type): Ditto. | |
4888 | * language.h (_LANG_chill): Ditto. | |
4889 | * language.c (binop_result_type, integral_type): Ditto. | |
4890 | (character_type, string_type, structured_type): Ditto. | |
4891 | (lang_bool_type, binop_type_check): Ditto. | |
4892 | * stabsread.h (os9k_stabs): Ditto. | |
4893 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
4894 | (define_symbol, read_type, read_struct_fields): Ditto. | |
4895 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
4896 | (read_range_type, start_stabs): Ditto. | |
4897 | * symfile.c (init_filename_language_table): Ditto. | |
4898 | (add_psymbol_with_dem_name_to_list): Ditto. | |
4899 | * symtab.c (symbol_init_language_specific): Ditto. | |
4900 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
4901 | * symtab.h (struct general_symbol_info): Ditto. | |
4902 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
4903 | * typeprint.c (typedef_print): Ditto. | |
4904 | * utils.c (fprintf_symbol_filtered): Ditto. | |
4905 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
4906 | obsolete code. | |
4907 | (varying_to_slice): Delete function. | |
4908 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
4909 | (varying_to_slice): Delete declaration. | |
4910 | * MAINTAINERS: Update. | |
4911 | ||
8bb2c122 MK |
4912 | 2003-01-02 Mark Kettenis <[email protected]> |
4913 | ||
97bf5e38 MK |
4914 | * configure.in: Reorganize "Checks for library functions section" |
4915 | a bit. Remove check for `btowc' and `isascii' functions. | |
4916 | * configure: Regenerated. | |
4917 | ||
5ee754fc MK |
4918 | * acconfig.h (_MSE_INT_H): Remove. |
4919 | * configure.in: Create "Checks for header files" section, and move | |
4920 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
4921 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
4922 | misdetection fix. Also add "Checks for types", "Checks for | |
4923 | compiler characteristics" and "Checks for library functions" | |
4924 | sections. | |
4925 | * config.in, configure: Regenerated. | |
4926 | ||
8bb2c122 MK |
4927 | * configure.in: Create "Checks for programs" section, and move |
4928 | appropriate tests there. | |
4929 | ||
9a156167 MK |
4930 | 2003-01-01 Mark Kettenis <[email protected]> |
4931 | ||
4932 | * configure.in: Create "Checks for libraries" section, and move | |
4933 | appropriate tests there. Cleanup check for wctype in libw. Use | |
4934 | AC_SEARCH_LIBS to see whether we need libsocket. | |
4935 | * configure: Regenerated. | |
4936 | ||
a80e2bcb | 4937 | For older changes see ChangeLog-2002 |
c906108c SS |
4938 | \f |
4939 | Local Variables: | |
4940 | mode: change-log | |
4941 | left-margin: 8 | |
4942 | fill-column: 74 | |
4943 | version-control: never | |
4944 | End: |