Commit | Line | Data |
---|---|---|
4577549b DJ |
1 | 2007-10-02 Mark Mitchell <mark@codesourcery.com> |
2 | ||
3 | * mingw-hdep.c (gdb_select): Stop helper threads before returning. | |
4 | * ser-mingw.c (enum select_thread_state): New type. | |
5 | (struct ser_console_state): Add have_started and thread_state. | |
6 | (select_thread_wait): New function. | |
7 | (thread_fn_type): New type. | |
8 | (create_select_thread): New function. | |
9 | (destroy_select_thread): Likewise. | |
10 | (start_select_thread): Likewise. | |
11 | (stop_select_thread): Likewise. | |
12 | (console_select_thread): Use new functions. | |
13 | (pipe_select_thread): Likewise. | |
14 | (file_select_thread): Likewise. | |
15 | (ser_console_wait_handle): Likewise. | |
16 | (ser_console_done_wait_handle): Likewise. | |
17 | (ser_console_close): Likewise. | |
18 | (free_pipe_state): Likewise. | |
19 | (pipe_wait_handle): Likewise. | |
20 | (pipe_done_wait_handle): Likewise. | |
21 | (struct net_windows_state): Derive from ser_console_state. | |
22 | (net_windows_select_thread): Use new functions. | |
23 | (net_windows_wait_handle): Likewise. | |
24 | (net_windows_done_wait_handle): Likewise. | |
25 | (net_windows_close): Likewise. | |
26 | ||
b0b951d9 DJ |
27 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
28 | ||
29 | * inflow.c (terminal_ours_1): Remove useless line. | |
30 | ||
82e91389 DJ |
31 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
32 | ||
33 | * mips-tdep.c (mips_read_fp_register_double): Correct check for | |
34 | odd FP registers. | |
35 | (mips_print_fp_register): Correct check for even FP registers. | |
36 | (mips_virtual_frame_pointer): New function. | |
37 | (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer. | |
38 | ||
c4a3d09a MF |
39 | 2007-09-30 Mike Frysinger <vapier@gentoo.org> |
40 | ||
41 | * value.h (lookup_only_internalvar): New prototype. | |
42 | (create_internalvar): Likewise. | |
43 | * value.c (lookup_only_internalvar): New function. | |
44 | (create_internalvar): Likewise. | |
45 | (lookup_internalvar): Use new lookup_only_internalvar and | |
46 | create_internalvar functions. | |
47 | * parse.c (write_dollar_variable): Look up $ symbols in internal | |
48 | table first rather than last. | |
49 | ||
9f0bdab8 DJ |
50 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
51 | ||
52 | * linux-nat.c (linux_nat_new_thread): New variable. | |
53 | (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use | |
54 | linux_nat_switch_fork. | |
55 | (lwp_list): Make public. | |
56 | (add_lwp): Call linux_nat_new_thread. | |
57 | (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping | |
58 | the new thread. | |
59 | (resume_callback): Clear lp->siginfo. Remove unused variable. | |
60 | (linux_nat_resume): Assert that the LWP list is already initialized. | |
61 | Clear lp->siginfo. | |
62 | (save_siginfo): New. | |
63 | (stop_wait_callback, linux_nat_wait): Call it. | |
64 | (linux_nat_set_new_thread, linux_nat_get_siginfo): New. | |
65 | * linux-nat.h (struct lwp_info): Add siginfo. | |
66 | (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare. | |
67 | (ALL_LWPS): Define. | |
68 | ||
69 | * amd64-linux-nat.c (amd64_linux_dr): New. | |
70 | (amd64_linux_dr_get): Take a PTID argument. Correct typo. | |
71 | (amd64_linux_dr_set): Take a PTID argument. | |
72 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS. | |
73 | (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr. | |
74 | (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get. | |
75 | (amd64_linux_new_thread): New. | |
76 | (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread. | |
77 | * i386-linux-nat.c (i386_linux_dr): New. | |
78 | (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument. | |
79 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS. | |
80 | (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr. | |
81 | (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get. | |
82 | (i386_linux_new_thread): New. | |
83 | (i386_linux_resume): Remove unnecessary PID check. | |
84 | (_initialize_i386_linux_nat): Call linux_nat_set_new_thread. | |
85 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument. | |
86 | (fetch_debug_register, fetch_debug_register_pair): Delete. | |
87 | (debug_registers): New. | |
88 | (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use | |
89 | ALL_LWPS and debug_registers. | |
90 | (ia64_linux_new_thread): New. | |
91 | (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
92 | (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread. | |
93 | * ppc-linux-nat.c (last_stopped_data_address): Delete. | |
94 | (saved_dabr_value): New. | |
95 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
96 | ALL_LWPS. | |
97 | (ppc_linux_new_thread): New. | |
98 | (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
99 | (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address. | |
100 | (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread. | |
101 | * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status | |
102 | after reading it. | |
103 | (s390_fix_watch_points): Take a PTID argument. | |
104 | (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS. | |
105 | (_initialize_s390_nat): Call linux_nat_set_new_thread. | |
106 | ||
d983da9c DJ |
107 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
108 | Jeff Johnston <jjohnstn@redhat.com> | |
109 | ||
110 | * breakpoint.c (watchpoints_triggered): New. | |
111 | (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument. | |
112 | Check watchpoint_triggered instead. Combine handling for software | |
113 | and hardware watchpoints. Do not use target_stopped_data_address | |
114 | here. Always check a watchpoint if its scope breakpoint triggers. | |
115 | Do not stop for thread or overlay events. Improve check for | |
116 | triggered watchpoints without a value change. | |
117 | (watch_command_1): Insert the scope breakpoint first. Link the | |
118 | scope breakpoint to the watchpoint. | |
119 | * breakpoint.h (enum watchpoint_triggered): New. | |
120 | (struct breakpoint): Add watchpoint_triggered. | |
121 | (bpstat_stop_status): Update prototype. | |
122 | (watchpoints_triggered): Declare. | |
123 | * infrun.c (enum infwait_status): Add infwait_step_watch_state. | |
124 | (stepped_after_stopped_by_watchpoint): Delete. | |
125 | (handle_inferior_event): Make stepped_after_stopped_by_watchpoint | |
126 | local. Handle infwait_step_watch_state. Update calls to | |
127 | bpstat_stop_status. Use watchpoints_triggered to check | |
128 | watchpoints. | |
129 | * remote.c (stepped_after_stopped_by_watchpoint): Remove extern. | |
130 | (remote_stopped_data_address): Do not check it. | |
131 | ||
7921a279 DJ |
132 | 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com> |
133 | ||
134 | * configure.ac: Add $LIBINTL when testing libbfd. | |
135 | * configure: Regenerated. | |
136 | ||
fe6fbf8b VP |
137 | 2007-09-28 Vladimir Prus <vladimir@codesourcery.com> |
138 | ||
139 | * NEW: Mention pending breakpoint changes and | |
140 | support for breakpoints at multiple locations. | |
141 | ||
daddc3c1 DJ |
142 | 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com> |
143 | ||
144 | * arm-linux-tdep.c (arm_linux_software_single_step): New. | |
145 | (arm_linux_init_abi): Use it. | |
146 | * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones | |
147 | condition correctly. | |
148 | * arm-tdep.h (arm_get_next_pc): Declare. | |
149 | * Makefile.in (arm-linux-tdep.o): Update. | |
150 | ||
7a4d50bf VP |
151 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
152 | ||
153 | * varobj.c (install_new_value): Don't | |
154 | call value_get_print_value when a value is | |
155 | lazy. Update the print_value member in a | |
156 | single place. | |
157 | ||
d32a6982 VP |
158 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
159 | ||
160 | * breakpoint.c (create_breakpoint): Set | |
161 | condition on each location, not on the first | |
162 | location of breakpoint. | |
163 | ||
489eaeba JB |
164 | 2007-09-26 Jim Blandy <jimb@codesourcery.com> |
165 | ||
166 | * remote.c (getpkt_sane): Fix error message. No animals were | |
167 | harmed in the making of this debugger. | |
168 | ||
3e9313ab PM |
169 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
170 | ||
171 | * p-typeprint.c: Fix 11 ARI reported problems. | |
172 | (pascal_print_type): Fix 4 operator at end of line. | |
173 | (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros | |
174 | using strncmp function. | |
175 | (pascal_type_print_base): Fix 2 operator at end of line. | |
176 | (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros | |
177 | using strncmp function. | |
178 | ||
179 | ||
5b8101ae PM |
180 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
181 | ||
182 | * Fix PR pascal/2231 | |
183 | dwarf2read.c (read_subroutine_type): | |
184 | All pascal functions are prototyped. | |
185 | ||
c45f11da PM |
186 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
187 | ||
188 | * Fix PR pascal/2283 | |
189 | p-valprint.c (pascal_val_print): correct current language check. | |
190 | Also print array of char as strings. | |
191 | ||
192 | ||
59aa1faa MR |
193 | 2007-09-26 David Ung <davidu@mips.com> |
194 | Maciej W. Rozycki <macro@mips.com> | |
195 | ||
196 | * mips-tdep.c (mips_n32n64_return_value): Fix a comment. | |
197 | ||
0b058123 PM |
198 | 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr> |
199 | ||
200 | * p-exp.y: Fix 12 ARI reported problems. | |
201 | (name_not_typename): Fix 2 operator at end of line issues. | |
202 | (yylex): Fix 3 operator at end of line issues. | |
203 | Replace 7 DEPRECATED_STREQ macros using strcmp function. | |
204 | ||
b18bb924 MR |
205 | 2007-09-25 David Ung <davidu@mips.com> |
206 | Maciej W. Rozycki <macro@mips.com> | |
207 | ||
208 | * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI | |
209 | rules return composite types in registers as appropriate. | |
210 | ||
28c32713 JB |
211 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
212 | ||
213 | * symfile.h (struct symfile_segment_data): Doc fixes. | |
214 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. | |
215 | Assert that we were passed some loaded segment addresses, | |
216 | and that sections' segment numbers are valid. | |
217 | Simplify offset calculation. | |
218 | * remote.c (get_offsets): Clarify selection of relocate-by-segment | |
219 | strategy, and set num_segments correctly. Delete redundant | |
220 | assignments to do_sections. | |
221 | ||
32276632 DJ |
222 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
223 | ||
224 | * frame.c (get_prev_frame_1): Also check for PC in the same register. | |
225 | ||
ed0616c6 VP |
226 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
227 | ||
228 | * breakpoint.c (remove_sal): New. | |
229 | (expand_line_sal_maybe): New. | |
230 | (create_breakpoints): Call expand_line_sal_maybe. | |
231 | (clear_command): Add comment. | |
232 | (breakpoint_re_set_one): Call expand_line_sal_maybe. | |
233 | * linespec.c (decode_indirect): Set explicit_pc to 1. | |
234 | (decode_all_digits): Set explicit_line to 1. | |
235 | (append_expanded_sal): New. | |
236 | (expand_line_sal): New. | |
237 | * linespec.h (expand_line_sal): Declare. | |
238 | * symtab.c (init_sal): Initialize explicit_pc | |
239 | and explicit_line. | |
240 | * symtab.h (struct symtab_and_line): New fields | |
241 | explicit_pc and explicit_line. | |
242 | ||
41f1b697 DJ |
243 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
244 | ||
245 | * infcall.c (call_function_by_hand): Handle language-specific | |
246 | pass and return by reference. | |
247 | ||
248 | * cp-abi.c (cp_pass_by_reference): New. | |
249 | * cp-abi.h (cp_pass_by_reference): Declare. | |
250 | (struct cp_abi_ops): Add pass_by_reference. | |
251 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. | |
252 | (init_gnuv3_ops): Set pass_by_reference. | |
253 | ||
254 | * language.c (language_pass_by_reference): New. | |
255 | (default_pass_by_reference): New. | |
256 | (unknown_language_defn, auto_language_defn, local_language_defn): Add | |
257 | default_pass_by_reference. | |
258 | * langauge.h (struct language_defn): Add la_pass_by_reference. | |
259 | (language_pass_by_reference, default_pass_by_reference): Declare. | |
260 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. | |
261 | * c-lang.c (c_language_defn, asm_language_defn) | |
262 | (minimal_language_defn): Likewise. | |
263 | (cplus_language_defn): Add cp_pass_by_reference. | |
264 | * f-lang.c (f_language_defn): Add default_pass_by_reference. | |
265 | * jv-lang.c (java_language_defn): Likewise. | |
266 | * m2-lang.c (m2_language_defn): Likewise. | |
267 | * objc-lang.c (objc_language_defn): Likewise. | |
268 | * p-lang.c (pascal_language_defn): Likewise. | |
269 | * scm-lang.c (scm_language_defn): Likewise | |
270 | ||
0d381245 VP |
271 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
272 | ||
273 | Allow a code breakpoint to have several locations | |
274 | associated with it. | |
275 | * breakpoint.h (enum enable_state): Remove the | |
276 | bp_shlib_disabled enumerator. | |
277 | (struct bp_location): New members shlib_disabled, | |
278 | global_next, enabled and function_name. | |
279 | Rename pending to condition_not_parsed. | |
280 | ||
281 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. | |
282 | (ALL_BP_LOCATIONS_SAFE): Likewise. | |
283 | (breakpoint_enabled): Don't check for pending. | |
284 | (condition_command): Free and update all locations of | |
285 | a breakpoint. | |
286 | (insert_bp_location): Adjust. | |
287 | (software_breakpoint_inserted_here_p): Don't care | |
288 | if breakpoint is enabled, as soon as it's inserted. | |
289 | (print_it_typical): Print bpstat's location, not | |
290 | bpstat's breakpoint's location. | |
291 | (bpstat_stop_status): Iterate over all locations, not | |
292 | all breakpoints. | |
293 | (print_breakpoint_location): New. | |
294 | (print_one_breakpoint): Renamed to | |
295 | (print_one_breakpoint_location): ...this. Take | |
296 | parameters to describe which location is being | |
297 | printed. Modify code to properly print header | |
298 | for several locations and individual locations. | |
299 | (print_one_breakpoint): Print all locations. | |
300 | (breakpoint_has_pc): New. | |
301 | (describe_other_breakpoints): Use the above. | |
302 | (check_duplicates): Renamed to... | |
303 | (check_duplicates_for): .. this. | |
304 | (check_duplicates): Use check_duplicates_for. | |
305 | (allocate_bp_location): Adjust. | |
306 | (set_raw_breakpoint_without_location): New, | |
307 | extracted from set_raw_breakpoint. | |
308 | (set_breakpoint_location_function): New. | |
309 | (set_raw_breakpoint): Use | |
310 | set_raw_breakpoint_without_location. | |
311 | (make_breakpoint_permanent): Mark all locations | |
312 | as inserted. | |
313 | (disable_breakpoints_in_shlibs): Iterate over | |
314 | locations. | |
315 | (disable_breakpoints_in_unloaded_shlib): Likewise. | |
316 | (re_enable_breakpoints_in_shlibs): Likewise. | |
317 | (mention): Say "pending" when breakpoint has | |
318 | zero locations. If breakpoint has more than one | |
319 | location, say so. | |
320 | (add_location_to_breakpoint): New. | |
321 | (create_breakpoint): Accept symtabs_and_lines, not | |
322 | symtab_and_line. Pass extra sals to | |
323 | add_location_to_breakpoint. | |
324 | (create_breakpoints): Pass symtabs_and_lines to | |
325 | create_breakpoints. | |
326 | (break_command_1): Make pending breakpoints | |
327 | have zero locations. | |
328 | (do_captured_breakpoint): Remove wrong allocation. | |
329 | (clear_command): Iterate over all locations. | |
330 | (unlink_locations_from_global_list): Renamed | |
331 | from unlink_location_from_global_list. Remove | |
332 | all locations. | |
333 | (delete_breakpoint): Remove all locations. | |
334 | Iterate over all locations when deciding which | |
335 | other location to re-enable. | |
336 | (all_locations_are_pending): New. | |
337 | (update_breakpoint_locations): Renamed from | |
338 | update_breakpoint_location. Try to match old | |
339 | and new locations using names of containing | |
340 | functions. | |
341 | (breakpoint_re_set_one): Adjust. | |
342 | (find_location_by_number): New. | |
343 | (disable_command): Allow disabling individual location. | |
344 | (enable_command): Allow enabling individual location. | |
345 | * breakpoint.c: Adjust all uses of breakpoint's | |
346 | enable state to for bp_shlib_disabled change. | |
347 | ||
fe3f5fa8 VP |
348 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
349 | ||
350 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. | |
351 | (resolve_pending_breakpoint): Remove. | |
352 | (re_enable_breakpoints_in_shlibs): Remove. | |
353 | (unlink_locations_from_global_list): New. | |
354 | (update_breakpoint_locations): New. | |
355 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. | |
356 | Use parse_condition and update_breakpoint_location to | |
357 | reset breakpoint. Ignore 'symbol not found' error from | |
358 | decode_line_1. | |
359 | (breakpoint_re_set): Don't emit newline before the | |
360 | reason why breakpoint is not reset. | |
361 | (do_enable_breakpoint): Don't specially process pending | |
362 | breakpoints. | |
363 | (free_bp_location): New. | |
364 | (break_command_1): For pending breakpoints, initialize | |
365 | all fields of a sal with zeroes. | |
366 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. | |
367 | * infcmd.c (post_create_inferior): Don't call | |
368 | re_enable_breakpoints_in_shlibs. | |
369 | * infrun.c (handle_inferior_event): Likewise. | |
370 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
371 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
372 | * win32-nat.c (get_win32_debug_event): Likewise. | |
373 | ||
511a6cd4 VP |
374 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
375 | ||
018d34a4 VP |
376 | * breakpoint.c (create_breakpoint): Split from |
377 | create_breakpoints, implementing most of its logic. | |
378 | Take just a single sal, single address string and | |
379 | single condition. Do not take parsed condition at | |
380 | all. | |
381 | (create_breakpoints): Just call create_breakpoint | |
382 | for each sal. | |
383 | (find_condition_and_thread): New. | |
384 | (break_command_1): Use find_condition_and_thread. | |
385 | Do not keep parsed conditions. | |
386 | (do_captured_breakpoint): Don't convert | |
387 | condition string to struct expression. | |
388 | ||
389 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> | |
390 | ||
511a6cd4 VP |
391 | * breakpoint.h (struct breakpoint): Move the cond |
392 | field to... | |
393 | (struct bp_location): Here. | |
394 | * breakpoint.c (condition_command, bpstat_stop_status) | |
395 | (print_one_breakpoint, allocate_bp_location) | |
396 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) | |
397 | (create_exec_event_catchpoint, create_breakpoints) | |
398 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) | |
399 | (create_ada_exception_breakpoint, set_breakpoint_sal) | |
400 | (delete_breakpoint, breakpoint_re_set_one): Adjust. | |
401 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. | |
402 | ||
4f8d1dc6 VP |
403 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
404 | ||
405 | Associate bp_stat with bp_location, not breakpoint. | |
406 | * breakpoint.h (breakpoint_at): Change type | |
407 | to bp_location*. | |
408 | * breakpoint.c (bpstat_alloc): Take bp_location, | |
409 | not breakpoint. | |
410 | (bpstat_find_breakpoint): Look at bpstat's location's | |
411 | owner, not at bpstat->breakpoint_at. | |
412 | (bpstat_find_step_resume_breakpoint): Likewise. | |
413 | (bpstat_num): Likewise. | |
414 | (print_it_typical): Likewise. | |
415 | (print_bp_stop_message): Likewise. | |
416 | (watchpoint_check): Likewise. | |
417 | (bpstat_what): Likewise. | |
418 | (bpstat_get_triggered_catchpoints): Likewise. | |
419 | (breakpoint_auto_delete): Likewise. | |
420 | (delete_breakpoint): Likewise. | |
421 | (bpstat_stop_status): Pass location, not breakpoint, | |
422 | to bpstat_alloc. Look at bpstat's location's | |
423 | owner, not at bpstat->breakpoint_at. | |
424 | ||
32623386 JB |
425 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
426 | ||
427 | * macrotab.h (new_macro_table): Document that removing information | |
428 | from an obstack/bcache-managed macro table leaks memory. | |
429 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting | |
430 | that data is never freed in obstack/bcache-managed macro tables, | |
431 | just leak the storage. | |
432 | (macro_undef): If we're undefining a macro at exactly the same | |
433 | source location that we defined it, simply remove the definition | |
434 | altogether. | |
435 | ||
c295b2e5 JB |
436 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
437 | ||
438 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. | |
439 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: | |
440 | Adjust the struct sym_fns object accordingly by setting | |
441 | the new field to NULL. | |
442 | * xcoffread.c (aix_process_linenos): Make static. | |
443 | (xcoff_sym_fns): Set new field to aix_process_linenos. | |
444 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK | |
445 | by call to new the new sym_fns sym_read_linetable function. | |
446 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. | |
447 | * config/rs6000/tm-rs6000.h: Delete. | |
448 | ||
ab2e1992 MR |
449 | 2007-09-21 David Ung <davidu@mips.com> |
450 | Maciej W. Rozycki <macro@mips.com> | |
451 | ||
452 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI | |
453 | rules do not treat composite types specially. | |
454 | ||
97ab0fdd MR |
455 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
456 | ||
457 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. | |
458 | (mips16_in_function_epilogue_p): Likewise. | |
459 | (mips_in_function_epilogue_p): Likewise. | |
460 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). | |
461 | ||
01fe12f6 JB |
462 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
463 | ||
464 | * configure.ac: Add check for "etext". | |
465 | * configure, config.in: Regenerate. | |
466 | * maint.c (TEXTEND): Only define if either _etext or etext | |
467 | are available. | |
468 | Disable the profiling functionality if TEXTEND is not defined. | |
469 | ||
aa6c981f DJ |
470 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
471 | ||
472 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return | |
473 | address register. Correct the call to frame_id_build. | |
474 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC | |
475 | is invalid. | |
476 | ||
39312971 JB |
477 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
478 | ||
479 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan | |
480 | the linetable past the function end. | |
481 | ||
558dc30a JW |
482 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
483 | ||
484 | * MAINTAINERS: Update my email address. | |
485 | ||
60e2c248 JG |
486 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
487 | ||
488 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. | |
489 | (inf_ttrace_delete_dying_threads_callback): New function. | |
490 | (inf_ttrace_resume): After resuming the execution, iterate over | |
491 | the dying threads to delete them for the thread list. | |
492 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, | |
493 | mark the corresponding thread as dying instead of removing it | |
494 | from the thread list. | |
495 | (inf_ttrace_thread_alive): return 0 for dying threads. | |
496 | ||
f4c1edd8 JB |
497 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
498 | ||
499 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion | |
500 | that return_frame is not null. | |
501 | ||
8d4e36ba JB |
502 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
503 | ||
504 | * solib-svr4.c: Add include of "auxv.h". | |
505 | (enable_break): Use the AT_BASE auxiliary entry if available. | |
506 | * Makefile.in (solib-svr4.o): Update dependencies. | |
507 | ||
f9ed52be JB |
508 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
509 | ||
510 | * NEWS: Create a new section for the next release branch. | |
511 | Rename the section of the current branch, now that it has | |
512 | been cut. | |
513 | ||
eff4f95e JG |
514 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
515 | ||
516 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. | |
517 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. | |
518 | ||
084344da VP |
519 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
520 | ||
521 | * mi/mi-cmds.c (mi_cmds): Register -list-features. | |
522 | * mi/mi-cmds.h (mi_cmd_list_features): New. | |
523 | * mi/mi-main.c (mi_cmd_list_features): New. | |
524 | ||
50c7215d | 525 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
526 | ||
527 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) | |
528 | * version.in: Bump version to 6.7.50-20070911-cvs. | |
529 | ||
4d8453a5 DJ |
530 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
531 | ||
532 | * thread.c (free_thread): Do not delete the step resume breakpoint | |
533 | right away. | |
534 | ||
4eb0ad19 DJ |
535 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
536 | ||
537 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. | |
538 | * corelow.c (core_read_description): New. | |
539 | (init_core_ops): Set to_read_description. | |
540 | * gdbarch.sh: Add gdbarch_core_read_description. | |
541 | * mips-linux-tdep.c (mips_linux_core_read_description): New. | |
542 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. | |
543 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. | |
544 | (mips_register_g_packet_guesses): Use them. | |
545 | (_initialize_mips_tdep): Initialize them. | |
546 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. | |
547 | * gdbarch.h, gdbarch.c: Regenerated. | |
548 | ||
6a6b96b9 UW |
549 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
550 | ||
551 | * infrun.c (stepping_past_breakpoint): New global variable. | |
552 | (stepping_past_breakpoint_ptid): Likewise. | |
553 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. | |
554 | Only switch threads if we need to single-step over a breakpoint hit | |
555 | in the previously selected thread. If stepping, remember previous | |
556 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call | |
557 | switch_to_thread instead of copying its contents. | |
558 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if | |
559 | prepare_to_proceed returns true. | |
560 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. | |
561 | (context_switch): Call switch_to_thread. | |
562 | (handle_inferior_event): Switch back to previous thread if requested | |
563 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. | |
564 | * gdbthread.h (switch_to_thread): Add prototype. | |
565 | * thread.c (switch_to_thread): Make global. | |
566 | ||
0b058123 | 567 | 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
b20a3440 PM |
568 | |
569 | * p-valprint.c: Fix 7 ARI reported problems. | |
570 | (pascal_val_print): Fix one operator at end of line issue. | |
571 | Use paddress function to remove use of | |
572 | deprecated_print_address_numeric function (2 times). | |
573 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. | |
574 | (pascal_value_print): Fix 3 operator at end of line issues. | |
575 | ||
faa95490 DJ |
576 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
577 | ||
578 | PR gdb/2103 | |
579 | * arm-tdep.c (arm_in_call_stub): Delete. | |
580 | (arm_skip_stub): Handle from_arm and from_thumb stubs. | |
581 | ||
f0027ce2 DJ |
582 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
583 | ||
584 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer | |
585 | types. | |
586 | ||
ea37ba09 DJ |
587 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
588 | Jim Blandy <jimb@codesourcery.com> | |
589 | ||
590 | * NEWS: Update description of string changes. Mention print/s. | |
591 | * c-valprint.c (textual_element_type): New. | |
592 | (c_val_print): Use it. Do not skip address printing for pointers | |
593 | with a string format. | |
594 | (c_value_print): Doc update. | |
595 | * dwarf2read.c (read_array_type): Use make_vector_type. | |
596 | * gdbtypes.c (make_vector_type): New. | |
597 | (init_vector_type): Use it. | |
598 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. | |
599 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. | |
600 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. | |
601 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. | |
602 | (make_vector_type): New. | |
603 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. | |
604 | Call the language print routine for string format. | |
605 | (print_scalar_formatted): Call val_print for string format. Handle | |
606 | unsigned original types for char format. | |
607 | (validate_format): Do not reject string format. | |
608 | * stabsread.c (read_type): Use make_vector_type. | |
609 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. | |
610 | ||
8fb822e0 MS |
611 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
612 | ||
fcd776e5 MS |
613 | * expprint.c (print_subexp_standard): Check strchr for null. |
614 | * Makefile.in (expprint.o): Depend on gdb_assert.h. | |
615 | ||
7d63ec12 MS |
616 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
617 | ||
8fb822e0 MS |
618 | * stabsread.c (patch_block_status): Guard against null. |
619 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. | |
620 | ||
2025a643 DJ |
621 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
622 | ||
623 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo | |
624 | in internal error message. | |
625 | ||
de1b3c3d PA |
626 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
627 | Daniel Jacobowitz <dan@codesourcery.com> | |
628 | ||
629 | * infcmd.c (post_create_inferior): Update comment. | |
630 | (run_command_1): Always call post_create_inferior with 0 as | |
631 | from_tty. | |
632 | ||
633 | * i386-cygwin-tdep.h: New. | |
634 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". | |
635 | (win32_xfer_shared_library): Make it extern. | |
636 | ||
637 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and | |
638 | i386-cygwin-tdep.h. | |
639 | (win32_so_ops): Delete. | |
640 | (get_relocated_section_addrs): Delete. | |
641 | (solib_symbols_add): Delete. | |
642 | (register_loaded_dll): Delete. | |
643 | (win32_make_so): New. | |
644 | (handle_load_dll): Use win32_make_so. | |
645 | (win32_free_so): Free the passed in so. | |
646 | (win32_relocate_section_addresses): Delete. | |
647 | (win32_solib_create_inferior_hook): Delete. | |
648 | (handle_unload_dll): Don't add PE offset here. Free so with | |
649 | win32_free_so instead of free_so. | |
650 | (win32_special_symbol_handling): Delete. | |
651 | (get_win32_debug_event): Remove unneeded calls. Set state to | |
652 | TARGET_WAITKIND_LOADED on a dll unload. | |
653 | (do_initial_win32_stuff): Clear cygwin_load_start and | |
654 | cygwin_load_end. | |
655 | (map_code_section_args): Delete. | |
656 | (dll_code_sections_add): Delete. | |
657 | (core_section_load_dll_symbols): Delete. | |
658 | (win32_xfer_shared_libraries): New. | |
659 | (win32_current_sos): Delete. | |
660 | (win32_xfer_partial): New. | |
661 | (open_symbol_file_object): Delete. | |
662 | (in_dynsym_resolve_code): Delete. | |
663 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member | |
664 | of win32_ops. Remove win32_so_ops settings. Don't set | |
665 | current_target_so_ops here. | |
666 | ||
667 | * Makefile.in (i386_cygwin_tdep_h): New variable. | |
668 | (i386-cygwin-tdep.o): Update dependencies. | |
669 | (win32-nat.o): Update dependencies. | |
670 | ||
de584861 PA |
671 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
672 | Daniel Jacobowitz <dan@codesourcery.com> | |
673 | ||
674 | * gdbarch.sh (core_xfer_shared_libraries): New. | |
675 | ||
676 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
677 | ||
678 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. | |
679 | ||
680 | * xml-support.c (gdb_xml_parse): Debug output tweaks. | |
681 | (xml_escape_text): New. | |
682 | * xml-support.h (xml_escape_text): Declare. | |
683 | ||
684 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... | |
685 | * config/i386/cygwin.mt (TDEPFILES): ... here. | |
686 | ||
687 | * win32-nat.c: (fetch_elf_core_registers): Delete. | |
688 | (win32_elf_core_fn): Delete. | |
689 | (_initialize_core_win32): Delete. | |
690 | ||
691 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", | |
692 | "xml-support.h" and "gdbcore.h". | |
693 | (i386_win32_gregset_reg_offset): New. | |
694 | (I386_WIN32_SIZEOF_GREGSET): New. | |
695 | (i386_win32_regset_from_core_section): New. | |
696 | (win32_xfer_shared_library): New. | |
697 | (struct cpms_data): New. | |
698 | (core_process_module_section): New. | |
699 | (win32_core_xfer_shared_libraries): New. | |
700 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, | |
701 | gregset_num_regs, sizeof_gregset members of tdep. Register | |
702 | regset_from_core_section and core_xfer_shared_libraries callbacks. | |
703 | ||
704 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. | |
705 | * gdbarch.h, gdbarch.c: Regenerate. | |
706 | ||
7160c4c3 PA |
707 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
708 | ||
709 | * corelow.c (core_xfer_partial): Pass writebuf to | |
710 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
711 | ||
6dc13412 PA |
712 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
713 | ||
714 | * arm-tdep.h (arm_skip_stub): Declare. | |
715 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
716 | "gdbcore.h". | |
717 | (arm_pe_skip_trampoline_code): New function. | |
718 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
719 | gdbarch_skip_trampoline_code callback. | |
720 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
721 | ||
ca8385e5 DJ |
722 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
723 | ||
724 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
725 | ||
5c39566f DJ |
726 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
727 | ||
728 | * configure.ac: Add --with-expat. | |
729 | * configure: Regenerated. | |
730 | ||
6a30b0a5 AS |
731 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
732 | ||
733 | * configure.ac: Accept --with-system-readline. | |
734 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
735 | * configure: Regenerate. | |
736 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
737 | substituted values. | |
738 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
739 | ||
edff0c0a DJ |
740 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
741 | Daniel Jacobowitz <dan@codesourcery.com> | |
742 | ||
743 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
744 | ||
0b93d57c JK |
745 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
746 | ||
747 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
748 | ||
b8533aec DJ |
749 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
750 | ||
751 | * top.c (print_gdb_version): Update for GPL version 3. | |
752 | ||
f5db8714 JK |
753 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
754 | ||
755 | * NEWS: Mention the build-id .debug files verification. | |
756 | ||
d99148ef JK |
757 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
758 | ||
759 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
760 | ||
77069918 JK |
761 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
762 | ||
763 | * Makefile.in (symfile.o): Update dependencies. | |
764 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
765 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
766 | (struct build_id): New structure. | |
767 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
768 | (find_separate_debug_file): New variable BUILD_ID. | |
769 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
770 | ||
202ddcaa VP |
771 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
772 | ||
773 | * varobj.c (struct varobj): Fix comment | |
774 | for the type member not to lie when it can be | |
775 | NULL. | |
776 | ||
02142340 VP |
777 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
778 | ||
779 | Implement -var-info-path-expression. | |
780 | ||
781 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
782 | Declare. | |
783 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
784 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
785 | * varobj.c (struct varobj): New field 'path_expr'. | |
786 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
787 | (java_path_expr_of_child): New. | |
788 | (struct language_specific): New field path_expr_of_child. | |
789 | (varobj_create): Initialize the path_expr field. | |
790 | (varobj_get_path_expr): New. | |
791 | (new_variable): Initialize the path_expr field. | |
792 | (free_variable): Free the path_expr field. | |
793 | (adjust_value_for_children_access): New parameter | |
794 | WAS_TYPE. | |
795 | (c_number_of_children): Adjust. | |
796 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
797 | Compute full expression. | |
798 | (c_value_of_child, c_type_of_child): Adjust. | |
799 | (cplus_number_of_children): Adjust. | |
800 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
801 | Compute full expression. | |
802 | (cplus_name_of_child, cplus_value_of_child) | |
803 | (cplus_type_of_child): Adjust. | |
804 | * varobj.h (varobj_get_path_expr): Declare. | |
805 | ||
bccc275a VP |
806 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
807 | ||
808 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
809 | type is NULL, don't try to print it. | |
810 | ||
f2db237a AM |
811 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
812 | ||
813 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
814 | (supply_gregset): Use ppc_supply_gregset. | |
815 | (supply_fpregset): Use ppc_supply_fpregset. | |
816 | (fill_gregset): Use ppc_collect_gregset. | |
817 | (fill_fpregset): Use ppc_collect_fpregset. | |
818 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
819 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
820 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
821 | (ppc_linux_supply_fpregset): Delete. | |
822 | (ppc_linux_collect_gregset): New function. | |
823 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
824 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
825 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
826 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
827 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
828 | (ppc_linux_regset_from_core_section): Update. | |
829 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
830 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
831 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
832 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
833 | (ppcobsd_collect_gregset): Likewise. | |
834 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
835 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
836 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
837 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
838 | (rs6000_aix64_reg_offsets): Likewise. | |
839 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
840 | ppc_floating_point_unit_p. | |
841 | (rs6000_aix_collect_regset): Similarly. | |
842 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
843 | when regsize is larger than regcache register size. | |
844 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
845 | regcache register size. | |
846 | (ppc_greg_offset): New function, split out from.. | |
847 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
848 | single reg case. Correct xer offset. | |
849 | (ppc_fpreg_offset): New function, split out from.. | |
850 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
851 | single reg case. | |
852 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
853 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
854 | a fp unit, instead return if no fp. | |
855 | ||
fe5aea2e JB |
856 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
857 | ||
858 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
859 | this code has not been compiled for two years. | |
860 | ||
13ce7133 MS |
861 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
862 | ||
863 | * event-top.c (gdb_readline2): Return after EOF. | |
864 | ||
fd4a0f2f JB |
865 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
866 | ||
867 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
868 | ||
d037d088 CD |
869 | 2007-08-29 Randolph Chung <tausq@debian.org> |
870 | ||
871 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
872 | (hppa64_cannot_fetch_register): New functions. | |
873 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
874 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
875 | ||
19d378fc MS |
876 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
877 | ||
57cdecd2 MS |
878 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
879 | check for null before calling check_typedef. | |
880 | ||
19d378fc MS |
881 | * NEWS: Mention Coverity bug fixes. |
882 | ||
36acd84e UW |
883 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
884 | ||
885 | * spu-tdep.c (spu_pointer_to_address): New function. | |
886 | (spu_integer_to_address): Likewise. | |
887 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
888 | spu_integer_to_address to gdbarch. | |
889 | ||
8ad7c2b9 PA |
890 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
891 | ||
892 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
893 | ||
4de6a07e JB |
894 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
895 | ||
896 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
897 | that contains the GDB license. | |
898 | * copying.awk: Adjust to the GPLv3 wording. | |
899 | * copying.c: Regenerate. | |
900 | ||
07aed0eb JB |
901 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
902 | ||
01d4100f | 903 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 904 | |
50efebf8 JB |
905 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
906 | ||
907 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
908 | * copyright.sh: Likewise. | |
909 | * gdb-events.sh: Likewise. | |
910 | * gdb_gcore.sh: Likewise. | |
911 | * gdb_mbuild.sh: Likewise. | |
912 | * gdbarch.sh: Likewise. | |
913 | * observer.sh: Likewise. | |
914 | * features/feature_to_c.sh: Likewise. | |
915 | * regformats/regdat.sh: Likewise. | |
916 | ||
917 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> | |
a9762ec7 JB |
918 | |
919 | Switch the license of all .c files to GPLv3. | |
920 | Switch the license of all .h files to GPLv3. | |
921 | Switch the license of all .cc files to GPLv3. | |
922 | ||
5a0e3bd0 JB |
923 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
924 | ||
925 | * configure.ac: Switch license to GPLv3. | |
926 | ||
609ca2b9 DJ |
927 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
928 | ||
929 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
930 | determine the file's FPU type. | |
931 | ||
8d26208a DJ |
932 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
933 | ||
934 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
935 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
936 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
937 | ||
65728c26 DJ |
938 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
939 | ||
940 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
941 | Fix formatting. | |
942 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
943 | (elf_lookup_lib_symbol): Fix formatting. | |
944 | ||
a2ca50ae MS |
945 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
946 | ||
6b2d86bd MS |
947 | * dbxread.c (read_dbx_symtab): Guard null deref. |
948 | Break up long line. | |
949 | ||
a2ca50ae MS |
950 | * valops.c (find_overload_match): Guard against NULL. |
951 | ||
54e116dd DJ |
952 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
953 | ||
954 | * MAINTAINERS (Patch Champions): Remove self. | |
955 | ||
f429d7d0 DJ |
956 | 2007-08-21 Chris Smith <chris.smith@st.com> |
957 | ||
958 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
959 | line. | |
960 | ||
a2ca50ae | 961 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
a287cea6 | 962 | |
31e9f6b6 MS |
963 | * stabsread.c (dbx_lookup_type): Memory leak. |
964 | ||
32107cd5 MS |
965 | * event-loop.c (delete_async_signal_handler): Move pointer null |
966 | test to before pointer dereference. | |
967 | ||
44db85f8 MS |
968 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
969 | ||
a287cea6 MS |
970 | * MAINTAINERS: white space tweak. |
971 | ||
0bd9908d MS |
972 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
973 | ||
f91162e1 MS |
974 | * stack.c (print_frame): Memory leak. |
975 | ||
1e8189fb MS |
976 | * completer.c (filename_completer): Avoid memory leak. |
977 | Remove unnecessary nested block. | |
978 | ||
348038cd MS |
979 | * c-exp.y (parse_number): Memory leak. |
980 | ||
1f20ed91 MS |
981 | * completer.c (location_completer): Must free 'fn_list', except |
982 | in the one case where it is returned (as 'list'). | |
983 | ||
74dddad3 MS |
984 | * varobj.c (value_of_root): Memory leak. |
985 | ||
0bd9908d MS |
986 | * gdbtypes.h (virtual_base_list): Remove export decl. |
987 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
988 | (virtual_base_index): Memory leak. | |
989 | (virtual_base_index_skip_primaries): Ditto. | |
990 | ||
bdb4c075 MG |
991 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
992 | ||
993 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
994 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
995 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
996 | (xtensa_read_register): New function. | |
997 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
998 | (xtensa_insn_kind): New types. | |
999 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
1000 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
1001 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
1002 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
1003 | (xtensa_store_return_value) | |
1004 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
1005 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
1006 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
1007 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
1008 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
1009 | (call0_classify_opcode, call0_track_op) | |
1010 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
1011 | ||
198757a8 VP |
1012 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
1013 | ||
1014 | * breakpoint.c (bpstat_free): New. | |
1015 | (bpstat_clear): Use bpstat_free. | |
1016 | (delete_breakpoint): Document why we cannot | |
1017 | remove bpstats from stop_bpstat. | |
1018 | * breakpoint.h (bpstat_free): Declare. | |
1019 | ||
dc66ab8a MS |
1020 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
1021 | ||
1022 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
1023 | ||
40c8aaa9 JB |
1024 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
1025 | Joel Brobecker <brobecker@adacore.com> | |
1026 | ||
1027 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
1028 | ||
ee90b9ab JB |
1029 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
1030 | Joel Brobecker <brobecker@adacore.com> | |
1031 | ||
1032 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
1033 | checkin guarding against NULL. | |
1034 | ||
5b6fe301 MS |
1035 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
1036 | ||
e5908723 MS |
1037 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
1038 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
1039 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
1040 | go at beginning of new line. | |
1041 | ||
08ef48c5 MS |
1042 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
1043 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
1044 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
1045 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
1046 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
1047 | definitions, wrap long lines. | |
1048 | ||
ef5eab5a MS |
1049 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
1050 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
1051 | Reformat block comments to GNU standard. | |
1052 | ||
1cc6d956 MS |
1053 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
1054 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
1055 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
1056 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
1057 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
1058 | spaces after periods, etc). | |
1059 | ||
5b6fe301 MS |
1060 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
1061 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
1062 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
1063 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
1064 | to be consistant. | |
1065 | ||
64a1bf19 JB |
1066 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
1067 | Michael Snyder <msnyder@access-company.com> | |
1068 | ||
1069 | * ada-lang.c (field_alignment): Guard against NULL. | |
1070 | ||
e933291e JB |
1071 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
1072 | ||
1073 | * MAINTAINERS (Global Maintainers): Add self. | |
1074 | ||
348144ba MS |
1075 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
1076 | ||
068acb6c MS |
1077 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
1078 | ||
6d307763 MS |
1079 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
1080 | ||
348144ba MS |
1081 | * varobj.c (cplus_describe_child): Guard against null. |
1082 | Use "NULL" instead of "0" to initialize pointers. | |
1083 | ||
b8926edc DJ |
1084 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
1085 | ||
1086 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
1087 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
1088 | after running the OSABI handler. | |
1089 | ||
cdd6623c DJ |
1090 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
1091 | ||
1092 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
1093 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
1094 | ||
cb851954 VP |
1095 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
1096 | ||
cb851954 VP |
1097 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
1098 | the 'silent' parameter and code to implement that. | |
1099 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
1100 | prototype. | |
1101 | * win32-nat.c: Adjust. | |
1102 | * solib.c: Adjust. | |
1103 | ||
e14a792b VP |
1104 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
1105 | ||
e14a792b VP |
1106 | * breakpoint.c (update_breakpoints_after_exec): Don't |
1107 | set address to zero. | |
1108 | ||
be8ca11b MS |
1109 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
1110 | ||
ac3eeb49 MS |
1111 | * valops.c: Whitespace clean-up. |
1112 | ||
81b7c67a MS |
1113 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
1114 | ||
f5b73fbb MS |
1115 | * event-top.c (command_line_handler): Memory leak. |
1116 | ||
b538c234 MS |
1117 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
1118 | No need to make copy. | |
1119 | ||
be8ca11b MS |
1120 | * source.c (find_source_lines): Require symtab 's'. |
1121 | ||
489f0516 MS |
1122 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
1123 | ||
1124 | * completer.c: Spelling fix in comments. | |
1125 | ||
9c3f90bd MS |
1126 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
1127 | ||
687d6395 | 1128 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
1129 | * gdbtypes.c: Comment/whitespace cleanup. |
1130 | ||
6aef78af MS |
1131 | * stabsread.c (read_huge_number): Attempt to compute value before |
1132 | values that it depends on. | |
1133 | ||
46be51c4 MS |
1134 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
1135 | (decode_objc): Use "NULL" instead of 0. | |
1136 | (find_method): Ditto. | |
1137 | (decode_all_digits): Ditto. | |
1138 | (decode_dollar): Ditto. | |
1139 | ||
412bbd6c MS |
1140 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
1141 | ||
76bd6e0b MS |
1142 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
1143 | ||
518f9d3c MS |
1144 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
1145 | after closing bfd. | |
1146 | ||
9c3f90bd MS |
1147 | * completer.c: Comment/whitespace cleanup. |
1148 | ||
adee0206 JB |
1149 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
1150 | ||
1151 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
1152 | ||
1153 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> | |
9f8e6999 MG |
1154 | |
1155 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
1156 | allocated file descriptors. | |
1157 | ||
271a27b8 JB |
1158 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
1159 | ||
1160 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
1161 | add some missing rules, remove some rules that are no longer needed, | |
1162 | and fix the dependencies in several rules. | |
1163 | ||
57da7796 LC |
1164 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
1165 | ||
d4310edb LC |
1166 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
1167 | (scm_lang_h, scm_tags_h): New. | |
1168 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
1169 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
1170 | * defs.h (enum language): Add `language_scm'. | |
1171 | ||
57da7796 LC |
1172 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
1173 | opening. | |
1174 | ||
93c06293 LC |
1175 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
1176 | ||
1177 | * MAINTAINERS (Write After Approval): Add myself. | |
1178 | ||
0997b535 MS |
1179 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
1180 | ||
1181 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
1182 | ||
4fec86cf JB |
1183 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
1184 | ||
1185 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
1186 | the $CODE$ section in the so_list structure. | |
1187 | ||
7b871568 MG |
1188 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
1189 | ||
1190 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
1191 | (xtensa_register_group_t): Add entries for coprocessors. | |
1192 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
1193 | (xtensa_add_reggroups): Likewise. | |
1194 | (xtensa_register_reggroup_p): Likewise. | |
1195 | (xtensa_coprocessor_register_group): New function. | |
1196 | (xtensa_cp): New. | |
1197 | ||
652aaa24 JK |
1198 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
1199 | ||
1200 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
1201 | ||
decbce07 MS |
1202 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
1203 | ||
6217bf3e MS |
1204 | * target.c (target_read_string): Guard against null. |
1205 | ||
6225abfa MS |
1206 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
1207 | ||
3e40160c | 1208 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 1209 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 1210 | |
91d2803c MS |
1211 | * top.c (command_line_input): Memory leak. |
1212 | ||
ea5bf0a1 MS |
1213 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
1214 | (svr4_current_sos): Ditto. | |
1215 | (enable_break): Ditto. | |
1216 | ||
34e2dfde MS |
1217 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
1218 | ||
decbce07 MS |
1219 | * dwarf2read.c (add_partial_symbol): Memory leak. |
1220 | ||
4cdfadb1 MS |
1221 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
1222 | ||
1223 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
1224 | ||
b1ddacc7 JB |
1225 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
1226 | ||
1227 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
1228 | caller's length guess. | |
1229 | (gather_arguments): Use a larger initial size, now that the vector | |
1230 | growth code has been exercised. | |
1231 | ||
5d9643ba PA |
1232 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
1233 | ||
1234 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
1235 | orig_delta to addr_high. | |
1236 | ||
27e06d3e MS |
1237 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
1238 | ||
1ed489bd MS |
1239 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
1240 | ||
c1f5197e MS |
1241 | * breakpoint.c (print_one_breakpoint): Off by one error. |
1242 | ||
27e06d3e MS |
1243 | * tracepoint.c (add_register): Off by one error. |
1244 | (stringify_collection_list): Free malloc buffer. | |
1245 | ||
03b4bca2 MS |
1246 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
1247 | ||
474d0d0c MS |
1248 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
1249 | stop memory leak, straighten out cleanups. | |
1250 | ||
03b4bca2 MS |
1251 | * jv-lang.c (java_link_class_type): Guard against NULL. |
1252 | ||
423c0af8 MS |
1253 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
1254 | ||
f9780d5b MS |
1255 | * gdbtypes.c (create_set_type): Test should only be done within |
1256 | the preceeding if block. Otherwise, variable is uninitialized. | |
1257 | ||
423c0af8 MS |
1258 | * gdbtypes.c (check_typedef): Guard NULL. |
1259 | ||
c0645fb5 MS |
1260 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
1261 | ||
3cebf8d8 MS |
1262 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
1263 | avoid dereference in lookup_cmd_1. | |
1264 | ||
c0645fb5 MS |
1265 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
1266 | clean up long lines. | |
1267 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
1268 | (tui_alloc_win_info): Ditto. | |
1269 | (tui_add_content_elements): Ditto. | |
1270 | * tui/tui-file.c (tui_file_magic): Ditto. | |
1271 | ||
abe34c35 MS |
1272 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
1273 | ||
967af18d MS |
1274 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
1275 | True and false paths are mutually exclusive. | |
1276 | ||
40742ab6 MS |
1277 | * event-top.c (command_line_handler): Add pedantic return. |
1278 | ||
7c6e0d48 MS |
1279 | * f-valprint.c (info_common_command): Bail out to prevent null |
1280 | pointer deref. Break up a long line. | |
1281 | ||
c7b1adc9 MS |
1282 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
1283 | ||
73780b3c MS |
1284 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
1285 | ||
abe34c35 MS |
1286 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
1287 | variable. | |
1288 | ||
e48883f7 DJ |
1289 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
1290 | ||
1291 | * linespec.c (minsym_found): Advance to the next line if possible. | |
1292 | ||
57204837 PA |
1293 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
1294 | ||
1295 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
1296 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
1297 | solib-svr4.o, and add solib-target.o | |
1298 | ||
fed8b01e MS |
1299 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
1300 | ||
1301 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
1302 | ||
9ceb0b4c MR |
1303 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
1304 | ||
1305 | * MAINTAINERS (Write After Approval): Add myself. | |
1306 | ||
c80a96a8 MR |
1307 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
1308 | ||
1309 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
1310 | for include files. | |
1311 | ||
5b311828 MR |
1312 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
1313 | ||
1314 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
1315 | ||
f52df7d9 | 1316 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
55765a25 | 1317 | |
f52df7d9 MS |
1318 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
1319 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 1320 | |
f52df7d9 | 1321 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
1322 | |
1323 | * ax-gdb.c (find_field): Guard against null ptr. | |
1324 | ||
69ae91d3 UW |
1325 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
1326 | ||
1327 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
1328 | ||
98646950 UW |
1329 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
1330 | ||
1331 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
1332 | sections should always go to the executable file. | |
1333 | ||
193774b3 MR |
1334 | 2004-07-20 Chris Dearman <chris@mips.com> |
1335 | ||
1336 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
1337 | prologue instructions. | |
1338 | ||
ce1f96de MR |
1339 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
1340 | ||
1341 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
1342 | a direct test. | |
1343 | ||
bcf1ea1e MR |
1344 | 2007-07-20 Chris Dearman <chris@mips.com> |
1345 | Maciej W. Rozycki <macro@mips.com> | |
1346 | ||
1347 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
1348 | description. | |
1349 | ||
255e7678 DJ |
1350 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
1351 | Daniel Jacobowitz <dan@codesourcery.com> | |
1352 | ||
1353 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
1354 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
1355 | printf. | |
1356 | * NEWS: Mention gdbserver DLL support. | |
1357 | ||
a8c50c1f DJ |
1358 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
1359 | ||
1360 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
1361 | ||
2e024c20 L |
1362 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
1363 | ||
1364 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
1365 | warning bug. | |
1366 | ||
f219aedc KB |
1367 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
1368 | ||
1369 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
1370 | instruction case. | |
1371 | ||
1ba3e7a3 KB |
1372 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
1373 | ||
1374 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
1375 | (mep_analyze_prologue): Add case for BRA instruction. | |
1376 | ||
f1e55806 UW |
1377 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
1378 | ||
1379 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
1380 | ||
d9f71b56 NR |
1381 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
1382 | ||
1383 | * breakpoint.c: Include "top.h". | |
1384 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
1385 | is used. | |
1386 | (_initialize_breakpoint): Describe this behaviour in command help. | |
1387 | ||
358eb95e PA |
1388 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
1389 | ||
1390 | * solib-target.c (library_list_start_segment): Cast address to | |
1391 | CORE_ADDR. | |
1392 | ||
a4e7b2e7 MK |
1393 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
1394 | ||
1395 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
1396 | for terminated processes. | |
1397 | ||
2ed23f5f MS |
1398 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
1399 | ||
1400 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
1401 | be freed after call to readline (Coverity). Also move local var | |
1402 | declarations into block where they are used. | |
1403 | ||
1404 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
1405 | should) be freed after call to readline (Coverity). Also move | |
1406 | local var declarations into block where they are used. | |
1407 | ||
a25694b4 AS |
1408 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
1409 | ||
1410 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
1411 | /proc/../stat. | |
1412 | ||
2bbe3cc1 DJ |
1413 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
1414 | Thiago Bauermann <bauerman@br.ibm.com> | |
1415 | Joseph S. Myers <joseph@codesourcery.com> | |
1416 | Daniel Jacobowitz <dan@codesourcery.com> | |
1417 | ||
1418 | * remote.c (remote_check_symbols): Use | |
1419 | gdbarch_convert_from_func_ptr_addr. | |
1420 | * infcall.c (find_function_addr): Handle function descriptors | |
1421 | without debugging information. | |
1422 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
1423 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
1424 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
1425 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
1426 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
1427 | allow SEC_CODE and SEC_DATA. | |
1428 | (enable_break): Update calls. Pass current_target to solib_add. | |
1429 | Use gdbarch_convert_from_func_ptr_addr. | |
1430 | ||
9f43d28c DJ |
1431 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
1432 | Daniel Jacobowitz <dan@codesourcery.com> | |
1433 | ||
1434 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
1435 | Use larger units. | |
1436 | ||
3a40aaa0 UW |
1437 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
1438 | ||
1439 | * cp-namespace.c (lookup_symbol_file): Add block to | |
1440 | lookup_symbol_global call. | |
1441 | * Makefile.in (solist_h): Add dependency on symtab header. | |
1442 | (symtab.o): Add dependency on solist header. | |
1443 | * solib.c (solib_global_lookup): New function. | |
1444 | * solib-svr4.c (scan_dyntag): Likewise. | |
1445 | (elf_locate_base): Call helper routine scan_dyntag. | |
1446 | (elf_lookup_lib_symbol): New function. | |
1447 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
1448 | * solist.h (symtab.h): New include. | |
1449 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
1450 | (solib_global_lookup): New prototype. | |
1451 | * symtab.c: New include solist.h. | |
1452 | (lookup_objfile_from_block): New function. | |
1453 | (lookup_global_symbol_from_objfile): New function. | |
1454 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
1455 | (lookup_symbol_global): Call library-specific lookup procedure. | |
1456 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
1457 | ||
1458 | * NEWS: Document framework. | |
1459 | ||
c8c12293 DJ |
1460 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
1461 | ||
1462 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
1463 | to NULL. | |
1464 | ||
1465 | * cli/cli-script.c (build_command_line): Update NULL check. | |
1466 | ||
7877e977 MS |
1467 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
1468 | ||
1469 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
1470 | ||
cfa9d6d9 DJ |
1471 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
1472 | ||
1473 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
1474 | (ALLDEPFILES): Add solib-target.o. | |
1475 | (solib-target.o): New rule. | |
1476 | * remote.c (PACKET_qXfer_libraries): New constant. | |
1477 | (remote_protocol_features): Add qXfer:libraries:read. | |
1478 | (remote_wait): Recognize library stop replies. | |
1479 | (remote_async_wait): Likewise. Fix typo. | |
1480 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
1481 | (init_remote_async_ops): Fix typo. | |
1482 | (_initialize_remote): Register "set remote library-info-packet". | |
1483 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
1484 | * solib-target.c: New file. | |
1485 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
1486 | of textsection. | |
1487 | (info_sharedlibrary_command): Likewise. | |
1488 | (solib_add_library, solib_remove_library): New. | |
1489 | * solist.h (struct so_list): Replace textsection with addr_low and | |
1490 | addr_high. | |
1491 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
1492 | * NEWS: Describe new qXfer:libraries:read and shared library | |
1493 | event support. | |
1494 | * features/library-list.dtd: New. | |
1495 | ||
b0f4b84b DJ |
1496 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
1497 | ||
1498 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
1499 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
1500 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
1501 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
1502 | Update to match shared library event breakpoint support. Only | |
1503 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
1504 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
1505 | * fork-child.c (startup_inferior): Do not set | |
1506 | inferior_ignoring_startup_exec_events | |
1507 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
1508 | declaration. | |
1509 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
1510 | ||
9bbf65bb UW |
1511 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
1512 | ||
1513 | * breakpoint.c (insert_bp_location): Remove dead code | |
1514 | (DISABLE_UNSETTABLE_BREAK). | |
1515 | (disable_breakpoints_in_shlibs) | |
1516 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
1517 | ||
a4954f26 DJ |
1518 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
1519 | ||
1520 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
1521 | Call insert_bp_location. | |
1522 | ||
b48516f9 L |
1523 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
1524 | ||
1525 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
1526 | alias warning bug. | |
1527 | ||
96225718 DJ |
1528 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
1529 | ||
1530 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
1531 | objfiles. | |
1532 | ||
1b05479a DJ |
1533 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
1534 | ||
1535 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
1536 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
1537 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
1538 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
1539 | to display_gdb_prompt. | |
1540 | ||
5ad3a4ca DJ |
1541 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
1542 | ||
1543 | PR symtab/2161 | |
1544 | * target.c (memory_xfer_partial): Do not continue past targets with | |
1545 | all memory. | |
1546 | ||
4ed77933 AS |
1547 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
1548 | ||
4713453b AS |
1549 | * m68k-tdep.c (m68k_ps_type): New. |
1550 | (m68k_init_types): New. | |
1551 | (m68k_register_type): Use m68k_ps_type for PS register. | |
1552 | (_initialize_m68k_tdep): Call m68k_init_types. | |
1553 | ||
4ed77933 AS |
1554 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
1555 | from the generic m68k arch. | |
1556 | ||
dd3526aa MS |
1557 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
1558 | ||
f08312c2 MS |
1559 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
1560 | (Coverity). | |
1561 | ||
a787bedf MS |
1562 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
1563 | gdb_assert before using return value of find_thread_pid (Coverity). | |
1564 | ||
77accacd MS |
1565 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
1566 | ||
dd3526aa MS |
1567 | * cli/cli-script.c (build_command_line): Add null pointer guard |
1568 | (Coverity). | |
1569 | ||
4105de34 DJ |
1570 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
1571 | ||
1572 | * linux-thread-db.c (thread_db_attach): Delete. | |
1573 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
1574 | instead of fixing up proc_handle. | |
1575 | (have_threads_callback, have_threads): New functions. | |
1576 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
1577 | translate PTIDs if we have registered threads. Check for new | |
1578 | threads if we have none. | |
1579 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
1580 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
1581 | (same_ptid_callback): New. | |
1582 | (thread_db_get_thread_local_address): Check for new threads. | |
1583 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
1584 | or to_post_startup_inferior. | |
1585 | ||
1c0fdd0e UW |
1586 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
1587 | ||
1588 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
1589 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
1590 | (resume): Use gdbarch_software_single_step[_p] instead of | |
1591 | SOFTWARE_SINGLE_STEP[_P]. | |
1592 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
1593 | ||
1594 | * gdbarch.sh (software_single_step): Remove target macro. | |
1595 | * gdbarch.h, gdbarch.c: Regenerate. | |
1596 | ||
e487cc15 UW |
1597 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
1598 | ||
1599 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
1600 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
1601 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
1602 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
1603 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
1604 | current_gdbarch_swap_in_hack): Remove. | |
1605 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
1606 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
1607 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
1608 | (deprecated_current_gdbarch_select_hack): Likewise. | |
1609 | * gdbarch.h, gdbarch.c: Regenerate. | |
1610 | ||
d5c31457 UW |
1611 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
1612 | ||
1613 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
1614 | (normal_stop): Allocate regcache for stop_registers. | |
1615 | (struct inferior_status): Remove stop_registers member. | |
1616 | (save_inferior_status): Do not save stop_registers. | |
1617 | (restore_inferior_status): Do not restore stop_registers. | |
1618 | (discard_inferior_status): Do not discard stop_registers. | |
1619 | (build_infrun): Remove. | |
1620 | (_initialize_infrun): Do not swap stop_registers. | |
1621 | ||
911c95a5 UW |
1622 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
1623 | ||
1624 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
1625 | default to target address size. | |
1626 | (build_remote_gdbarch_data): Remove. | |
1627 | (_initialize_remote): Do not swap remote_address_size. | |
1628 | ||
5674de60 UW |
1629 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
1630 | ||
1631 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
1632 | builtin_type_char, builtin_type_short, builtin_type_int, | |
1633 | builtin_type_long, builtin_type_signed_char, | |
1634 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
1635 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
1636 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
1637 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
1638 | builtin_type_bool, builtin_type_long_long, | |
1639 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
1640 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
1641 | variable declaration with compatibility macro. | |
1642 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
1643 | builtin_type_char, builtin_type_short, builtin_type_int, | |
1644 | builtin_type_long, builtin_type_signed_char, | |
1645 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
1646 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
1647 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
1648 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
1649 | builtin_type_bool, builtin_type_long_long, | |
1650 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
1651 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
1652 | (build_gdbtypes): Remove. | |
1653 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
1654 | opaque-type-resolution command here. Do not call | |
1655 | deprecated_register_gdbarch_swap. | |
1656 | ||
64c50499 UW |
1657 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
1658 | ||
1659 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
1660 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
1661 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
1662 | ||
1663 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
1664 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
1665 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
1666 | (build_parse): Remove. | |
1667 | (_initialize_parse): Do not call build_parse. Do not register | |
1668 | msym_ types for gdbarch-swapping. | |
1669 | ||
1670 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
1671 | instead of creating private type. | |
1672 | ||
1673 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
1674 | (_initialize_xcoffread): Do not initialized them. | |
1675 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
1676 | ||
1677 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
1678 | (nodebug_var_symbol_type): Remove. | |
1679 | (_initialize_mdebugread): Do not initialize them. | |
1680 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
1681 | (parse_procedure): Likewise. | |
1682 | ||
6a2eb474 MR |
1683 | 2007-06-21 Chris Dearman <chris@mips.com> |
1684 | ||
1685 | * printcmd.c (do_one_display): If display/i, start with an initial | |
1686 | line feed to avoid bad layout if there is a branch delay slot. | |
1687 | ||
a4642986 MR |
1688 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
1689 | Maciej W. Rozycki <macro@mips.com> | |
1690 | ||
1691 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
1692 | slot instructions too. | |
1693 | * disasm.h (gdb_print_insn): Update prototype. | |
1694 | * printcmd.c (branch_delay_insns): New variable to record the | |
1695 | number of delay slot instructions after disassembling a branch. | |
1696 | (print_formatted): Record the number of branch delay slot | |
1697 | instructions. | |
1698 | (do_examine): When disassembling, if the last instruction | |
1699 | disassembled has any branch delay slots, then bump the count so | |
1700 | that they get disassembled too. | |
1701 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
1702 | gdb_print_insn(). | |
1703 | * NEWS: Document the new behaviour. | |
1704 | ||
ade28716 AS |
1705 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
1706 | ||
1707 | * regcache.c (write_pc_pid): Restore missing else. | |
1708 | ||
28c38f10 UW |
1709 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
1710 | ||
1711 | * regcache.c (regcache_print): Use get_current_regcache () | |
1712 | instead of current_regcache. | |
1713 | ||
52b57208 L |
1714 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
1715 | ||
1716 | PR 4606 | |
1717 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
1718 | instead of bfd_make_section_anyway. | |
1719 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
1720 | when clearing SEC_LOAD. | |
1721 | ||
8bf8793c JM |
1722 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
1723 | ||
1724 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
1725 | registers for big-endian. | |
1726 | ||
7f5c84d3 UW |
1727 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
1728 | ||
1729 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
1730 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
1731 | * gdbarch.c, gdbarch.h: Regenerate. | |
1732 | ||
f73e88f9 UW |
1733 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
1734 | ||
1735 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
1736 | gdbarch_believe_pcc_promotion. | |
1737 | * stabsread.c (define_symbol): Likewise. | |
1738 | Remove unnecessary definition. | |
1739 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
1740 | * gdbarch.c, gdbarch.h: Regenerate. | |
1741 | ||
cab58a69 DJ |
1742 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
1743 | ||
1744 | * configure.ac: Do not use ${objdir}. | |
1745 | * configure: Regenerated. | |
1746 | ||
f0c9063c UW |
1747 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
1748 | ||
1749 | * gdbarch.sh (deprecated_register_size): Remove. | |
1750 | * gdbarch.h, gdbarch.c: Regenerate. | |
1751 | ||
1752 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
1753 | by INT_REGISTER_SIZE. | |
1754 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
1755 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
1756 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
1757 | set_gdbarch_deprecated_register_size. | |
1758 | ||
064f5156 UW |
1759 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
1760 | ||
1761 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
1762 | gdbarch_deprecated_fp_regnum. | |
1763 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
1764 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
1765 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
1766 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
1767 | (comment). | |
1768 | * gdbarch.c, gdbarch.h: Regenerate. | |
1769 | ||
1770 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> | |
1771 | ||
1772 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
1773 | gdbarch_extract_return_value. | |
1774 | * value.c (generic_use_struct_convention): Likewise (comment). | |
1775 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
1776 | * arch-utils.c (legacy_return_value): Likewise. | |
1777 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
1778 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
1779 | gdbarch_store_return_value. | |
1780 | * stack.c (return_command): Likewise (comment). | |
1781 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
1782 | * arch-utils.c (legacy_return_value): Likewise. | |
1783 | * gdbarch.c, gdbarch.h: Regenerate. | |
1784 | ||
b187c476 UW |
1785 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
1786 | ||
1787 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
1788 | gdbarch_deprecated_use_struct_convention. | |
1789 | * arch-utils.c (legacy_return_value): Likewise. | |
1790 | * gdbarch.c, gdbarch.h: Regenerate. | |
1791 | ||
cbf3b44a UW |
1792 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
1793 | ||
1794 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
1795 | gdbarch_deprecated_function_start_offset. | |
1796 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
1797 | * linespec.c (minsym_found): Likewise. | |
1798 | * infrun.c (handle_inferior_event): Likewise. | |
1799 | * infcall.c (find_function_addr): Likewise. | |
1800 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
1801 | * gdbarch.c, gdbarch.h: Regenerate. | |
1802 | ||
bceb6e50 UW |
1803 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
1804 | ||
1805 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
1806 | gdbarch_deprecated_reg_struct_has_addr. | |
1807 | * infcall.c (call_function_by_hand): Likewise. | |
1808 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
1809 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
1810 | * infcall.c (call_function_by_hand): Likewise. | |
1811 | * gdbarch.c, gdbarch.h: Regenerate. | |
1812 | ||
8ed6a7ba UW |
1813 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
1814 | ||
1815 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
1816 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
1817 | (sh_gdbarch_init): Remove | |
1818 | set_gdbarch_deprecated_extract_struct_value_address. | |
1819 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
1820 | (sh64_gdbarch_init): Remove | |
1821 | set_gdbarch_deprecated_extract_struct_value_address. | |
1822 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
1823 | (ia64_gdbarch_init): Remove | |
1824 | set_gdbarch_deprecated_extract_struct_value_address. | |
1825 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
1826 | (frv_gdbarch_init): Remove | |
1827 | set_gdbarch_deprecated_extract_struct_value_address. | |
1828 | * gdbarch.c, gdbarch.h: Regenerate. | |
1829 | ||
3e8c568d UW |
1830 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
1831 | ||
1832 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
1833 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
1834 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
1835 | * stack.c (frame_info): Likewise. | |
1836 | * stabsread.c (define_symbol): Likewise. | |
1837 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
1838 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
1839 | (sh_unwind_sp): Likewise. | |
1840 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
1841 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
1842 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
1843 | (rs6000_frame_cache): Likewise. | |
1844 | * rs6000-nat.c (store_register): Likewise. | |
1845 | * remote-mips.c (mips_wait): Likewise. | |
1846 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
1847 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
1848 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
1849 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
1850 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
1851 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
1852 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
1853 | * m32r-rom.c (m32r_supply_register): Likewise. | |
1854 | * frame.c (frame_sp_unwind): Likewise. | |
1855 | * mips-tdep.c (mips_insn16_frame_cache) | |
1856 | (mips_insn32_frame_cache): Likewise (comment). | |
1857 | * m68klinux-nat.c (supply_gregset): Likewise. | |
1858 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
1859 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
1860 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
1861 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
1862 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
1863 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
1864 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
1865 | (cris_register_type, crisv32_register_type) | |
1866 | (cris_dwarf2_frame_init_reg): Likewise. | |
1867 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
1868 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
1869 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
1870 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
1871 | ||
1872 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
1873 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
1874 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
1875 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
1876 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
1877 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
1878 | * stack.c (frame_info): Likewise. | |
1879 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
1880 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
1881 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
1882 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
1883 | (sh_dsp_show_regs): Likewise. | |
1884 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
1885 | (shnbsd_collect_gregset): Likewise. | |
1886 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
1887 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
1888 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
1889 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
1890 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
1891 | (rs6000_frame_cache): Likewise. | |
1892 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
1893 | (rs6000_store_inferior_registers): Likewise. | |
1894 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
1895 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
1896 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
1897 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
1898 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
1899 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
1900 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
1901 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
1902 | (store_ppc_registers, fill_gregset): Likewise. | |
1903 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
1904 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
1905 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
1906 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
1907 | * m68klinux-nat.c (supply_gregset): Likewise. | |
1908 | * irix5-nat.c (fill_gregset): Likewise. | |
1909 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
1910 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
1911 | * frame.c (get_prev_frame_1): Likewise. | |
1912 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
1913 | * dbug-rom.c (dbug_supply_register): Likewise. | |
1914 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
1915 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
1916 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
1917 | (cris_dwarf2_frame_init_reg, find_step_target) | |
1918 | (cris_software_single_step, cris_supply_gregset) | |
1919 | (cris_regnums): Likewise. | |
1920 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
1921 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
1922 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
1923 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
1924 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
1925 | ||
1926 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
1927 | * dbug-rom.c (dbug_supply_register): Likewise. | |
1928 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
1929 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
1930 | * win32-nat.c (win32_resume): Likewise. | |
1931 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
1932 | * m68k-tdep.c (m68k_register_type): Likewise. | |
1933 | * m68klinux-nat.c (supply_gregset): Likewise. | |
1934 | ||
1935 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
1936 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
1937 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
1938 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
1939 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
1940 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
1941 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
1942 | (sh64_extract_return_value, sh64_store_return_value) | |
1943 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
1944 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
1945 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
1946 | (invalidate_cache): Likewise. | |
1947 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
1948 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
1949 | (mipsnbsd_fill_fpreg): Likewise. | |
1950 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
1951 | (mipsnbsd_store_inferior_registers): Likewise. | |
1952 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
1953 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
1954 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
1955 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
1956 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
1957 | (fill_fpregset): Likewise. | |
1958 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
1959 | * i386-tdep.h (struct_return): Likewise (comment). | |
1960 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
1961 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
1962 | (go32_store_registers): Likewise. | |
1963 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
1964 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
1965 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
1966 | (alphabsd_store_inferior_registers): Likewise. | |
1967 | * core-regset.c (fetch_core_registers): Likewise. | |
1968 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
1969 | ||
1970 | * gdbarch.c, gdbarch.h: Regenerate. | |
1971 | ||
31d99776 DJ |
1972 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
1973 | ||
1974 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
1975 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
1976 | (aout_sym_fns): Likewise. | |
1977 | * elfread.c (elf_symfile_segments): New. | |
1978 | (elf_sym_fns): Add elf_symfile_segments. | |
1979 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
1980 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
1981 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
1982 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
1983 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
1984 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
1985 | (default_symfile_segments): New function. | |
1986 | (syms_from_objfile): Update call to find_sym_fns. | |
1987 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
1988 | (symfile_map_offsets_to_segments): New. | |
1989 | (symfile_find_segment_sections): New. | |
1990 | * symfile.h (struct symfile_segment_data): New. | |
1991 | (struct sym_fns): Add sym_segments. | |
1992 | (default_symfile_segments, symfile_get_segment_data) | |
1993 | (free_symfile_segment_data): New prototypes. | |
1994 | (symfile_map_offsets_to_segments): Likewise. | |
1995 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
1996 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
1997 | (elf_internal_h): New. | |
1998 | (elfread.o): Update. | |
1999 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
2000 | compiled. | |
2001 | * config.in, configure: Regenerated. | |
2002 | * NEWS: Mention qOffsets changes. | |
2003 | ||
5760b90a UW |
2004 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2005 | ||
2006 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
2007 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
2008 | Replace global variable declaration with compatibility macro. | |
2009 | (struct builtin_m2_type): New data type. | |
2010 | (builtin_m2_type): Add prototype. | |
2011 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
2012 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
2013 | Remove global variables. | |
2014 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
2015 | (build_m2_types): New function. | |
2016 | (m2_type_data): New variable. | |
2017 | (builtin_m2_type): New function. | |
2018 | (_initialize_m2_language): Do not build data types. Register | |
2019 | m2_type_data per-gdbarch data. | |
2020 | ||
54ef06c7 UW |
2021 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2022 | ||
2023 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
2024 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
2025 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
2026 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
2027 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
2028 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
2029 | variable declaration with compatibility macro. | |
2030 | (struct builtin_f_type): New data type. | |
2031 | (builtin_f_type): Add prototype. | |
2032 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
2033 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
2034 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
2035 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
2036 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
2037 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
2038 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
2039 | (build_fortran_types): Build builtin_f_type structure instead of | |
2040 | setting global type variables. | |
2041 | (f_type_data): New variable. | |
2042 | (builtin_f_type): New function. | |
2043 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
2044 | swap global type variables. Register f_type_data per-gdbarch data. | |
2045 | ||
92e0cef4 UW |
2046 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2047 | ||
2048 | * f-lang.c (_initialize_f_language): Do not initialize or | |
2049 | swap builtin_type_string. | |
2050 | ||
5d8140d1 UW |
2051 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2052 | ||
0e7b1906 UW |
2053 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
2054 | value_of_builtin_frame_reg): Remove. | |
2055 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
2056 | inactive call to value_of_builtin_frame_reg. | |
2057 | ||
2058 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> | |
2059 | ||
2060 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
2061 | * gdbarch.c, gdbarch.h: Regenerate. |
2062 | ||
2063 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
2064 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
2065 | (build_gdbtypes): Do not initialize it. | |
2066 | (_initialize_gdbtypes): Do not swap it. | |
2067 | ||
794ac428 UW |
2068 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2069 | ||
2070 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
2071 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
2072 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
2073 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
2074 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
2075 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
2076 | builtin_type_vec64, builtin_type_vec128): Remove. | |
2077 | (init_simd_type): Remove. | |
2078 | (init_vector_type): Make global. | |
2079 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
2080 | (build_gdbtypes): Do not build vector types. | |
2081 | (_initialize_gdbtypes): Do not swap vector types. | |
2082 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
2083 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
2084 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
2085 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
2086 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
2087 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
2088 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
2089 | (init_vector_type): Add prototype. | |
2090 | ||
2091 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
2092 | i386_sse_type members. | |
2093 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
2094 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
2095 | (i386_init_types): Do not build vector types. | |
2096 | (i386_mmx_type, i386_sse_type): New functions. | |
2097 | (i386_register_type): Call them instead of using global variables. | |
2098 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
2099 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
2100 | of using global variable. | |
2101 | ||
2102 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
2103 | and ppc_builtin_type_vec128 members. | |
2104 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
2105 | (rs6000_builtin_type_vec128): Likewise. | |
2106 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
2107 | and builtin_type_vec128. | |
2108 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
2109 | ||
2110 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
2111 | (spu_builtin_type_vec128): Remove variable. | |
2112 | (spu_builtin_type_vec128): New function. | |
2113 | (spu_register_type): Call it instead of using global variable. | |
2114 | (spu_gdbarch_init): Allocate tdep structure. | |
2115 | (spu_init_vector_type): Remove function. | |
2116 | (_initialize_spu_tdep): Do not call it. | |
2117 | ||
6707b003 UW |
2118 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2119 | ||
2120 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
2121 | (amd64_register_info): Remove. | |
2122 | (amd64_register_names): New static variable. | |
2123 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
2124 | amd64_register_info. | |
2125 | (amd64_register_name): Likewise. | |
2126 | (amd64_register_type): Do not refer to amd64_register_info. | |
2127 | ||
2128 | * s390-tdep.c (struct s390_register_info): Remove. | |
2129 | (s390_register_info): Remove. | |
2130 | (s390_register_name): Do not refer to s390_register_info. | |
2131 | (s390_register_type): Likewise. | |
2132 | ||
2133 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
2134 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
2135 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
2136 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
2137 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
2138 | sparc64_register_info and sparc64_pseudo_register_info. | |
2139 | (sparc64_register_name): Likewise. | |
2140 | (sparc64_register_type): Do not refer to sparc64_register_info | |
2141 | and sparc64_pseudo_register_info. | |
2142 | ||
cad351d1 UW |
2143 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2144 | ||
2145 | * c-lang.c (cplus_builtin_types): Remove. | |
2146 | (enum cplus_primitive_types): New data type. | |
2147 | (cplus_language_arch_info): New function. | |
2148 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
2149 | la_builtin_type_vector and string_char_type members. | |
2150 | ||
2151 | * f-lang.c (f_builtin_types): Remove. | |
2152 | (enum f_primitive_types): New data type. | |
2153 | (f_language_arch_info): New function. | |
2154 | (f_language_de): Set la_language_arch_info member. Do not set | |
2155 | la_builtin_type_vector and string_char_type members. | |
2156 | ||
2157 | * m2-lang.c (m2_builtin_types): Remove. | |
2158 | (enum m2_primitive_types): New data type. | |
2159 | (m2_language_arch_info): New function. | |
2160 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
2161 | la_builtin_type_vector and string_char_type members. | |
2162 | ||
2163 | * objc-lang.c (objc_builtin_types): Remove. | |
2164 | (objc_language): Set la_language_arch_info member. Do not set | |
2165 | la_builtin_type_vector and string_char_type members. | |
2166 | ||
2167 | * p-lang.c (pascal_builtin_types): Remove. | |
2168 | (enum pascal_primitive_types): New data type. | |
2169 | (pascal_language_arch_info): New function. | |
2170 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
2171 | la_builtin_type_vector and string_char_type members. | |
2172 | ||
594f7785 UW |
2173 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2174 | ||
2175 | * regcache.c (struct regcache): Add ptid_t member. | |
2176 | (regcache_xmalloc): Initialize it. | |
2177 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
2178 | (regcache_dup): Likewise. | |
2179 | (regcache_dup_no_passthrough): Likewise. | |
2180 | (current_regcache): Make static. | |
2181 | (registers_ptid): Remove variable. | |
2182 | (get_thread_regcache): New function. | |
2183 | (get_current_regcache): New function. | |
2184 | (registers_changed): Implement by freeing current regcache. | |
2185 | (regcache_raw_read): Do not refer to current_regcache. Set | |
2186 | inferior_ptid to regcache->ptid while calling target routines. | |
2187 | (regcache_raw_write): Likewise. | |
2188 | (regcache_raw_supply): Do not refer to current_regcache. | |
2189 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
2190 | (write_pc_pid): Likewise. | |
2191 | (build_regcache): Remove. | |
2192 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
2193 | or deprecated_register_gdbarch_swap. Do not initialize | |
2194 | registers_ptid. | |
2195 | * regcache.h (get_current_regcache): Add prototype. | |
2196 | (get_thread_regcache): Likewise. | |
2197 | (current_regcache): Remove declaration. | |
2198 | ||
2199 | * corelow.c (core_open): Replace current_regcache by | |
2200 | get_current_regcache (). | |
2201 | * frame.c (frame_pop): Likewise. | |
2202 | (put_frame_register): Likewise. | |
2203 | (get_current_frame, create_new_frame): Likewise. | |
2204 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
2205 | * stack.c (return_command): Likewise. | |
2206 | * infcall.c (call_function_by_hand): Likewise. | |
2207 | * infrun.c (resume): Likewise. | |
2208 | (save_inferior_status, restore_inferior_status): Likewise. | |
2209 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
2210 | (fork_save_infrun_state): Likewise. | |
2211 | * win32-nat.c (win32_resume): Likewise. | |
2212 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
2213 | * monitor.c (monitor_wait): Likewise. | |
2214 | * remote.c (remote_wait): Likewise. | |
2215 | * remote-mips.c (mips_wait): Likewise. | |
2216 | ||
2217 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
2218 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
2219 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
2220 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
2221 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
2222 | (ia64_linux_stopped_data_address): Likewise. | |
2223 | ||
2224 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
2225 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
2226 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
2227 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
2228 | ||
2229 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
2230 | regcache instead of current_regcache. Call target_fetch_registers. | |
2231 | (linux_nat_corefile_thread_callback): Update call site. | |
2232 | (linux_nat_do_registers): Likewise. | |
2233 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
2234 | of current_regcache. | |
2235 | (procfs_make_note_section): Likewise. | |
2236 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
2237 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
2238 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
2239 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
2240 | ||
51a7a212 UW |
2241 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2242 | ||
2243 | * regcache.c (read_register, read_register_pid): Remove. | |
2244 | (write_register, write_register_pid): Likewise. | |
2245 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
2246 | (write_register, write_register_pid): Likewise. | |
2247 | ||
61a1198a UW |
2248 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2249 | ||
2250 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
2251 | (write_pc): Likewise. Remove default implementation, add predicate. | |
2252 | * gdbarch.c, gdbarch.h: Regenerate. | |
2253 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
2254 | read_register_pid. | |
2255 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
2256 | case inline. | |
2257 | (generic_target_write_pc): Remove. | |
2258 | * inferior.h (generic_target_write_pc): Remove. | |
2259 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
2260 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
2261 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
2262 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
2263 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
2264 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
2265 | ||
2266 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
2267 | argument. Use REGCACHE instead of calling read_register_pid. | |
2268 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
2269 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
2270 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
2271 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
2272 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
2273 | * mep-tdep.c (mep_read_pc): Likewise. | |
2274 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
2275 | * spu-tdep.c (spu_read_pc): Likewise. | |
2276 | ||
2277 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
2278 | argument. Use REGCACHE instead of calling write_register_pid. | |
2279 | * avr-tdep.c (avr_write_pc): Likewise. | |
2280 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
2281 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
2282 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
2283 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
2284 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
2285 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
2286 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
2287 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
2288 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
2289 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
2290 | * mep-tdep.c (mep_write_pc): Likewise. | |
2291 | * mips-tdep.c (mips_write_pc): Likewise. | |
2292 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
2293 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
2294 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
2295 | * spu-tdep.c (spu_write_pc): Likewise. | |
2296 | ||
2297 | * mips-tdep.c (read_signed_register): Remove. | |
2298 | (read_signed_register_pid): Likewise. | |
2299 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
2300 | Use REGCACHE instead of calling read_signed_register_pid. | |
2301 | ||
e4fd649a UW |
2302 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2303 | ||
2304 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
2305 | * gdbarch.c, gdbarch.h: Regenerate. | |
2306 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
2307 | (push_dummy_code): Likewise. Pass it to callee. | |
2308 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
2309 | ||
2310 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
2311 | argument. Use it instead of current_regcache. | |
2312 | ||
2313 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
2314 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
2315 | ||
60ade65d UW |
2316 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2317 | ||
2318 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
2319 | * gdbarch.c, gdbarch.h: Regenerate. | |
2320 | * infrun.c (handle_inferior_event): Pass current frame to | |
2321 | gdbarch_get_longjmp_target. | |
2322 | ||
2323 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
2324 | Read registers from FRAME instead of using read_register. | |
2325 | Use get_frame_arch instead of current_gdbarch. | |
2326 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
2327 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
2328 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
2329 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
2330 | (mips64_linux_get_longjmp_target): Likewise. | |
2331 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
2332 | ||
52f729a7 UW |
2333 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2334 | ||
2335 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
2336 | * gdbarch.c, gdbarch.h: Regenerate. | |
2337 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
2338 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
2339 | * infrun.c (handle_inferior_event): Pass current frame to | |
2340 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
2341 | ||
2342 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
2343 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
2344 | skip_trampoline callback. | |
2345 | * language.h: Add forward declaration of struct frame_info. | |
2346 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
2347 | (skip_language_trampoline): Add FRAME argument. | |
2348 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
2349 | to skip_trampoline callback. | |
2350 | * cp-abi.h: Add forward declaration of struct frame_info. | |
2351 | (cplus_skip_trampoline): Add FRAME argument. | |
2352 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
2353 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
2354 | to gdbarch_skip_trampoline_code. | |
2355 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
2356 | to gdbarch_skip_trampoline_code. | |
2357 | ||
2358 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
2359 | * symtab.h (find_solib_trampoline_target): Likewise. | |
2360 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
2361 | find_solib_trampoline_target. | |
2362 | ||
2363 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
2364 | from FRAME instead of calling read_register. | |
2365 | ||
2366 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
2367 | argument. Read registers from FRAME instead of using read_register. | |
2368 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
2369 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
2370 | ||
2371 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
2372 | argument. | |
2373 | ||
2374 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
2375 | ||
2376 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
2377 | registers from FRAME instead of using read_signed_register. | |
2378 | ||
2379 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
2380 | argument. | |
2381 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
2382 | instead of using read_register. | |
2383 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
2384 | ppc64_standard_linkage_target. | |
2385 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
2386 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
2387 | instead of using read_register. | |
2388 | ||
2389 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
2390 | argument. | |
2391 | ||
0b1b3e42 UW |
2392 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2393 | ||
2394 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
2395 | FRAME argument. | |
2396 | * gdbarch.c, gdbarch.h: Regenerate. | |
2397 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
2398 | ||
2399 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
2400 | registers from FRAME instead of using read_register. | |
2401 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
2402 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
2403 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
2404 | argument by FRAME. | |
2405 | ||
2406 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
2407 | from FRAME instead of using read_register. | |
2408 | (thumb_get_next_pc): Likewise. | |
2409 | (arm_get_next_pc): Likewise. | |
2410 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
2411 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
2412 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
2413 | argument by FRAME. | |
2414 | ||
2415 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
2416 | from FRAME instead of using read_register. | |
2417 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
2418 | to find_step_target. | |
2419 | ||
2420 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
2421 | from FRAME instead of using read_register / read_signed_register. | |
2422 | (extended_mips16_next_pc): Likewise. | |
2423 | (mips16_next_pc): Likewise. | |
2424 | (mips_next_pc): Likewise. | |
2425 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
2426 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
2427 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
2428 | argument by FRAME. | |
2429 | ||
2430 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
2431 | of current frame. Read registers from FRAME. | |
2432 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
2433 | branch_dest. Use get_frame_pc instead of read_pc. | |
2434 | (rs6000_software_single_step): Likewise. | |
2435 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
2436 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
2437 | argument by FRAME. | |
2438 | ||
2439 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
2440 | Read registers from FRAME instead of current regcache. | |
2441 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
2442 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
2443 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
2444 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
2445 | GDBARCH. Pass FRAME to step_trap callback. | |
2446 | (sparc_step_trap): Add FRAME argument. | |
2447 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
2448 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
2449 | of calling sparc_address_from_register. | |
2450 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
2451 | step_trap callback. | |
2452 | (sparc_address_from_register): Remove prototype. | |
2453 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
2454 | (sparcnbsd_step_trap): Add FRAME argument. | |
2455 | ||
2456 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
2457 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
2458 | ||
9c9acae0 UW |
2459 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2460 | ||
2461 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
2462 | instead of calling read_register. | |
2463 | ||
2464 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
2465 | calling write_register. | |
2466 | ||
2467 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
2468 | calling write_register. | |
2469 | ||
2470 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
2471 | instead of calling read_register. | |
2472 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
2473 | instead of calling read_register and write_register. | |
2474 | ||
2475 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
2476 | instead of current_regcache. | |
2477 | ||
2478 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
2479 | of calling write_register. | |
2480 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
2481 | parameter instead of current_regcache. | |
2482 | ||
2483 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
2484 | instead of calling read_register. | |
2485 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
2486 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
2487 | (mips_n32n64_push_dummy_call): Likewise. | |
2488 | (mips_o32_push_dummy_call): Likewise. | |
2489 | (mips_o64_push_dummy_call): Likewise. | |
2490 | ||
2491 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
2492 | parameter instead of current_regcache. | |
2493 | ||
2494 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
2495 | Use it instead of read_register and write_register. | |
2496 | (xtensa_register_read_masked): Likewise. | |
2497 | (xtensa_pseudo_register_read): Update call. | |
2498 | (xtensa_pseudo_register_write): Likewise. | |
2499 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
2500 | instead of calling read_register. | |
2501 | (xtensa_push_dummy_call): Update comment. | |
2502 | ||
d2ca4222 UW |
2503 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2504 | ||
2505 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
2506 | by frame_unwind_register_signed calls. | |
2507 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
2508 | frame allocations when called with NULL NEXT_FRAME parameter. | |
2509 | (read_next_frame_reg): Remove. | |
2510 | ||
2511 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
2512 | instead of reading the FPSCR register. | |
2513 | (sh_frame_cache): Pass unwound FPSCR register value to | |
2514 | sh_analyze_prologue. | |
2515 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
2516 | ||
2517 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
2518 | instead of reading the CTBP register. | |
2519 | (v850_frame_cache): Pass unwound CTBP register value to | |
2520 | v850_analyze_prologue. | |
2521 | ||
c458d6db UW |
2522 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2523 | ||
2524 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
2525 | * sh-tdep.c (sh_show_regs): Likewise. | |
2526 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
2527 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
2528 | values from that frame instead of calling read_register. | |
2529 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
2530 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
2531 | sh_dsp_show_regs): Likewise. | |
2532 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
2533 | sh64_show_regs): Likewise. | |
2534 | ||
a9614958 UW |
2535 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2536 | ||
2537 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
2538 | current regcache instead of calling read_register. | |
2539 | ||
3d1a74ac UW |
2540 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2541 | ||
2542 | * mep-tdep.c (current_me_module): Read from current regcache | |
2543 | instead of calling read_register. | |
2544 | (current_options): Likewise. | |
2545 | ||
1b5a9a8f UW |
2546 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2547 | ||
2548 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
2549 | from current frame instead of calling read_register. | |
2550 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
2551 | ||
982db460 UW |
2552 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2553 | ||
2554 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
2555 | instead of write_register (PC_REGNUM, ...). | |
2556 | ||
b4397864 UW |
2557 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2558 | ||
2559 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
2560 | explaining why the PC adjustment code is necessary. | |
2561 | ||
8ed86d01 VP |
2562 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
2563 | ||
2564 | * m68k-tdep.h (enum m68k_flavour): New. | |
2565 | (struct gdbarch_tdep): New fields | |
2566 | float_return, flavour and fpregs_present. | |
2567 | * m68k-tdep.c (m68k_register_type): Use | |
2568 | fpregs_present and conditionalize floating | |
2569 | registers type on flavour. | |
2570 | (m68k_register_names): New. | |
2571 | (m68k_register_name): Use the above. | |
2572 | (m68k_convert_register_p): Consult fpregs_present. | |
2573 | (m68k_register_to_value, m68k_value_to_register): | |
2574 | Use register_type to obtain the type of floating | |
2575 | point registers. | |
2576 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
2577 | Use register_type to get the type of floating | |
2578 | point regiters. | |
2579 | (m68k_svr4_store_return_value): Likewise. | |
2580 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
2581 | (m68k_analyze_register_saves): Likewise. | |
2582 | (m68k_gdbarch_init): Extract infromation | |
2583 | from XML description, if present. Guess coldfire by | |
2584 | looking at the file, if present. Conditionalize | |
2585 | setting of long double format. Set decr_pc_after_break | |
2586 | to 2 on coldfire and fido. Enable XML-driven | |
2587 | register description. | |
2588 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
2589 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
2590 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
2591 | ||
83cc5c53 UW |
2592 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
2593 | ||
2594 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
2595 | qXfer:spu:write remote packet types. | |
2596 | ||
1780a0ed DJ |
2597 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2598 | ||
2599 | * xml-tdesc.c (tdesc_start_target): New. | |
2600 | (target_attributes): New. | |
2601 | (tdesc_elements): Use it. | |
2602 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
2603 | <target>. | |
2604 | ||
98a29c7e DJ |
2605 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
2606 | ||
2607 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
2608 | ||
9dcbb931 DJ |
2609 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
2610 | ||
2611 | * fork-child.c (fork_inferior): Update comment. | |
2612 | ||
117ce543 DJ |
2613 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2614 | ||
2615 | * features/Makefile: Generate regformats for mips-linux and | |
2616 | mips64-linux. | |
2617 | * features/sort-regs.xsl: Correct typo. | |
2618 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
2619 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
2620 | files. | |
2621 | ||
822b6570 DJ |
2622 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2623 | ||
2624 | * config/mips/linux.mh (TDEP_XML): New. | |
2625 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
2626 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
2627 | MIPS_RESTART_REGNUM. | |
2628 | (mips64_linux_register_addr): Likewise. | |
2629 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
2630 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
2631 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
2632 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
2633 | (mips_linux_o32_sigframe_init) | |
2634 | (mips_linux_n32n64_sigframe_init): Likewise. | |
2635 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
2636 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
2637 | "org.gnu.gdb.mips.linux" feature. | |
2638 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
2639 | (mips_linux_restart_reg_p): New prototype. | |
2640 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
2641 | initialization routine. | |
2642 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
2643 | ||
f8b73d13 DJ |
2644 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2645 | ||
2646 | * Makefile.in (mips-tdep.o): Update. | |
2647 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
2648 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
2649 | (mips_register_name): Call tdesc_register_name. | |
2650 | (mips_tdesc_register_reggroup_p): New. | |
2651 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
2652 | (mips_gdbarch_init): Add target-described register support. | |
2653 | Register aliases for register names. | |
2654 | * target-descriptions.c (tdesc_register_name): Make global. | |
2655 | (tdesc_register_in_reggroup_p): New function, broken out from | |
2656 | tdesc_register_reggroup_p. | |
2657 | (tdesc_register_reggroup_p): Use it. | |
2658 | * target-descriptions.h (tdesc_register_name) | |
2659 | (tdesc_register_in_reggroup_p): New prototypes. | |
2660 | * NEWS: Correct formatting. Mention MIPS register support. | |
2661 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
2662 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
2663 | features/mips64-cpu.xml: New files. | |
2664 | ||
17a912b6 UW |
2665 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
2666 | ||
2667 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
2668 | * valops.c (value_cast): Likewise. | |
2669 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
2670 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
2671 | * tracepoint.c (tracepoints_info): Likewise. | |
2672 | * symtab.c (print_msymbol_info): Likewise. | |
2673 | * solib-irix.c (irix_current_sos) | |
2674 | (irix_open_symbol_file_object): Likewise. | |
2675 | * remote.c (build_remote_gdbarch_data): Likewise. | |
2676 | * prologue-value.c (make_pv_area): Likewise. | |
2677 | * procfs.c (info_mappings_callback): Likewise. | |
2678 | * printcmd.c (print_scalar_formatted) | |
2679 | (deprecated_print_address_numeric): Likewise. | |
2680 | * memattr.c (mem_info_command): Likewise. | |
2681 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
2682 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
2683 | * exec.c (print_section_info): Likewise. | |
2684 | * dwarf2read.c (read_subrange_type): Likewise. | |
2685 | * dwarf2loc.c (find_location_expression): Likewise. | |
2686 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
2687 | (signed_address_type, execute_stack_op): Likewise. | |
2688 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
2689 | * gdbarch.c, gdbarch.h: Regenerate. | |
2690 | ||
1143fffb UW |
2691 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
2692 | ||
2693 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
2694 | * arch-utils.c (show_architecture): Likewise. | |
2695 | * remote-mips.c (mips_open): Likewise | |
2696 | * nto-tdep.c (nto_find_and_open_solib) | |
2697 | (nto_init_solib_absolute_prefix): Likewise. | |
2698 | * nto-procfs (procfs_open): Likewise. | |
2699 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
2700 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
2701 | * gdbarch.c, gdbarch.h: Regenerate. | |
2702 | ||
4fe99ffb UW |
2703 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
2704 | ||
2705 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
2706 | * gdbtypes.c (build_flt): Likewise. | |
2707 | * gdbarch.c, gdbarch.h: Regenerate. | |
2708 | ||
3b3b875c UW |
2709 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
2710 | ||
2711 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
2712 | gdbarch_breakpoint_from_pc. | |
2713 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
2714 | * remote.c (remote_insert_breakpoint) | |
2715 | (remote_insert_hw_breakpoint): Likewise. | |
2716 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
2717 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
2718 | * breakpoint.h (bp_target_info): Likewise (comment). | |
2719 | * breakpoint.c (read_memory_nobpt): Likewise. | |
2720 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
2721 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
2722 | * gdbarch.c, gdbarch.h: Regenerate. | |
2723 | ||
819844ad UW |
2724 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
2725 | ||
2726 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
2727 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
2728 | * solib-pa64.c (read_dynamic_info): Likewise. | |
2729 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
2730 | * solib.c (info_sharedlibrary_command): Likewise. | |
2731 | * s390-nat.c (SUBOFF): Likewise. | |
2732 | * p-valprint.c (pascal_val_print): Likewise. | |
2733 | * procfs.c (info_proc_mappings): Likewise. | |
2734 | * printcmd.c (decode_format): Likewise. | |
2735 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
2736 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
2737 | (mips64_linux_get_longjmp_target): Likewise. | |
2738 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
2739 | * jv-valprint.c (java_value_print): Likewise. | |
2740 | * jv-lang.c (get_java_object_header_size): Likewise. | |
2741 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
2742 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
2743 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
2744 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
2745 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
2746 | (smash_to_memberptr_type): Likewise. | |
2747 | * gdbarch.c, gdbarch.h: Regenerate. | |
2748 | ||
0cc93a06 DJ |
2749 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2750 | ||
2751 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
2752 | (print_gp_register_row): Stop before printing a register bigger | |
2753 | than the ABI register size. | |
2754 | (mips_print_registers_info): Update call to mips_print_register. | |
2755 | ||
67f3407f DJ |
2756 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2757 | ||
2758 | * expression.h (enum exp_opcode): Document a register name for | |
2759 | OP_REGISTER. | |
2760 | * parse.c (write_dollar_variable): Write the register name for | |
2761 | OP_REGISTER. | |
2762 | (operator_length_standard): Expect the register name following | |
2763 | OP_REGISTER. | |
2764 | * ada-lang.c (resolve_subexp): Likewise. | |
2765 | * ax-gdb.c (gen_expr): Likewise. | |
2766 | * eval.c (evaluate_subexp_standard): Likewise. | |
2767 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
2768 | Likewise. | |
2769 | * tracepoint.c (encode_actions): Likewise. | |
2770 | ||
0caa462c DJ |
2771 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
2772 | ||
2773 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
2774 | ||
4de6483e UW |
2775 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
2776 | ||
2777 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
2778 | qXfer:spu:write packet types. | |
2779 | ||
cafad45b UW |
2780 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2781 | ||
2782 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
2783 | * gdbarch.c, gdbarch.h: Regenerate. | |
2784 | ||
055d23b8 UW |
2785 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2786 | ||
2787 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
2788 | gdbarch_stab_reg_to_regnum. | |
2789 | * stabsread.c (define_symbol): Likewise. | |
2790 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
2791 | gdbarch_ecoff_reg_to_regnum. | |
2792 | * mdebugread.c (parse_symbol): Likewise. | |
2793 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
2794 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
2795 | gdbarch_dwarf_reg_to_regnum. | |
2796 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
2797 | * coffread.c (process_coff_symbol): Likewise. | |
2798 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
2799 | gdbarch_dwarf2_reg_to_regnum. | |
2800 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
2801 | (locexpr_describe_location): Likewise. | |
2802 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
2803 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
2804 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
2805 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
2806 | * gdbarch.c, gdbarch.h: Regenerate. | |
2807 | ||
260edbc2 UW |
2808 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2809 | ||
2810 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
2811 | gdbarch_smash_text_address. | |
2812 | * somread.c (som_symtab_read): Likewise. | |
2813 | * elfread.c (record_minimal_symbol): Likewise. | |
2814 | * dbxread.c (process_one_symbol): Likewise. | |
2815 | * coffread.c (coff_symtab_read): Likewise. | |
2816 | * gdbarch.c, gdbarch.h: Regenerate. | |
2817 | ||
c1afe53d UW |
2818 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2819 | ||
2820 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
2821 | * findvar.c (value_from_register): Likewise. | |
2822 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
2823 | * valops.c (value_assign): Likewise. | |
2824 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
2825 | gdbarch_convert_register_p. | |
2826 | * findvar.c (value_from_register): Likewise. | |
2827 | * valops.c (value_assign): Likewise. | |
2828 | * gdbarch.c, gdbarch.h: Regenerate. | |
2829 | ||
474c1661 UW |
2830 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2831 | ||
2832 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
2833 | gdbarch_register_sim_regno. | |
2834 | * sim-regno.h (sim_regno): Likewise (comment). | |
2835 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
2836 | * gdbarch.c, gdbarch.h: Regenerate. | |
2837 | ||
c7bb205c UW |
2838 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2839 | ||
2840 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
2841 | gdbarch_virtual_frame_pointer. | |
2842 | * tracepoint.c (encode_actions): Likewise. | |
2843 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
2844 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
2845 | * gdbarch.c, gdbarch.h: Regenerate. | |
2846 | ||
ea06eb3d UW |
2847 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2848 | ||
2849 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
2850 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2851 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2852 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
2853 | * m2-lang.c (m2_create_fundamental_type) | |
2854 | (_initialize_m2_language): Likewise. | |
2855 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2856 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2857 | * doublest.c (floatformat_from_length): Likewise. | |
2858 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2859 | * ada-lang.c (ada_create_fundamental_type) | |
2860 | (ada_language_arch_info): Likewise. | |
2861 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
2862 | * value.c (unpack_double): Likewise (comment). | |
2863 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2864 | * doublest.c (floatformat_from_length): Likewise. | |
2865 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
2866 | * valarith.c (value_binop): Likewise. | |
2867 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2868 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2869 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
2870 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2871 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2872 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2873 | * doublest.c (floatformat_from_length): Likewise. | |
2874 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
2875 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2876 | * ada-lex.l (processReal): Likewise. | |
2877 | * ada-lang.c (ada_create_fundamental_type) | |
2878 | (ada_language_arch_info): Likewise. | |
2879 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
2880 | * value.c (unpack_double): Likewise (comment). | |
2881 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2882 | * doublest.c (floatformat_from_length): Likewise. | |
2883 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
2884 | gdbarch_long_double_bit. | |
2885 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2886 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2887 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2888 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2889 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2890 | * doublest.c (floatformat_from_length): Likewise. | |
2891 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2892 | * ada-lex.l (processReal): Likewise. | |
2893 | * ada-lang.c (ada_create_fundamental_type) | |
2894 | (ada_language_arch_info): Likewise. | |
2895 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
2896 | gdbarch_long_double_format. | |
2897 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2898 | * doublest.c (floatformat_from_length): Likewise. | |
2899 | * gdbarch.c, gdbarch.h: Regenerate. | |
2900 | ||
9a76efb6 UW |
2901 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
2902 | ||
2903 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
2904 | * ada-lang.c (ada_create_fundamental_type) | |
2905 | (ada_language_arch_info): Likewise. | |
2906 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2907 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2908 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
2909 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2910 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2911 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2912 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
2913 | * c-exp.y (parse_number): Likewise. | |
2914 | * objc-exp.y (parse_number): Likewise. | |
2915 | * ada-lex.l (processInt): Likewise. | |
2916 | * f-exp.y (parse_number): Likewise. | |
2917 | * p-exp.y (parse_number): Likewise. | |
2918 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
2919 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
2920 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2921 | * parse.c (build_parse): Likewise. | |
2922 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
2923 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
2924 | (read_range_type): Likewise. | |
2925 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2926 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
2927 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
2928 | (m2_create_fundamental_type): Likewise. | |
2929 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2930 | * coffread.c (coff_read_enum_type): Likewise. | |
2931 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
2932 | * dwarf2read.c (new_symbol): Likewise. | |
2933 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
2934 | * c-exp.y (parse_number): Likewise. | |
2935 | * objc-exp.y (parse_number): Likewise. | |
2936 | * ada-lex.l (processInt): Likewise. | |
2937 | * f-exp.y (parse_number): Likewise. | |
2938 | * p-exp.y (parse_number): Likewise. | |
2939 | * valarith.c (value_binop): Likewise. | |
2940 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
2941 | * ada-lang.c (ada_create_fundamental_type) | |
2942 | (ada_language_arch_info): Likewise. | |
2943 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
2944 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
2945 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2946 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2947 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2948 | * f-lang.c (f_create_fundamental_type): Likewise. | |
2949 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2950 | * coffread.c (decode_base_type): Likewise. | |
2951 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
2952 | * c-exp.y (parse_number): Likewise. | |
2953 | * objc-exp.y (parse_number): Likewise. | |
2954 | * p-exp.y (parse_number): Likewise. | |
2955 | * ada-lang.c (ada_create_fundamental_type) | |
2956 | (ada_language_arch_info): Likewise. | |
2957 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
2958 | * stabsread.c (read_range_type): Likewise. | |
2959 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2960 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2961 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2962 | * f-lang.c (f_create_fundamental_type): Likewise. | |
2963 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2964 | * gdbarch.c, gdbarch.h: Regenerate. | |
2965 | ||
272dfcfd AS |
2966 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
2967 | ||
2968 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
2969 | (struct frame_unwind): Add dealloc_cache. | |
2970 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
2971 | ||
2972 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
2973 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
2974 | (libunwind_frame_unwind): Set dealloc_cache. | |
2975 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
2976 | ||
0e7f50da UW |
2977 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
2978 | Markus Deuling <deuling@de.ibm.com> | |
2979 | ||
2980 | * remote.c (remote_write_qxfer): New function. | |
2981 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
2982 | (remote_read_qxfer): Do not cache empty objects. | |
2983 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
2984 | PACKET_qXfer_spu_write. | |
2985 | ||
23d964e7 UW |
2986 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
2987 | ||
2988 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
2989 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
2990 | ||
2991 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
2992 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
2993 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
2994 | * spu-tdep.c (infospucmdlist): New variable. | |
2995 | (spu_register_name): Handle additional pseudo registers. | |
2996 | (spu_register_type): Likewise. | |
2997 | (spu_pseudo_register_read): Likewise. | |
2998 | (spu_pseudo_register_write): Likewise. | |
2999 | (spu_pseudo_register_read_spu): New function. | |
3000 | (spu_pseudo_register_write_spu): Likewise. | |
3001 | (info_spu_event_command): New function. | |
3002 | (info_spu_signal_command): Likewise. | |
3003 | (info_spu_mailbox_list): Likewise. | |
3004 | (info_spu_mailbox_command): Likewise. | |
3005 | (spu_mfc_get_bitfield): Likewise. | |
3006 | (info_spu_dma_cmdlist): Likewise. | |
3007 | (info_spu_dma_command): Likewise. | |
3008 | (info_spu_proxydma_command): Likewise. | |
3009 | (info_spu_command): Likewise. | |
3010 | (_initialize_spu_tdep): Install "info spu" commands. | |
3011 | ||
374c1d38 UW |
3012 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
3013 | ||
3014 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
3015 | accessing non-seekable spufs files. | |
3016 | ||
e76f05fa UW |
3017 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3018 | ||
3019 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
3020 | gdbarch_skip_trampoline_code. | |
3021 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
3022 | * objc-lang.c (objc_skip_trampoline) | |
3023 | (objc_submethod_helper_data): Likewise. | |
3024 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
3025 | * infrun.c (handle_inferior_event): Likewise. | |
3026 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
3027 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
3028 | gdbarch_in_solib_return_trampoline. | |
3029 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
3030 | * infrun.c (handle_inferior_event): Likewise. | |
3031 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
3032 | * gdbarch.c, gdbarch.h: Regenerate. | |
3033 | ||
a433963d UW |
3034 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3035 | ||
3036 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
3037 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
3038 | * linespec.c (minsym_found): Likewise. | |
3039 | * infrun.c (step_into_function): Likewise. | |
3040 | * gdbarch.c, gdbarch.h: Regenerate. | |
3041 | ||
aea8766f UW |
3042 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3043 | ||
3044 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
3045 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
3046 | * gdbarch.c, gdbarch.h: Regenerate. | |
3047 | ||
8da95a30 UW |
3048 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3049 | ||
3050 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
3051 | gdbarch_memory_insert_breakpoint. | |
3052 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
3053 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
3054 | gdbarch_memory_remove_breakpoint. | |
3055 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
3056 | * gdbarch.c, gdbarch.h: Regenerate. | |
3057 | ||
985969a9 UW |
3058 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3059 | ||
3060 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
3061 | gdbarch_fetch_tls_load_module_address. | |
3062 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
3063 | gdbarch_fetch_tls_load_module_address_p. | |
3064 | * gdbarch.c, gdbarch.h: Regenerate. | |
3065 | ||
b798847d UW |
3066 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3067 | ||
3068 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
3069 | gdbarch_decr_pc_after_break. | |
3070 | * tracepoint.c (trace_dump_command): Likewise. | |
3071 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
3072 | * linux-thread-db.c (check_event): Likewise. | |
3073 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
3074 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
3075 | * frame.h: Likewise (comment). | |
3076 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
3077 | * aix-thread.c (aix_thread_wait): Likewise. | |
3078 | * gdbarch.c, gdbarch.h: Regenerate. | |
3079 | ||
849957d9 UW |
3080 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3081 | ||
3082 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
3083 | gdbarch_address_class_type_flags. | |
3084 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
3085 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
3086 | gdbarch_address_class_type_flags_p. | |
3087 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
3088 | * gdbarch.c, gdbarch.h: Regenerate. | |
3089 | ||
bf6ae464 UW |
3090 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3091 | ||
3092 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
3093 | * value.c (value_as_address): Likewise (comment). | |
3094 | * remote-mips.c (common_breakpoint): Likewise. | |
3095 | * regcache.c (read_pc_pid): Likewise. | |
3096 | * printcmd.c (do_one_display): Likewise. | |
3097 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
3098 | (monitor_insert_breakpoint): Likewise. | |
3099 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
3100 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
3101 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
3102 | * buildsym.c (record_line): Likewise. | |
3103 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
3104 | (arm_get_next_pc): Likewise. | |
3105 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
3106 | (store_regs): Likewise. | |
3107 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
3108 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
3109 | * gdbarch.c, gdbarch.h: Regenerate. | |
3110 | ||
c9f4d572 UW |
3111 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3112 | ||
3113 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
3114 | * tracepoint.c (scope_info): Likewise. | |
3115 | * target.c (debug_print_register): Likewise. | |
3116 | * stack.c (frame_info): Likewise. | |
3117 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
3118 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
3119 | (sh64_media_print_registers_info) | |
3120 | (sh64_compact_print_registers_info): Likewise. | |
3121 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
3122 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
3123 | * remote.c (packet_reg): Likewise (comment). | |
3124 | * reggroups.c (default_register_reggroup_p): Likewise. | |
3125 | * regcache.c (regcache_dump): Likewise. | |
3126 | * printcmd.c (address_info): Likewise. | |
3127 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
3128 | * mt-dep.c (mt_registers_info): Likewise. | |
3129 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
3130 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
3131 | (mips_read_fp_register_double, mips_print_fp_register) | |
3132 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
3133 | (mips_register_sim_regno): Likewise. | |
3134 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
3135 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
3136 | (inf_ptrace_store_register): Likewise. | |
3137 | * infcmd.c (default_print_registers_info): Likewise. | |
3138 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
3139 | (ia64_linux_store_register): Likewise. | |
3140 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
3141 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
3142 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
3143 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
3144 | (hppa_hpux_store_register): Likewise. | |
3145 | * findvar.c (locate_var_value): Likewise. | |
3146 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
3147 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
3148 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
3149 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
3150 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
3151 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
3152 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
3153 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
3154 | (mi_cmd_data_write_register_values): Likewise. | |
3155 | * gdbarch.c, gdbarch.h: Regenerate. | |
3156 | ||
1fc01e03 DJ |
3157 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
3158 | ||
3159 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
3160 | ||
632110b1 VP |
3161 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
3162 | ||
3163 | * remote.c (process_g_packet): Don't check size. | |
3164 | * gdbarch.sh: Remove register_bytes_ok. | |
3165 | * gdbarch.c: Regenerated. | |
3166 | * gdbarch.h: Regenerated. | |
3167 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
3168 | (m68k_register_bytes_ok): Remove. | |
3169 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
3170 | ||
f43ae3f1 AS |
3171 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
3172 | ||
3173 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
3174 | (destroy_addr_space_name): Define. | |
3175 | (libunwind_load): Get address of destroy_addr_space function. | |
3176 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
3177 | returning unsuccessfully. | |
3178 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
3179 | returning. | |
3180 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
3181 | (libunwind_get_reg_special): Likewise. | |
3182 | ||
d99344c0 UW |
3183 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3184 | ||
3185 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
3186 | gdbarch_fetch_pointer_argument. | |
3187 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
3188 | * gdbarch.c, gdbarch.h: Regenerate. | |
3189 | ||
e6cf7916 UW |
3190 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3191 | ||
3192 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
3193 | gdbarch_have_nonsteppable_watchpoint. | |
3194 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
3195 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
3196 | gdbarch_cannot_step_breakpoint. | |
3197 | * infrun.c (resume): Likewise. | |
3198 | * gdbarch.c, gdbarch.h: Regenerate. | |
3199 | ||
bbcf301a UW |
3200 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3201 | ||
3202 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
3203 | * stack.c (print_frame_args): Likewise. | |
3204 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
3205 | * stack.c (print_args_stub, frame_info): Likewise. | |
3206 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
3207 | * stack.c (print_args_stub, frame_info): Likewise. | |
3208 | * gdbarch.c, gdbarch.h: Regenerate. | |
3209 | ||
95f1da47 UW |
3210 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3211 | ||
3212 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
3213 | gdbarch_coff_make_msymbol_special. | |
3214 | * coffread.c (coff_symtab_read): Likewise. | |
3215 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
3216 | gdbarch_elf_make_msymbol_special. | |
3217 | * elfread.c (elf_symtab_read): Likewise. | |
3218 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
3219 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
3220 | * gdbarch.c, gdbarch.h: Regenerate. | |
3221 | ||
39e8369e UW |
3222 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3223 | ||
3224 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
3225 | gdbarch_frame_red_zone_size. | |
3226 | * gdbarch.c, gdbarch.h: Regenerate. | |
3227 | ||
4d1e7dd1 UW |
3228 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3229 | ||
3230 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
3231 | * infcall.c (call_function_by_hand): Likewise. | |
3232 | * gcore.c (derive_stack_segment): Likewise. | |
3233 | * frame.c (frame_id_inner): Likewise. | |
3234 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
3235 | * ada-lang.c (ensure_lval): Likewise. | |
3236 | * gdbarch.c, gdbarch.h: Regenerate. | |
3237 | ||
76e71323 UW |
3238 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3239 | ||
3240 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
3241 | gdbarch_address_to_pointer. | |
3242 | * findvar.c (store_typed_address): Likewise. | |
3243 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
3244 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
3245 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
3246 | (value_of_builtin_frame_fp_reg): Likewise. | |
3247 | (value_of_builtin_frame_pc_reg): Likewise. | |
3248 | * utils.c (paddress): Likewise (comment). | |
3249 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
3250 | gdbarch_pointer_to_address. | |
3251 | * findvar.c (extract_typed_address): Likewise. | |
3252 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
3253 | * valops.c (value_cast): Likewise (comment). | |
3254 | * gdbarch.c, gdbarch.h: Regenerate. | |
3255 | ||
91104499 UW |
3256 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
3257 | ||
3258 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
3259 | * infrun.c (handle_inferior_event): Likewise. | |
3260 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
3261 | gdbarch_get_longjmp_target_p. | |
3262 | * breakpoint.c (breakpoint_re_set): Likewise. | |
3263 | * infrun.c (handle_inferior_event): Likewise. | |
3264 | * gdbarch.c, gdbarch.h: Regenerate. | |
3265 | ||
d3e9c991 UW |
3266 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
3267 | ||
3268 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
3269 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
3270 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
3271 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
3272 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
3273 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
3274 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
3275 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
3276 | current_ex_event, child_get_current_exception_event): Remove. | |
3277 | (hppa_hpux_inferior_created): Remove. | |
3278 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
3279 | ||
3280 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
3281 | (deprecated_exception_support_initialized): Remove. | |
3282 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
3283 | (deprecated_exception_support_initialized): Remove. | |
3284 | (breakpoint_init_inferior): Remove handling of non-zero | |
3285 | deprecated_exception_catchpoints_are_fragile. | |
3286 | ||
3287 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
3288 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
3289 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
3290 | deprecated_hp_som_som_object_present. | |
3291 | * eval.c (evaluate_subexp_standard): Likewise. | |
3292 | * valops.c (value_cast): Likewise. | |
3293 | ||
3294 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
3295 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
3296 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
3297 | ||
5e787d22 UW |
3298 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
3299 | ||
3300 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
3301 | (struct objfile): Remove import_list, import_list_size, | |
3302 | export_list, export_list_size members. | |
3303 | (is_in_import_list): Remove prototype. | |
3304 | * objfiles.c (is_in_import_list): Remove. | |
3305 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
3306 | (som_symfile_read): Do not call init_import_symbols. Do not | |
3307 | set objfile->export_list and objfile->export_list_size. | |
3308 | ||
93e7bd98 DJ |
3309 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
3310 | ||
3311 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
3312 | Use the original objfile if necessary. | |
3313 | ||
e1024ff1 DJ |
3314 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
3315 | ||
3316 | * defs.h (ldirname): New prototype. | |
3317 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
3318 | missing. | |
3319 | * utils.c (ldirname): New function. | |
3320 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
3321 | ||
ee82e879 UW |
3322 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
3323 | ||
3324 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
3325 | ||
513f5903 JB |
3326 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
3327 | ||
3328 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
3329 | ||
52a75740 UW |
3330 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
3331 | ||
3332 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
3333 | ||
c3fc7e62 UW |
3334 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
3335 | ||
3336 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
3337 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
3338 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
3339 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
3340 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
3341 | ppc_linux_at_sigtramp_return_path): Remove. | |
3342 | ||
4c6b5505 UW |
3343 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3344 | ||
3345 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
3346 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
3347 | (xtensa_extract_return_value, xtensa_store_return_value | |
3348 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
3349 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
3350 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
3351 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
3352 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
3353 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
3354 | (sh64_push_dummy_call, sh64_extract_return_value) | |
3355 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
3356 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
3357 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
3358 | (sh64_frame_prev_register): Likewise. | |
3359 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
3360 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
3361 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
3362 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
3363 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
3364 | * ppc-linux-nat.c (store_register): Likewise. | |
3365 | * nto-tdep.c (nto_find_and_open_solib) | |
3366 | (nto_init_solib_absolute_prefix): Likewise. | |
3367 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
3368 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
3369 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
3370 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
3371 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
3372 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
3373 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
3374 | (mips_breakpoint_from_pc): Likewise. | |
3375 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
3376 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
3377 | (mips_linux_o32_sigframe_init): Likewise. | |
3378 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
3379 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
3380 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
3381 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
3382 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
3383 | * coffread.c (process_coff_symbol): Likewise. | |
3384 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
3385 | (gdb_print_insn_arm): Likewise. | |
3386 | ||
f57d151a UW |
3387 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3388 | ||
3389 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
3390 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
3391 | (i386_svr4_reg_to_regnum): Likewise. | |
3392 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
3393 | (inf_ptrace_store_registers): Likewise. | |
3394 | * corelow.c (get_core_registers): Likewise. | |
3395 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
3396 | (i386_linux_fetch_inferior_registers) | |
3397 | (i386_linux_store_inferior_registers): Likewise. | |
3398 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
3399 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
3400 | (remote_prepare_to_store,store_registers_using_G) | |
3401 | (remote_store_registers,remote_arch_state): Likewise. | |
3402 | * tracepoint.c (encode_actions): Likewise. | |
3403 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
3404 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
3405 | (mi_cmd_data_write_register_values): Likewise. | |
3406 | * tui/tui-regs.c (tui_show_register_group) | |
3407 | (tui_show_register_group): Likewise. | |
3408 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
3409 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
3410 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
3411 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
3412 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
3413 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
3414 | * user-regs.h: Likewise (comment). | |
3415 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
3416 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
3417 | * target-descriptions.h: Likewise (comment). | |
3418 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
3419 | * target.c (debug_print_register): Likewise. | |
3420 | * stack.c (frame_info): Likewise. | |
3421 | * stabsread.c (define_symbol): Likewise. | |
3422 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
3423 | (sh64_media_print_registers_info) | |
3424 | (sh64_compact_print_registers_info): Likewise. | |
3425 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
3426 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
3427 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
3428 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
3429 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
3430 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
3431 | (m32r_store_registers): Likewise. | |
3432 | * reggroups.c (default_register_reggroup_p): Likewise. | |
3433 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
3434 | (regcache_restore,regcache_dump): Likewise. | |
3435 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
3436 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
3437 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
3438 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
3439 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
3440 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
3441 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
3442 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
3443 | (print_gp_register_row,mips_print_registers_info) | |
3444 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
3445 | (mips_register_sim_regno): Likewise. | |
3446 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
3447 | (mips_linux_n32n64_sigframe_init): Likewise. | |
3448 | * mips-linux-nat.c (mips_linux_register_addr) | |
3449 | (mips64_linux_register_addr): Likewise. | |
3450 | * findvar.c (value_of_register): Likewise. | |
3451 | * infcmd.c (default_print_registers_info,registers_info) | |
3452 | (print_vector_info,print_float_info): Likewise. | |
3453 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
3454 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
3455 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
3456 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
3457 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
3458 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
3459 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
3460 | (ia64_linux_store_registers): Likewise. | |
3461 | * hpux-thread.c (hpux_thread_fetch_registers) | |
3462 | (hpux_thread_store_registers): Likewise. | |
3463 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
3464 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
3465 | (h8300_register_type): Likewise. | |
3466 | * dwarf2-frame.c (dwarf2_frame_cache) | |
3467 | (dwarf2_frame_state_alloc_regs): Likewise. | |
3468 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
3469 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
3470 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
3471 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
3472 | * arch-utils.c (legacy_register_sim_regno) | |
3473 | (legacy_virtual_frame_pointer): Likewise. | |
3474 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
3475 | * arm-tdep.h: Likewise (comment). | |
3476 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
3477 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
3478 | (old_store_inferior_registers): Likewise. | |
3479 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
3480 | * irix5-nat.c (fetch_core_registers): Likewise. | |
3481 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
3482 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
3483 | (hppa_linux_fetch_inferior_registers) | |
3484 | (hppa_linux_store_inferior_registers): Likewise. | |
3485 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
3486 | (hppa_hpux_store_inferior_registers): Likewise. | |
3487 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
3488 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
3489 | * dbug-rom.c (dbug_regname): Likewise. | |
3490 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
3491 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
3492 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
3493 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
3494 | (i386_svr4_reg_to_regnum): Likewise. | |
3495 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
3496 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
3497 | (mi_cmd_data_write_register_values): Likewise. | |
3498 | * gdbarch.c, gdbarch.h: Regenerate. | |
3499 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
3500 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
3501 | * user-regs.h: Likewise (comment). | |
3502 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
3503 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
3504 | * target-descriptions.h: Likewise (comment). | |
3505 | * target.c (debug_print_register): Likewise. | |
3506 | * stack.c (frame_info): Likewise. | |
3507 | * stabsread.c (define_symbol): Likewise. | |
3508 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
3509 | (sh64_compact_print_registers_info): Likewise. | |
3510 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
3511 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
3512 | (regcache_restore,regcache_dump): Likewise. | |
3513 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
3514 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
3515 | (mips_stab_reg_to_regnum): Likewise. | |
3516 | * findvar.c (value_of_register): Likewise. | |
3517 | * infcmd.c (default_print_registers_info,registers_info) | |
3518 | (print_vector_info,print_float_info): Likewise. | |
3519 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
3520 | * h8300-tdep.c (h8300_register_type): Likewise. | |
3521 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
3522 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
3523 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
3524 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
3525 | * parse.c: Remove comment. | |
3526 | * gdbarch.c, gdbarch.h: Regenerate | |
3527 | ||
8d4c1ba3 UW |
3528 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3529 | ||
3530 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
3531 | gdbarch_cannot_fetch_register. | |
3532 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
3533 | * hppa-linux-nat.c (fetch_register): Likewise. | |
3534 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
3535 | * m68klinux-nat.c (fetch_register): Likewise. | |
3536 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
3537 | Likewise. | |
3538 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
3539 | gdbarch_cannot_store_register. | |
3540 | * hppa-linux-nat.c (store_register): Likewise. | |
3541 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
3542 | * regcache.c (regcache_raw_write): Likewise. | |
3543 | * m68klinux-nat.c (store_register): Likewise. | |
3544 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
3545 | * gdbarch.c, gdbarch.h: Regenerate. | |
3546 | ||
3f4844da UW |
3547 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3548 | ||
3549 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
3550 | * gdbarch.c, gdbarch.h: Regenerate. | |
3551 | ||
6c6b19fd UW |
3552 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3553 | ||
3554 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
3555 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
3556 | * gdbarch.c, gdbarch.h: Regenerate. | |
3557 | ||
0d20ae72 UW |
3558 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3559 | ||
3560 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
3561 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
3562 | * mi/mi-main.c (get_register): Likewise. | |
3563 | * findvar.c (default_value_from_register, extract_signed_integer) | |
3564 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
3565 | (store_signed_integer, store_unsigned_integer): Likewise. | |
3566 | * regcache.c (regcache_dump): Likewise. | |
3567 | * value.c (lookup_internalvar, value_of_internalvar) | |
3568 | (set_internalvar): Likewise. | |
3569 | * defs.h: Likewise. | |
3570 | * valprint.c (print_binary_chars, print_octal_chars) | |
3571 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
3572 | * infcmd.c (default_print_registers_info): Likewise. | |
3573 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
3574 | * stabsread.c (define_symbol): Likewise. | |
3575 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
3576 | (extract_typed_floating, store_typed_floating): Likewise. | |
3577 | * gdbarch.c, gdbarch.h: Regenerate. | |
3578 | ||
faaf634c UW |
3579 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
3580 | ||
3581 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
3582 | gdbarch_call_dummy_location. | |
3583 | * infcall.c (call_function_by_hand): Likewise. | |
3584 | * inferior.h: Change comment. | |
3585 | * arch-utils.c: Change comment. | |
3586 | * gdbarch.c, gdbarch.h: Regenerate. | |
3587 | ||
8905984d JB |
3588 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
3589 | ||
3590 | * solib-aix5.c: Delete. | |
3591 | * Makefile.in (solib-aix5.o): Delete rule. | |
3592 | ||
ab14ee8d DJ |
3593 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
3594 | ||
3595 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
3596 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
3597 | * infrun.c (process_event_stop_test): Do not check for it. | |
3598 | ||
23776285 MR |
3599 | 2007-05-22 Chris Dearman <chris@mips.com> |
3600 | Maciej W. Rozycki <macro@mips.com> | |
3601 | ||
3602 | * ser-unix.c (show_serial_hwflow): New function. | |
3603 | (hardwire_raw): Add hardware flow control support. | |
3604 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
3605 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
3606 | * NEWS: Document the new command. | |
3607 | ||
eb368090 UW |
3608 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
3609 | ||
3610 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
3611 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
3612 | define for i[[3456]]86-*-linux* native configurations. | |
3613 | * config.in, configure: Regenerate. | |
3614 | ||
8d08c9ce JB |
3615 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
3616 | ||
3617 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
3618 | a core file. Add comment in the function description. | |
3619 | ||
42be36b3 CT |
3620 | 2007-05-18 Caroline Tice <ctice@apple.com> |
3621 | ||
3622 | * c-valprint.c (c_value_print): If the initialized field of the | |
3623 | value struct is 0, print out "[uninitialized]" before the value. | |
3624 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
3625 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
3626 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
3627 | ctx->initialized appropriately. Verify no location op follows | |
3628 | DW_OP_GNU_uninit. | |
3629 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
3630 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
3631 | set_value_initialized. | |
3632 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
3633 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
3634 | * value.c (struct value): New field, initialized. | |
3635 | (allocate_value): Initialize new field. | |
3636 | (set_value_initialized): New function. | |
3637 | (value_initialized): New function. | |
3638 | * value.h (value_initialized): New extern declaration. | |
3639 | (set_value_initialized): Likewise. | |
42be36b3 | 3640 | |
a7c569c8 CT |
3641 | 2007-05-18 Caroline Tice <ctice@apple.com> |
3642 | ||
3643 | * MAINTAINERS (Write After Approval): Add self. | |
3644 | ||
1e98b326 JB |
3645 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
3646 | ||
3647 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
3648 | and set the length of all the variants of the pointer type. | |
3649 | ||
053cb41b JB |
3650 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
3651 | ||
3652 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
3653 | and set the length of all the variants of the pointer type. | |
3654 | ||
436aafc4 MR |
3655 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
3656 | ||
3657 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
3658 | comment. | |
3659 | (mips_o64_push_dummy_call): Reformat a comment. | |
3660 | ||
98f4ab10 Q |
3661 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
3662 | ||
3663 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
3664 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
3665 | local variables correctly when debugging information is stabs. | |
3666 | ||
3667 | (score_analyze_prologue): For software watchpoint, fetch all the | |
3668 | instructions from range [startaddr, pc] once and identify them locally | |
3669 | to reduce memory access. | |
3670 | (score_malloc_and_get_memblock, score_free_memblock) | |
3671 | (score_adjust_memblock_ptr): New functions. | |
3672 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
3673 | ||
3674 | (score_target_can_use_watch, score_stopped_by_watch) | |
3675 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
3676 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
3677 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
3678 | ||
60dfee72 AS |
3679 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
3680 | ||
3681 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
3682 | declarations as well. | |
3683 | ||
190dce09 UW |
3684 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
3685 | ||
3686 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
3687 | * config/arm/tm-embed.h: Delete file. | |
3688 | ||
3689 | * arm-tdep.h (arm_software_single_step): Declare. | |
3690 | * arm-tdep.c (arm_software_single_step): Make global. | |
3691 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
3692 | from here to ... | |
3693 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
3694 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
3695 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
3696 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
3697 | ||
3698 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
3699 | allow defines to be overriden by TM file. | |
3700 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
3701 | change default to {0xbe,0xbe}. | |
3702 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
3703 | arm_obsd_thumb_be_breakpoint): New global variables. | |
3704 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
3705 | tdep->thumb_breakpoint_size. | |
3706 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
3707 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
3708 | tdep->thumb_breakpoint_size. | |
3709 | ||
3710 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
3711 | ||
1a69e1e4 DJ |
3712 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
3713 | ||
3714 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
3715 | saved-gpreg-size". | |
3716 | ||
3717 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
3718 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
3719 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
3720 | (mips_abi_regsize): Simplify. | |
3721 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
3722 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
3723 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
3724 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
3725 | ABI register size instead of mips_stack_argsize. | |
3726 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
3727 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
3728 | settings. | |
3729 | ||
7d522c90 DJ |
3730 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
3731 | ||
3732 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
3733 | * config/mips/tm-linux.h: Delete. | |
3734 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
3735 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
3736 | svr4_in_dynsym_resolve_code. | |
3737 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
3738 | set_solib_ops. | |
3739 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
3740 | global. | |
3741 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
3742 | * Makefile.in (mips-linux-tdep.o): Update. | |
3743 | * solib.c (set_solib_ops): New. | |
3744 | (current_target_so_ops): Update comment. | |
3745 | * solib.h (set_solib_ops): New prototype. | |
3746 | ||
5d51a2db MR |
3747 | 2007-05-16 Chris Dearman <chris@mips.com> |
3748 | ||
3749 | * printcmd.c (do_examine): Fix typos in a comment. | |
3750 | ||
07abfebf RS |
3751 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
3752 | ||
3753 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
3754 | well as $exec_prefix. | |
3755 | * configure: Regenerate. | |
3756 | ||
f5ce4941 UW |
3757 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
3758 | ||
3759 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
3760 | (offsetof): Do not define. | |
3761 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
3762 | symbolic value TYPE_PROCEDURE. | |
3763 | ||
76e1ee85 DJ |
3764 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
3765 | ||
3766 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
3767 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
3768 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
3769 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
3770 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
3771 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
3772 | * Makefile.in (proc-service.o): Update. | |
3773 | ||
2bd0c3d7 DJ |
3774 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
3775 | ||
3776 | * Makefile.in (mips-tdep.o): Update. | |
3777 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
3778 | unwinder. | |
3779 | ||
14d06750 DJ |
3780 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
3781 | ||
3782 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
3783 | instead of store_typed_address. | |
3784 | * value.c (pack_long): New. | |
3785 | (value_from_longest): Use it. | |
3786 | * value.h (pack_long): New prototype. | |
3787 | ||
f2fec864 DJ |
3788 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
3789 | ||
3790 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
3791 | DW_EH_PE_signed if appropriate. | |
3792 | ||
25e43795 DJ |
3793 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
3794 | Daniel Jacobowitz <dan@codesourcery.com> | |
3795 | ||
3796 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
3797 | function. | |
3798 | (dwarf_decode_lines): Check for line info without a file. | |
3799 | ||
027c0295 DJ |
3800 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
3801 | ||
3802 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
3803 | as hexadecimal. | |
3804 | ||
dc5000e7 DJ |
3805 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
3806 | ||
3807 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
3808 | STRUCTOP_STRUCT. | |
3809 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
3810 | STRUCTOP_STRUCT. | |
3811 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
3812 | ||
30244cd8 UW |
3813 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
3814 | ||
3815 | * gdbarch.sh (read_sp): Remove. | |
3816 | * gdbarch.c, gdbarch.h: Regenerate. | |
3817 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
3818 | ||
3819 | * avr-tdep.c (avr_read_sp): Remove. | |
3820 | (avr_unwind_sp): New function. | |
3821 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
3822 | * mips-tdep.c (mips_read_sp): Remove. | |
3823 | (mips_unwind_sp): New function. | |
3824 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
3825 | * score-tdep.c (score_read_unsigned_register): Remove. | |
3826 | (score_read_sp): Remove. | |
3827 | (score_unwind_sp): New function. | |
3828 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
3829 | ||
84ba0adf DJ |
3830 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
3831 | ||
3832 | * buildsym.c (start_subfile): Handle absolute pathnames | |
3833 | while comparing subfile names. | |
3834 | ||
e7b17823 UW |
3835 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
3836 | ||
3837 | * hppa-hpux-tdep.c: Include "regcache.h". | |
3838 | * hppa-linux-tdep.c: Likewise. | |
3839 | * hppa-tdep.c: Include "gdb_stdint.h". | |
3840 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
3841 | it to paddr_nz. | |
3842 | * Makefile.in: Update dependencies. | |
3843 | ||
7157eed4 UW |
3844 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
3845 | ||
3846 | * blockframe.c: Remove obsolete comments. | |
3847 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
3848 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
3849 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
3850 | * mips-tdep.h: Likewise. | |
3851 | * m68hc11-tdep.c: Likewise. | |
3852 | ||
fb4443d8 UW |
3853 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
3854 | ||
3855 | * inferior.h (read_sp): Remove prototype. | |
3856 | * regcache.c (read_sp): Remove. | |
3857 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
3858 | * infcall.c (call_function_by_hand): Likewise. | |
3859 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
3860 | of calling read_sp. | |
3861 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
3862 | ||
7b86a1b8 UW |
3863 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3864 | ||
3865 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
3866 | instead of read_register and read_register_pid. | |
3867 | ||
3868 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
3869 | argument instead of PTID. Use regcache functions instead of | |
3870 | read_register_pid. | |
3871 | (ia64_linux_insert_watchpoint): Update call. | |
3872 | (ia64_linux_stopped_data_address): Use regcache functions | |
3873 | instead of read_register_pid and write_register_pid. | |
3874 | ||
45ecac4b UW |
3875 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3876 | ||
3877 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
3878 | (libunwind_get_reg_special): Add REGCACHE argument. | |
3879 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
3880 | argument. Pass it to unw_init_remote_p. | |
3881 | ||
3882 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
3883 | libunwind_get_reg_special. | |
3884 | (ia64_access_reg): Remove "write" case. | |
3885 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
3886 | as callback argument instead of from current_regcache. | |
3887 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
3888 | passed as callback argument instead of from current_regcache. | |
3889 | (ia64_access_rse_fpreg): New function. | |
3890 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
3891 | ||
0ca420ce UW |
3892 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3893 | ||
3894 | * NEWS: Mention SPU overlay support. | |
3895 | ||
0a44cb36 UW |
3896 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3897 | ||
3898 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
3899 | ||
aa67235e UW |
3900 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3901 | ||
3902 | * breakpoint.c (remove_breakpoint): Do not remove software | |
3903 | breakpoints in unmapped overlay sections. | |
3904 | ||
dcf52cd8 UW |
3905 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3906 | ||
3907 | * spu-tdep.c: Include "observer.h". | |
3908 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
3909 | (spu_overlay_data): New variable. | |
3910 | (struct spu_overlay_table): New type. | |
3911 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
3912 | spu_overlay_new_objfile): New functions. | |
3913 | (spu_gdbarch_init): Install spu_overlay_update. | |
3914 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
3915 | allocate spu_overlay_data objfile data. | |
3916 | ||
1c772458 UW |
3917 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3918 | ||
3919 | * gdbarch.sh (overlay_update): New gdbarch function. | |
3920 | (struct obj_section): Add forward declaration. | |
3921 | * gdbarch.c, gdbarch.h: Regenerate. | |
3922 | ||
3923 | * symfile.c (simple_overlay_update): Make global. | |
3924 | (target_overlay_update): Remove variable. | |
3925 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
3926 | target_overlay_update. | |
3927 | (overlay_load_command): Likewise. | |
3928 | * symfile.h (struct obj_section): Add forward declaration. | |
3929 | (simple_overlay_update): Add prototype. | |
3930 | ||
3931 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
3932 | ||
06d3b283 UW |
3933 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3934 | ||
3935 | * observer.sh: Add "struct objfile" forward declaration. | |
3936 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
3937 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
3938 | (clear_symtab_users): Call observer_notify_new_objfile. | |
3939 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
3940 | * rs6000-nat.c: Include "observer.h". | |
3941 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
3942 | (xcoff_relocate_core): Likewise. | |
3943 | * remote.c (remote_new_objfile_chain): Remove. | |
3944 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
3945 | (_initialize_remote): Use observer_attach_new_objfile. | |
3946 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
3947 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
3948 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
3949 | * aix-thread.c: Include "observer.h". | |
3950 | (target_new_objfile_chain): Remove. | |
3951 | (new_objfile): Do not call target_new_objfile_chain. | |
3952 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
3953 | * hpux-thread.c: Include "observer.h" | |
3954 | (target_new_objfile_chain): Remove. | |
3955 | (hpux_thread_new_objfile): Make static. Do not call | |
3956 | target_new_objfile_chain. | |
3957 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
3958 | * linux-thread-db.c: Include "observer.h". | |
3959 | (target_new_objfile_chain): Remove. | |
3960 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
3961 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
3962 | * sol-thread.c: Include "observer.h". | |
3963 | (target_new_objfile_chain): Remove. | |
3964 | (sol_thread_new_objfile): Make static. Do not call | |
3965 | target_new_objfile_chain. | |
3966 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
3967 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
3968 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
3969 | $(observer_h). | |
3970 | ||
93ce7684 UW |
3971 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3972 | ||
3973 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
3974 | * gdbarch.h, gdbarch.c: Regenerate. | |
3975 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
3976 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
3977 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
3978 | call gdbarch_remote_translate_xfer_address. | |
3979 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
3980 | set_gdbarch_remote_translate_xfer_address. | |
3981 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
3982 | (ia64_gdbarch_init): Do not install it. | |
3983 | ||
a6ec25f2 BW |
3984 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
3985 | ||
3986 | * NEWS: Mention change in handling the -tui option. | |
3987 | ||
2ef52e77 DJ |
3988 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
3989 | ||
3990 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
3991 | typo. | |
3992 | ||
1aafd4da UW |
3993 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
3994 | ||
3995 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
3996 | (breakpoint_inserted_here_p): Call it. | |
3997 | (software_breakpoint_inserted_here_p): Likewise. | |
3998 | ||
7714d83a UW |
3999 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
4000 | ||
4001 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
4002 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
4003 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
4004 | (inf_ptrace_store_register): Likewise. | |
4005 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
4006 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
4007 | ||
4008 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
4009 | ||
4010 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
4011 | * linux-nat.h (linux_trad_target): Likewise. | |
4012 | ||
4013 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
4014 | ||
4015 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
4016 | (mips_linux_cannot_store_register): Likewise. | |
4017 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
4018 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
4019 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
4020 | (mips64_linux_register_addr): Likewise. | |
4021 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
4022 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
4023 | ||
4024 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4025 | * config/mips/nm-linux.h: Delete file. | |
4026 | ||
4ddda9b5 PA |
4027 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
4028 | ||
4029 | * remote.c (remote_detach): Error out if remote can't detach. | |
4030 | ||
24d45690 UW |
4031 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
4032 | ||
362f854e PA |
4033 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
4034 | instruction's opcode in the "opcode" variable and declares new | |
4035 | variable "closing_insn". | |
24d45690 | 4036 | |
1430be3e MR |
4037 | 2007-05-10 Chris Dearman <chris@mips.com> |
4038 | Maciej W. Rozycki <macro@mips.com> | |
4039 | ||
4040 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
4041 | whitespace when setting a var_filename. | |
4042 | ||
b0da54f1 BW |
4043 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
4044 | ||
4045 | * main.c (captured_main): Recognize -tui option and print an error | |
4046 | message when the TUI is not configured. | |
4047 | ||
9a88e5ee AS |
4048 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
4049 | ||
4050 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
4051 | set removed members. | |
4052 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
4053 | ||
fc0d8df4 UW |
4054 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
4055 | ||
4056 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
4057 | * gdbarch.c, gdbarch.h: Regenerate. | |
4058 | * frv-tdep.c (frv_store_struct_return): Remove. | |
4059 | (frv_gdbarch_init): Do not install it. | |
4060 | ||
179101d6 UW |
4061 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
4062 | ||
4063 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
4064 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
4065 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
4066 | ||
b9efddcd UW |
4067 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
4068 | ||
4069 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
4070 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
4071 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
4072 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
4073 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
4074 | (spu_child_wait): Mark up string for translation. | |
4075 | ||
ce5eab59 UW |
4076 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
4077 | Luis Machado <luisgpm@br.ibm.com> | |
4078 | ||
4079 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
4080 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
4081 | BC_INSTRUCTION): Define. | |
4082 | (deal_with_atomic_sequence): New function. | |
4083 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
4084 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
4085 | gdbarch_software_single_step routine. | |
4086 | ||
4179a487 UW |
4087 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
4088 | ||
4089 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
4090 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
4091 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
4092 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
4093 | spu_child_post_attach, spu_fetch_inferior_registers, | |
4094 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
4095 | memory addresses as ULONGEST, not CORE_ADDR. | |
4096 | ||
6d350bb5 UW |
4097 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
4098 | ||
4099 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
4100 | * gdbarch.h, gdbarch.c: Regenerate. | |
4101 | ||
4102 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
4103 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
4104 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
4105 | ||
4106 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
4107 | Add REGCACHE argument. Use it instead of read/write_register. | |
4108 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
4109 | ||
4110 | * config/pa/tm-hppah.h: Delete file. | |
4111 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
4112 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
4113 | ||
b18be20d DJ |
4114 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
4115 | ||
4116 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
4117 | * NEWS: Mention improved C++ thunk support. | |
4118 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
4119 | * cp-abi.c (cplus_skip_trampoline): New. | |
4120 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
4121 | (struct cp_abi_ops): Add skip_trampoline member. | |
4122 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
4123 | (init_gnuv3_ops): Set skip_trampoline. | |
4124 | ||
dda9b909 DJ |
4125 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
4126 | ||
4127 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
4128 | ||
34091d9b DJ |
4129 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
4130 | ||
4131 | * linux-thread-db.c: Update some FIXME comments. | |
4132 | (thread_db_xfer_partial): Delete. | |
4133 | (init_thread_db_ops): Do not set to_xfer_partial. | |
4134 | ||
1da33a4a UW |
4135 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4136 | ||
4137 | * inftarg.c, infptrace.c: Remove files. | |
4138 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
4139 | (inftarg.o, infptrace.o): Remove rules. | |
4140 | * gdbcore.h (register_addr): Remove prototype. | |
4141 | * inferior.h (kill_inferior, store_inferior_registers, | |
4142 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
4143 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
4144 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
4145 | child_core_file_to_sym_file, child_post_attach, | |
4146 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
4147 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
4148 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
4149 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
4150 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
4151 | child_has_exited, child_thread_alive): Remove prototypes. | |
4152 | ||
6f7a27d5 UW |
4153 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4154 | ||
4155 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
4156 | (sparc_store_inferior_registers): Likewise. | |
4157 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
4158 | (sparc_fetch_inferior_registers): ... this. | |
4159 | (store_inferior_registers): Rename to ... | |
4160 | (sparc_store_inferior_registers): ... this. | |
4161 | (sparc_target): Update callback names. | |
4162 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
4163 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
4164 | ||
6d8fd2b7 UW |
4165 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4166 | ||
4167 | * linux-nat.c (child_post_attach): Rename to ... | |
4168 | (linux_child_post_attach): ... this. Make static. | |
4169 | (child_follow_fork): Rename to ... | |
4170 | (linux_child_follow_fork): ... this. Make static. | |
4171 | (child_insert_fork_catchpoint): Rename to ... | |
4172 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
4173 | (child_insert_vfork_catchpoint): Rename to ... | |
4174 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
4175 | (child_insert_exec_catchpoint): Rename to ... | |
4176 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
4177 | (child_pid_to_exec_file): Rename to ... | |
4178 | (linux_child_pid_to_exec_file): ... this. Make static. | |
4179 | Add prototype. | |
4180 | (linux_handle_extended_wait): Update call. | |
4181 | (linux_xfer_partial): Update callback routine names. | |
4182 | ||
d08950c4 UW |
4183 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4184 | ||
4185 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
4186 | * NEWS: Mention removed configurations. | |
4187 | ||
4188 | * config/alpha/alpha-osf1.mh: Delete file. | |
4189 | * config/alpha/alpha-osf2.mh: Delete file. | |
4190 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
4191 | and infptrace.o. | |
4192 | * config/alpha/nm-osf.h: Delete file. | |
4193 | * config/alpha/nm-osf2.h: Delete file. | |
4194 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
4195 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
4196 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
4197 | ||
4198 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
4199 | (register_addr, kernel_u_size): Remove. | |
4200 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
4201 | ||
9c5ea4d9 UW |
4202 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4203 | ||
4204 | * regcache.c (regcache_invalidate): New function. | |
4205 | (register_cached): Remove. | |
4206 | (set_register_cached): Remove. | |
4207 | (deprecated_registers_fetched): Remove. | |
4208 | (registers_changed): Use regcache_invalidate instead | |
4209 | of set_register_cached. | |
4210 | (regcache_raw_read): Update comment. | |
4211 | ||
4212 | * regcache.h (regcache_invalidate): Add prototype. | |
4213 | (register_cached): Remove. | |
4214 | (set_register_cached): Remove. | |
4215 | (deprecated_registers_fetched): Remove. | |
4216 | ||
4217 | * findvar.c (value_of_register): Do not call register_cached. | |
4218 | * frame.c (frame_register): Likewise. | |
4219 | * tui/tui-regs.c (tui_get_register): Likewise. | |
4220 | ||
4221 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
4222 | (process_g_packet): Likewise. | |
4223 | (remote_fetch_registers): Likewise. | |
4224 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
4225 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
4226 | by regcache_invalidate. | |
4227 | (mt_pseudo_register_write): Likewise. | |
4228 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
4229 | ||
4230 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
4231 | call by loop over regcache_raw_supply (..., NULL). | |
4232 | ||
316f2060 UW |
4233 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4234 | ||
4235 | * target.h (struct target_ops): Add REGCACHE parameter to | |
4236 | to_prepare_to_store. | |
4237 | (target_prepare_to_store): Likewise. | |
4238 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
4239 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
4240 | ||
4241 | * regcache.c (regcache_raw_write): Pass regcache to | |
4242 | target_prepare_to_store. | |
4243 | ||
4244 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
4245 | Do not call CHILD_PREPARE_TO_STORE. | |
4246 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
4247 | * procfs.c (procfs_prepare_to_store): Likewise. | |
4248 | ||
4249 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
4250 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
4251 | * monitor.c (monitor_prepare_to_store): Likewise. | |
4252 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
4253 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
4254 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
4255 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
4256 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
4257 | ||
4258 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
4259 | Use it instead of current_regcache. | |
4260 | ||
4261 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
4262 | parameter. Pass it on to next target. | |
4263 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
4264 | ||
56be3814 UW |
4265 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4266 | ||
4267 | * target.h (struct regcache): Add forward declaration. | |
4268 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
4269 | and to_store_registers target operations. | |
4270 | (target_fetch_registers, target_store_registers): Update. | |
4271 | ||
4272 | * regcache.c (regcache_raw_read): Replace register_cached by | |
4273 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
4274 | (regcache_raw_write): Pass regcache to target_store_registers. | |
4275 | ||
4276 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
4277 | store_regs, store_wmmx_regs): Replace register_cached by | |
4278 | regcache_valid_p. | |
4279 | ||
4280 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
4281 | to target_fetch_registers calls. | |
4282 | * corelow.c (core_open): Likewise. | |
4283 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
4284 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
4285 | ps_lsetfpregs): Likewise. | |
4286 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
4287 | ps_lsetfpregs): Likewise. | |
4288 | * win32-nat.c (win32_resume): Likewise. | |
4289 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
4290 | to target_store_registers call. | |
4291 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
4292 | ||
4293 | * inferior.h (store_inferior_registers): Update prototype. | |
4294 | (fetch_inferior_registers): Likewise. | |
4295 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
4296 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
4297 | Update function pointer signatures. | |
4298 | ||
4299 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
4300 | use it instead of current_regcache, update calls. | |
4301 | (aix_thread_store_registers): Likewise. | |
4302 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
4303 | (alphabsd_store_inferior_registers): Likewise. | |
4304 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
4305 | (amd64bsd_store_inferior_registers): Likewise. | |
4306 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
4307 | (amd64_linux_store_inferior_registers): Likewise. | |
4308 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
4309 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
4310 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
4311 | (arm_linux_fetch_inferior_registers): Likewise. | |
4312 | (arm_linux_store_inferior_registers): Likewise. | |
4313 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
4314 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
4315 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
4316 | armnbsd_store_registers): Likewise. | |
4317 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
4318 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
4319 | (bsd_uthread_store_registers): Likewise. | |
4320 | * corelow.c (get_core_registers): Likewise. | |
4321 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
4322 | go32_store_registers): Likewise. | |
4323 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
4324 | (hppabsd_store_registers): Likewise. | |
4325 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
4326 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
4327 | (hppa_hpux_store_register): Likewise. | |
4328 | (hppa_hpux_store_inferior_registers): Likewise. | |
4329 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
4330 | (hppa_linux_fetch_inferior_registers): Likewise. | |
4331 | (hppa_linux_store_inferior_registers): Likewise. | |
4332 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
4333 | (hpux_thread_store_registers): Likewise. | |
4334 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
4335 | (i386bsd_store_inferior_registers): Likewise. | |
4336 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
4337 | gnu_store_registers): Likewise. | |
4338 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
4339 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
4340 | Likewise. | |
4341 | (i386_linux_fetch_inferior_registers): Likewise. | |
4342 | (i386_linux_store_inferior_registers): Likewise. | |
4343 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
4344 | (ia64_linux_fetch_registers): Likewise. | |
4345 | (ia64_linux_store_register): Likewise. | |
4346 | (ia64_linux_store_registers): Likewise. | |
4347 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
4348 | (inf_child_store_inferior_registers): Likewise. | |
4349 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
4350 | (inf_ptrace_fetch_registers): Likewise. | |
4351 | (inf_ptrace_store_register): Likewise. | |
4352 | (inf_ptrace_store_registers): Likewise. | |
4353 | * infptrace.c (fetch_register, store_register): Likewise. | |
4354 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
4355 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
4356 | (m32r_linux_fetch_inferior_registers): Likewise. | |
4357 | (m32r_linux_store_inferior_registers): Likewise. | |
4358 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
4359 | (m68kbsd_store_inferior_registers): Likewise. | |
4360 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
4361 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
4362 | fetch_fpregs, store_fpregs): Likewise. | |
4363 | (m68k_linux_fetch_inferior_registers): Likewise. | |
4364 | (m68k_linux_store_inferior_registers): Likewise. | |
4365 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
4366 | (m88kbsd_store_inferior_registers): Likewise. | |
4367 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
4368 | (mips64obsd_store_inferior_registers): Likewise. | |
4369 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
4370 | (mips64_linux_regsets_store_registers): Likewise. | |
4371 | (mips64_linux_fetch_registers): Likewise. | |
4372 | (mips64_linux_store_registers): Likewise. | |
4373 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
4374 | (mipsnbsd_store_inferior_registers): Likewise. | |
4375 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
4376 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
4377 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
4378 | (procfs_store_registers): Likewise. | |
4379 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
4380 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
4381 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
4382 | (store_altivec_register, store_spe_register, store_register, | |
4383 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
4384 | ppc_linux_store_inferior_registers): Likewise. | |
4385 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
4386 | (ppcnbsd_store_inferior_registers): Likewise. | |
4387 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
4388 | (ppcobsd_store_registers): Likewise. | |
4389 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
4390 | * remote.c (fetch_register_using_p, process_g_packet, | |
4391 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
4392 | (store_register_using_P, store_registers_using_G, | |
4393 | remote_store_registers): Likewise. | |
4394 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
4395 | m32r_store_register, m32r_store_register): Likewise. | |
4396 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
4397 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
4398 | (gdbsim_store_register): Likewise. | |
4399 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
4400 | (rs6000_fetch_inferior_registers): Likewise. | |
4401 | (rs6000_store_inferior_registers): Likewise. | |
4402 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
4403 | (fetch_fpregs, store_fpregs): Likewise. | |
4404 | (s390_linux_fetch_inferior_registers): Likewise. | |
4405 | (s390_linux_store_inferior_registers): Likewise. | |
4406 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
4407 | (shnbsd_store_inferior_registers): Likewise. | |
4408 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
4409 | (sol_thread_store_registers): Likewise. | |
4410 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
4411 | (store_inferior_registers): Likewise. | |
4412 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
4413 | (spu_store_inferior_registers): Likewise. | |
4414 | * target.c (debug_print_register): Likewise. | |
4415 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
4416 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
4417 | (vaxbsd_store_inferior_registers): Likewise. | |
4418 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
4419 | (win32_fetch_inferior_registers): Likewise. | |
4420 | (win32_store_inferior_registers): Likewise. | |
4421 | ||
9eefc95f UW |
4422 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4423 | ||
4424 | * gdbcore.h (struct regcache): Add forward declaration. | |
4425 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
4426 | callback. | |
4427 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
4428 | use it instead of current_regcache, pass it to core_read_registers | |
4429 | callback. | |
4430 | (get_core_registers): Add current_regcache as parameter to | |
4431 | get_core_register_section calls. | |
4432 | ||
4433 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
4434 | use it instead of current_regcache. | |
4435 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
4436 | (fetch_elfcore_registers): Likewise. | |
4437 | * core-regset.c (fetch_core_registers): Likewise. | |
4438 | * cris-tdep.c (fetch_core_registers): Likewise. | |
4439 | * irix5-nat.c (fetch_core_registers): Likewise. | |
4440 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
4441 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
4442 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
4443 | ||
7f7fe91e UW |
4444 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4445 | ||
4446 | * gregset.h (struct regcache): Add forward declaration. | |
4447 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
4448 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
4449 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
4450 | (fill_gregset): Add REGCACHE parameter. | |
4451 | (fill_fpregset): Likewise. | |
4452 | (fill_fpxregset): Likewise. | |
4453 | ||
4454 | Update all definitions accordingly: | |
4455 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
4456 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
4457 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
4458 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
4459 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
4460 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
4461 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
4462 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
4463 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
4464 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
4465 | current_regcache. | |
4466 | (fill_fpregset): Likewise. | |
4467 | ||
4468 | Update all callers to pass in current_regcache as the new argument: | |
4469 | * core-regset.c: Include "regcache.h". | |
4470 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
4471 | * procfs.c: Include "regcache.h". | |
4472 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
4473 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
4474 | (procfs_do_thread_registers): Likewise. | |
4475 | (procfs_make_note_section): Likewise. | |
4476 | * proc-service.c: Include "regcache.h". | |
4477 | (ps_lgetregs): Update fill_gregset call. | |
4478 | (ps_lsetregs): Update supply_gregset call. | |
4479 | (ps_lgetfpregs): Update fill_fpregset call. | |
4480 | (ps_lsetfpregs): Update supply_fpregset call. | |
4481 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
4482 | supply_fpregset calls. | |
4483 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
4484 | (ps_lgetregs): Update fill_gregset call. | |
4485 | (ps_lsetregs): Update supply_gregset call. | |
4486 | (ps_lgetfpregs): Update fill_fpregset call. | |
4487 | (ps_lsetfpregs): Update supply_fpregset call. | |
4488 | ||
4489 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
4490 | fill_fpregset, and fill_fpxregset calls. | |
4491 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
4492 | (store_regs): Update fill_gregset call. | |
4493 | (fetch_fpregs): Update supply_fpregset call. | |
4494 | (store_fpregs): Update fill_fpregset call. | |
4495 | (fetch_fpxregs): Update supply_fpxregset call. | |
4496 | (store_fpxregs): Update fill_fpxregset call. | |
4497 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
4498 | (store_regs): Update fill_gregset call. | |
4499 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
4500 | (store_regs): Update fill_gregset call. | |
4501 | (fetch_fpregs): Update supply_fpregset call. | |
4502 | (store_fpregs): Update fill_fpregset call. | |
4503 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
4504 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
4505 | (store_regs): Update fill_gregset call. | |
4506 | (fetch_fpregs): Update supply_fpregset call. | |
4507 | (store_fpregs): Update fill_fpregset call. | |
4508 | ||
4509 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
4510 | dependencies. | |
4511 | ||
c410a84c UW |
4512 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4513 | ||
4514 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
4515 | it instead of current_regcache. | |
4516 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
4517 | supply_register callback. | |
4518 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
4519 | parse_register_dump. | |
4520 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
4521 | parse_register_dump and dumpregs callback. | |
4522 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
4523 | monitor_dump_regs. | |
4524 | (monitor_fetch_register): Pass current_regcache to | |
4525 | monitor_supply_register. | |
4526 | (monitor_fetch_registers): Pass current_regcache to | |
4527 | monitor_dump_regs. | |
4528 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
4529 | supply_register and dumpregs callbacks. | |
4530 | (monitor_supply_register, monitor_dump_reg_block): Update | |
4531 | prototypes. | |
4532 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
4533 | it to monitor_supply_register. | |
4534 | * dink32-rom.c (dink32_supply_register): Likewise. | |
4535 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
4536 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
4537 | instead of current_regcache. | |
4538 | ||
468e3d51 UW |
4539 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4540 | ||
4541 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
4542 | Add REGCACHE parameter. Use it instead of current_regcache. | |
4543 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
4544 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
4545 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
4546 | of current_regcache. | |
4547 | ||
4548 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
4549 | nto_supply_ helper functions. | |
4550 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
4551 | ||
4552 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
4553 | ||
4554 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
4555 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
4556 | and regset_fill member function pointers. | |
4557 | (nto_dummy_supply_regset): Adapt prototype. | |
4558 | ||
4e3269e3 UW |
4559 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4560 | ||
4561 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
4562 | instead of current_regcache. Make REGS const. | |
4563 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
4564 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
4565 | prototypes. | |
4566 | * shnbsd-nat.c: Include "regcache.h". | |
4567 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
4568 | shnbsd_supply_reg. | |
4569 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
4570 | shnbsd_fill_reg. | |
4571 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
4572 | ||
28f5035f UW |
4573 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4574 | ||
4575 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
4576 | instead of current_regcache. | |
4577 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
4578 | Make GREGSETP const, remove superfluous casts. | |
4579 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
4580 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
4581 | superfluous casts. | |
4582 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
4583 | (supply_64bit_reg): Likewise | |
4584 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
4585 | Make GREGSETP const, adapt casts accordingly. | |
4586 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
4587 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
4588 | casts accordingly. | |
4589 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
4590 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
4591 | helper routines. | |
4592 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
4593 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
4594 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
4595 | Adapt prototypes. | |
4596 | * mips-linux-nat.c: Include "regcache.h". | |
4597 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
4598 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
4599 | (mips64_linux_regsets_fetch_registers): Likewise. | |
4600 | (mips64_linux_regsets_store_registers): Likewise. | |
4601 | ||
4602 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
4603 | REGCACHE argument; replace current_regcache. Make REGS const. | |
4604 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
4605 | replace current_regcache. | |
4606 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
4607 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
4608 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
4609 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
4610 | mipsnbsd_(supply|fill)_... helper routines. | |
4611 | ||
4612 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
4613 | ||
26144df5 UW |
4614 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4615 | ||
4616 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
4617 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
4618 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
4619 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
4620 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
4621 | * i386gnu-nat.c (store_fpregs): Likewise. | |
4622 | * i386v4-nat.c (fill_fpregset): Likewise. | |
4623 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
4624 | ||
c6b4e5a2 UW |
4625 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4626 | ||
4627 | * cris-tdep.c (supply_gregset): Rename to ... | |
4628 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
4629 | instead of current_regcache. | |
4630 | (fetch_core_registers): Update call. Pass current_regcache. | |
4631 | ||
d683e2b7 UW |
4632 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4633 | ||
4634 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
4635 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
4636 | Use it instead of current_regcache. | |
4637 | (supply_fparegset): Rename to ... | |
4638 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
4639 | Use it instead of current_regcache. | |
4640 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
4641 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
4642 | ||
390c1522 UW |
4643 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4644 | ||
4645 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
4646 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
4647 | use it instead of current_regcache. | |
4648 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
4649 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
4650 | alpha_fill_fp_regs): Update prototypes. | |
4651 | ||
4652 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
4653 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
4654 | * alpha-linux-nat.c: Include "regcache.h". | |
4655 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
4656 | current_regcache to alpha_supply/fill_ routines. | |
4657 | ||
4658 | * alphabsd-tdep.c: Include "regcache.h". | |
4659 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
4660 | pass it to alpha_supply_ routines. Make REGS const. | |
4661 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
4662 | pass it to alpha_fill_ routines. | |
4663 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
4664 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
4665 | alphabsd_fill_fpreg): Update prototypes. | |
4666 | ||
4667 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
4668 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
4669 | alphabsd_store_inferior_registers): Pass current_regcache to | |
4670 | alphabsd_supply/fill_ routines. | |
4671 | ||
4672 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
4673 | dependencies. | |
4674 | ||
647478e0 UW |
4675 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4676 | ||
4677 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
4678 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
4679 | instead of current_regcache. | |
4680 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
4681 | REGCACHE parameter, pass it to supply_ routines. | |
4682 | (aix_thread_fetch_registers): Pass current_regcache to | |
4683 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
4684 | ||
4685 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
4686 | Add REGCACHE parameter, use it instead of current_regcache. | |
4687 | Call regcache_valid_p instead of register_cached. | |
4688 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
4689 | Also, pass REGCACHE to fill_ routines. | |
4690 | (aix_thread_store_registers): Pass current_regcache to | |
4691 | store_regs_user_thread and store_regs_kernel_thread. | |
4692 | ||
d817e083 UW |
4693 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4694 | ||
4695 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
4696 | pointed to by GREGSETP. | |
4697 | ||
6a1872e4 UW |
4698 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
4699 | ||
4700 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
4701 | of regcache_raw_read_signed. | |
4702 | (fill_fpregset): Use regcache_raw_collect instead of | |
4703 | regcache_raw_read. | |
4704 | ||
6da397e0 KB |
4705 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
4706 | ||
4707 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
4708 | point arguments, test explicitly for use of the EABI32 ABI | |
4709 | instead of inferring this condition from tests on register | |
4710 | sizes. | |
4711 | ||
2219d63c KB |
4712 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
4713 | ||
4714 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
4715 | prior to allocating its location. | |
4716 | ||
2afd3f0a MR |
4717 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
4718 | ||
4719 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
4720 | based on mips_abi_regsize() whose result is known in advance. | |
4721 | (mips_o64_push_dummy_call): Likewise. | |
4722 | ||
3e00823e UW |
4723 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
4724 | ||
4725 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
4726 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
4727 | ||
4728 | * mips-linux-nat.c: Include "gregset.h". | |
4729 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
4730 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
4731 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
4732 | fill_fpregset): Move to mips-linux-nat.c. | |
4733 | ||
4734 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
4735 | ||
81c4a259 UW |
4736 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4737 | ||
4738 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
4739 | (read_register): ... here. | |
4740 | (deprecated_write_register_gen): Remove, inline ... | |
4741 | (write_register): ... here. | |
4742 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
4743 | (deprecated_write_register_gen): Likewise. | |
4744 | ||
4745 | * remote-sim.c (gdbsim_store_register): Replace call to | |
4746 | deprecated_read_register_gen with regcache_cooked_read. | |
4747 | * target.c (debug_print_register): Replace calls to | |
4748 | deprecated_read_register_gen and read_register with | |
4749 | regcache_cooked_read. | |
4750 | ||
8bb42077 UW |
4751 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4752 | ||
4753 | * hpux-thread.c (hpux_thread_store_registers): Use | |
4754 | regcache_raw_collect, not regcache_raw_read. | |
4755 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
4756 | not regcache_raw_write. | |
4757 | ||
6ed7ea50 UW |
4758 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4759 | ||
4760 | * gdbarch.sh: Remove deprecated_register_byte. | |
4761 | * gdbarch.c, gdbarch.h: Regenerate. | |
4762 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
4763 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
4764 | ||
4765 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
4766 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
4767 | read-only register caches. Make REGCACHE parameter const. | |
4768 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
4769 | ||
4770 | * mi/mi-main.c (old_regs): Remove. | |
4771 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
4772 | (register_changed_p): Reimplement to compare two register caches. | |
4773 | (mi_cmd_data_list_changed_registers): Update caller. | |
4774 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
4775 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
4776 | mi_setup_architecture_data. | |
4777 | ||
efc72ef5 UW |
4778 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4779 | ||
4780 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
4781 | inline definition at the places the macros are used. | |
4782 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
4783 | ||
7a61a01c UW |
4784 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4785 | ||
4786 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
4787 | "gdb_string.h". | |
4788 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
4789 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
4790 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
4791 | (rs6000_aix_regset_from_core_section): New function. | |
4792 | (rs6000_aix_init_osabi): Register it. | |
4793 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
4794 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
4795 | * rs6000-nat.c (CoreRegs): Do not define type. | |
4796 | (fetch_core_registers, rs6000_core_fns): Remove. | |
4797 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
4798 | (_initialize_rs6000_nat): ... this. | |
4799 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
4800 | ||
ace186d4 KB |
4801 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
4802 | ||
4803 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
4804 | (dwarf2_read_address): Sign extend return address as required by | |
4805 | target architecture. | |
4806 | ||
89a7ee67 KB |
4807 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
4808 | ||
4809 | * solib-frv.c (lm_base): Bail out if the main executable has | |
4810 | not been relocated. | |
4811 | ||
6afb1f32 UW |
4812 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4813 | ||
4814 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
4815 | of FPCR register in fpregset. | |
4816 | ||
66a0218a MR |
4817 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
4818 | ||
4819 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
4820 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
4821 | ||
482f7fee UW |
4822 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4823 | ||
4824 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
4825 | * rs6000-nat.c (rs6000_wait): New function. | |
4826 | (_initialize_core_rs6000): Install it as to_wait target method. | |
4827 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
4828 | ||
1f480a5e UW |
4829 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4830 | ||
4831 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
4832 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
4833 | * rs6000-nat.c (super_create_inferior): New variable. | |
4834 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
4835 | original version of create_inferior via super_create_inferior. | |
4836 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
4837 | ||
037a727e UW |
4838 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4839 | ||
4840 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
4841 | (aix_thread_xfer_partial): ... this. | |
4842 | (init_aix_thread_ops): Install to_xfer_partial instead | |
4843 | of deprecated_xfer_memory target method. | |
4844 | ||
4845 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
4846 | and inftarg.o, add inf-ptrace.o. | |
4847 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
4848 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
4849 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
4850 | (fetch_inferior_registers): Rename to ... | |
4851 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
4852 | (store_inferior_registers): Rename to ... | |
4853 | (rs6000_store_inferior_registers): ... this. Make static. | |
4854 | (read_word, child_xfer_memory): Remove. | |
4855 | (rs6000_xfer_partial): New function. | |
4856 | (kernel_u_size): Remove. | |
4857 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
4858 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
4859 | ||
f7dd0ed7 UW |
4860 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4861 | ||
4862 | * inf-ptrace.c: Include "gdb_stdint.h". | |
4863 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
4864 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
4865 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
4866 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
4867 | (inf_ptrace_store_register): Likewise. | |
4868 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
4869 | ||
d9178763 UW |
4870 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4871 | ||
4872 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
4873 | * configure.tgt (rs6000-*-*): Likewise. | |
4874 | * config/rs6000/aix4.mh: Delete file. | |
4875 | * config/rs6000/aix4.mt: Delete file. | |
4876 | * config/rs6000/rs6000.mh: Delete file. | |
4877 | * config/rs6000/rs6000.mt: Delete file. | |
4878 | ||
4879 | * config/powerpc/nm-aix.h: Delete file. | |
4880 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
4881 | ||
0d16ee5d UW |
4882 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4883 | ||
4884 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
4885 | Remove obsolete part of comment. | |
4886 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
4887 | fill_sprs32. | |
4888 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
4889 | correct size of struct ptsprs members. | |
4890 | (aix_thread_xfer_memory): Fix type of myaddr. | |
4891 | (aix_thread_extra_thread_info): Fix compiler warning. | |
4892 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
4893 | (fetch_register, store_register): Adapt callers. | |
4894 | ||
1e8877aa UW |
4895 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
4896 | ||
4897 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
4898 | ||
b02f9d57 UW |
4899 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
4900 | ||
4901 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
4902 | and "regcache.h". | |
4903 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
4904 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
4905 | (alpha_linux_regset_from_core_section): New function. | |
4906 | (alpha_linux_init_abi): Install it. | |
4907 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
4908 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
4909 | <sys/procfs.h>, and "gregset.h". | |
4910 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
4911 | Move from config/alpha/nm-linux.h. | |
4912 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
4913 | from alpha-nat.c. | |
4914 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
4915 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
4916 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
4917 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
4918 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
4919 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
4920 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4921 | (NATDEPFILES): Remove alpha-nat.o. | |
4922 | * config/alpha/nm-linux.h: Delete file. | |
4923 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
4924 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
4925 | (alpha-linux-tdep.o): Likewise. | |
4926 | ||
dda0c97e UW |
4927 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
4928 | ||
4929 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
4930 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
4931 | (mips64_linux_register_addr): Likewise. | |
4932 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
4933 | mips64_linux_register_addr instead of register_addr. | |
4934 | * mips-linux-tdep.c (mips_linux_register_addr, | |
4935 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
4936 | (register_addr): Remove. | |
4937 | (register_addr_data, init_register_addr_data): Remove. | |
4938 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
4939 | (set_mips_linux_register_addr): Remove. | |
4940 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
4941 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
4942 | ||
910122bf UW |
4943 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
4944 | ||
4945 | * linux-nat.c (linux_register_u_offset): Remove. | |
4946 | (linux_target_install_ops): New function. | |
4947 | (linux_target): Use it. | |
4948 | (linux_trad_target): New function. | |
4949 | * linux-nat.h (linux_trad_target): Declare. | |
4950 | ||
4951 | * alpha-linux-nat.c: Include "gdbcore.h". | |
4952 | (alpha_linux_register_u_offset): New function. | |
4953 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
4954 | ||
4955 | * mips-linux-nat.c: Include "gdbcore.h". | |
4956 | (mips_linux_register_u_offset): New function. | |
4957 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
4958 | ||
4959 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4960 | * config/arm/nm-linux.h: Delete file. | |
4961 | ||
4962 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
4963 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
4964 | ||
4965 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4966 | * config/ia64/nm-linux.h: Delete file. | |
4967 | ||
4968 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4969 | * config/m32r/nm-linux.h: Delete file. | |
4970 | ||
4971 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4972 | * config/m68k/nm-linux.h: Delete file. | |
4973 | ||
4974 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4975 | * config/pa/nm-linux.h: Delete file. | |
4976 | ||
4977 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4978 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
4979 | * config/powerpc/nm-linux.h: Delete file. | |
4980 | ||
4981 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
4982 | * config/s390/nm-linux.h: Delete file. | |
4983 | ||
4984 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4985 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
4986 | * config/sparc/nm-linux.h: Delete file. | |
4987 | ||
4988 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
4989 | (mips-linux-nat.o): Likewise. | |
4990 | ||
de732108 UW |
4991 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
4992 | ||
4993 | * core-aout.c: Delete file. | |
4994 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
4995 | (core-aout.o): Delete rule. | |
4996 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
4997 | ||
4998 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
4999 | ||
5000 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
5001 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
5002 | KERNEL_U_ADDR): Remove. | |
5003 | ||
5004 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
5005 | (cannot_fetch_register, cannot_store_register): Remove. | |
5006 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
5007 | (store_register): Inline cannot_store_register and register_addr. | |
5008 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
5009 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
5010 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
5011 | Remove. | |
5012 | ||
5013 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
5014 | (fetch_register): Inline register_addr. | |
5015 | (store_register): Inline register_addr. | |
5016 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
5017 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
5018 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
5019 | ||
5020 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
5021 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
5022 | REGISTER_U_ADDR): Remove. | |
5023 | ||
5024 | * hppa-linux-nat.c (register_addr): Rename to ... | |
5025 | (hppa_linux_register_addr): ... this. Make static. | |
5026 | (fetch_register, store_register): Adapt callers. | |
5027 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
5028 | ||
5029 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
5030 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
5031 | ||
5032 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
5033 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
5034 | (NAT_FILE): Remove. | |
5035 | * config/vax/nm-vax.h: Delete file. | |
5036 | ||
1f90c757 MS |
5037 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
5038 | ||
5039 | * MAINTAINERS (Write After Approval): Add myself. | |
5040 | ||
bf1242a5 MS |
5041 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
5042 | ||
5043 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
5044 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
5045 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
5046 | (target_is_uclinux): New. | |
5047 | (m68k_linux_inferior_created): New. | |
5048 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
5049 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
5050 | uClinux. | |
5051 | (_initialize_m68k_linux_tdep): Register | |
5052 | m68k_linux_inferior_created. | |
5053 | ||
96998ce7 PA |
5054 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
5055 | ||
5056 | * win32-nat.c (win32_detach): Remove delete_command call. | |
5057 | Resume inferior with win32_resume instead of win32_continue. | |
5058 | ||
7e71daaa JG |
5059 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
5060 | ||
5061 | * ser-mingw.c (fd_is_file): New function. | |
5062 | (file_select_thread): New function. | |
5063 | (ser_console_wait_handle): Add special handling for files. | |
5064 | ||
3d1f72c2 DP |
5065 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
5066 | ||
5067 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
5068 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
5069 | return from die_type. | |
5070 | ||
9ecf7166 MR |
5071 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
5072 | ||
5073 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
5074 | change to rearrange some brackets. | |
5075 | (mips_n32n64_push_dummy_call): Likewise. | |
5076 | (mips_o32_push_dummy_call): Likewise. | |
5077 | (mips_o64_push_dummy_call): Likewise. | |
5078 | ||
b79599ff DP |
5079 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
5080 | ||
5081 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 5082 | target_terminal_ours. |
b79599ff | 5083 | |
06f9a1af MR |
5084 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
5085 | ||
5086 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
5087 | brackets. | |
5088 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
5089 | expressions. | |
5090 | (mips_o32_push_dummy_call): Likewise. | |
5091 | (mips_o64_push_dummy_call): Likewise. | |
5092 | ||
ad018eee MR |
5093 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
5094 | ||
5095 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
5096 | comment. | |
5097 | ||
e914cb17 MR |
5098 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
5099 | ||
5100 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
5101 | comment. | |
5102 | (mips_o32_push_dummy_call): Likewise. | |
5103 | ||
91934273 AS |
5104 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
5105 | ||
5106 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
5107 | sal to be bigger than the end of the function. | |
5108 | ||
968b5391 MR |
5109 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
5110 | Nigel Stephens <nigel@mips.com> | |
5111 | ||
5112 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
5113 | argument alignment requirements when calculating stack space | |
5114 | required. When aligning an arg register to eight bytes | |
5115 | boundary, align stack_offset too. Write floating-point | |
5116 | arguments to the appropriate integer register if need go there. | |
5117 | (mips_o64_push_dummy_call): Likewise. | |
5118 | ||
e0cd558a UW |
5119 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
5120 | ||
5121 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
5122 | "sig" arguments, add "regcache" argument. | |
5123 | * gdbarch.c, gdbarch.h: Regenerate. | |
5124 | ||
5125 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
5126 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
5127 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
5128 | ||
5129 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
5130 | Remove handling of !insert_breakpoints_p case. | |
5131 | * arm-tdep.c (arm_software_single_step): Likewise. | |
5132 | * cris-tdep.c (cris_software_single_step): Likewise. | |
5133 | * mips-tdep.c (mips_software_single_step): Likewise. | |
5134 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
5135 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
5136 | * spu-tdep.c (spu_software_single_step): Likewise. | |
5137 | ||
5138 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
5139 | * mips-tdep.h (mips_software_single_step): Likewise. | |
5140 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
5141 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
5142 | ||
06a86285 UW |
5143 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
5144 | ||
5145 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
5146 | when removing single-step breakpoints. | |
5147 | ||
25d5ea92 VP |
5148 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
5149 | ||
5150 | * varobj.h (varobj_set_frozen): New | |
5151 | (varobj_get_frozen): New. | |
5152 | (varobj_update): New parameter explicit. | |
5153 | * varobj.c (struct varobj): New fields frozen | |
5154 | and not_fetched. | |
5155 | (varobj_set_frozen, varobj_get_frozen): New. | |
5156 | (install_new_value): Don't fetch values for | |
5157 | frozen variable object, or children thereof. Allow | |
5158 | a frozen variable object to have non-fetched value. | |
5159 | (varobj_update): Allow updating child variables. | |
5160 | Don't traverse frozen children. | |
5161 | (new_variable): Initialize the frozen field. | |
5162 | (c_value_of_variable): Return NULL for frozen | |
5163 | variable without any value yet. | |
5164 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
5165 | 'explicit'. | |
5166 | (mi_cmd_var_create): Output the 'frozen' field, | |
5167 | as soon as testsuite is adjusted to expect that field. | |
5168 | (mi_cmd_var_set_frozen): New. | |
5169 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
5170 | varobj_update_one. | |
5171 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
5172 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
5173 | ||
6e3bbd1a PB |
5174 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
5175 | ||
5176 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
5177 | ieee_double. | |
5178 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
5179 | ||
ea35711c DJ |
5180 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5181 | ||
5182 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
5183 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
5184 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
5185 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
5186 | * Makefile.in: Remove references to deleted files. | |
5187 | * README: Do not mention deleted ROM monitor interfaces. | |
5188 | * defs.h (enum language): Delete language_scm. | |
5189 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
5190 | (dump_subexp_body_standard): Likewise. | |
5191 | * parse.c (operator_length_standard): Likewise. | |
5192 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
5193 | * remote-mips.c: Do not include remote-utils.h. | |
5194 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
5195 | throughout. | |
5196 | * value.c: Do not include scm-lang.h. | |
5197 | (unpack_long): Delete scm_unpack call. | |
5198 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
5199 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
5200 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
5201 | deleted files. | |
5202 | * NEWS: Mention removed files. | |
5203 | ||
058b9c07 DJ |
5204 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5205 | ||
5206 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
5207 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
5208 | ||
54d61198 DJ |
5209 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5210 | ||
5211 | * NEWS: Mention removal of HP aCC support. | |
5212 | ||
e499d0f1 DJ |
5213 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5214 | ||
5215 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
5216 | first entry for static executables. | |
5217 | (breakpoint_addr): Delete unused variable. | |
5218 | (elf_locate_base): Search for _r_debug in static executables. | |
5219 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
5220 | also. | |
5221 | ||
4d5b2cd7 DJ |
5222 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5223 | ||
5224 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
5225 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
5226 | (mention): Remove bp_through_sigtramp support. | |
5227 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
5228 | ||
46d57086 DJ |
5229 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5230 | ||
5231 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
5232 | shlib events. | |
5233 | ||
d3169d93 DJ |
5234 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
5235 | ||
5236 | * infrun.c: Doc fixes. | |
5237 | (handle_inferior_event): Clarify debug message. | |
5238 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
5239 | ||
8c9e4384 UW |
5240 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
5241 | ||
5242 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
5243 | ||
9418f048 UW |
5244 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
5245 | ||
5246 | * config/m68k/tm-monitor.h: Delete file. | |
5247 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
5248 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
5249 | call moved to ... | |
5250 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
5251 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
5252 | ||
e6590a1b UW |
5253 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
5254 | ||
5255 | * gdbarch.sh (software_single_step): Change the return type | |
5256 | from void to int and reformatted some comments to <= 80 | |
5257 | columns. | |
5258 | * gdbarch.c, gdbarch.h: Regenerated. | |
5259 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
5260 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
5261 | * arm-tdep.c (arm_software_single_step): Likewise. | |
5262 | * cris-tdep.c (cris_software_single_step): Likewise. | |
5263 | * mips-tdep.c (mips_software_single_step): Likewise. | |
5264 | * mips-tdep.h (mips_software_single_step): Likewise. | |
5265 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
5266 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
5267 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
5268 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
5269 | * spu-tdep.c (spu_software_single_step): Likewise. | |
5270 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
5271 | and act accordingly. | |
5272 | ||
58b38ee2 SE |
5273 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
5274 | ||
5275 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
5276 | * configure: Regenerate. | |
5277 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
5278 | ||
70f575cc JK |
5279 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
5280 | ||
5281 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
5282 | ||
d77b6808 JK |
5283 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
5284 | ||
5285 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
5286 | macros. | |
5287 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
5288 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
5289 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
5290 | ||
b0b92586 JB |
5291 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
5292 | ||
5293 | * sparc-tdep.c (X_RS2): New macro. | |
5294 | (sparc_skip_stack_check): New function. | |
5295 | (sparc_analyze_prologue): Adjust PC past stack probing | |
5296 | sequence if necessary. | |
5297 | ||
a489f789 AS |
5298 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
5299 | ||
5300 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
5301 | register. | |
5302 | ||
b0b13bb4 DJ |
5303 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
5304 | ||
5305 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
5306 | enum gdb_rc. | |
5307 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
5308 | * thread.c (gdb_list_thread_ids): Likewise. |
5309 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
5310 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
5311 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
5312 | ||
1a92f856 DJ |
5313 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
5314 | ||
5315 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
5316 | (COMMON_OBS): Remove hpacc-abi.o. | |
5317 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
5318 | (hpacc-abi.o, hpread.o): Delete rules. | |
5319 | * somread.c: Delete extern declarations from hpread.c. | |
5320 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
5321 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
5322 | (som_symfile_init): Do not call hpread_symfile_init. | |
5323 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
5324 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
5325 | * hpacc-abi.c, hpread.c: Deleted. | |
5326 | ||
542c95c2 DJ |
5327 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
5328 | ||
5329 | * solib-svr4.c (enable_break): Simplify return value. | |
5330 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
5331 | ||
cfaefc65 AS |
5332 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
5333 | ||
5334 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
5335 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
5336 | ||
5337 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
5338 | to extract addresses from link map. | |
5339 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
5340 | (LM_NEXT): Likewise. | |
5341 | (LM_NAME): Likewise. | |
5342 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
5343 | (elf_locate_base): Likewise. | |
5344 | (open_symbol_file_object): Likewise. | |
5345 | (svr4_fetch_objfile_link_map): Likewise. | |
5346 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
5347 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
5348 | l_ld_size. | |
5349 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
5350 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
5351 | ||
5352 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
5353 | removed members. Set l_ld_offset to -1 if not present. | |
5354 | ||
65cc4390 VP |
5355 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
5356 | ||
5357 | Pass stderr of program run with "target remote |" | |
5358 | via gdb_stderr. | |
5359 | * serial.c (serial_open): Set error_fd to -1. | |
5360 | * serial.h (struct serial): New field error_fd. | |
5361 | (struct serial_opts): New field avail. | |
5362 | * ser-pipe.c (pipe_open): Create another pair | |
5363 | of sockets. Pass stderr to gdb. | |
5364 | * ser-mingw.c (pipe_windows_open): Pass | |
5365 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
5366 | sd->error_fd. | |
5367 | (pipe_avail): New. | |
5368 | (_initialize_ser_windows): Hook pipe_avail. | |
5369 | * ser-base.c (generic_readchar): Check if there's | |
5370 | anything in stderr channel and route that to gdb_stderr. | |
5371 | ||
e9112110 PA |
5372 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
5373 | ||
5374 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
5375 | clearing to after end_stabs. | |
5376 | ||
7f68ac27 AS |
5377 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
5378 | ||
5379 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
5380 | gdbarch instead of current_gdbarch. | |
5381 | ||
e55dccf0 VP |
5382 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
5383 | ||
5384 | * varobj.c (varobj_create): Keep varobj value | |
5385 | NULL when evaluating the type. | |
5386 | ||
7c963485 PA |
5387 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
5388 | ||
5389 | * NEWS: Mention new Windows CE support. | |
5390 | ||
ad527d2e PA |
5391 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
5392 | ||
5393 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
5394 | the obsoletion stanza. | |
5395 | * NEWS: Mention deleted targets. | |
5396 | ||
5397 | * config/sh/tm-wince.h: Remove. | |
5398 | * config/sh/wince.mt: Remove. | |
5399 | * config/mips/tm-wince.h: Remove. | |
5400 | * config/mips/wince.mt: Remove. | |
5401 | ||
5402 | * wince.c: Remove. | |
5403 | * wince-stub.c: Remove. | |
5404 | * wince-stub.h: Remove. | |
5405 | * Makefile.in (wince.o): Remove rule. | |
5406 | (wince-stub.o): Likewise. | |
5407 | ||
5408 | * mips-tdep.c (mips_next_pc): Make static. | |
5409 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
5410 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
5411 | (thumb_get_next_pc): Likewise. | |
5412 | (arm_get_next_pc): Likewise. | |
5413 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
5414 | (arm_pc_is_thumb): Likewise. | |
5415 | (thumb_get_next_pc): Likewise. | |
5416 | (arm_get_next_pc): Likewise. | |
5417 | ||
7ce59000 DJ |
5418 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
5419 | ||
5420 | * MAINTAINERS: Remove d10v entry. | |
5421 | * Makefile.in (SFILES): Remove dwarfread.c. | |
5422 | (COMMON_OBS): Remove dwarfread.o. | |
5423 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
5424 | (remote-est.o, rom68k-rom.o): Delete. | |
5425 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
5426 | target est, target rom68k, and DWARF 1. | |
5427 | * configure.tgt: Mark d10v as removed. | |
5428 | * dwarf2read.c: Doc update. | |
5429 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
5430 | and lnsize. | |
5431 | (elf_locate_sections): Do not set them. | |
5432 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
5433 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
5434 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
5435 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
5436 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
5437 | ||
20389057 DJ |
5438 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
5439 | ||
5440 | * doublest.c (convert_floatformat_to_doublest): Use | |
5441 | floatformat_classify. | |
5442 | (floatformat_is_nan): Rename to... | |
5443 | (floatformat_classify): ...this. Return more information. | |
5444 | * doublest.h (enum float_kind): New. | |
5445 | (floatformat_is_nan): Replace prototype... | |
5446 | (floatformat_classify): ...with this one. | |
5447 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
5448 | infinity. | |
5449 | ||
30b50213 DJ |
5450 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
5451 | ||
5452 | * README: Mention ISO C library requirement. | |
5453 | ||
8807d78b DJ |
5454 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
5455 | ||
5456 | * Makefile.in (SFILES): Remove nlmread.c. | |
5457 | (COMMON_OBS): Remove nlmread.o. | |
5458 | (nlmread.o): Delete rule. | |
5459 | * README: Delete reference to remote-st.c. | |
5460 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
5461 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
5462 | GDB_OSABI_LYNXOS. | |
5463 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
5464 | (_initialize_i386_tdep): Do not reference them. | |
5465 | * nlmread.c: Delete file. | |
5466 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
5467 | * target.c: Doc update. | |
5468 | * thread.c: Delete commented include. | |
5469 | * config/alpha/tm-alpha.h: Doc update. | |
5470 | ||
ced572fe MR |
5471 | 2007-03-30 Chris Dearman <chris@mips.com> |
5472 | ||
5473 | * utils.c (string_to_core_addr): Comment typo. | |
5474 | ||
8a9fc081 MR |
5475 | 2007-03-30 Chris Dearman <chris@mips.com> |
5476 | ||
5477 | * mips-tdep.c: Comment typo. | |
5478 | ||
5f402660 UW |
5479 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
5480 | ||
5481 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
5482 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
5483 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
5484 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
5485 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
5486 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
5487 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
5488 | * infptrace.c (call_ptrace): Likewise. | |
5489 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
5490 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
5491 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
5492 | (store_register): Likewise. | |
5493 | ||
bbf90c81 JB |
5494 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
5495 | ||
5496 | * Makefile.in (varobj.o): Add missing dependency. | |
5497 | ||
243c053b MS |
5498 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
5499 | ||
5500 | * MAINTAINERS: Update my email address. | |
5501 | ||
0259addd JB |
5502 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
5503 | ||
5504 | Add support for exception handling with multiple versions of | |
5505 | the Ada runtime: | |
5506 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
5507 | are implemented. | |
5508 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
5509 | (__gnat_raise_nodefer_with_msg): Delete. | |
5510 | (ada_unhandled_exception_name_addr_ftype): New type. | |
5511 | (exception_support_info): New type. | |
5512 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
5513 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
5514 | (default_exception_support_info): New constant. | |
5515 | (exception_support_info_fallback): Likewise. | |
5516 | (exception_info): New global variable. | |
5517 | (ada_exception_support_info_sniffer): New function. | |
5518 | (ada_executable_changed_observer): Likewise. | |
5519 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
5520 | ada_unhandled_exception_name_addr. | |
5521 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
5522 | latest Ada runtime implementation. | |
5523 | (error_breakpoint_runtime_sym_not_found): Delete. | |
5524 | (ada_exception_sym_name): Get the exception sym name from | |
5525 | exception_info rather than hardcoding it. | |
5526 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
5527 | Update error handling. | |
5528 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
5529 | ||
483367ee DJ |
5530 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
5531 | ||
5532 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
5533 | (remote-st.o, uw-thread.o): Delete. | |
5534 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
5535 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
5536 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
5537 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
5538 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
5539 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
5540 | rs6000-*-lynxos* to an obsoletion stanza. | |
5541 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
5542 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
5543 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
5544 | i[34567]86-*-netware*. | |
5545 | * NEWS: Mention deleted targets. | |
5546 | ||
5547 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
5548 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
5549 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
5550 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
5551 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
5552 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
5553 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
5554 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
5555 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
5556 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
5557 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
5558 | config/rs6000/tm-rs6000ly.h: Delete files. | |
5559 | ||
3adda9d8 DJ |
5560 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
5561 | ||
5562 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
5563 | * interps.c (clear_interpreter_hooks): Do not clear | |
5564 | deprecated_registers_changed_hook. | |
5565 | * regcache.c (registers_changed): Do not call it. | |
5566 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
5567 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
5568 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
5569 | (tui_remove_hooks): Do not remove it. | |
5570 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
5571 | Use get_selected_frame. | |
5572 | (tui_registers_changed_hook): Deleted. | |
5573 | ||
bf362611 JB |
5574 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
5575 | ||
5576 | * stabsread.c (add_undefined_type): Add extra parameter. | |
5577 | Now handles nameless types separately. | |
5578 | (struct nat): New type. | |
5579 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
5580 | New static variables. | |
5581 | (read_type): Update calls to add_undefined_type. | |
5582 | (add_undefined_type_noname): New function. | |
5583 | (add_undefined_type_1): Renames from add_undefined_type. | |
5584 | (cleanup_undefined_types_noname): New function. | |
5585 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
5586 | (cleanup_undefined_types): New handles nameless types separately. | |
5587 | (_initialize_stabsread): Initialize our new static constants. | |
5588 | ||
436868fb DP |
5589 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
5590 | ||
5591 | * configure.ac: Test for signal.h. | |
5592 | * configure, config.in: Regenerate. | |
5593 | ||
aaf9e9fd DP |
5594 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
5595 | ||
5596 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
5597 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
5598 | ||
68070c10 PA |
5599 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
5600 | ||
5601 | * arm-wince-tdep.c: New. | |
5602 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
5603 | (MT_CFLAGS): Delete. | |
5604 | (TM_CLIBS): Delete. | |
5605 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
5606 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
5607 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
5608 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
5609 | (do_target_signal_to_host): Silence 'not used' warning. | |
5610 | * config/arm/tm-wince.h: Remove. | |
5611 | ||
74174d2e UW |
5612 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
5613 | ||
5614 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
5615 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
5616 | ||
5617 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
5618 | * config/ia64/tm-linux.h: Remove file. | |
5619 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
5620 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
5621 | legacy_pc_in_sigtramp. | |
5622 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
5623 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
5624 | Remove func_name argument. | |
5625 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
5626 | ||
5627 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
5628 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
5629 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
5630 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
5631 | ||
5632 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
5633 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
5634 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
5635 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
5636 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
5637 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
5638 | (FETCH_INFERIOR_REGISTERS): Define. | |
5639 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
5640 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
5641 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
5642 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
5643 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
5644 | (ia64_linux_stopped_by_watchpoint): Make static. | |
5645 | (ia64_linux_can_use_hw_breakpoint): New function. | |
5646 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
5647 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
5648 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
5649 | ||
53c5240f PA |
5650 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
5651 | ||
5652 | * linespec.c: Include language.h. | |
5653 | (find_methods): Add language parameter. Call | |
5654 | lookup_symbol_in_language. Pass language down. | |
5655 | (add_matching_methods): Likewise. Call | |
5656 | lookup_symbol_in_language. | |
5657 | (add_constructors): Likewise. | |
5658 | (find_method): Pass sym_class to collect_methods. | |
5659 | (collect_methods): Add sym_class parameter. Pass language | |
5660 | down. | |
5661 | * symtab.c (lookup_symbol): Rename to ... | |
5662 | (lookup_symbol_in_language): ... this. Add language | |
5663 | parameter. Use passed language instead of current_language. | |
5664 | (lookup_symbol): New as wrapper around | |
5665 | lookup_symbol_in_language. | |
5666 | (lookup_symbol_aux): Add language parameter. Use passed | |
5667 | language instead of current_language. | |
5668 | (search_symbols): Indent. | |
5669 | * symtab.h (enum language): Forward declare. | |
5670 | (lookup_symbol_in_language): Declare. | |
5671 | (lookup_symbol): Update description. | |
5672 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
5673 | * ada-lang.c (restore_language): Remove. | |
5674 | (lookup_symbol_in_language): Remove. | |
5675 | ||
8671a17b PA |
5676 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
5677 | ||
5678 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
5679 | * breakpoint.h (bpstat_num): Likewise. | |
5680 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
5681 | interface. | |
5682 | (program_info): Likewise. | |
5683 | ||
214197f9 UW |
5684 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
5685 | ||
5686 | * config/sh/tm-sh.h: Remove file. | |
5687 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
5688 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
5689 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
5690 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
5691 | ||
bac718a6 UW |
5692 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
5693 | ||
5694 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
5695 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
5696 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
5697 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
5698 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
5699 | sequence if target_shortname is "remote". | |
5700 | ||
de6a76fd DJ |
5701 | 2007-03-27 Anton Blanchard <anton@samba.org> |
5702 | ||
5703 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
5704 | instead of wordsize when looking for the LR in a stack frame. | |
5705 | ||
4fc771b8 DJ |
5706 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
5707 | Daniel Jacobowitz <dan@codesourcery.com> | |
5708 | ||
5709 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
5710 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
5711 | argument. Update all callers. | |
5712 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
5713 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
5714 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
5715 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
5716 | (dwarf2_frame_set_adjust_regnum): ...this. | |
5717 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
5718 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
5719 | (rs6000_adjust_frame_regnum): Define. | |
5720 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
5721 | Register rs6000_adjust_frame_regnum. | |
5722 | ||
5723 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
5724 | ||
9453113a DJ |
5725 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
5726 | ||
5727 | * Makefile.in: Add support for a "pdf" target. | |
5728 | ||
d2449ee8 DJ |
5729 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
5730 | ||
5731 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
5732 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
5733 | ||
a72d8a8e MR |
5734 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
5735 | Maciej W. Rozycki <macro@mips.com> | |
5736 | ||
5737 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
5738 | TARGET_ADDR_BIT size before printing. | |
5739 | ||
5200c3f3 | 5740 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
a72d8a8e | 5741 | Maciej W. Rozycki <macro@mips.com> |
5200c3f3 L |
5742 | |
5743 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
5744 | ||
16708cba JB |
5745 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
5746 | ||
5747 | * symfile.h: #include "symtab.h" | |
5748 | ||
0fe514e3 DP |
5749 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
5750 | ||
5751 | * utils.c (pagination_on_command, pagination_off_command): | |
5752 | Remove useless prototypes. | |
5753 | ||
4a52dc15 PM |
5754 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
5755 | ||
5756 | Fix PR pascal/2232. | |
5757 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
5758 | instead of TYPE_NAME for object base class name. | |
5759 | ||
5760 | ||
1c86fa97 KB |
5761 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
5762 | ||
5763 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
5764 | Specify frame type in calls to frame_func_unwind(). | |
5765 | ||
4e463ff5 DJ |
5766 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
5767 | ||
5768 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
5769 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
5770 | (refine_prologue_limit): Delete. | |
5771 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
5772 | Assume lim_pc is set. Correct check for incomplete prologues. | |
5773 | Do not skip clobbers of the frame pointer. | |
5774 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
5775 | sal. | |
5776 | ||
348473d5 NF |
5777 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
5778 | ||
5779 | * frame.c (frame_pop): Check to see whether there's a frame to | |
5780 | which we can pop first. | |
5781 | ||
a2f9cf0d NF |
5782 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
5783 | ||
5784 | * MAINTAINERS (Write After Approval): Add myself. | |
5785 | ||
569631c6 UW |
5786 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
5787 | ||
5788 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
5789 | (handle_inferior_event): Remove unnecessary braces. | |
5790 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
5791 | ||
fe5febed UW |
5792 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
5793 | ||
5794 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
5795 | (spu_gdbarch_init): Install it. | |
5796 | ||
9dea8ca2 UW |
5797 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
5798 | ||
5799 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
5800 | object types, not 0. | |
5801 | ||
7b3dc0b7 UW |
5802 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
5803 | ||
5804 | * spu-tdep.c (spu_frame_align): New function. | |
5805 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
5806 | ||
118dfbaf UW |
5807 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
5808 | ||
5809 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
5810 | (spu_software_single_step): Likewise. | |
5811 | (spu_read_pc, spu_write_pc): New functions. | |
5812 | (spu_gdbarch_init): Install them. | |
5813 | ||
29e4017d UW |
5814 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
5815 | ||
5816 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
5817 | have signed long type. | |
5818 | ||
6de5b849 JB |
5819 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
5820 | ||
5821 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
5822 | Revert the previous change that had some unexpected side-effects | |
5823 | on mips32. | |
5824 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
5825 | function to get the address of the calling instruction. | |
5826 | ||
7490ba4f DP |
5827 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
5828 | ||
5829 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
5830 | get_selected_frame by deprecated_safe_get_selected_frame. | |
5831 | ||
861fb77c MK |
5832 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
5833 | ||
5834 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
5835 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
5836 | (SIZEOF_STRUCT_REG): Remove. | |
5837 | (SHNBSD_SIZEOF_GREGS): New. | |
5838 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
5839 | (shnbsd_regset_from_core_section): New functions. | |
5840 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
5841 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
5842 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
5843 | (shnbsd_gregset): New variable. | |
5844 | (shnbsd_init_abi): Set regset_from_core_section. | |
5845 | (GDB_OSABI_NETBSD_CORE): New define. | |
5846 | (shnbsd_core_osabi_sniffer): New function. | |
5847 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
5848 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
5849 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
5850 | nbsd-tdep.o. | |
5851 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
5852 | ||
787cbe14 JB |
5853 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
5854 | ||
5855 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
5856 | length of the types referenced by the new type CV ring. | |
5857 | ||
35f196d9 DJ |
5858 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
5859 | ||
5860 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
5861 | reinit_frame_cache. | |
5862 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
5863 | old implementation. | |
5864 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
5865 | ||
5866 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
5867 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
5868 | select_frame after reinit_frame_cache. | |
5869 | * corelow.c (core_open): Likewise. | |
5870 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
5871 | * infrun.c (prepare_to_proceed, context_switch) | |
5872 | (handle_inferior_event): Likewise. | |
5873 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
5874 | * ocd.c (ocd_start_remote): Likewise. | |
5875 | * remote-e7000.c (e7000_start_remote): Likewise. | |
5876 | * remote-mips.c (device): Likewise. | |
5877 | * thread.c (switch_to_thread): Likewise. | |
5878 | * tracepoint.c (finish_tfind_command): Likewise. | |
5879 | * gdbarch.c: Regenerated. | |
5880 | ||
c26f2453 JB |
5881 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
5882 | Joel Brobecker <brobecker@adacore.com> | |
5883 | ||
5884 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
5885 | the resolved type is not defined in the same objfile. | |
5886 | ||
7d900f1a DJ |
5887 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
5888 | ||
5889 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
5890 | ||
76038652 | 5891 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
52eea4ce JB |
5892 | |
5893 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
5894 | symbol for Ada units when the symbol is defined using 't' rather | |
5895 | than 'Tt' as symbol descriptor. | |
5896 | ||
d74fb156 | 5897 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1344afe0 UW |
5898 | |
5899 | * config/mips/tm-nbsd.h: Delete file. | |
5900 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
5901 | * config/sh/tm-nbsd.h: Delete file. | |
5902 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
5903 | ||
f8d225db JB |
5904 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
5905 | ||
5906 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
5907 | unused WRONG_PARAM value since it was recently deleted. | |
5908 | ||
1bbfb19a NR |
5909 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
5910 | ||
5911 | * varobj.c (varobj_update): Free temporary vectors. | |
5912 | ||
6f7f3f0d UW |
5913 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
5914 | ||
5915 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
5916 | * config/powerpc/tm-linux.h: Delete file. | |
5917 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
5918 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
5919 | (TEXT_SEGMENT_BASE): Do not redefine. | |
5920 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
5921 | from config/rs6000/tm-rs6000.h. | |
5922 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
5923 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
5924 | (TEXT_SEGMENT_BASE): Remove. | |
5925 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
5926 | (rs6000_in_solib_return_trampoline): Remove. | |
5927 | (SKIP_TRAMPOLINE_CODE): Remove. | |
5928 | (rs6000_skip_trampoline_code): Remove. | |
5929 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
5930 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
5931 | (FP0_REGNUM): Remove. | |
5932 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
5933 | (rs6000_set_host_arch_hook): Remove. | |
5934 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
5935 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
5936 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
5937 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
5938 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
5939 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
5940 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
5941 | (set_host_arch): Rename to ... | |
5942 | (rs6000_create_inferior): ... this. Make public. | |
5943 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
5944 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
5945 | (rs6000_create_inferior): Remove. | |
5946 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
5947 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
5948 | set_gdbarch_in_solib_return_trampoline, and | |
5949 | set_gdbarch_skip_trampoline_code. | |
5950 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
5951 | from config/rs6000/tm-rs6000.h. | |
5952 | ||
63050a44 | 5953 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
05279ca0 JB |
5954 | |
5955 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
5956 | ||
63050a44 | 5957 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
e0b75a46 NR |
5958 | |
5959 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
5960 | to check changelist is non-NULL. Call error if the frontend tries | |
5961 | to update a non-root variable. | |
5962 | ||
5963 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
5964 | ||
93d42b30 DJ |
5965 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
5966 | ||
5967 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
5968 | (dwarf2_frame_sniffer): Update. | |
5969 | (dwarf2_signal_frame_this_id): New function. | |
5970 | (dwarf2_signal_frame_unwind): Use it. | |
5971 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
5972 | * frame.c (frame_func_unwind): Add this_type argument. | |
5973 | (get_frame_func): Update. | |
5974 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
5975 | Fix a typo. | |
5976 | (get_frame_address_in_block): Update. | |
5977 | * frame.h (enum frame_type): Move higher in the file. | |
5978 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
5979 | argument. | |
5980 | ||
5981 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
5982 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
5983 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
5984 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
5985 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
5986 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
5987 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
5988 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
5989 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
5990 | frame_func_unwind and frame_unwind_address_in_block to specify | |
5991 | the frame type. Use frame_unwind_address_in_block instead of | |
5992 | frame_pc_unwind in sniffers. | |
5993 | ||
206415a3 DJ |
5994 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
5995 | ||
5996 | * frame.c (deprecated_selected_frame): Rename to... | |
5997 | (selected_frame): ...this. Make static. | |
5998 | (get_selected_frame, select_frame): Update. | |
5999 | * frame.h (deprected_select_frame): Delete. | |
6000 | (deprecated_safe_get_selected_frame): Update comments. | |
6001 | ||
6002 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
6003 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
6004 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
6005 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
6006 | tui/tui.c: Replace references to deprecated_selected_frame. | |
6007 | ||
7313566f FF |
6008 | 2007-02-27 Fred Fish <fnf@specifix.com> |
6009 | ||
6010 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
6011 | directly decrement the stack pointer, accumulate their operand into | |
6012 | the stack offset, and mark the function as not being frameless. | |
6013 | ||
b6d373df DJ |
6014 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
6015 | ||
6016 | * arch-utils.c (selected_byte_order): New. | |
6017 | * arch-utils.h (selected_byte_order): New prototype. | |
6018 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
6019 | ||
2711e456 DJ |
6020 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
6021 | ||
6022 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
6023 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
6024 | ||
baef701f DJ |
6025 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
6026 | ||
6027 | * remote.c (init_remote_state): Add special handling for placeholder | |
6028 | registers. | |
6029 | ||
05a4558a DJ |
6030 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
6031 | ||
6032 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
6033 | (filenames_h): New variable. | |
6034 | (clean): Clean up xml-builtin.c and stamp-xml. | |
6035 | (arm-linux-nat.o): Update. | |
6036 | * config/arm/linux.mh (TDEP_XML): Define. | |
6037 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
6038 | (arm_linux_has_wmmx_registers): New. | |
6039 | (GET_THREAD_ID): Fix typo. | |
6040 | (IWMMXT_REGS_SIZE): Define. | |
6041 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
6042 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
6043 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
6044 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
6045 | (_initialize_arm_linux_nat): Use them. | |
6046 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
6047 | (xml_builtin_xfer_partial): New function. | |
6048 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
6049 | * NEWS: Update mention of iWMMXt support. | |
6050 | ||
ff6f572f DJ |
6051 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
6052 | ||
6053 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
6054 | if there are no FPA registers. | |
6055 | (arm_dwarf_reg_to_regnum): New function. | |
6056 | (arm_register_type, arm_register_name): Return minimal values for | |
6057 | unsupported registers. | |
6058 | (arm_register_sim_regno): Handle iWMMXt registers. | |
6059 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
6060 | a target description. Recognize iWMMXt registers. Only register | |
6061 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
6062 | arm_dwarf_reg_to_regnum. | |
6063 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
6064 | constants. | |
6065 | (struct gdbarch_tdep): Add have_fpa_registers. | |
6066 | * features/xscale-iwmmxt.xml: Update capitalization. | |
6067 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
6068 | ||
c077150c KB |
6069 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
6070 | ||
6071 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
6072 | ||
01c996c1 KB |
6073 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
6074 | ||
6075 | * MAINTAINERS (mep): New target. | |
6076 | ||
aeb43123 KB |
6077 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
6078 | ||
6079 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
6080 | Richard Sandiford: | |
6081 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
6082 | (mep-tdep.o): New rule. | |
6083 | * configure.tgt (mep-*-*): New target. | |
6084 | * mep-tdep.c: New file. | |
6085 | * config/mep/mep.mt: New file. | |
6086 | ||
115d86cf UW |
6087 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
6088 | ||
6089 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
6090 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
6091 | ||
fef862e5 UW |
6092 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
6093 | ||
6094 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
6095 | ||
9a7d5afb JB |
6096 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
6097 | ||
6098 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
6099 | ||
81de920d AS |
6100 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
6101 | ||
6102 | * Makefile.in (symfile.o): Update dependencies. | |
6103 | ||
cb5c8c39 DJ |
6104 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
6105 | ||
6106 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
6107 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
6108 | * solib-frv.c: Include "solib.h". | |
6109 | * Makefile.in (solib-frv.o): Update. | |
6110 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
6111 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
6112 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
6113 | (xtensa_push_dummy_call): Use %p. | |
6114 | ||
e6bb342a DJ |
6115 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
6116 | ||
6117 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
6118 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
6119 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
6120 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
6121 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
6122 | (sparc-linux-tdep.o): Update. | |
6123 | ||
ff7a4c00 MG |
6124 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
6125 | ||
6126 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
6127 | (xtensa_mask_t): Change mask field to be a separate array. | |
6128 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
6129 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
6130 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
6131 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
6132 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
6133 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
6134 | (mask14, mask15): Rename to | |
6135 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
6136 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
6137 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
6138 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
6139 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
6140 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
6141 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
6142 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
6143 | (xtensa_submask14, xtensa_submask15): New. | |
6144 | (rmap): Follow strict aliasing rules doing static initialization. | |
6145 | ||
d9cc5895 DJ |
6146 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
6147 | ||
6148 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
6149 | handling from here... | |
6150 | (tdesc_register_type): ...to here. | |
6151 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
6152 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
6153 | ||
8756216b DP |
6154 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
6155 | ||
6156 | * varobj.h (enum varobj_update_error): New enum. | |
6157 | * varobj.c (struct varobj_root): Add is_valid member. | |
6158 | (varobj_get_type): Check for invalid varobj. | |
6159 | (varobj_get_attributes): Likewise. | |
6160 | (variable_editable):Likewise. | |
6161 | (varobj_update): Likewise. Use varobj_update_error. | |
6162 | (new_root_variable): Set root varobj as valid by default. | |
6163 | (varobj_invalidate): New function. | |
6164 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
6165 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
6166 | Use varobj_update_error. | |
6167 | ||
fe8e67fd PM |
6168 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
6169 | ||
6170 | Fix PR pascal/2223. | |
6171 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
6172 | Pascal language marker. | |
6173 | * dwarf2read.c (set_cu_language): Likewise. | |
6174 | ||
c44537cf CV |
6175 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
6176 | ||
6177 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
6178 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
6179 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
6180 | ||
20dad8ea PA |
6181 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
6182 | ||
6183 | * MAINTAINERS (Write After Approval): Add myself. | |
6184 | ||
4ac94eda FF |
6185 | 2007-02-09 Fred Fish <fnf@specifix.com> |
6186 | ||
6187 | Based on work by Apple Computer, Inc. | |
6188 | * event-top.c (async_request_quit): Call quit() whenever either | |
6189 | quit_flag is set or immediate_quit is set. | |
6190 | ||
b260b6c1 GDR |
6191 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6192 | ||
6193 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
6194 | type to a pointer to const struct block. | |
6195 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
6196 | remove_out_of_scope_renamings. | |
6197 | ||
6198 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
6199 | ||
6200 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
6201 | address of 'filename'; it is always non null. | |
6202 | ||
0f5d55d8 JB |
6203 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
6204 | ||
6205 | * exec.c (add_to_section_table): Do not discard empty sections. | |
6206 | ||
fb1e4ffc DJ |
6207 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
6208 | ||
6209 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
6210 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
6211 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
6212 | * regformats/arm-with-iwmmxt.dat: Generate. | |
6213 | * NEWS: Mention iWMMXt. | |
6214 | ||
123dc839 DJ |
6215 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
6216 | ||
6217 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
6218 | (xml-tdesc.o): Update. | |
6219 | * xml-support.c: Add a comment. | |
6220 | (gdb_xml_enums_boolean): New variable. | |
6221 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
6222 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
6223 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
6224 | next_regnum, and current_union. | |
6225 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
6226 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
6227 | (field_attributes, union_children, reg_attributes, union_attributes) | |
6228 | (vector_attributes, feature_attributes, feature_children): New. | |
6229 | (target_children): Make static. Add <feature>. | |
6230 | (tdesc_elements): Make static. | |
6231 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
6232 | (struct tdesc_feature, tdesc_feature_p): New types. | |
6233 | (struct target_desc): Add features member. | |
6234 | (struct tdesc_arch_data, tdesc_data): New. | |
6235 | (target_find_description): Clarify error message. Warn about | |
6236 | ignored register descriptions. | |
6237 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
6238 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
6239 | (tdesc_data_cleanup, tdesc_numbered_register) | |
6240 | (tdesc_numbered_register_choices, tdesc_find_register) | |
6241 | (tdesc_register_name, tdesc_register_type) | |
6242 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
6243 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
6244 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
6245 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
6246 | (tdesc_create_feature, tdesc_record_type): New. | |
6247 | (free_target_description): Free features. | |
6248 | (_initialize_target_descriptions): Initialize tdesc_data. | |
6249 | * arch-utils.c (default_remote_register_number): New. | |
6250 | * arch-utils.h (default_remote_register_number): New prototype. | |
6251 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
6252 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
6253 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
6254 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
6255 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
6256 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
6257 | (tdesc_create_reg): Declare. | |
6258 | * gdbarch.sh (remote_register_number): New entry. | |
6259 | * gdbarch.c, gdbarch.h: Regenerate. | |
6260 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
6261 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
6262 | ||
6263 | * arm-tdep.c (arm_register_aliases): New. | |
6264 | (arm_register_name_strings): Rename to... | |
6265 | (arm_register_names): ...this. Make const. Delete the old version. | |
6266 | (current_option, arm_register_byte): Delete. | |
6267 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
6268 | (value_of_arm_user_reg): New. | |
6269 | (arm_gdbarch_init): Verify any described registers. Call | |
6270 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
6271 | for standard register names. | |
6272 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
6273 | * user-regs.c (struct user_reg): Add baton member. | |
6274 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
6275 | (user_reg_add, value_of_user_reg): Use a baton for user | |
6276 | register functions. | |
6277 | * std-regs.c: Update. | |
6278 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
6279 | (user_reg_add): Add baton argument. | |
6280 | * NEWS: Mention target description register support. | |
6281 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
6282 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
6283 | when the program is not running. | |
6284 | ||
87604222 NR |
6285 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
6286 | ||
6287 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
6288 | ||
ee4f0f76 DJ |
6289 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6290 | ||
6291 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
6292 | info->disassembler_options to "any". | |
6293 | ||
7af9851d DJ |
6294 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
6295 | ||
6296 | * varobj.c (install_new_value): Only call value_get_print_value | |
6297 | if changeable. | |
6298 | ||
8944021f DJ |
6299 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
6300 | ||
6301 | Reported by timeless@gmail.com: | |
6302 | * gdb/target.c (target_flash_erase): Do not return void value. | |
6303 | (target_flash_done): Likewise. | |
6304 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
6305 | ||
6306 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 6307 | |
4ac94eda | 6308 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
6309 | * event-top.c (handle_sigint): Set quit_flag. |
6310 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
6311 | if quit_flag has already been reset. | |
6312 | ||
4998c1df DJ |
6313 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
6314 | ||
6315 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
6316 | up. | |
6317 | ||
79da184e FF |
6318 | 2007-02-08 Fred Fish <fnf@specifix.com> |
6319 | ||
6320 | * defs.h (request_quit): Remove declaration. | |
6321 | * utils.c (request_quit): Remove definition. | |
6322 | ||
3c77c82a DJ |
6323 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
6324 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6325 | Daniel Jacobowitz <dan@codesourcery.com> | |
6326 | ||
6327 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
6328 | (skip_prologue): Allow bl->blrl used by PIC code. | |
6329 | ||
c1b6e682 DJ |
6330 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
6331 | Daniel Jacobowitz <dan@codesourcery.com> | |
6332 | ||
6333 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
6334 | initialize tmp_obstack. | |
6335 | * p-valprint.c (pascal_object_print_value_fields) | |
6336 | (pascal_object_print_value): Likewise. | |
6337 | ||
fe5dedf4 DJ |
6338 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
6339 | ||
6340 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
6341 | ||
3e461478 MK |
6342 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
6343 | ||
6344 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
6345 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
6346 | ||
fc6e0168 DJ |
6347 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
6348 | ||
6349 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
6350 | (xml_cache): New. | |
6351 | (tdesc_parse_xml): Cache expanded descriptions. | |
6352 | ||
108546a0 DJ |
6353 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
6354 | ||
6355 | * Makefile.in (XMLFILES): New. | |
6356 | (COMMON_OBS): Add xml-builtin.o. | |
6357 | (xml-builtin.c, stamp-xml): New rules. | |
6358 | (xml-tdesc.o): Update. | |
6359 | * features/feature_to_c.sh: New file. | |
6360 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
6361 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
6362 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
6363 | scopes. Move cleanup later. Handle the XInclude description | |
6364 | specially. | |
6365 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
6366 | Call XML_DefaultCurrent if there is no element. | |
6367 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
6368 | (struct xinclude_parsing_data, xinclude_start_include) | |
6369 | (xinclude_end_include, xml_xinclude_default) | |
6370 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
6371 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
6372 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
6373 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
6374 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
6375 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
6376 | XInclude directives. Use the compiled in DTD. | |
6377 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
6378 | directory name. Do not warn here. | |
6379 | (file_read_description_xml): Update call. Warn here instead. Pass | |
6380 | a dirname as baton. | |
6381 | (fetch_available_features_from_target): New. | |
6382 | (target_read_description_xml): Use it. | |
6383 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
6384 | to handle XInclude. | |
6385 | * features/xinclude.dtd: New file. | |
6386 | ||
b5057acd DJ |
6387 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
6388 | ||
6389 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
6390 | no libthread_db support. | |
6391 | ||
6a089cf2 DJ |
6392 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
6393 | ||
6394 | * mi/mi-parse.h: Include <sys/time.h>. | |
6395 | ||
9fbcbb40 NR |
6396 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
6397 | ||
6398 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
6399 | instead of print_variable_value to print values. | |
6400 | ||
b3d2152a NR |
6401 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
6402 | ||
6403 | * mi/mi-main.c: Numerous formatting changes. | |
6404 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
6405 | removed in my previous change. | |
6406 | ||
79f0a97a NR |
6407 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
6408 | ||
6409 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
6410 | Use 1000000L instead of 1000000. | |
6411 | ||
95a98c01 | 6412 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
6413 | |
6414 | Based on work by Apple Computer, Inc. | |
6415 | ||
6416 | * configure.ac: Test for sys/resource.h and getrusage. | |
6417 | * configure, config.in: Regenerate. | |
6418 | ||
6419 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
6420 | (rusage): Declare if HAVE_GETRUSAGE. | |
6421 | (current_command_ts, do_timings): New static variables. | |
6422 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
6423 | New static timing functions. | |
6424 | (mi_cmd_enable_timings): New function for new MI command. | |
6425 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
6426 | Call timing functions. | |
6427 | ||
6428 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
6429 | -enable-timings. | |
6430 | ||
6431 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
6432 | ||
6433 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
6434 | (mi_parse): Add mi_timestamp* member. | |
6435 | ||
99b3d574 DP |
6436 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
6437 | ||
6438 | * thread.c (make_cleanup_restore_current_thread): New function. | |
6439 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
6440 | to restore the current thread and the selected frame. | |
6441 | (restore_selected_frame): New function. | |
6442 | (struct current_thread_cleanup): Add frame_id field. | |
6443 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
6444 | frame. | |
6445 | (make_cleanup_restore_current_thread): Likewise. | |
6446 | (thread_apply_all_command): backup the selected frame while | |
6447 | entering the function and restore it at exit. | |
6448 | (thread_apply_command): Likewise. | |
6449 | ||
d3c598de DP |
6450 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
6451 | ||
6452 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
6453 | ||
b69733ab | 6454 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
6455 | |
6456 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
6457 | (m32r_store_register): Ditto. | |
6458 | ||
b69733ab | 6459 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
6460 | |
6461 | * ser-mingw.c (pipe_windows_open) | |
6462 | (pipe_windows_read, pipe_windows_write): Declare | |
6463 | variables at the top of the function. | |
6464 | ||
8da61cc4 DJ |
6465 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
6466 | ||
6467 | * doublest.c (floatformat_from_length): Use the right element from | |
6468 | gdbarch floatformats. | |
6469 | (floatformat_from_type, extract_typed_floating) | |
6470 | (store_typed_floating): Likewise. | |
6471 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
6472 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
6473 | to pairs. | |
6474 | (pformat): Update for pairs. | |
6475 | * gdbarch.c, gdbarch.h: Regenerated. | |
6476 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
6477 | (floatformats_ieee_double_littlebyte_bigword) | |
6478 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
6479 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
6480 | (floatformats_vax_d): New variables. | |
6481 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
6482 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
6483 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
6484 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
6485 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
6486 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
6487 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
6488 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
6489 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
6490 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
6491 | unused and endian-specific types. | |
6492 | (recursive_dump_type): Update for floatformat pairs. | |
6493 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
6494 | (build_gdbtypes): Use build_flt. | |
6495 | (_initialize_gdbtypes): Update set of initialized types. | |
6496 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
6497 | (struct main_type): Store a pointer to two floatformats. | |
6498 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
6499 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
6500 | ||
6501 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
6502 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
6503 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
6504 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
6505 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
6506 | ||
87680a14 JB |
6507 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
6508 | ||
6509 | * target.c (maintenance_print_target_stack): New function. | |
6510 | (initialize_targets): Add new "maintenance print target-stack" | |
6511 | command. | |
6512 | ||
1c3d648d MK |
6513 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
6514 | ||
6515 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
6516 | ||
607269ae DJ |
6517 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
6518 | ||
6519 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
6520 | (struct dwarf2_loclist_baton): Likewise. | |
6521 | ||
40c03ae8 EZ |
6522 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
6523 | ||
6524 | * cli/cli-script.c: Include breakpoint.h. | |
6525 | (build_command_line): Require arguments only for if and while | |
6526 | commands. | |
6527 | (get_command_line, execute_user_command, execute_control_command): | |
6528 | Fix wording of warning messages. | |
6529 | (print_command_lines): Print breakpoint commands. | |
6530 | (execute_control_command): Call commands_from_control_command to | |
6531 | handle the `commands' command inside a body of a flow-control | |
6532 | command. | |
6533 | (read_next_line): Recognize the `commands' command and build a | |
6534 | command line structure for it. | |
6535 | (recurse_read_control_structure, read_command_lines): Handle | |
6536 | `commands' similarly to `if' and `while'. | |
6537 | ||
6538 | * breakpoint.c (get_number_trailer): Document the special meaning | |
6539 | of NULL as the first argument PP. | |
6540 | (commands_from_control_command): New function. | |
6541 | ||
6542 | * breakpoint.h (commands_from_control_command): Add prototype. | |
6543 | ||
6544 | * defs.h (commands_control): New enumerated value for enum | |
6545 | command_control_type. | |
6546 | ||
4b9eee8c JB |
6547 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
6548 | ||
6549 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
6550 | (ada_exception_sal): Update accordingly. | |
6551 | ||
e1f48ead JK |
6552 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
6553 | ||
6554 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
6555 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
6556 | ||
e150acc7 PB |
6557 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
6558 | ||
6559 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
6560 | ||
10fb19b6 JB |
6561 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
6562 | ||
6563 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
6564 | expression is empty, bother to return the 'optimized out' value we | |
6565 | construct. (Thanks to Carl Burch.) | |
6566 | ||
85d93f1d VP |
6567 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
6568 | ||
6569 | * varobj.c (c_value_of_root, c_value_of_child) | |
6570 | (cplus_describe_child): Don't call release_value. | |
6571 | ||
fcbd8a5c TS |
6572 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
6573 | ||
6574 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
6575 | initialization. | |
6576 | ||
2024f65a VP |
6577 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
6578 | ||
6579 | Refactor getting children name, value and type access | |
6580 | for varobjs in C++. | |
6581 | * varobj.c (get_type_deref): Remove. | |
6582 | (adjust_value_for_child_access): New. | |
6583 | (c_number_of_children): Use the above. | |
6584 | (c_describe_child): Likewise. | |
6585 | (enum accessibility): New. | |
6586 | (match_accessibility): New function. | |
6587 | (cplus_describe_child): New function. | |
6588 | (cplus_name_of_child, cplus_value_of_child) | |
6589 | (cplus_type_of_child): Reimplement in terms | |
6590 | of cplus_describe_child. | |
6591 | (cplus_number_of_children): Use | |
6592 | adjust_value_for_child_access. | |
6593 | ||
6e2a9270 VP |
6594 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
6595 | ||
6596 | Fix computation of the 'editable' attribute and | |
6597 | value changeability for for references. | |
6598 | * varobj.c (get_value_type): New function. | |
6599 | (c_variable_editable): Use get_value_type. | |
6600 | (varobj_value_is_changeable): Likewise. | |
6601 | ||
56163ce1 JB |
6602 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
6603 | ||
6604 | * source.c (find_and_open_source): Try rewriting the source | |
6605 | path inside filename if dirname is NULL. | |
6606 | ||
8c6860bb JB |
6607 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
6608 | ||
6609 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
6610 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
6611 | (new_symbol): Likewise for symbols. | |
6612 | ||
6db6d2ca NR |
6613 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
6614 | ||
6615 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
6616 | ||
7d85ee02 VP |
6617 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
6618 | ||
6619 | * value.c (value_primitive_field): Copy the full 'location' | |
6620 | contents, instead of assuming that copying ADDRESS will | |
6621 | bring over everything in the union. Remove obsolete comment. | |
6622 | ||
f79b9530 DJ |
6623 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
6624 | ||
6625 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
6626 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
6627 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
6628 | ||
08d8bcd7 DJ |
6629 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
6630 | ||
6631 | * target.c (update_current_target): Correct typo. | |
6632 | ||
57fdbbbe CV |
6633 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
6634 | ||
6635 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
6636 | declaration. | |
6637 | ||
58894217 JK |
6638 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
6639 | Daniel Jacobowitz <dan@codesourcery.com> | |
6640 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6641 | ||
6642 | * dwarf2-frame.c (execute_cfa_program): New support of | |
6643 | `DW_CFA_GNU_negative_offset_extended'. | |
6644 | ||
9ebce043 DJ |
6645 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
6646 | ||
6647 | * NEWS: Mention flash support for "load" and new remote packets. | |
6648 | ||
973d738b DJ |
6649 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
6650 | ||
6651 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
6652 | ||
7b9ee6a8 DJ |
6653 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
6654 | ||
6655 | * gdbarch.sh (register_type): Update comment. | |
6656 | * gdbarch.h: Regenerated. | |
6657 | * arch-utils.c (generic_register_size): Call register_type. | |
6658 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
6659 | * m32c-tdep.c (check_for_saved): Likewise. | |
6660 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
6661 | (mips_print_registers_info): Likewise. | |
6662 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
6663 | Likewise. | |
6664 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
6665 | (sh64_do_register, sh64_print_register) | |
6666 | (sh64_media_print_registers_info): Likewise. | |
6667 | * tui/tui-regs.c (tui_register_format): Likewise. | |
6668 | ||
11309657 DJ |
6669 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
6670 | ||
6671 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
6672 | ||
6673 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
6674 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
6675 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
6676 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
6677 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
6678 | (make_symbol_completion_list): Likewise. | |
6679 | ||
cb1df416 DJ |
6680 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
6681 | Daniel Jacobowitz <dan@codesourcery.com> | |
6682 | ||
6683 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
6684 | Fill in SYMBOL_SYMTAB. | |
6685 | * buildsym.h (struct subfile): Add symtab member. | |
6686 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
6687 | (struct file_entry): Add symtab. | |
6688 | (free_cu_line_header): New function. | |
6689 | (read_file_scope): Use it. Save line_header in the cu. Process | |
6690 | lines before DIEs. | |
6691 | (add_file_name): Initialize new symtab member. | |
6692 | (dwarf_decode_lines): Create symtabs for included files. | |
6693 | (new_symbol): Set SYMBOL_SYMTAB. | |
6694 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
6695 | (search_symbols): Likewise. | |
6696 | * symtab.h (struct symbol): Add symtab member. | |
6697 | (SYMBOL_SYMTAB): Define. | |
6698 | ||
727da900 DJ |
6699 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
6700 | ||
6701 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
6702 | ||
7b6b9e83 DJ |
6703 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
6704 | ||
6705 | * arch-utils.c (show_endian): Correct reversed condition. | |
6706 | ||
e767400c JK |
6707 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
6708 | ||
6709 | * MAINTAINERS (Write After Approval): Add myself. | |
6710 | ||
b20d8971 VP |
6711 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
6712 | Vladimir Prus <vladimir@codesourcery.com> | |
6713 | ||
6714 | Fix 'selected frame' varobjs. | |
6715 | * varobj.c (struct varobj): Remove the error field. | |
6716 | (varobj_set_value): Don't check var->error. | |
6717 | (install_new_value): Don't set var->error. | |
6718 | (varobj_update): Always pass the new value | |
6719 | of the root via install_new_value. | |
6720 | (create_child): Don't set error field. | |
6721 | (new_variable): Likewise. | |
6722 | (c_value_of_root): Always reevaluate the value | |
6723 | of selected frame varobjs in the selected frame. | |
6724 | Don't call reinit_frame_cache. | |
6725 | ||
7ef2b397 JB |
6726 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
6727 | ||
6728 | * source.c (_initialize_source): Improve the help text of | |
6729 | the substitute-path commands. | |
6730 | ||
1208538e MK |
6731 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
6732 | ||
6733 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
6734 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
6735 | (frv_skip_prologue): Remove prototypes. | |
6736 | (frv_adjust_breakpoint_address): Renamed from | |
6737 | frv_gdbarch_adjust_breakpoint_address. | |
6738 | (frv_gdbarch_init): Adjust. | |
6739 | ||
765f065a MK |
6740 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
6741 | ||
5e66aab2 MK |
6742 | * gdbarch.sh (deprecated_extract_return_value) |
6743 | (deprecated_store_return_value): Remove. | |
6744 | (extract_return_value, store_return_value): Remove default values. | |
6745 | * gdbarch.c, gdbarch.h: Regenerate. | |
6746 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
6747 | (legacy_store_return_value): Remove. | |
6748 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
6749 | Remove. | |
6750 | ||
56178203 MK |
6751 | * mi/mi-main.c: Remove obsolete comment. |
6752 | ||
23303b2e MK |
6753 | * regcache.c, regcache.h (deprecated_register_bytes) |
6754 | (deprecated_read_register_bytes) | |
6755 | (deprecated_write_register_bytes): Remove. | |
6756 | ||
765f065a MK |
6757 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
6758 | Don't forget to move destination pointer. | |
6759 | ||
610acfff MK |
6760 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
6761 | ||
6762 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
6763 | ||
12102450 UW |
6764 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
6765 | ||
6766 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
6767 | past entry function with recent newlib. | |
6768 | ||
c8b2f53c VP |
6769 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
6770 | ||
6771 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
6772 | introduction. Specify -var-update more exactly. | |
6773 | ||
d57df5e4 DJ |
6774 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
6775 | ||
6776 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
6777 | ||
03f597d5 JB |
6778 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
6779 | ||
6780 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
6781 | the Global Maintainers' invitation to be a global maintainer. | |
6782 | ||
fd48f117 DJ |
6783 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
6784 | ||
6785 | * infrun.c (singlestep_pc): New variable. | |
6786 | (resume): Set singlestep_pc. | |
6787 | (context_switch): Add a debugging message. Flush the frame cache. | |
6788 | (handle_inferior_event): Add debugging messages. Handle thread | |
6789 | hops when a software single step has completed. Let context_switch | |
6790 | handle flushing the frame cache. | |
6791 | ||
23181151 DJ |
6792 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6793 | ||
6794 | * NEWS: Mention target descriptions, "set tdesc filename", | |
6795 | "unset tdesc filename", "show tdesc filename", and | |
6796 | qXfer:features:read. | |
6797 | * arch-utils.c (choose_architecture_for_target): New function. | |
6798 | (gdbarch_info_fill): Call it. | |
6799 | * target-descriptions.c (struct property): Make members non-const. | |
6800 | (struct target_desc): Add arch member. | |
6801 | (target_description_filename): New variable. | |
6802 | (target_find_description): Try via XML first. | |
6803 | (tdesc_architecture): New. | |
6804 | (free_target_description, make_cleanup_free_target_description): New. | |
6805 | (set_tdesc_property): Call xstrdup. | |
6806 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
6807 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
6808 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
6809 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
6810 | * target-descriptions.h (tdesc_architecture) | |
6811 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
6812 | prototypes. | |
6813 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
6814 | (COMMON_OBS): Add xml-tdesc.o. | |
6815 | (target-descriptions.o): Update. | |
6816 | (xml-tdesc.o): New rule. | |
6817 | * xml-tdesc.c, xml-tdesc.h: New files. | |
6818 | * remote.c (PACKET_qXfer_features): New enum. | |
6819 | (remote_protocol_features): Add qXfer:features:read. | |
6820 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
6821 | (_initialize_remote): Register qXfer:features:read. | |
6822 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
6823 | * features/gdb-target.dtd: New file. | |
6824 | ||
3e9cb5f4 DJ |
6825 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6826 | ||
6827 | * copyright.sh: Clarify error. | |
6828 | ||
818f79f6 DJ |
6829 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
6830 | ||
6831 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
6832 | prelinked objects. | |
6833 | ||
f7a6bb70 DJ |
6834 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
6835 | ||
6836 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
6837 | nested symbols. | |
6838 | ||
20ac0504 DJ |
6839 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6840 | ||
6841 | Updated copyright notices for most files. | |
6842 | ||
85bb0718 DJ |
6843 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6844 | ||
6845 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
6846 | ||
aa28a74e DJ |
6847 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6848 | ||
6849 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
6850 | exec_prefix. | |
6851 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
6852 | '${prefix}'. | |
6853 | * configure, config.in: Regenerate. | |
6854 | * defs.h (debug_file_directory): Declare. | |
6855 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
6856 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
6857 | relocate it if DEBUGDIR_RELOCATABLE. | |
6858 | * symfile.c (debug_file_directory): Make non-static. | |
6859 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
6860 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
6861 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
6862 | ||
1cfd2c3e JB |
6863 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
6864 | ||
6865 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
6866 | statements. | |
6867 | ||
5efde112 DJ |
6868 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6869 | ||
6870 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
6871 | frame_unwind_register to recurse. | |
6872 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
6873 | (alpha_heuristic_frame_prev_register): Likewise. | |
6874 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
6875 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
6876 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
6877 | ||
4de1f557 DJ |
6878 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6879 | Eli Zaretskii <eliz@gnu.org> | |
6880 | ||
6881 | * copyright.sh: New file. | |
6882 | ||
ca4ca11e DJ |
6883 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
6884 | ||
6885 | * configure.ac: Check for XML_StopParser. | |
6886 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
6887 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
6888 | (gdb_xml_end_element_wrapper): Likewise. | |
6889 | * config.in, configure: Regenerated. | |
6890 | ||
57e66780 DJ |
6891 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
6892 | ||
6893 | * varobj.c (install_new_value): Always update print_value. | |
6894 | (value_get_print_value): Immediately return NULL for missing | |
6895 | values. | |
6896 | ||
b523a1fd JB |
6897 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
6898 | ||
6899 | * configure.ac: Tighten pattern for extracting value of | |
6900 | DEPRECATED_TM_FILE from the target makefile fragment. | |
6901 | * configure: Regenerated. | |
6902 | ||
3d799a95 DJ |
6903 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
6904 | ||
6905 | * linux-nat.c (struct simple_pid_list): Add status. | |
6906 | (add_to_pid_list): Record the PID's status. | |
6907 | (linux_record_stopped_pid): Likewise. Make static. | |
6908 | (pull_pid_from_list): Return the saved status. | |
6909 | (linux_nat_handle_extended): Deleted. | |
6910 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
6911 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
6912 | (flush_callback): Handle unexpected pending signals. | |
6913 | (linux_nat_wait): Update calls to changed functions. | |
6914 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
6915 | Remove prototypes for newly static functions. | |
6916 | ||
9acbedc0 UW |
6917 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
6918 | ||
6919 | * gdbarch.sh (value_from_register): New gdbarch function. | |
6920 | * gdbarch.c, gdbarch.h: Regenerate. | |
6921 | * findvar.c (default_value_from_register): New function. | |
6922 | (value_from_register): Use gdbarch_value_from_register. | |
6923 | * value.h (default_value_from_register): Declare. | |
6924 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
6925 | spu_value_to_register): Remove. | |
6926 | (spu_value_from_register): New function. | |
6927 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
6928 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
6929 | Call set_gdbarch_value_from_register. | |
6930 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
6931 | s390_value_to_register): Remove. | |
6932 | (s390_value_from_register): New function. | |
6933 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
6934 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
6935 | Call set_gdbarch_value_from_register. | |
6936 | ||
f822c95b DJ |
6937 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
6938 | ||
6939 | * NEWS: Add "set sysroot" and "show sysroot". | |
6940 | * solib.c (solib_absolute_prefix): Delete. Replace | |
6941 | all uses with gdb_sysroot. | |
6942 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
6943 | Make "solib-absolute-prefix" an alias to it. | |
6944 | ||
00fa51f6 UW |
6945 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
6946 | ||
6947 | * frame.c (get_frame_register_bytes): New function. | |
6948 | (put_frame_register_bytes): Likewise. | |
6949 | * frame.h (get_frame_register_bytes): Declare. | |
6950 | (put_frame_register_bytes): Likewise. | |
6951 | * findvar.c (value_from_register): Always construct lval_register | |
6952 | values. Use get_frame_register_bytes. | |
6953 | * valops.c (value_assign): Use get_frame_register_bytes and | |
6954 | put_frame_register_bytes. | |
6955 | ||
a95c9d06 JB |
6956 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
6957 | ||
6958 | * MAINTAINERS: Update Stan Shebs' email address. | |
6959 | ||
4ed6b5be JB |
6960 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
6961 | ||
6962 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
6963 | ||
9bbc9174 JB |
6964 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
6965 | ||
6966 | * ada-lang.c: Add include of source.h. | |
6967 | (is_known_support_routine): Improve the check verifying that the file | |
6968 | associated to this frame exists. | |
6969 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
6970 | ||
44a81774 JB |
6971 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
6972 | ||
6973 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
6974 | value. | |
6975 | ||
fcd19eb1 | 6976 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
6fe1a487 NR |
6977 | |
6978 | * varobj.c (c_value_of_root): Don't select frame if variable | |
6979 | object is out of scope. | |
6980 | ||
fcd19eb1 | 6981 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
3fa6deb5 NR |
6982 | |
6983 | * varobj.c (struct varobj): New member print_value. | |
6984 | (install_new_value): Compare last printed value with current one | |
6985 | instead of contents. | |
6986 | (new_variable): Initialize var->print_value to NULL. | |
6987 | (free_variable): Free var->print_value. | |
6988 | (value_get_print_value): New function derived from | |
6989 | c_value_of_variable. | |
6990 | (c_value_of_variable): Use value_get_print_value. | |
6991 | ||
92a56b20 JB |
6992 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
6993 | ||
6994 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
6995 | ||
0e420bd8 JB |
6996 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
6997 | ||
6998 | * NEWS: Add entries for new catch commands. | |
6999 | ||
b69733ab | 7000 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
7001 | |
7002 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
7003 | (add_partial_symbol): Correct identification of external references. | |
7004 | (process_structure_scope): Likewise. | |
7005 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
7006 | ||
7007 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
7008 | |
7009 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
7010 | ||
8e38af42 NR |
7011 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
7012 | ||
7013 | * varobj.c (get_type_deref): Fix variable objects for references to | |
7014 | pointers. | |
7015 | ||
d1c79ecd DJ |
7016 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7017 | ||
7018 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
7019 | with no symbols. | |
7020 | ||
e776119f DJ |
7021 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7022 | ||
7023 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
7024 | members. Make property_name an array. | |
7025 | (free_memory_map_parsing_data, memory_map_start_element) | |
7026 | (memory_map_end_element, memory_map_character_data): Delete. | |
7027 | (memory_map_start_memory, memory_map_end_memory) | |
7028 | (memory_map_start_property, memory_map_end_property): New functions. | |
7029 | (property_attributes, memory_children, memory_type_enum) | |
7030 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
7031 | (parse_memory_map): Rewrite. | |
7032 | * xml-support.c (debug_xml): New. | |
7033 | (xml_get_required_attribute, xml_get_integer_attribute) | |
7034 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
7035 | Delete. | |
7036 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
7037 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
7038 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
7039 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
7040 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
7041 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
7042 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
7043 | New. | |
7044 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
7045 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
7046 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
7047 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
7048 | (struct gdb_xml_enum): New. | |
7049 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
7050 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
7051 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
7052 | (xml_get_required_attribute, xml_get_integer_attribute) | |
7053 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
7054 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
7055 | ||
5e572bb4 DJ |
7056 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7057 | ||
7058 | * Makefile.in (eval.o): Update dependencies. | |
7059 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
7060 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
7061 | Use value_zero if an error occurs when avoiding side effects. | |
7062 | * varobj.c (c_value_of_root): Initialize new_val. | |
7063 | ||
74a44383 DJ |
7064 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7065 | ||
7066 | * varobj.c (varobj_list_children): Stop if the number of children is | |
7067 | unknown. | |
7068 | (c_number_of_children): | |
7069 | ||
e8d2d628 MK |
7070 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
7071 | ||
7072 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
7073 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
7074 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
7075 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
7076 | sizeof, instead of hardcoded constants. | |
7077 | ||
c941839d DJ |
7078 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7079 | ||
7080 | * CONTRIBUTE: Use sourceware.org. | |
7081 | ||
303b6f5d | 7082 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 7083 | |
303b6f5d DJ |
7084 | * buildsym.c (start_subfile): Handle producer. |
7085 | (record_producer): New function. | |
7086 | * buildsym.h (struct subfile): Include producer. | |
7087 | (record_producer): New prototype. | |
7088 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
7089 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
7090 | armcc_cfa_offsets_reversed. | |
7091 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
7092 | (dwarf2_frame_find_quirks): New function. | |
7093 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
7094 | (decode_frame_entry_1): Record the CIE version. Record the | |
7095 | augmentation. Skip armcc augmentations. | |
7096 | * dwarf2read.c (read_file_scope): Save the producer. | |
7097 | * symtab.h (struct symtab): Rename unused version member to | |
7098 | producer. | |
2d0720d9 | 7099 | |
aa79a185 DJ |
7100 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7101 | ||
7102 | * configure.ac (build_warnings): Use -Wall and | |
7103 | -Wdeclaration-after-statement. | |
7104 | * configure: Regenerated. | |
7105 | ||
bbec2603 VP |
7106 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
7107 | ||
7108 | Simplify access to variours properties of child | |
7109 | variable objects in C. | |
7110 | * varobj.c (value_struct_element_index): New function. | |
7111 | (c_describe_child): New function. | |
7112 | (c_name_of_child, c_value_of_child) | |
7113 | (c_type_of_child): Rewrite to use c_describe_child. | |
7114 | ||
28335dcc VP |
7115 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
7116 | ||
7117 | gdb/ | |
7118 | * varobj.c: Include "vec.h". | |
7119 | (varobj_p): New typedef, declare vector of those. | |
7120 | (struct varobj): Use vector for the 'children' member. | |
7121 | (child_exists): Remove. | |
7122 | (save_child_in_parent): Remove. | |
7123 | (remove_child_from_parent): Remove. | |
7124 | (struct varobj_child): Remove. | |
7125 | (struct vstack): Remove. | |
7126 | (vpush, vpop): Remove. | |
7127 | (varobj_list_children): Adjust to work work vector. | |
7128 | (varobj_update): Likewise. Use vectors for | |
7129 | working stack and result. | |
7130 | (delete_variable_1): Likewise. | |
7131 | * Makefile.in (varobj.o): Update dependencies. | |
7132 | ||
b2c2bd75 VP |
7133 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
7134 | ||
7135 | Port from Apple's version. | |
7136 | gdb/ | |
7137 | * varobj.c (type_changeable): Rename to... | |
7138 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
7139 | (is_root_p): New function. Use it everywhere. | |
7140 | ||
bdfb3870 JB |
7141 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
7142 | ||
7143 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
7144 | then plain 'fixup'. | |
7145 | ||
5d15052e JB |
7146 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
7147 | ||
7148 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
7149 | ||
53103997 JB |
7150 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
7151 | ||
7152 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
7153 | ||
27fd2f50 Q |
7154 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
7155 | ||
7156 | * NEWS: New port to S+core. | |
7157 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
7158 | Add myself. | |
7159 | ||
7160 | * Makefile.in: Add dependencies for S+core files. | |
7161 | * configure.tgt (score*, score-*-*): Add S+core target. | |
7162 | * config/score/embed.mt: New file. | |
7163 | * score-tdep.c: New file. | |
7164 | * score-tdep.h: New file. | |
7165 | ||
a6cfbe68 JB |
7166 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
7167 | ||
7168 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
7169 | the appropriate type rather than a bogus void type. | |
7170 | ||
67cf15b7 | 7171 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
7172 | |
7173 | * ada-lang.h (ada_find_printable_frame): Remove. | |
7174 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
7175 | (ada_decode_assert_location): Add declaration. | |
7176 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
7177 | (exception_catchpoint_kind): New enum. | |
7178 | (function_name_from_pc, is_known_support_routine) | |
7179 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
7180 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
7181 | (print_it_exception, print_one_exception, print_mention_exception) | |
7182 | (print_it_catch_exception, print_one_catch_exception) | |
7183 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
7184 | (print_it_catch_exception_unhandled) | |
7185 | (print_one_catch_exception_unhandled) | |
7186 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
7187 | (print_one_catch_assert, print_mention_catch_assert) | |
7188 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
7189 | (ada_get_next_arg, catch_ada_exception_command_split) | |
7190 | (ada_exception_sym_name, ada_exception_sym_name) | |
7191 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
7192 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
7193 | (ada_decode_exception_location) | |
7194 | (ada_decode_assert_location): New function. | |
7195 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
7196 | (catch_assert_breakpoint_ops): New global variable. | |
7197 | * breakpoint.c: Add include of ada-lang.h. | |
7198 | (print_one_breakpoint): Do not print the condition for Ada | |
7199 | exception catchpoints. | |
7200 | (create_ada_exception_breakpoint): New function. | |
7201 | (catch_ada_exception_command, catch_assert_command): New function. | |
7202 | (catch_command_1): Add support for the new "catch exception" and | |
7203 | "catch assert" commands. | |
7204 | (_initialize_breakpoint): Add help description for the new catch | |
7205 | commands. | |
7206 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
7207 | valprint.h. | |
7208 | (breakpoint.o): Add dependency on ada-lang.h. | |
7209 | ||
05cfdb42 DJ |
7210 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
7211 | ||
7212 | * coffread.c (cs_to_section): If bfd_section is found, always | |
7213 | return its section index. | |
7214 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
7215 | bfd_section flags. | |
7216 | ||
2e03ee74 DJ |
7217 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
7218 | Daniel Jacobowitz <dan@codesourcery.com> | |
7219 | ||
7220 | * Makefile.in (top.o): Update. | |
7221 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
7222 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
7223 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
7224 | New. | |
7225 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
7226 | ||
1c63d086 MK |
7227 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
7228 | ||
7229 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
7230 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
7231 | ||
d5d6fca5 DJ |
7232 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
7233 | ||
7234 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
7235 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
7236 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
7237 | greater than or equal to zero. | |
7238 | * m2-typeprint.c (m2_array): Likewise. | |
7239 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
7240 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
7241 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
7242 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
7243 | greater than zero. | |
7244 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
7245 | (default_macro_scope): Remove unused variable. | |
7246 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
7247 | "register". | |
7248 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
7249 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
7250 | type. | |
7251 | (cleanup_sigint_signal_handler): Remove casts. | |
7252 | * valprint.c (val_print): Use a volatile local for the modified | |
7253 | argument. | |
7254 | * varobj.c (languages): Remove extra array dimension. | |
7255 | (varobj_create): Correct access to languages array. | |
7256 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
7257 | missing braces. | |
7258 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
7259 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
7260 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
7261 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
7262 | (mi_cmd_data_write_memory): Likewise. | |
7263 | * signals/signals.c (target_signal_to_string): Cast to int before | |
7264 | comparing. | |
7265 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
7266 | Update all callers. | |
7267 | ||
0d5de010 DJ |
7268 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
7269 | ||
7270 | * NEWS: Mention pointer to member improvements. | |
7271 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
7272 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
7273 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
7274 | * c-typeprint.c (c_print_type): Update for new type codes. | |
7275 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
7276 | (c_type_print_base): Likewise. | |
7277 | (c_type_print_args): Rewrite. | |
7278 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
7279 | support for references to members. Treat methods like functions. | |
7280 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
7281 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
7282 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
7283 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
7284 | (struct cp_abi_ops): Add corresponding members. | |
7285 | * cp-valprint.c (cp_print_class_method): Delete. | |
7286 | (cp_find_class_member): New function. | |
7287 | (cp_print_class_member): Use it. Simplify support for bogus | |
7288 | member pointers. | |
7289 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
7290 | lookup_methodptr_type. | |
7291 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
7292 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
7293 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
7294 | pointer support. | |
7295 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
7296 | references returned by user defined operators. | |
7297 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
7298 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
7299 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
7300 | and adjusted. | |
7301 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
7302 | (lookup_methodptr_type): New. | |
7303 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
7304 | (recursive_dump_type): Update for new types. | |
7305 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
7306 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
7307 | (lookup_memberptr_type, lookup_methodptr_type) | |
7308 | (smash_to_memberptr_type): New prototypes. | |
7309 | (smash_to_method_type): Formatting fix. | |
7310 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
7311 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
7312 | Do not rely on debug information for the vptr or the method's | |
7313 | enclosing type. Handle function descriptors for IA64. | |
7314 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
7315 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
7316 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
7317 | (gnuv3_method_ptr_to_value): New. | |
7318 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
7319 | * hpread.c (hpread_type_lookup): Update for new types. | |
7320 | * infcall.c (value_arg_coerce): Likewise. | |
7321 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
7322 | for member pointers. | |
7323 | * m2-valprint.c (m2_val_print): Likewise. | |
7324 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
7325 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
7326 | * p-valprint.c (pascal_val_print): Likewise. | |
7327 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
7328 | Delete. | |
7329 | * p-lang.h (pascal_object_print_class_method) | |
7330 | (pascal_object_print_class_member): Delete prototypes. | |
7331 | * stabsread.c (read_type): Update for new types. | |
7332 | * typeprint.c (print_type_scalar): Likewise. | |
7333 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
7334 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
7335 | argument. Construct a pointer to member if the address of a | |
7336 | function or data member is requested. | |
7337 | (value_cast_pointers): Don't modify the input value. | |
7338 | (value_cast): Adjust pointer to member handling for new types. | |
7339 | Allow null pointer to member constants. Don't modify the input | |
7340 | value. | |
7341 | (value_ind): Remove pointer to member check. Handle function | |
7342 | descriptors for function pointers. | |
7343 | (value_struct_elt, value_find_oload_method_list, check_field): | |
7344 | Remove pointer to member checks. | |
7345 | * value.c (unpack_long): Allow pointers to data members. | |
7346 | (value_from_longest): Allow member pointers. | |
7347 | * value.h (value_aggregate_elt): Add want_address. | |
7348 | * varobj.c (c_variable_editable): Remove check for members. | |
7349 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
7350 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
7351 | in virtual tables. | |
7352 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
7353 | * c-lang.h (cp_print_class_method): Delete prototype. | |
7354 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
7355 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
7356 | * gdbarch.c, gdbarch.h: Regenerated. | |
7357 | ||
d217aaed MK |
7358 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
7359 | ||
7360 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
7361 | (rs6000_extract_return_value, rs6000_store_return_value) | |
7362 | (rs6000_extract_struct_value_address): Remove. | |
7363 | (rs6000_return_value): New function. | |
7364 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
7365 | store_return_value, deprecated_extract_struct_value_address and | |
7366 | deprecated_use_struct_convention. Use rs6000_return_value | |
7367 | instead. | |
7368 | ||
02296b29 NR |
7369 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
7370 | ||
7371 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
7372 | -display-disable, -display-enable, -display-insert and | |
7373 | -display-list. | |
7374 | ||
b69733ab | 7375 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
7376 | |
7377 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
7378 | ||
7379 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
7380 | |
7381 | * varobj.c: Include block.h. | |
7382 | (c_value_of_root): Check scope within nested statements. | |
7383 | ||
9f3a1602 MK |
7384 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
7385 | ||
7386 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
7387 | regcache_cooked_write_signed instead of | |
7388 | deprecated_write_register_bytes. | |
7389 | ||
12349ccd JB |
7390 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
7391 | ||
7392 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
7393 | ||
8c48ebcf JB |
7394 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
7395 | ||
7396 | Followed the Start of New Year Procedure: | |
7397 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
7398 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
7399 | to the previous ChangeLog to point to ChangeLog 2006. | |
7400 | * top.c (print_gdb_version): Update copyright year. | |
7401 | ||
154927ff MK |
7402 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
7403 | ||
7404 | * Makefile.in (remote-sds.o): Remove. | |
7405 | * remote-sds.c: Delete. | |
7406 | ||
8c48ebcf | 7407 | For older changes see ChangeLog-2006. |
c906108c SS |
7408 | \f |
7409 | Local Variables: | |
7410 | mode: change-log | |
7411 | left-margin: 8 | |
7412 | fill-column: 74 | |
7413 | version-control: never | |
57da7796 | 7414 | coding: utf-8 |
c906108c | 7415 | End: |