]>
Commit | Line | Data |
---|---|---|
dc7eb48e PA |
1 | 2011-06-13 Pedro Alves <pedro@codesourcery.com> |
2 | ||
3 | * top.h (line): Rename to ... | |
4 | (saved_command_line): ... this. | |
5 | (linesize): Rename to ... | |
6 | (saved_command_line_size): ... this. | |
7 | * top.c (line): Rename to ... | |
8 | (saved_command_line): ... this. | |
9 | (linesize): Rename to ... | |
10 | (saved_command_line_size): ... this. | |
11 | (dont_repeat, command_line_input, dont_repeat_command): Adjust. | |
12 | * event-top.c (command_line_handler): Adjust. | |
13 | * main.c (captured_main): Adjust. | |
14 | ||
0d6c2135 MK |
15 | 2011-06-12 Mark Kettenis <kettenis@gnu.org> |
16 | ||
17 | * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call | |
18 | get_frame_func instead of get_frame_pc to determine the code | |
19 | address used to construct the frame ID. | |
20 | (i386_epilogue_frame_unwind_stop_reason): Fix coding style. | |
21 | (i386_epilogue_frame_this_id): Likewise. | |
22 | (i386_epilogue_frame_prev_register): New function. | |
23 | (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register. | |
24 | (i386_stack_tramp_frame_sniffer): Fix coding style. | |
25 | (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register. | |
26 | (i386_gdbarch_init): Fix comments. | |
27 | ||
8bbdd3f4 MK |
28 | 2011-06-12 Mark Kettenis <kettenis@gnu.org> |
29 | ||
30 | * i386-tdep.c (i386_match_insn_block): Use length of the proper | |
31 | instruction when walking back through the instruction stream. | |
32 | ||
533a737e JK |
33 | 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
34 | ||
35 | * symtab.c (output_partial_symbol_filename): Exchange the filename and | |
36 | fullname parameters order. | |
37 | ||
44b13c5a JK |
38 | 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
39 | ||
40 | Code cleanup. | |
41 | * dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype | |
42 | for fun. | |
43 | * psymtab.c (map_symbol_filenames_psymtab) | |
44 | (map_partial_symbol_filenames): Likewise. | |
45 | * psymtab.h: Include symfile.h. | |
46 | (map_partial_symbol_filenames): Use symbol_filename_ftype for fun. | |
47 | * symfile.h (symbol_filename_ftype): New. | |
48 | (struct quick_symbol_functions): Use symbol_filename_ftype for fun of | |
49 | map_symbol_filenames, clarify more the naming in comment. | |
50 | ||
0b5574da DE |
51 | 2011-06-07 Doug Evans <dje@google.com> |
52 | ||
53 | * cc-with-index.sh: Fix typos in comment. | |
b8e9bd6c | 54 | Look for ../../gdb, for fullname.exp. |
0b5574da | 55 | |
5be4dfca JK |
56 | 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
57 | Pedro Alves <pedro@codesourcery.com> | |
58 | ||
59 | * cli/cli-cmds.c (shell_escape): Use waitpid. | |
60 | * rs6000-nat.c (exec_one_dummy_insn): Likewise. | |
61 | ||
316a8b21 TG |
62 | 2011-06-07 Tristan Gingold <gingold@adacore.com> |
63 | ||
64 | * xcoffread.c (dwarf2_xcoff_names): New variable. | |
65 | (aix_process_linenos): Add a guard. | |
66 | (xcoff_symfile_finish): Free dwarf2. | |
67 | (xcoff_initial_scan): Add dwarf2 support. | |
68 | ||
3dd5b83d PA |
69 | 2011-06-06 Pedro Alves <pedro@codesourcery.com> |
70 | ||
71 | * infcall.c (run_inferior_call): Don't mask async. Instead force | |
72 | a synchronous wait, if the target can async. | |
73 | ||
74 | * target.h (struct target_ops): Delete to_async_mask. | |
75 | (target_async_mask): Delete. | |
76 | * target.c (update_current_target): Delete references to to_async_mask. | |
77 | * linux-nat.c (linux_nat_async_mask_value): Delete. | |
78 | (linux_nat_is_async_p, linux_nat_can_async_p): Remove references | |
79 | to linux_nat_async_mask_value. | |
80 | (linux_nat_async_mask): Delete. | |
81 | (linux_nat_async, linux_nat_close): Remove references to | |
82 | linux_nat_async_mask_value. | |
83 | * record.c (record_async_mask_value): Delete. | |
84 | (record_async): Remove references to record_async_mask_value. | |
85 | (record_async_mask): Delete. | |
86 | (record_can_async_p, record_is_async_p): Remove references to | |
87 | record_async_mask_value. | |
88 | (init_record_ops, init_record_core_ops): Remove references to | |
89 | record_async_mask. | |
90 | * remote.c (remote_async_mask_value): Delete. | |
91 | (init_remote_ops): Remove reference to remote_async_mask. | |
92 | (remote_can_async_p, remote_is_async_p): Remove references to | |
93 | remote_async_mask_value. | |
94 | (remote_async): Remove references to remote_async_mask_value. | |
95 | (remote_async_mask): Delete. | |
96 | ||
97 | * infrun.c (fetch_inferior_event): Don't claim registers changed | |
98 | if the current thread is already not executing. | |
99 | ||
64b9b334 JB |
100 | 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix) |
101 | ||
102 | From Stephen Kitt <steve@sk2.org> | |
103 | * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c, | |
104 | gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes. | |
105 | ||
325663dc JB |
106 | 2011-06-03 Joel Brobecker <brobecker@adacore.com> |
107 | ||
108 | * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle | |
109 | the case where ADDR_SIZE is different from TYPE_LENGTH (type). | |
110 | ||
8cf64490 TT |
111 | 2011-06-03 Tom Tromey <tromey@redhat.com> |
112 | ||
113 | * python/py-inferior.c (python_inferior_exit): Use inferior's exit | |
114 | code fields. | |
115 | * python/py-exitedevent.c (create_exited_event_object): Change | |
116 | type of 'exit_code'. Optionally add exit_code attribute. | |
117 | (emit_exited_event): Change type of 'exit_code'. | |
118 | * python/py-event.h (emit_exited_event): Update. | |
119 | * mi/mi-interp.c (mi_inferior_exit): Print exit code. | |
120 | * infrun.c (handle_inferior_event): Set exit code fields on | |
121 | inferior. | |
122 | * inferior.h (struct inferior) <has_exit_code, exit_code>: New | |
123 | fields. | |
124 | * inferior.c (exit_inferior_1): Initialize new fields. | |
125 | ||
8ddd9a20 TT |
126 | 2011-06-03 Tom Tromey <tromey@redhat.com> |
127 | ||
128 | * dwarf2expr.c (get_signed_type): New function. | |
129 | (execute_stack_op) <DW_OP_shra>: Always perform a signed shift. | |
130 | ||
8dfd1e6d KS |
131 | 2011-06-02 Keith Seitz <keiths@redhat.com> |
132 | ||
133 | * objc-lang.c (find_methods): Increment objfile_csym earlier. | |
134 | ||
65fdb766 PA |
135 | 2011-06-02 Pedro Alves <pedro@codesourcery.com> |
136 | ||
137 | * top.h (simplified_command_loop): Delete declaration. | |
138 | ||
f4b8c29b MF |
139 | 2011-06-01 Mike Frysinger <vapier@gentoo.org> |
140 | ||
141 | * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and | |
142 | gdb_sysroot to the "len" variable. Append both to "arg_buf". | |
143 | ||
1706c199 YQ |
144 | 2011-06-01 Yao Qi <yao@codesourcery.com> |
145 | ||
146 | * objfiles.h (obj_section_addr): Update reference to objfile from | |
147 | `abfd' to `obfd'. | |
148 | (obj_section_endaddr): Likewise. | |
149 | ||
d19cd713 | 150 | 2011-06-01 Daniel Jacobowitz <drow@false.org> |
8d07004d DJ |
151 | |
152 | * MAINTAINERS: Update my email address and affiliation. Also | |
153 | update Ian Lance Taylor's affiliation. Use UTF-8 for ludo@gnu.org. | |
154 | ||
e8eb7bc5 KS |
155 | 2010-05-31 Keith Seitz <keiths@redhat.com> |
156 | ||
157 | PR c++/12750 | |
158 | * linespec.c (get_search_block): New function. | |
159 | (find_methods): Add FILE_SYMTATB parameter and use it and | |
160 | get_search_block to pass an appropriate block to | |
161 | lookup_symbol_in_namespace. | |
162 | (decode_line_1): Record if *ARGPTR is single-quote enclosed. | |
163 | Check if *ARGPTR starts with a filename first. | |
164 | If it does, call locate_first_half again to locate the next | |
165 | "first half" of the linespec. | |
166 | Pass FILE_SYMTATB to decode_objc and decode_compound. | |
167 | Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. | |
168 | (locate_first_half): Stop on the first colon seen. | |
169 | (decode_compound): Add FILE_SYMTAB parameter. | |
170 | Pass FILE_SYMTAB to lookup_prefix_sym and find_method. | |
171 | (lookup_prefix_sym): Add FILE_SYMTAB parameter and use | |
172 | get_search_block with lookup_symbol. | |
173 | (find_method): Add FILE_SYMTAB parameter and pass it to | |
174 | find_methods. | |
175 | (decode_objc): Use get_search_block. | |
176 | ||
2b1dbab0 KS |
177 | 2010-05-31 Keith Seitz <keiths@redhat.com> |
178 | ||
179 | PR symtab/12704 | |
180 | * cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. | |
181 | (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR | |
182 | and CP_ANONYMOUS_NAMESPACE_LEN. | |
183 | (cp_is_anonymous): Likewise. | |
184 | * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. | |
185 | (CP_ANONYMOUS_NAMESPACE_LEN): Define. | |
186 | * dwarf2read.c (namespace_name): Likewise. | |
187 | (fixup_partial_die): Likewise. | |
188 | * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is | |
189 | seen in the input, keep it. | |
190 | ||
6d549500 PA |
191 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
192 | ||
193 | * target.h (enum inferior_event_type): Delete INF_QUIT_REQ. | |
194 | * inf-loop.h (inferior_event_handler_wrapper): Delete. | |
195 | * inf-loop.c (inferior_event_handler_wrapper): Delete. | |
196 | (inferior_event_handler): Don't handle INF_QUIT_REQ. | |
197 | * remote.c (_initialize_remote): Register | |
198 | async_remote_interrupt_twice directly as | |
199 | sigint_remote_twice_token event. | |
200 | ||
395bff70 PA |
201 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
202 | ||
203 | * target.h (enum inferior_event_type): Delete INF_ERROR. | |
204 | * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR. | |
205 | ||
97224164 PA |
206 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
207 | ||
208 | * interps.c (interp_set): Don't cancel continuations. | |
209 | ||
07e78767 JK |
210 | 2011-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
211 | ||
212 | * linux-nat.c (linux_lwp_is_zombie): Use xsnprintf. | |
213 | ||
fa4cd53f PA |
214 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
215 | ||
216 | * continuations.h (continuation_ftype): Add `err' parameter. | |
217 | Document parameters. | |
218 | (do_all_continuations, do_all_continuations_thread) | |
219 | (do_all_intermediate_continuations) | |
220 | (do_all_intermediate_continuations_thread) | |
221 | (do_all_inferior_continuations): Add `err' parameter. | |
222 | * continuations.c (do_my_continuations_1, do_my_continuations) | |
223 | (do_all_inferior_continuations, do_all_continuations_ptid) | |
224 | (do_all_continuations_thread_callback) | |
225 | (do_all_continuations_thread, do_all_continuations) | |
226 | (do_all_intermediate_continuations_thread_callback) | |
227 | (do_all_intermediate_continuations_thread) | |
228 | (do_all_intermediate_continuations): Add `err' parameter, and pass | |
229 | it down all the way to the continuations proper. | |
230 | * inf-loop.c (inferior_event_handler): If fetching an inferior | |
231 | event throws an error, don't pop the target, and still call the | |
232 | continuations, but with `err' set. Adjust all other continuation | |
233 | calls. | |
234 | * breakpoint.c (until_break_command_continuation): Add `err' | |
235 | parameter. | |
236 | * infcmd.c (step_1_continuation): Add `err' parameter. Don't | |
237 | issue another step if `err' is set. | |
238 | (struct until_next_continuation_args): New. | |
239 | (until_next_continuation): Add `err' parameter. Adjust. | |
240 | (until_next_command): Adjust. | |
241 | (struct finish_command_continuation_args): Add `thread' field. | |
242 | (finish_command_continuation): Add `err' parameter. Handle it. | |
243 | (finish_forward): Adjust. | |
244 | (attach_command_continuation): Add `err' parameter. Handle it. | |
245 | * infrun.c (infrun_thread_stop_requested_callback): Adjust to | |
246 | cancel the continuations. | |
247 | * interps.c (interp_set): Adjust to cancel the continuations. | |
248 | * thread.c (clear_thread_inferior_resources): Adjust to cancel the | |
249 | continuations rather than discarding. | |
250 | (free_thread): Don't clear thread inferior resources here. | |
251 | (delete_thread_1): Do it here instead. And do it before removing | |
252 | the thread from the threads list. Tag the thread as exited before | |
253 | clearing thread inferior resources. | |
254 | ||
c2949be0 JB |
255 | 2011-05-30 Joel Brobecker <brobecker@adacore.com> |
256 | ||
257 | * infcall.c (call_function_by_hand): Rephrase error message. | |
258 | ||
619cebe8 PA |
259 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
260 | ||
261 | * defs.h (struct thread_info, struct inferior): Delete forward | |
262 | declarations. | |
263 | * breakpoint.h (struct thread_info): New forward declaration. | |
264 | * observer.sh (struct inferior): New forward declaration. | |
265 | * python/python-internal.h (struct inferior): New forward | |
266 | declaration. | |
267 | ||
be34f849 PA |
268 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
269 | ||
270 | * defs.h (struct continuation, continuation_ftype) | |
271 | (continuation_free_arg_ftype, add_continuation) | |
272 | (do_all_continuations, do_all_continuations_thread) | |
273 | (discard_all_continuations, discard_all_continuations_thread) | |
274 | (add_intermediate_continuation, do_all_intermediate_continuations) | |
275 | (do_all_intermediate_continuations_thread) | |
276 | (discard_all_intermediate_continuations) | |
277 | (discard_all_intermediate_continuations_thread) | |
278 | (add_inferior_continuation, do_all_inferior_continuations) | |
279 | (discard_all_inferior_continuations): Move to ... | |
280 | * continuations.h: ... this new file. | |
281 | * breakpoint.c, continuations.c, event-top.c, inf-loop.c, | |
282 | infcmd.c, inferior.c, infrun.c, interps.c: Include | |
283 | continuations.h. | |
284 | ||
432b4d03 JK |
285 | 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
286 | Doug Evans <dje@google.com> | |
287 | ||
288 | Fix PR 10970, PR 12702. | |
289 | * linux-nat.c (linux_lwp_is_zombie): New function. | |
290 | (wait_lwp): Initialize status. New variable prev_mask. Block signals. | |
291 | Check for linux_lwp_is_zombie. Use WNOHANG and sigsuspend. | |
292 | ||
b0f260d6 PA |
293 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
294 | ||
295 | * defs.h (continuation_ftype, continuation_free_arg_ftype): New | |
296 | typedefs. | |
297 | (add_continuation, add_intermediate_continuation) | |
298 | (add_inferior_continuation): Use them. | |
299 | * continuations.c (struct continuation): Use them. | |
300 | (make_continuation_ftype): Delete. | |
301 | (make_continuation, add_inferior_continuation, add_continuation) | |
302 | (add_intermediate_continuation): Use continuation_ftype and | |
303 | continuation_free_arg_ftype. Rename parameters to shorter names. | |
304 | ||
af1e9a32 PA |
305 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
306 | ||
307 | * continuations.c (make_continuation): Make it return void. | |
308 | (do_my_continuations): Rename to ... | |
309 | (do_my_continuations_1): ... this. Remove old_chain parameter and | |
310 | adjust. | |
311 | (do_my_continuations): New. | |
312 | (discard_my_continuations): Rename to ... | |
313 | (discard_my_continuations_1): ... this. Remove old_chain | |
314 | parameter and adjust. | |
315 | (discard_my_continuations): New. | |
316 | (add_inferior_continuation): Simplify. | |
317 | (do_all_inferior_continuations): Reimplement on top | |
318 | do_my_continuations. | |
319 | (discard_all_inferior_continuations): Simplify. | |
320 | (add_continuation): Simplify. | |
321 | (do_all_continuations_ptid): Simplify. | |
322 | (discard_all_continuations_thread_callback): Simplify. | |
323 | (add_intermediate_continuation): Simplify. | |
324 | (discard_all_intermediate_continuations_thread_callback): | |
325 | Simplify. | |
326 | ||
50c0c017 PA |
327 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
328 | ||
329 | * utils.c (struct continuation, add_continuation) | |
330 | (add_inferior_continuation) | |
331 | (do_all_inferior_continuations, discard_all_inferior_continuations) | |
332 | (restore_thread_cleanup, do_all_continuations_ptid) | |
333 | (do_all_continuations_thread_callback) | |
334 | (do_all_continuations_thread, do_all_continuations) | |
335 | (discard_all_continuations_thread_callback) | |
336 | (discard_all_continuations_thread, discard_all_continuations) | |
337 | (add_intermediate_continuation) | |
338 | (do_all_intermediate_continuations_thread_callback) | |
339 | (do_all_intermediate_continuations_thread) | |
340 | (do_all_intermediate_continuations) | |
341 | (discard_all_intermediate_continuations_thread_callback) | |
342 | (discard_all_intermediate_continuations_thread) | |
343 | (discard_all_intermediate_continuations): Move to ... | |
344 | * continuations.c: ... this new file, and adjust to no longer | |
345 | implement continuations on top of cleanups. | |
346 | * Makefile.in (SFILES): Add continuations.c. | |
347 | (COMMON_OBS): Add continuations.o. | |
348 | ||
d8b34453 PA |
349 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
350 | ||
351 | * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. | |
352 | * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. | |
353 | Internal error on invalid values. | |
354 | * reverse.c: Don't handle EXEC_ERROR. | |
355 | * mi/mi-main.c: Don't handle EXEC_ERROR. | |
356 | ||
32231432 PA |
357 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
358 | ||
359 | * record.c: Include event-loop.h, inf-loop.h. | |
360 | (record_beneath_to_async): New global. | |
361 | (tmp_to_async): New global. | |
362 | (record_async_inferior_event_token): New global. | |
363 | (record_open_1): Don't error out if async is enabled. | |
364 | (record_open): Handle to_async. Create an async event source in | |
365 | the event loop. | |
366 | (record_close): Delete the async event source. | |
367 | (record_resumed): New global. | |
368 | (record_execution_dir): New global. | |
369 | (record_resume, record_core_resume): Set them. Register the | |
370 | target on the event loop. | |
371 | (record_wait): Rename to ... | |
372 | (record_wait_1): ... this. Add more debug output. Handle | |
373 | TARGET_WNOHANG, and the target beneath returning | |
374 | TARGET_WAITKIND_IGNORE. | |
375 | (record_wait): Reimplement on top of record_wait_1. | |
376 | (record_async_mask_value): New global. | |
377 | (record_async, record_async_mask, record_can_async_p) | |
378 | (record_is_async_p, record_execution_direction): New functions. | |
379 | (init_record_ops, init_record_core_ops): Install new methods. | |
380 | * infrun.c (fetch_inferior_event): Temporarily switch the global | |
381 | execution direction to the direction the target was going. | |
382 | (execution_direction): Change type to int. | |
383 | * target.c (default_execution_direction): New function. | |
384 | (update_current_target): Inherit and de_fault | |
385 | to_execution_direction. | |
386 | * target.h (struct target_ops) <to_execution_direction>: New | |
387 | field. | |
388 | (target_execution_direction): New macro. | |
389 | * inferior.h (execution_direction): Change type to int. | |
390 | ||
949dc678 PA |
391 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
392 | ||
393 | * infcall.c (call_function_by_hand): Don't allow calling functions | |
394 | in reverse execution mode. | |
395 | ||
c13bd2b5 PA |
396 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
397 | ||
398 | * infcmd.c (finish_command): Allow async finish in reverse. | |
399 | ||
6938fd34 YQ |
400 | 2011-05-26 Yao Qi <yao@codesourcery.com> |
401 | ||
402 | * gdb_thread_db.h: Delete. Move to ... | |
403 | * common/gdb_thread_db.h: ... here. | |
404 | ||
9da8c2a0 PA |
405 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
406 | ||
407 | * infcmd.c (finish_backward): Set a step-resume breakpoint at the | |
408 | function's entry point instead of a manually managed momentary | |
409 | breakpoint, and only ever issue one proceed call. | |
410 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If | |
411 | doing a reverse-finish, switch to stepi mode, to do another step. | |
412 | (insert_step_resume_breakpoint_at_sal): Make public. | |
413 | (normal_stop): No need to save function value return registers if | |
414 | going reverse. | |
415 | * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. | |
416 | ||
2c03e5be PA |
417 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
418 | ||
419 | * breakpoint.h (enum bptype) <bp_hp_step_resume>: New. | |
420 | (enum bpstat_what_main_action): Move BPSTAT_WHAT_STEP_RESUME | |
421 | before BPSTAT_WHAT_STOP_SILENT. Add BPSTAT_WHAT_HP_STEP_RESUME | |
422 | at the end. | |
423 | * breakpoint.c (update_breakpoints_after_exec): Also delete hp | |
424 | step-resume breakpoints. | |
425 | (print_it_typical): Handle bp_hp_step_resume. | |
426 | (bpstat_what): Ditto. | |
427 | (bptype_string): Ditto. | |
428 | (print_one_breakpoint_location): Ditto. | |
429 | (allocate_bp_location): Ditto. | |
430 | (mention): Ditto. | |
431 | (breakpoint_re_set_one): Ditto. | |
432 | * infrun.c (handle_inferior_event): Adjust. Split | |
433 | BPSTAT_WHAT_STEP_RESUME handling in BPSTAT_WHAT_STEP_RESUME and | |
434 | BPSTAT_WHAT_HP_STEP_RESUME. | |
435 | (insert_step_resume_breakpoint_at_sal): Rename to ... | |
436 | (insert_step_resume_breakpoint_at_sal_1): ... this. Add bptype | |
437 | parameter. Handle it. | |
438 | (insert_step_resume_breakpoint_at_sal): Reimplement on top of | |
439 | insert_step_resume_breakpoint_at_sal_1. | |
440 | (insert_step_resume_breakpoint_at_frame): Rename to ... | |
441 | (insert_hp_step_resume_breakpoint_at_frame): ... this. Adjust to | |
442 | set a high-priority step-resume breakpoint. | |
443 | (insert_step_resume_breakpoint_at_frame): Adjust comment. | |
444 | (insert_step_resume_breakpoint_at_caller): Ditto. | |
445 | ||
51be5b68 PA |
446 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
447 | ||
448 | * breakpoint.c (iterate_over_related_breakpoints): New. | |
449 | (do_map_delete_breakpoint): New. | |
450 | (delete_command): Pass do_map_delete_breakpoint to | |
451 | map_breakpoint_numbers. | |
452 | (do_disable_breakpoint): New. | |
453 | (do_map_disable_breakpoint): Iterate over the breakpoint's related | |
454 | breakpoints. | |
455 | (do_enable_breakpoint): Rename to ... | |
456 | (enable_breakpoint_disp): ... this. | |
457 | (enable_breakpoint): Adjust. | |
458 | (do_enable_breakpoint): New. | |
459 | (enable_once_breakpoint): Delete. | |
460 | (do_map_enable_breakpoint): New. | |
461 | (do_map_enable_once_breakpoint): New. | |
462 | (enable_once_command, enable_delete_command) | |
463 | (delete_trace_command): Iterate over the breakpoint's related | |
464 | breakpoints. | |
465 | ||
4a1be8d2 PA |
466 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
467 | ||
468 | * alpha-tdep.c (alpha_cannot_fetch_register): Don't return true | |
469 | for ALPHA_ZERO_REGNUM. | |
470 | (alpha_supply_int_regs): Explicitly supply zero as the value for | |
471 | ALPHA_ZERO_REGNUM in the register cache. | |
472 | * alpha-nat.c (fetch_osf_core_registers): Ditto. | |
473 | ||
59d70315 YQ |
474 | 2011-05-26 Yao Qi <yao@codesourcery.com> |
475 | ||
476 | * gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T. | |
477 | ||
251d32d9 TG |
478 | 2011-05-26 Tristan Gingold <gingold@adacore.com> |
479 | ||
480 | * symfile.h (struct dwarf2_section_names): New type. | |
481 | (struct dwarf2_debug_sections): New type. | |
482 | (dwarf2_has_info): Add parameter. | |
483 | * dwarf2read.c (dwarf2_elf_names): New variable. | |
484 | (INFO_SECTION, ABBREV_SECTION, LINE_SECTION, LOC_SECTION) | |
485 | (MACINFO_SECTION, STR_SECTION, RANGES_SECTION, TYPES_SECTION) | |
486 | (FRAME_SECTION, EH_FRAME_SECTION, GDB_INDEX_SECTION): Remove. | |
487 | (dwarf2_has_info): Add names parameter. Pass names | |
488 | to dwarf2_locate_sections. | |
489 | (section_is_p): Rewrite using the names parameter. | |
490 | (dwarf2_locate_sections): Use section names from the names parameter. | |
491 | * coffread.c (coff_symfile_read): Adjust call to dwarf2_has_info. | |
492 | * elfread.c (read_psyms): Ditto. | |
493 | * machoread.c (macho_symfile_read): Ditto. | |
494 | ||
652c71b4 AS |
495 | 2011-05-25 Andreas Schwab <schwab@redhat.com> |
496 | ||
497 | PR gdb/8677 | |
498 | * event-loop.c (handle_file_event): Don't handle POLLHUP as error. | |
499 | ||
f17170e5 KS |
500 | 2011-05-24 Keith Seitz <keiths@redhat.com> |
501 | ||
502 | PR breakpoint/12803 | |
503 | * linespec.c (keep_name_info): Add handling for "volatile" keyword. | |
504 | (decode_compound): Unconditionally call keep_name_info. | |
505 | ||
cdac0397 PA |
506 | 2011-05-24 Pedro Alves <pedro@codesourcery.com> |
507 | ||
508 | * breakpoint.c (watchpoint_check): If the watchpoint went out of | |
509 | scope, clear its command list. | |
510 | (map_breakpoint_numbers): Don't walk the related breakpoints list | |
511 | of each breakpoint. | |
512 | ||
91d4fe3f TT |
513 | 2011-05-24 Tom Tromey <tromey@redhat.com> |
514 | ||
515 | * MAINTAINERS: Move Jim Blandy to past maintainers. | |
516 | ||
3017a003 TG |
517 | 2011-05-24 Tristan Gingold <gingold@adacore.com> |
518 | ||
519 | * symfile.h (enum dwarf2_section_enum): New type. | |
520 | (dwarf2_get_section_info): New prototype. | |
521 | * dwarf2read.c (dwarf2_get_section_info): Replace parameter | |
522 | section_name by sect. Use a switch to select the info. | |
523 | * dwarf2-frame.c (warf2_get_section_info): Remove prototype. | |
524 | (dwarf2_build_frame_info): Adjust calls to dwarf2_get_section_info. | |
525 | ||
c91c8c16 PA |
526 | 2011-05-24 Pedro Alves <pedro@codesourcery.com> |
527 | ||
528 | * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting | |
529 | shared library event breakpoint if there's no execution. | |
530 | ||
77bc418a TJB |
531 | 2011-05-24 Thiago Jung Bauermann <bauerman@br.ibm.com> |
532 | ||
533 | * breakpont.c (remove_hw_watchpoints): Remove unused function. | |
534 | * breakpoint.h remove_hw_watchpoints(): Remove prototype. | |
535 | ||
c50491a7 TT |
536 | 2011-05-23 Tom Tromey <tromey@redhat.com> |
537 | ||
538 | * c-lang.c (evaluate_subexp_c): Use expect_type if it is not | |
539 | NULL. | |
540 | ||
6d64e6d4 DE |
541 | 2011-05-23 Doug Evans <dje@google.com> |
542 | ||
543 | * python/lib/gdb/printing.py (register_pretty_printer): Add missing | |
544 | entry for RuntimeError to doc string. | |
545 | ||
2067c8d4 JG |
546 | 2011-05-23 Jerome Guitton <guitton@adacore.com> |
547 | ||
548 | * sparc-tdep.c (sparc_skip_stack_check): Recognize a new instruction | |
549 | sequence for probing loops. | |
550 | ||
b136cd05 PA |
551 | 2011-05-23 Pedro Alves <pedro@codesourcery.com> |
552 | ||
553 | * infrun.c (user_visible_resume_ptid): Fix typos in describing | |
554 | comment. | |
555 | ||
22e74ef9 MK |
556 | 2011-05-21 Mark Kettenis <kettenis@gnu.org> |
557 | ||
558 | * sparc-nat.c (sparc_fetch_inferior_registers): Explicitly supply | |
559 | zero as the value for %g0 in the register cache. | |
560 | * sparc-tdep.c (sparc32_supply_gregset): Likewise. | |
561 | * sparc64-tdep.c (sparc64_supply_gregset): Likewise. | |
562 | ||
842951eb PA |
563 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
564 | ||
565 | * infrun.c (proceed): Set previous_inferior_ptid here. | |
566 | (init_wait_for_inferior): Initialize previous_inferior_ptid from | |
567 | inferior_ptid, not null_ptid. | |
568 | (wait_for_inferior): Don't initialize previous_inferior_ptid here. | |
569 | (fetch_inferior_event): Nor here. | |
570 | ||
46cf51e6 PA |
571 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
572 | ||
573 | * inf-loop.c (inferior_event_handler): Only output a message if | |
574 | verbose. | |
575 | ||
29ef4c46 LM |
576 | 2011-05-20 Luis Machado <lgustavo@codesourcery.com> |
577 | ||
578 | * MAINTAINERS: Update my e-mail address. | |
579 | ||
f148b27e PA |
580 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
581 | ||
582 | * infrun.c (proceed): Switch the inferior event loop to | |
583 | INF_EXEC_COMPLETE if the target refused to resume from a | |
584 | vfork/fork. | |
585 | ||
09cee04b PA |
586 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
587 | ||
588 | * infcmd.c: Include "inf-loop.h". | |
589 | (step_once): When stepping into an inline subroutine, pretend the | |
590 | target has run. If the target can async, switch the inferior | |
591 | event loop to INF_EXEC_COMPLETE. | |
592 | * inferior.h (user_visible_resume_ptid): Declare. | |
593 | * infrun.c (user_visible_resume_ptid): New function, factored out | |
594 | from `resume'. | |
595 | (resume): Use it. | |
596 | * mi/mi-main.c (mi_execute_async_cli_command): Remove assertion | |
597 | that the current thread is running. Merge async and sync | |
598 | branches. | |
599 | ||
751b8ce1 PA |
600 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
601 | ||
602 | * infcmd.c (step_1): Simplify synchronous case. | |
603 | ||
e93a69ed PA |
604 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
605 | ||
606 | * tracepoint.c: Include exceptions.h. | |
607 | (TFILE_PID): Move higher in file. | |
608 | (tfile_open): Delay pushing the tfile target until we're assured | |
609 | the tfile header is present in the file. Wrap reading the initial | |
610 | newline-terminated lines in TRY_CATCH. Pop the target if the | |
611 | initial setup failed. Add the tfile's thread immediately | |
612 | aftwards, before any non-essential setup. Don't skip | |
613 | post_create_inferior if there are no traceframes present in the | |
614 | file. | |
615 | (tfile_close): Remove redundant check for null before xfree call. | |
616 | (tfile_thread_alive): New function. | |
617 | (init_tfile_ops): Register it as to_thread_alive callback. | |
618 | ||
6823e2b1 PA |
619 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
620 | ||
621 | * tracepoint.c (tfile_open): Delete #if 0'd code. | |
622 | ||
b3c8eb43 JK |
623 | 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
624 | ||
625 | Fix -readnow for -gdwarf-4 unused type units. | |
626 | * dwarf2read.c (struct signatured_type): Remove the field offset. | |
627 | (create_signatured_type_table_from_index): Remove its initialization. | |
628 | (create_debug_types_hash_table): Likewise. Initialize per_cu.offset | |
629 | instead. Add a complaint call. | |
630 | (process_psymtab_comp_unit): Change assignment to gdb_assert. | |
631 | (process_type_comp_unit, lookup_die_type, dump_die_shallow) | |
632 | (lookup_signatured_type_at_offset, read_signatured_type) | |
633 | (write_one_signatured_type): Update the field for per_cu. | |
634 | ||
310afc76 TT |
635 | 2011-05-19 Tom Tromey <tromey@redhat.com> |
636 | ||
637 | * python/py-inferior.c (python_inferior_exit): Use | |
638 | target_gdbarch. | |
639 | (python_on_resume): Likewise. | |
640 | ||
cf6c5ffb TT |
641 | 2011-05-19 Matt Rice <ratmice@gmail.com> |
642 | ||
643 | * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. | |
644 | ||
fb80a3c5 HZ |
645 | 2011-05-19 Hui Zhu <teawater@gmail.com> |
646 | ||
647 | * tracepoint.c (tfile_trace_find): Return directly when num is -1. | |
648 | ||
3672b1be HZ |
649 | 2011-05-19 Hui Zhu <teawater@gmail.com> |
650 | ||
651 | * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. | |
652 | ||
ff355380 TT |
653 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
654 | ||
655 | * dwarf2read.c (dwarf2_add_field): Constify. | |
656 | * value.c (value_static_field): Constify. | |
657 | * gdbtypes.h (struct main_type) <field.field_location.physname>: | |
658 | Now const. | |
659 | * ax-gdb.c (gen_static_field): Constify | |
660 | ||
ed731959 JK |
661 | 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
662 | ||
663 | * linux-nat.c (kill_callback): Use SIGKILL first. | |
664 | ||
967cff16 JB |
665 | 2011-05-18 Joel Brobecker <brobecker@adacore.com> |
666 | ||
667 | * ada-lang.c (print_it_exception): Avoid use of sprintf. | |
668 | ||
1d06ead6 TT |
669 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
670 | ||
671 | * value.c (value_fn_field): Constify. | |
672 | * symtab.c (gdb_mangle_name): Constify. | |
673 | * stabsread.c (update_method_name_from_physname): Make 'physname' | |
674 | argument const. | |
675 | * p-typeprint.c (pascal_type_print_method_args): Make arguments | |
676 | const. Use explicit fputc_filtered loop. | |
677 | (pascal_type_print_base): Constify. | |
678 | * p-lang.h (pascal_type_print_method_args): Update. | |
679 | * linespec.c (add_matching_methods): Constify. | |
680 | (add_constructors): Likewise. | |
681 | * jv-typeprint.c (java_type_print_base): Constify. | |
682 | * gdbtypes.h (struct cplus_struct_type) | |
683 | <fn_fieldlist.fn_field.physname>: Now const. | |
684 | * dwarf2read.c (compute_delayed_physnames): Constify. | |
685 | (dwarf2_add_member_fn): Likewise. | |
686 | * c-typeprint.c (c_type_print_base): Constify. Use cleanups. | |
687 | ||
0d9a9a5f PA |
688 | 2011-05-18 Pedro Alves <pedro@codesourcery.com> |
689 | ||
690 | * infrun.c (resume): Mention which is the current thread, and its | |
691 | current PC in debug output. | |
692 | (prepare_to_proceed): Mention the thread switching in debug | |
693 | output. | |
694 | ||
05386e9e TT |
695 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
696 | ||
697 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute | |
698 | path check. Use xmalloc and cleanups. | |
699 | (try_thread_db_load_from_dir): Use xmalloc and cleanups. | |
700 | ||
ee86786c TT |
701 | 2011-05-17 Tom Tromey <tromey@redhat.com> |
702 | ||
703 | * cp-valprint.c (cp_print_value_fields): Catch errors from | |
704 | value_static_field. | |
705 | ||
9ff3b74f TT |
706 | 2011-05-17 Tom Tromey <tromey@redhat.com> |
707 | ||
708 | * dwarf2read.c (dwarf2_get_die_type): Call | |
709 | get_die_type_at_offset. | |
710 | * dwarf2expr.c (dwarf_get_base_type): Handle NULL return from | |
711 | get_base_type function. | |
712 | ||
cd3da28e PA |
713 | 2011-05-17 Tomas Martinec <fyzmat@gmail.com> |
714 | ||
715 | * infrun.c (handle_inferior_event) <handling deferred step>: Clear | |
716 | trap_expected. | |
717 | ||
fd20d931 DE |
718 | 2011-05-16 Doug Evans <dje@google.com> |
719 | ||
720 | * python/py-auto-load.c (source_section_scripts): Mention objfile | |
721 | name in warning. | |
722 | ||
75fc9810 DE |
723 | 2011-05-15 Doug Evans <dje@google.com> |
724 | ||
290351b8 DE |
725 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function. |
726 | (try_thread_db_load_from_pdir): Call it. If unable to find | |
727 | libthread_db in directory of libpthread, see if we're looking at | |
728 | the separate-debug-info copy. | |
729 | ||
75fc9810 DE |
730 | * python/py-autoload.c (print_script): Print "Missing" instead of |
731 | "No" for missing scripts. | |
732 | (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". | |
733 | ||
9f7bc587 DE |
734 | 2011-05-13 Doug Evans <dje@google.com> |
735 | ||
736 | * ui-file.c (stdio_file_write_async_safe): Add comment. | |
737 | ||
093cee7d HZ |
738 | 2011-05-14 Hui Zhu <teawater@gmail.com> |
739 | ||
740 | * ui-file.c (stdio_file_write_async_safe): Add empty check for build. | |
741 | ||
dbaefcf7 DE |
742 | 2011-05-13 Doug Evans <dje@google.com> |
743 | ||
98a5dd13 DE |
744 | Support $pdir and $sdir in libthread-db-search-path. |
745 | * NEWS: Mention $sdir,$pdir. | |
746 | * gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir. | |
747 | * linux-thread-db.c (try_thread_db_load_from_pdir): New function. | |
748 | (try_thread_db_load_from_sdir): New function. | |
749 | (try_thread_db_load_from_dir): New function. | |
750 | (thread_db_load_search): Handle $pdir, $sdir. Remove trying of | |
751 | system directories if search of libthread-db-search-path fails, | |
752 | that is now done via $sdir. | |
753 | (has_libpthread): New function. | |
754 | (thread_db_load): Remove search for libthread_db in directory of | |
755 | libpthread, that is now done via $pdir. | |
756 | ||
dbaefcf7 DE |
757 | * NEWS: Mention "info auto-load-scripts". |
758 | * python/py-auto-load.c (struct auto_load_pspace_info): New member | |
759 | script_not_found_warning_printed. | |
760 | (init_loaded_scripts_info): Renamed from create_loaded_scripts_hash, | |
761 | all callers updated. Initialize script_not_found_warning_printed. | |
762 | (get_auto_load_pspace_data_for_loading): New function. | |
763 | (maybe_add_script): New function. | |
764 | (source_section_scripts): Simplify. Only print one warning regardless | |
765 | of the number of auto-load scripts not found. | |
766 | (clear_section_scripts): Clear script_not_found_warning_printed. | |
767 | (auto_load_objfile_script): Record script in hash table. | |
768 | (count_matching_scripts): New function. | |
769 | (maybe_print_script): Renamed from maybe_print_section_script, all | |
770 | callers updated. Rewrite to use ui_out_*. | |
771 | (info_auto_load_scripts): Renamed from | |
772 | maintenance_print_section_scripts, all callers updated. | |
773 | (gdbpy_initialize_auto_load): "maintenance print section-scripts" | |
774 | renamed as "info auto-load-scripts". | |
775 | ||
9930639c TT |
776 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
777 | ||
778 | * dwarf2expr.c (read_uleb128): Cast intermediate result. | |
779 | (read_sleb128): Likewise. | |
780 | ||
06826322 TT |
781 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
782 | ||
783 | * dwarf2loc.c (disassemble_dwarf_expression): Fix instruction | |
784 | offset display. | |
785 | ||
01124a23 DE |
786 | 2011-05-13 Doug Evans <dje@google.com> |
787 | ||
788 | * linux-nat.c (debug_linux_nat_async): Delete. | |
789 | Replace all references to use debug_linux_nat instead. | |
790 | (show_debug_linux_nat_async): Delete. | |
791 | (sigchld_handler): Call ui_file_write_async_safe instead of | |
792 | fprintf_unfiltered. | |
793 | (_initialize_linux_nat): Remove `set debug lin-lwp-async'. | |
794 | * ui-file.c (struct ui_file): New member to_write_async_safe. | |
795 | (null_file_write_async_safe): New function. | |
796 | (ui_file_write_async_safe): New function. | |
797 | (set_ui_file_write_async_safe): New function. | |
798 | (ui_file_new): Initialize to_write_async_safe. | |
799 | (stdio_file_write_async_safe): New function. | |
800 | (struct stdio_file): New member fd. | |
801 | (stdio_file_new): Initialize to_write_async_safe, fd. | |
bbfac39e DE |
802 | (stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling |
803 | fileno. | |
01124a23 DE |
804 | * ui-file.h (ui_file_write_async_safe_ftype): New typedef. |
805 | (set_ui_file_write_async_safe): Declare. | |
806 | (ui_file_write_async_safe): Declare. | |
807 | ||
72fc29ff TT |
808 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
809 | ||
810 | * utils.c (do_value_free): New function. | |
811 | (make_cleanup_value_free): Likewise. | |
812 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle value | |
813 | freeing correctly. | |
814 | (dwarf2_loc_desc_needs_frame): Call | |
815 | make_cleanup_value_free_to_mark. | |
816 | * dwarf2expr.h (struct dwarf_expr_context) <mark>: Remove field. | |
817 | * dwarf2expr.c (free_dwarf_expr_context): Don't call | |
818 | value_free_to_mark. | |
819 | (new_dwarf_expr_context): Don't call value_mark. | |
820 | * dwarf2-frame.c (execute_stack_op): Call | |
821 | make_cleanup_value_free_to_mark. | |
822 | * defs.h (make_cleanup_value_free): Declare. | |
823 | ||
028d0ed5 TJB |
824 | 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
825 | ||
826 | * mi/mi-main.c (mi_cmd_execute): Use cleanup from | |
827 | prepare_execute_command. | |
828 | * top.c (prepare_execute_command): Return cleanup. | |
829 | (execute_command): Use cleanup from prepare_execute_command. | |
830 | * top.h (prepare_execute_command): Change prototype to return | |
831 | cleanup. | |
832 | * defs.h (struct value): Add opaque declaration. | |
833 | (make_cleanup_value_free_to_mark): Add prototype. | |
834 | * utils.c (do_value_free_to_mark): New function. | |
835 | (make_cleanup_value_free_to_mark): Likewise. | |
836 | ||
b087e0ed TT |
837 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
838 | ||
839 | * dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally | |
840 | cast left-hand-side to unsigned. | |
841 | ||
8a9b8146 TT |
842 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
843 | ||
844 | PR gdb/12617: | |
845 | * value.h (value_from_contents): Declare. | |
846 | * value.c (value_from_contents): New function. | |
847 | * dwarf2read.c (dwarf_stack_op_name): Add new values. | |
848 | (dwarf2_get_die_type): New function. | |
849 | * dwarf2loc.c (dwarf_expr_get_base_type): New function. | |
850 | (allocate_piece_closure): Acquire reference to values. | |
851 | (read_pieced_value): Update for value-based expressions. | |
852 | (write_pieced_value): Likewise. | |
853 | (free_pieced_value_closure): Call value_free as needed. | |
854 | (dwarf2_evaluate_loc_desc_full): Set get_base_type field. | |
855 | Update for value-based expressions. | |
856 | * dwarf2loc.h (dwarf2_get_die_type): Declare. | |
857 | * dwarf2expr.h (struct dwarf_stack_value) <value>: Change type. | |
858 | <get_base_type>: New field. | |
859 | (struct dwarf_expr_piece) <v.value>: Change type. | |
860 | <v.regno>: New field. | |
861 | (struct dwarf_expr_context) <mark>: New field. | |
862 | (dwarf_expr_piece, dwarf_expr_fetch): Update. | |
863 | (dwarf_expr_pop, dwarf_expr_push): Remove. | |
864 | (dwarf_expr_push_address): Declare. | |
865 | * dwarf2expr.c (dwarf_arch_cookie): New global. | |
866 | (struct dwarf_gdbarch_types): New. | |
867 | (dwarf_gdbarch_types_init, dwarf_expr_address_type): New | |
868 | functions. | |
869 | (dwarf_expr_push): Change type of 'value' argument. Update. Now | |
870 | static. | |
871 | (dwarf_expr_push_address): New function. | |
872 | (dwarf_expr_pop): Now static. | |
873 | (dwarf_expr_fetch): Change return type. | |
874 | (dwarf_require_integral): New function. | |
875 | (dwarf_expr_fetch): Simplify. | |
876 | (add_piece): Update. | |
877 | (base_types_equal_p, dwarf_get_base_type, get_unsigned_type): New | |
878 | functions. | |
879 | (execute_stack_op) <sign_ext>: Remove. | |
880 | Use values for DWARF stack. | |
881 | <DW_OP_GNU_const_type, DW_OP_GNU_deref_type, | |
882 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
883 | New cases. | |
884 | (_initialize_dwarf2expr): New function. | |
885 | (add_piece): Update. | |
886 | (new_dwarf_expr_context): Set new field. | |
887 | (free_dwarf_expr_context): Call value_free_to_mark. | |
888 | * dwarf2-frame.c (no_base_type): New function. | |
889 | (execute_stack_op): Set get_base_type field. Update. | |
890 | ||
e8d28ef4 TT |
891 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
892 | ||
893 | * dwarf2read.c (read_common_block): Fix formatting. | |
894 | ||
d248b706 KY |
895 | 2011-05-12 Kwok Cheung Yeung <kcy@codesourcery.com> |
896 | ||
897 | * breakpoint.c (disable_breakpoint): Disable all locations | |
898 | associated with a tracepoint on target if a trace experiment is | |
899 | running. | |
900 | (disable_command): Disable a specific tracepoint location on target if | |
901 | a trace experiment is running. | |
902 | (do_enable_breakpoint): Enable all locations associated with a | |
903 | tracepoint on target if a trace experiment is running. | |
904 | (enable_command) Enable a specific tracepoint location on target if a | |
905 | trace experiment is running. | |
906 | * target.c (update_current_target): Add INHERIT and de_fault clauses for | |
907 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
908 | to_disable_tracepoint. | |
909 | * target.h: Add declaration of struct bp_location. | |
910 | (struct target_ops): Add new functions | |
911 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
912 | to_disable_tracepoint to target operations. | |
913 | (target_supports_enable_disable_tracepoint): New macro. | |
914 | (target_enable_tracepoint): New macro. | |
915 | (target_disable_tracepoint): New macro. | |
916 | * remote.c (struct remote_state): Add new field. | |
917 | (remote_enable_disable_tracepoint_feature): New. | |
918 | (remote_protocol_features): Add new entry. | |
919 | (remote_supports_enable_disable_tracepoint): New. | |
920 | (remote_enable_tracepoint): New. | |
921 | (remote_disable_tracepoint): New. | |
922 | (init_remote_ops): Add remote_enable_tracepoint, | |
923 | remote_disable_tracepoint and remote_supports_enable_disable_tracepoint | |
924 | to remote operations. | |
925 | * tracepoint.c (start_tracing): Allow tracing to start without any | |
926 | tracepoints enabled with just a warning if they can be re-enabled | |
927 | later. | |
928 | * NEWS: Add news item for the new behaviour of the enable and disable | |
929 | GDB commands when applied to tracepoints. | |
930 | Add news items for the new remote packets QTEnable and QTDisable. | |
931 | ||
cc88a640 JK |
932 | 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
933 | ||
934 | * config.in: Regenerate. | |
935 | * configure: Regenerate. | |
936 | * configure.ac <--with-system-readline> (for readline_echoing_p): | |
937 | Remove the test. | |
938 | * tui/tui-io.c (tui_old_readline_echoing_p): Rename to ... | |
939 | (tui_old_rl_echoing_p): ... here. | |
940 | (tui_setup_io): Rename extern declaration readline_echoing_p to | |
941 | _rl_echoing_p. Adjust assignments for the both renames. | |
942 | ||
1f84b619 TJB |
943 | 2011-05-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
944 | ||
945 | * symtab.c (lookup_symtab): Run cleanup before returning. | |
946 | ||
74ac6d43 TT |
947 | 2011-05-11 Tom Tromey <tromey@redhat.com> |
948 | ||
949 | * dwarf2read.c (handle_data_member_location): New function. | |
950 | (dwarf2_add_field): Use it. | |
951 | (read_common_block): Likewise. | |
952 | ||
5488dafb JK |
953 | 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
954 | ||
955 | Make addrs->SECTINDEX always defined. | |
956 | * symfile.c (relative_addr_info_to_section_offsets): Check for | |
957 | SECTINDEX -1, not for zero ADDR. | |
958 | (addrs_section_compar): Remove checking for invalid SECTINDEX. | |
959 | (addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries. | |
960 | * symfile.h (struct section_addr_info) <sectindex>: Update the comment | |
961 | on its validity. | |
962 | ||
84e578fb DE |
963 | 2011-05-10 Doug Evans <dje@google.com> |
964 | ||
2471d008 DE |
965 | * linux-thread-db.c: Whitespace cleanup. |
966 | (try_thread_db_load_1): Fix comment. | |
967 | ||
84e578fb DE |
968 | * linux-thread-db.c (set_libthread_db_search_path): New function. |
969 | (_initialize_thread_db): Add setter for libthread-db-search-path. | |
970 | ||
673c2bbe DE |
971 | 2011-05-09 Doug Evans <dje@google.com> |
972 | ||
478aac75 DE |
973 | * NEWS: Mention --with-iconv-bin. |
974 | * configure.ac: New option --with-iconv-bin. | |
975 | * configure: Regenerate. | |
976 | * config.in: Regenerate. | |
977 | * defs.h (relocate_gdb_directory): Declare. | |
978 | * main.c (relocate_gdb_directory): Renamed from relocate_directory, | |
979 | removed progname parameter, and exported. All callers updated. | |
980 | * charset.c (find_charset_names): Use --with-iconv-bin if specified. | |
981 | ||
673c2bbe DE |
982 | * linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case, |
983 | adding missing call to restore_child_signals_mask. | |
984 | ||
e4c8541f PA |
985 | 2011-05-09 Pedro Alves <pedro@codesourcery.com> |
986 | ||
987 | * inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap' | |
988 | parameter. | |
989 | * infrun.c (proceed, start_remote): Adjust. | |
990 | (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter, | |
991 | and adjust to not handle it. | |
992 | * solib-irix.c (irix_solib_create_inferior_hook): Adjust. | |
993 | * solib-osf.c (osf_solib_create_inferior_hook): Adjust. | |
994 | * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust. | |
995 | * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust. | |
996 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
997 | * infcmd.c (attach_command): Adjust. | |
998 | (notice_new_inferior): Adjust. | |
999 | ||
a536c6d7 UW |
1000 | 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
1001 | ||
1002 | * ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers. | |
1003 | (ppu2spu_unwind_register): Mark pseudo registers unavailable. | |
1004 | * spu-tdep.c (op_selb): Use correct value. | |
1005 | ||
7845b013 UW |
1006 | 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
1007 | ||
1008 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL | |
1009 | "parent" parameter to symbol_file_add_from_bfd call. | |
1010 | ||
9c06b0b4 TJB |
1011 | 2011-05-06 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
1012 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1013 | ||
1014 | Implement support for PowerPC BookE masked watchpoints. | |
1015 | * NEWS: Mention masked watchpoint support. Create "Changed commands" | |
1016 | section. | |
1017 | * breakpoint.h (struct breakpoint_ops) <works_in_software_mode>: New | |
1018 | method. Initialize to NULL in all existing breakpoint_ops instances. | |
1019 | (struct breakpoint) <hw_wp_mask>: New field. | |
1020 | * breakpoint.c (is_masked_watchpoint): Add prototype. | |
1021 | (update_watchpoint): Don't set b->val for masked watchpoints. Call | |
1022 | breakpoint's breakpoint_ops.works_in_software_mode if available. | |
1023 | (watchpoints_triggered): Handle the case of a hardware masked | |
1024 | watchpoint trigger. | |
1025 | (watchpoint_check): Likewise. | |
1026 | (works_in_software_mode_watchpoint): New function. | |
1027 | (insert_masked_watchpoint, remove_masked_watchpoint) | |
1028 | (resources_needed_masked_watchpoint) | |
1029 | (works_in_software_mode_masked_watchpoint, print_it_masked_watchpoint) | |
1030 | (print_one_detail_masked_watchpoint, print_mention_masked_watchpoint) | |
1031 | (print_recreate_masked_watchpoint, is_masked_watchpoint): New | |
1032 | functions. | |
1033 | (masked_watchpoint_breakpoint_ops): New structure. | |
1034 | (watch_command_1): Check for the existence of the `mask' parameter. | |
1035 | Set b->ops according to the type of hardware watchpoint being created. | |
1036 | * ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint) | |
1037 | (ppc_linux_remove_mask_watchpoint) | |
1038 | (ppc_linux_masked_watch_num_registers): New functions. | |
1039 | (_initialize_ppc_linux_nat): Initialize to_insert_mask_watchpoint, | |
1040 | to_remove_mask_watchpoint and to_masked_watch_num_registers. | |
1041 | * target.c (update_current_target): Mention to_insert_mask_watchpoint, | |
1042 | to_remove_mask_watchpoint, and to_masked_watch_num_registers. | |
1043 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
1044 | (target_masked_watch_num_registers): New functions. | |
1045 | * target.h (struct target_ops) <to_insert_mask_watchpoint>, | |
1046 | <to_remove_mask_watchpoint>, <to_masked_watch_num_registers>: New | |
1047 | methods. | |
1048 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
1049 | (target_masked_watch_num_registers): Add prototypes. | |
1050 | ||
8be455d7 JK |
1051 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
1052 | ||
1053 | PR 12573 | |
1054 | * dwarf2read.c (struct dwarf2_cu): New field has_loclist. | |
1055 | (producer_is_gcc_ge_4_0): New function. | |
1056 | (process_full_comp_unit): Set also symtab->locations_valid. Move the | |
1057 | symtab->language code. | |
1058 | (var_decode_location): Set cu->has_loclist. | |
1059 | * symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and | |
1060 | skip. Intialize force_skip from locations_valid. Move the prologue | |
1061 | skipping code into two passes. | |
1062 | * symtab.h (struct symtab): Make the primary field a bitfield. New | |
1063 | field locations_valid. | |
1064 | ||
d8228535 JK |
1065 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
1066 | ||
1067 | * c-exp.y (qualified_name): Call destructor_name_p with $1.type. | |
1068 | (classify_inner_name): Call cp_lookup_nested_type with | |
1069 | yylval.tsym.type. | |
1070 | * cp-namespace.c (cp_lookup_nested_type): New variable | |
1071 | saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call | |
1072 | type_name_no_tag_or_error with saved_parent_type. | |
1073 | * dwarf2read.c (load_partial_dies): Read in any children of | |
1074 | DW_TAG_typedef with complaint in such case. | |
1075 | * gdbtypes.c (type_name_no_tag_or_error): New function. | |
1076 | * gdbtypes.h (type_name_no_tag_or_error): New prototype. | |
1077 | * valops.c (destructor_name_p): New comment for parameter type. Remove | |
1078 | type const. Make dname and cp const. Call type_name_no_tag_or_error. | |
1079 | * value.h (destructor_name_p): Remove type const. | |
1080 | ||
1976171a JK |
1081 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
1082 | ||
1083 | * symtab.c (compare_symbol_name): New function. | |
1084 | (completion_list_add_name, expand_partial_symbol_name): Call it, | |
1085 | remove the variable ncmp. | |
1086 | (default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN, | |
1087 | gdb_assert it. | |
1088 | ||
a9634178 TJB |
1089 | 2011-05-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1090 | ||
1091 | Demote to sw watchpoint only in update_watchpoint. | |
1092 | * breakpoint.c (update_watchpoint): Change between software and | |
1093 | hardware watchpoint for all kinds of watchpoints, not just | |
1094 | read/write ones. Determine b->exact value here instead of | |
1095 | in watch_command_1. Error out if there are not enough resources | |
1096 | for a read or access hardware watchpoint. | |
1097 | (watch_command_1): Remove logic of checking whether there are | |
1098 | enough resources available, since update_watchpoint will do that | |
1099 | work now. Don't set b->exact here. Catch exceptions thrown by | |
1100 | update_watchpoint and delete the watchpoint. | |
1101 | (can_use_hardware_watchpoint): Remove exact_watchpoints argument. | |
1102 | Use target_exact_watchpoints instead. | |
1103 | (delete_breakpoint): Notify observers only if deleted watchpoint | |
1104 | has a breakpoint number assigned to it. | |
1105 | ||
4c67c798 JJ |
1106 | 2011-05-05 Janis Johnson <janisjo@codesourcery.com> |
1107 | ||
1108 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
1109 | ||
a3fcb948 JG |
1110 | 2011-05-05 Jerome Guitton <guitton@adacore.com> |
1111 | ||
1112 | * i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer): | |
1113 | New functions. | |
1114 | (i386_stack_tramp_frame_unwind): New static global. | |
1115 | (i386_match_pattern): New function, extracted from i386_match_insn. | |
1116 | (i386_match_insn): Use i386_match_pattern. | |
1117 | (i386_match_insn_block): New function. | |
1118 | (i386_tramp_chain_in_reg_insns) | |
1119 | (i386_tramp_chain_on_stack_insns): New static variables. | |
1120 | (i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list | |
1121 | of unwinders. | |
1122 | ||
4d393d60 JM |
1123 | 2011-05-04 Joseph Myers <joseph@codesourcery.com> |
1124 | ||
1125 | * configure.host (xscale*): Don't handle target. | |
1126 | * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't | |
1127 | handle targets. | |
1128 | ||
f70bd40b YQ |
1129 | 2011-05-04 Yao Qi <yao@codesourcery.com> |
1130 | ||
1131 | * gdb_wait.h: remove WAITTYPE and WCOREDUMP. | |
1132 | ||
dd3295ee JB |
1133 | 2011-05-03 Joel Brobecker <brobecker@adacore.com> |
1134 | ||
1135 | Revert: | |
1136 | | 2011-03-07 Michael Snyder <msnyder@vmware.com> | |
1137 | | * elfread.c (elf_symtab_read): Stop memory leak. | |
1138 | ||
90375a0e PM |
1139 | 2011-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
1140 | ||
1141 | * nto-tdep.c (nto_target): Replace deprecated call to | |
1142 | cygwin_conv_to_posix_path functions by cygwin_conv_path calls. | |
1143 | ||
d07205c2 JK |
1144 | 2011-05-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
1145 | ||
1146 | Fix false GCC warning. | |
1147 | * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. | |
1148 | ||
1e718ff1 TJB |
1149 | 2011-05-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1150 | ||
1151 | * breakpoint.c (update_watchpoint): Move code to change | |
1152 | the enable state of breakpoint from here ... | |
1153 | (do_enable_breakpoint): ... to here. | |
1154 | ||
35bef4fd TT |
1155 | 2011-04-26 Andrew Gontarek <andrewg@cray.com> |
1156 | ||
78290264 PP |
1157 | * valprint.c (val_print_array_elements): Fixed poor performance |
1158 | of printing very large arrays with repeat_count_threshold set | |
1159 | to unlimited. New comment. | |
35bef4fd | 1160 | |
38a714bb TT |
1161 | 2011-04-29 Tom Tromey <tromey@redhat.com> |
1162 | ||
1163 | * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. | |
1164 | (mi_parse): Likewise. | |
1165 | * breakpoint.c (break_range_command): Use sizeof char*, not | |
1166 | char**. | |
1167 | (create_breakpoint): Likewise. | |
1168 | (parse_breakpoint_sals): Likewise. | |
1169 | ||
eb73ad13 PA |
1170 | 2011-04-29 Pedro Alves <pedro@codesourcery.com> |
1171 | ||
1172 | * linux-nat.c (linux_child_remove_fork_catchpoint) | |
1173 | (linux_child_remove_vfork_catchpoint) | |
1174 | (linux_child_remove_exec_catchpoint): New functions. | |
1175 | (linux_target_install_ops): Install them. | |
1176 | ||
d65aec65 PM |
1177 | 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> |
1178 | ||
1179 | PR mi/12531 | |
1180 | ||
1181 | * varobj.c (install_default_visualizer): Do not install a | |
1182 | visualizer if the varobj is CPLUS_FAKE_CHILD. | |
1183 | (construct_visualizer): Likewise. | |
1184 | ||
165195f4 JK |
1185 | 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1186 | ||
1187 | * symtab.c (expand_partial_symbol_name): New variable NCMP. Support | |
1188 | case insensitive comparison. | |
1189 | ||
30852783 UW |
1190 | 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org> |
1191 | ||
1192 | * infrun.c (proceed): Revert previous change. | |
1193 | (resume): Instead, handle the case of signal delivery while stepping | |
1194 | off a breakpoint location here, and only if software single-stepping | |
1195 | is used. Handle nested signals. | |
1196 | ||
7ff120b4 YQ |
1197 | 2011-04-28 Yao Qi <yao@codesourcery.com> |
1198 | ||
1199 | * arm-tdep.c (copy_unmodified): Rename to ... | |
1200 | (arm_copy_unmodified): .. this. New. | |
1201 | (copy_preload): Move common part to ... | |
1202 | (install_preload): .. this. New. | |
1203 | (arm_copy_preload): New. | |
1204 | (copy_preload_reg): Move common part to ... | |
1205 | (install_preload_reg): ... this. New. | |
1206 | (arm_copy_preload_reg): New. | |
1207 | (copy_b_bl_blx): Move common part to ... | |
1208 | (install_b_bl_blx): .. this. New. | |
1209 | (arm_copy_b_bl_blx): New. | |
1210 | (copy_bx_blx_reg): Move common part to ... | |
1211 | (install_bx_blx_reg): ... this. New. | |
1212 | (arm_copy_bx_blx_reg): New. | |
1213 | (copy_alu_reg): Move common part to ... | |
1214 | (install_alu_reg): ... this. New. | |
1215 | (arm_copy_alu_reg): New. | |
1216 | (copy_alu_shifted_reg): Move common part to ... | |
1217 | (install_alu_shifted_reg): ... this. New. | |
1218 | (copy_ldr_str_ldrb_strb): Move common part to ... | |
1219 | (install_ldr_str_ldrb_strb): ... this. New. | |
1220 | (arm_copy_ldr_str_ldrb_strb): New. | |
1221 | (copy_copro_load_store): Move some common part to ... | |
1222 | (install_copy_copro_load_store): ... this. New. | |
1223 | (arm_copy_copro_load_store): New. | |
1224 | (copy_svc): Delete. | |
1225 | (arm_copy_svc): Renamed from copy_svc. | |
1226 | (copy_undef): Delete. | |
1227 | (arm_copy_undef): Renamed from copy_undef. | |
1228 | (decode_ext_reg_ld_st): Delete. | |
1229 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
1230 | (decode_svc_copro): Delete. | |
1231 | (arm_decode_svc_copro): Renamed from decode_svc_copro. | |
1232 | (copy_copro_load_store, copy_alu_imm): update callers. | |
1233 | (copy_extra_ld_st, copy_block_xfer): Likewise. | |
1234 | (decode_misc_memhint_neon, decode_unconditional): Likewise. | |
1235 | (decode_miscellaneous, decode_dp_misc): Likewise. | |
1236 | (decode_ld_st_word_ubyte, decode_media): Likewise. | |
1237 | (decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise. | |
1238 | (decode_svc_copro, decode_misc_memhint_neon): Likewise. | |
1239 | (decode_unconditional, decode_miscellaneous): Likewise. | |
1240 | (decode_media, decode_b_bl_ldmstm): Likewise. | |
1241 | (arm_process_displaced_insn): Likewise.. | |
1242 | (decode_misc_memhint_neon): Delete. | |
1243 | (arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon. | |
1244 | (decode_miscellaneous): Delete. | |
1245 | (arm_decode_miscellaneous): Renamed from decode_miscellaneous. | |
1246 | (decode_dp_misc): Delete. | |
1247 | (arm_decode_dp_misc): Renamed from decode_dp_misc. | |
1248 | (decode_ld_st_word_ubyte): Delete. | |
1249 | (arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte. | |
1250 | (decode_media): Delete. | |
1251 | (arm_decode_media): Renamed from decode_media. | |
1252 | (decode_b_bl_ldmstm): Delete. | |
1253 | (arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm. | |
1254 | (decode_ext_reg_ld_st): Delete. | |
1255 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
1256 | (decode_unconditional): Delete. | |
1257 | (arm_decode_unconditional): Renamed from decode_unconditional. | |
1258 | ||
559a7a62 JK |
1259 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
1260 | ||
1261 | Case insensitive lookups implementation. | |
1262 | * dwarf2read.c: Include ctype.h. | |
1263 | (struct mapped_index): New field version. | |
1264 | (mapped_index_string_hash): New parameter index_version. New comment | |
1265 | for it. Call tolower appropriately. | |
1266 | (find_slot_in_mapped_hash): New variable cmp, initialize it, use it. | |
1267 | Choose the right index version for mapped_index_string_hash. | |
1268 | (dwarf2_read_index): Support also the index version 5. Initialize the | |
1269 | new struct mapped_index field version. | |
1270 | (hash_strtab_entry): Pass INT_MAX for the new parameter, explain why. | |
1271 | (find_slot): Explain the version needs. Pass INT_MAX for the new | |
1272 | parameter. | |
1273 | (write_psymtabs_to_index): Produce version 5. | |
1274 | * minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it, | |
1275 | use it. New comment for SYMBOL_MATCHES_SEARCH_NAME. | |
1276 | * psymtab.c (lookup_partial_symbol): Find the | |
1277 | SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching | |
1278 | entries. | |
1279 | * symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off | |
1280 | NAME lowercasing. | |
1281 | (search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off. | |
1282 | (completion_list_add_name): New variable ncmp, initialize it, use it. | |
1283 | * symtab.h (SYMBOL_HASH_NEXT): Always call tolower. | |
1284 | * utils.c (strcmp_iw): Support case_sensitive_off. | |
1285 | (strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off. | |
1286 | New function comment part. New variables saved_string1, | |
1287 | saved_string2 and case_pass. Add a proper second pass. | |
1288 | ||
681bf369 JK |
1289 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
1290 | ||
1291 | Replace re_comp/re_exec by regcomp/regexec. | |
1292 | * symtab.c (struct search_symbols_data): New fields preg, preg_p. | |
1293 | (search_symbols_name_matches): Use them, use regexec. | |
1294 | (search_symbols): New variable retval_chain, adjust the use of | |
1295 | old_chain against it. Replace re_comp by regcomp. Use the new struct | |
1296 | search_symbols_data fields, use regexec instead of re_exec. | |
1297 | ||
b11b1f88 JK |
1298 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
1299 | ||
1300 | Format the code for the next patch. | |
1301 | * dwarf2read.c (struct mapped_index): Include delimiting newlines. | |
1302 | * utils.c (strcmp_iw_ordered): Reformat the code for the next patch. | |
1303 | New variables c1 and c2. | |
1304 | ||
2484c66b UW |
1305 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
1306 | ||
1307 | * infrun.c (proceed): Do not single-step into signal delivery | |
1308 | when stepping off a breakpoint location. | |
1309 | (insert_step_resume_breakpoint_at_frame): Move prototype earlier. | |
1310 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
1311 | (insert_step_resume_breakpoint_at_sal): Likewise. | |
1312 | (insert_longjmp_resume_breakpoint): Likewise. | |
1313 | ||
47423772 YQ |
1314 | 2011-04-27 Yao Qi <yao@codesourcery.com> |
1315 | ||
1316 | * common/linux-ptrace.h: Remove include <sys/wait.h>. | |
1317 | ||
13bdd2e7 JB |
1318 | 2011-04-27 Joel Brobecker <brobecker@adacore.com> |
1319 | ||
1320 | * procfs.c (procfs_pass_signals): Fix advance declaration. | |
1321 | ||
2455069d UW |
1322 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
1323 | ||
1324 | * target.h (struct target_ops): Remove to_notice_signals; | |
1325 | add to_pass_signals. | |
1326 | (target_notice_signals): Remove. | |
1327 | (target_pass_signals): Add prototype. | |
1328 | * target.c (update_current_target): Remove to_notice_signals; | |
1329 | mention to_pass_signals. | |
1330 | (target_pass_signals): New function. | |
1331 | (debug_to_notice_signals): Remove. | |
1332 | (setup_target_debug): Do not install debug_to_notice_signals. | |
1333 | ||
1334 | * infrun.c (signal_pass): New global. | |
1335 | (resume): Call target_pass_signals. | |
1336 | (handle_inferior_event): Report all signals while stepping over | |
1337 | non-steppable watchpoint. Reset trap_expected to ensure breakpoints | |
1338 | are re-inserted when stepping over a signal handler. | |
1339 | (signal_cache_update): New function. | |
1340 | (signal_stop_update): Call it. | |
1341 | (signal_print_update): Likewise. | |
1342 | (signal_pass_update): Likewise. | |
1343 | (handle_command): Call signal_cache_update and target_pass_signals | |
1344 | instead of target_notice_signals. | |
1345 | (_initialize_infrun): Initialize signal_pass. | |
1346 | ||
1347 | * linux-nat.c (pass_mask): New global. | |
1348 | (linux_nat_pass_signals): New function. | |
1349 | (linux_nat_create_inferior): Report all signals initially. | |
1350 | (linux_nat_attach): Likewise. | |
1351 | (linux_nat_resume): Use pass_mask to decide whether to directly | |
1352 | handle an inferior signal. | |
1353 | (linux_nat_wait_1): Likewise. | |
1354 | (linux_nat_add_target): Install to_pass_signals callback. | |
1355 | ||
1356 | * nto-procfs.c (notice_signals): Remove. | |
1357 | (procfs_resume): Do not call notice_signals. | |
1358 | (procfs_notice_signals): Remove. | |
1359 | (procfs_pass_signals): New function. | |
1360 | (init_procfs_ops): Install to_pass_signals callback instead of | |
1361 | to_notice_signals callback. | |
1362 | (_initialize_procfs): Report all signals initially. | |
1363 | ||
1364 | * procfs.c (procfs_notice_signals): Remove. | |
1365 | (procfs_pass_signals): New function. | |
1366 | (procfs_target): Install to_pass_signals callback instead of | |
1367 | to_notice_signals callback. | |
1368 | (register_gdb_signals): Remove. | |
1369 | (procfs_debug_inferior): Report all signals initially. | |
1370 | (procfs_init_inferior): Remove redundant register_gdb_signals call. | |
1371 | ||
1372 | * remote.c (remote_pass_signals): Add numsigs and pass_signals | |
1373 | parameters; use them instead of calling signal_..._state routines. | |
1374 | (remote_notice_signals): Remove. | |
1375 | (remote_start_remote): Report all signals initially. | |
1376 | (remote_resume): Do not call remote_pass_signals. | |
1377 | (_initialize_remote): Install to_pass_signals callback instead of | |
1378 | to_notice_signals callback. | |
1379 | ||
46c6471b PA |
1380 | 2011-04-27 Pedro Alves <pedro@codesourcery.com> |
1381 | ||
1382 | * breakpoint.c (user_settable_breakpoint): Delete. | |
1383 | (user_breakpoint_p): Remove check on user_settable_breakpoint. | |
1384 | (delete_command): Check user_breakpoint_p instead of looking at | |
1385 | the breakpoint's type. | |
1386 | (disable_command): Ditto. | |
1387 | (enable_command): Ditto. | |
1388 | (delete_trace_command): Use user_breakpoint_p instead of looking | |
1389 | at the breakpoint number directly. When checking if there are | |
1390 | user visible tracepoints, in order to know whether to ask the user | |
1391 | for confirmation, check whether the breakpoint is actually a | |
1392 | tracepoint. | |
1393 | ||
f6d90398 VP |
1394 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
1395 | ||
1396 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix | |
1397 | compilation. | |
1398 | ||
8d3788bd VP |
1399 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
1400 | ||
1401 | MI breakpoint notifications. | |
1402 | ||
f33edef8 PP |
1403 | * annotate.c (breakpoint_changed): Adjust parameter type. |
1404 | * breakpoint.c (set_breakpoint_condition): Adjust to change | |
1405 | in breakpoint_modified type. | |
1406 | (breakpoint_set_commands): Likewise. | |
1407 | (do_map_commands_command): Likewise. | |
1408 | (bpstat_check_breakpoint_conditions): Notify that breakpoint has | |
1409 | changed after bumping hit count. | |
1410 | (bpstat_stop_status): Likewise. | |
1411 | (print_one_breakpoint_location): Don't wrap in tuple here. | |
1412 | (print_one_breakpoint): Always print individual locations. | |
1413 | For locations, use unnamed tuple. | |
1414 | (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint | |
1415 | has changed. | |
1416 | (create_catchpoint, create_syscall_event_catchpoint): Call | |
1417 | breakpoint_created obsever. | |
1418 | (mention): Don't call breakpoint_created observer. | |
1419 | (create_breakpoint_sal): Call breakpoint_created observer. | |
1420 | (create_breakpoint, watch_command_1): Likewise. | |
1421 | (create_ada_exception_breakpoint): Likewise. | |
1422 | (delete_breakpoint): Call breakpoint_deleted breakpoint. | |
1423 | (locations_are_equal): New. | |
1424 | (update_breakpoint_locations): If locations were changed, notify. | |
1425 | (set_ignore_count, disable_breakpoint, do_enable_breakpoint): | |
1426 | Call breakpoint_modified observer. | |
1427 | ||
1428 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
1429 | (mi_cmd_break_insert): Don't set observers for modify and delete. | |
1430 | * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New. | |
1431 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
1432 | (mi_breakpoint_modified): New. | |
1433 | (mi_interpreter_init): Hook the above. | |
1434 | * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications | |
1435 | while -break-* commands are executing. | |
1436 | * mi/mi-main.h (mi_suppress_breakpoint_notifications): New. | |
1437 | * mi/mi-out.c (struct ui_out_data): New field original_buffer. | |
1438 | (mi_redirect): New. | |
1439 | (mi_ui_out_impl): Hook in mi_redirect. | |
1440 | (mi_field_skip): True to the name, skip the field, don't output | |
1441 | a field with an empty value. | |
1442 | ||
1443 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
1444 | (gdbpy_breakpoint_deleted): Adjust. | |
1445 | * tui/tui-hooks.c (tui_event_create_breakpoint) | |
1446 | (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust. | |
8d3788bd | 1447 | |
a8f42b45 UW |
1448 | 2011-04-26 Aleksandar Ristovski <aristovski@qnx.com> |
1449 | ||
1450 | * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype. | |
1451 | (procfs_remove_hw_watchpoint): Likewise. | |
1452 | ||
57e12211 TT |
1453 | 2011-04-26 Michael Walle <michael@walle.cc> |
1454 | ||
1455 | * remote.c (remote_start_remote): Ack packet after sending the | |
1456 | interrupt sequence. | |
1457 | ||
af96c192 YQ |
1458 | 2011-04-26 Yao Qi <yao@codesourcery.com> |
1459 | ||
f33edef8 PP |
1460 | * linux-nat.c: Move common macros to ... |
1461 | Include linux-ptrace.h. | |
1462 | * common/linux-ptrace.h: ... here. New. | |
af96c192 | 1463 | |
3e03848b JK |
1464 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
1465 | ||
1466 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
1467 | !objfile_has_partial_symbols. New comment. | |
1468 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
1469 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
1470 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
1471 | ||
1ae0d051 JK |
1472 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
1473 | ||
1474 | * defs.h (ENUM_BITFIELD): Remove. | |
1475 | ||
03f2bd59 JK |
1476 | 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
1477 | Eli Zaretskii <eliz@gnu.org> | |
1478 | ||
1479 | * NEWS: Document the new gdbserver --once option. | |
1480 | ||
4161fbb0 JZ |
1481 | 2011-04-21 Jie Zhang <jzhang918@gmail.com> |
1482 | ||
1483 | * MAINTAINERS: Update my email address. | |
1484 | ||
bcb28afc PM |
1485 | 2011-04-21 Pierre Muller <muller@ics.u-strasbg.fr> |
1486 | ||
1487 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
1488 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
1489 | function call if __STDC_ISO_10646__ macro is defined. | |
1490 | (intermediate_encoding): New prototype. | |
1491 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
1492 | to generate compile time error for unsupported gdb_wchar_t size. | |
1493 | (ENDIAN_SUFFIX): New macro. | |
1494 | (intermediate_encoding): New function. | |
1495 | ||
7b08b9eb JK |
1496 | 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
1497 | ||
1498 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
1499 | expand_partial_symbol_name. | |
1500 | (ada_add_partial_symbol_completions): Rename to ... | |
1501 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
1502 | function comment, call symbol_completion_match instead of | |
1503 | symbol_completion_add. | |
1504 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
1505 | and ada_expand_partial_symbol_name. | |
1506 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
1507 | FILE_MATCHER. | |
1508 | (dw2_map_symbol_names): Remove. | |
1509 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
1510 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
1511 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
1512 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
1513 | order. | |
1514 | (psym_functions): Unlist map_symbol_names_psymtab. | |
1515 | (map_partial_symbol_names): Rename to ... | |
1516 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
1517 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
1518 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
1519 | (expand_partial_symbol_names): ... here, change the FUN type. | |
1520 | * symfile.h (struct quick_symbol_functions): Update the description of | |
1521 | expand_symtabs_matching. Remove map_symbol_names. | |
1522 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
1523 | (struct add_name_data): Update the comment for | |
1524 | expand_partial_symbol_name. | |
1525 | (add_partial_symbol_name): Rename to ... | |
1526 | (expand_partial_symbol_name): ... here. Replace | |
1527 | completion_list_add_name call by strncmp. | |
1528 | (default_make_symbol_completion_list_break_on): Use now | |
1529 | expand_partial_symbol_names and expand_partial_symbol_name. | |
1530 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
1531 | ||
90476074 TT |
1532 | 2011-04-20 Tom Tromey <tromey@redhat.com> |
1533 | ||
1534 | * dwarf2read.c (save_gdb_index_command): Replace format | |
1535 | documentation with a pointer to the manual. | |
1536 | ||
c21236dc PA |
1537 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
1538 | ||
1539 | * regcache.c: Include remote.h. | |
1540 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
1541 | (regcache_dump): Handle regcache_dump_remote. | |
1542 | (maintenance_print_remote_registers): New function. | |
1543 | (_initialize_regcache): Install "maint print remote-registers" | |
1544 | command. | |
1545 | * remote.c (map_regcache_remote_table): New function, factored out | |
1546 | from ... | |
1547 | (init_remote_state): ... here. | |
1548 | (remote_register_number_and_offset): New. | |
1549 | * remote.h (remote_register_number_and_offset): Declare. | |
1550 | ||
b78974c3 PA |
1551 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
1552 | ||
1553 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
1554 | null_ptid, assume and allow a NULL address space, instead of | |
1555 | asking the target for the ptid's address space. | |
1556 | * infrun.c (ptid_is_pid): Remove assertion. | |
1557 | ||
7a9dd1b2 TT |
1558 | 2011-04-19 Tom Tromey <tromey@redhat.com> |
1559 | ||
1560 | * windows-tdep.c (windows_xfer_shared_library): | |
1561 | * windows-nat.c (get_module_name, windows_make_so): | |
1562 | * v850-tdep.c (v850_handle_pushm): | |
1563 | * utils.c (null_cleanup, gdb_realpath): | |
1564 | * ui-out.c (get_next_header): | |
1565 | * tracepoint.c (clear_traceframe_info): | |
1566 | * symtab.c (lookup_symtab): | |
1567 | * serial.h (struct serial_ops): | |
1568 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
1569 | * infcmd.c (print_return_value): | |
1570 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
1571 | * f-exp.y (parse_number): | |
1572 | * exceptions.c (catch_exceptions): | |
1573 | * dummy-frame.c (dummy_frame_this_id): | |
1574 | * defs.h (struct cleanup): | |
1575 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
1576 | * arm-tdep.c (arm_push_dummy_call): | |
1577 | * amd64-tdep.h (amd64_collect_xsave): | |
1578 | * amd64-tdep.c (amd64_collect_xsave): | |
1579 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
1580 | * README (typing): Remove duplicate words. | |
1581 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
1582 | * infrun.c (siginfo_value_read): Fix typo. | |
1583 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
1584 | * top.c (source_line_number): Add comma. | |
1585 | ||
9941e0c5 MK |
1586 | 2011-04-19 Marc Khouzam <marc.khouzam@ericsson.com> |
1587 | ||
1588 | * thread.c (any_live_thread_of_process): Prioritize threads | |
1589 | that are not executing. | |
1590 | * gdbthread.h (any_live_thread_of_process): Update comment | |
1591 | as per above change. | |
1592 | ||
ed4b0e6a AS |
1593 | 2011-04-19 Andreas Schwab <schwab@linux-m68k.org> |
1594 | ||
1595 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
1596 | (scan_xcoff_symtab): Likewise. | |
1597 | ||
9b13a2db PM |
1598 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
1599 | ||
1600 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
1601 | inside if clause. | |
1602 | ||
1c6e1b0d PM |
1603 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
1604 | Pedro Alves <pedro@codesourcery.com> | |
1605 | ||
1606 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
1607 | variables to simplify code and avoid == operator at end of | |
1608 | line as this is against GNU coding standards. | |
1609 | ||
74de0234 PM |
1610 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
1611 | ||
1612 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
1613 | lm_name to name_lm to avoid conflict with lm_name function. | |
1614 | ||
b23518f0 PM |
1615 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
1616 | ||
1617 | ARI fixes: Use only lowercase function name for static functions. | |
1618 | * nto-tdep.c (LM_ADDR): Rename to... | |
1619 | (lm_addr): New function name. | |
1620 | (nto_relocate_section_addresses): Adapt to change above. | |
1621 | * solib-sunos.c (LM_ADDR): Rename to... | |
1622 | (lm_addr): New function name. | |
1623 | (LM_NEXT): Rename to... | |
1624 | (lm_next): New function name. | |
1625 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
1626 | function name changes above. | |
1627 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
1628 | (lm_addr_from_link_map): New function name. | |
1629 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
1630 | (has_lm_dynamic_from_link_map): New function name. | |
1631 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
1632 | (lm_dynamic_from_link_map): New function name. | |
1633 | (LM_ADDR_CHECK): Rename to... | |
1634 | (lm_addr_check): New function name. | |
1635 | (LM_NEXT): Rename to... | |
1636 | (lm_next): New function name. | |
1637 | (LM_PREV): Rename to... | |
1638 | (lm_prev): New function name. | |
1639 | (LM_NAME): Rename to... | |
1640 | (lm_name): New function name. | |
1641 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
1642 | (ignore_first_link_map_entry): New function name. | |
1643 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
1644 | (svr4_current_sos): Likewise. | |
1645 | (enable_break): Likewise. | |
1646 | (svr4_relocate_section_addresses): Likewise. | |
1647 | ||
1448a0a2 PM |
1648 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
1649 | ||
1650 | ARI cleanup. | |
1651 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
1652 | sprintf. Simplify code and avoid loosing memory. | |
1653 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
1654 | (call0_frame_cache): Remove && operator from end of line. | |
1655 | ||
02835898 JK |
1656 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1657 | ||
1658 | Fix libraries displacement if they change whether they were prelinked. | |
1659 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
1660 | does not match. Comment why. | |
1661 | ||
9a845ea2 JK |
1662 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1663 | ||
1664 | * corelow.c: Include wrapper.h. | |
1665 | (core_open): Call now gdb_target_find_new_threads. | |
1666 | * wrapper.c: Include target.h. | |
1667 | (gdb_target_find_new_threads): New. | |
1668 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
1669 | ||
254f582e JK |
1670 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1671 | ||
1672 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
1673 | even if !TARGET_HAS_EXECUTION. | |
1674 | ||
63524580 JK |
1675 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1676 | ||
1677 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
1678 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
1679 | bfd_get_synthetic_symtab. | |
1680 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
1681 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
1682 | parameter parent, remove the call to add_separate_debug_objfile. | |
1683 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
1684 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
1685 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
1686 | parent, new comment for it, call add_separate_debug_objfile for it. | |
1687 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
1688 | remove the call to add_separate_debug_objfile. | |
1689 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
1690 | (symbol_file_add): Pass NULL to the new parameter parent. | |
1691 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
1692 | ||
90359a16 JK |
1693 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1694 | ||
1695 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
1696 | BSF_SYNTHETIC. | |
1697 | ||
626e7282 JK |
1698 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1699 | ||
1700 | Fix Python access to inlined frames. | |
1701 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
1702 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
1703 | ||
cf31e6f9 TT |
1704 | 2011-04-15 Tom Tromey <tromey@redhat.com> |
1705 | ||
1706 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
1707 | ||
c8d895f1 GB |
1708 | 2011-04-15 Gary Benson <gbenson@redhat.com> |
1709 | ||
1710 | * MAINTAINERS: Add myself to write-after-approval section. | |
1711 | ||
56a9aa1d MF |
1712 | 2011-04-14 Mike Frysinger <vapier@gentoo.org> |
1713 | ||
1714 | * remote-sim.c (sim_command_completer): New function. | |
1715 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
1716 | ||
ba770c9c TJB |
1717 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1718 | ||
1719 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
1720 | (print_it_exception_catchpoint): ... this. | |
1721 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
1722 | for print_it_exception_catchpoint. | |
1723 | ||
51bf2553 EBM |
1724 | 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com> |
1725 | ||
1726 | * MAINTAINERS: Add myself for write after approval privileges. | |
1727 | ||
d242658c MP |
1728 | 2011-04-13 Marek Polacek <mpolacek@redhat.com> |
1729 | ||
1730 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
1731 | ||
4a4106ca TJB |
1732 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1733 | ||
1734 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
1735 | ||
26063d49 TJB |
1736 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1737 | ||
1738 | * breakpoint.c (save_breakpoints): Verify whether | |
1739 | breakpoint_ops.print_recreate is defined before calling it. | |
1740 | ||
7782b183 GB |
1741 | 2011-04-11 Gary Benson <gbenson@redhat.com> |
1742 | ||
1743 | Fix failure with --enable-maintainer-mode. | |
1744 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
1745 | ||
e8930875 JK |
1746 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
1747 | ||
1748 | Code cleanup. | |
1749 | * symtab.c (search_symbols): Reorder the KIND description in the | |
1750 | function comment. Remove the unused 4th element of types, types2, | |
1751 | types3 and types4. New gdb_assert on KIND. | |
1752 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
1753 | New gdb_assert on KIND. | |
1754 | * symtab.h (enum search_domain): New warning in the enum comment. | |
1755 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
1756 | TYPES_DOMAIN. | |
1757 | ||
b4f2f049 JK |
1758 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
1759 | ||
1760 | Fix crash of gdb save-index on a STABS file. | |
1761 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
1762 | PSYMTABS_ADDRMAP. | |
1763 | ||
60d5a603 JK |
1764 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
1765 | ||
1766 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
1767 | * dwarf2read.c: Include ctype.h. | |
1768 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
1769 | functions. | |
1770 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
1771 | dwarf2_default_access_attribute. Restructure setting accessibility | |
1772 | vs. virtuality. | |
1773 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
1774 | is_private and is_protected by calling | |
1775 | dwarf2_default_access_attribute. | |
1776 | ||
e0f68161 KB |
1777 | 2011-04-08 Kevin Buettner <kevinb@redhat.com> |
1778 | ||
1779 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
1780 | to the initialization. | |
1781 | ||
2e1aae43 SE |
1782 | 2011-04-08 Steve Ellcey <sje@cup.hp.com> |
1783 | ||
1784 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
1785 | initalization. | |
1786 | ||
c6ca3dab PM |
1787 | 2011-04-07 Pierre Muller <muller@ics.u-strasbg.fr> |
1788 | ||
1789 | Remove support for old Cygwin 1.5 versions. | |
1790 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
1791 | function on old Cygwin version. | |
1792 | * windows-nat.c: Remove cygwin version check and always define | |
1793 | __USEWIDE for Cygwin compilation. | |
1794 | ||
bd18283a YQ |
1795 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
1796 | ||
1797 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
1798 | and TO. | |
1799 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
1800 | (arm_copy_svc): Remove parameters INSN and TO. | |
1801 | (decode_svc_copro): Update caller. | |
1802 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
1803 | from function pointer `copy_svc_os'. | |
1804 | ||
8c8dba6d YQ |
1805 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
1806 | ||
1807 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
1808 | LR for ARM and Thumb. | |
1809 | ||
59d7bcaf JK |
1810 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
1811 | ||
1812 | Code cleanup. | |
1813 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
1814 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
1815 | in the function comment, a new note on values compatibility. | |
1816 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
1817 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
1818 | ||
e7db58ea TJB |
1819 | 2011-04-06 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1820 | ||
1821 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
1822 | Set it based on the memory region referenced in the condition | |
1823 | expression. Update all callers. | |
1824 | ||
9f743ef6 JK |
1825 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
1826 | ||
1827 | Fix crash regression on systems featuring .gdb_index. | |
1828 | * objfiles.c (free_objfile): Move the | |
1829 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
1830 | Extend the comment for objfile_free_data. | |
1831 | ||
9182c5bc JK |
1832 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
1833 | ||
1834 | Fix regression of displaying the debug format. | |
1835 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
1836 | subfile. | |
1837 | ||
04bd08de TT |
1838 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1839 | ||
1840 | * cli/cli-interp.c (struct captured_execute_command_args): | |
1841 | Remove. | |
1842 | (do_captured_execute_command): Remove. | |
1843 | (safe_execute_command): Use TRY_CATCH. | |
1844 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
1845 | Remove. | |
1846 | (wrapped_read_command_file): Remove. | |
1847 | (script_from_file): Use TRY_CATCH. | |
1848 | * exceptions.c (catch_exception): Remove. | |
1849 | * exceptions.h (catch_exception): Remove. | |
1850 | (deprecated_throw_reason): Update comment. | |
1851 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
1852 | argument to 'context'. | |
1853 | (mi_execute_command): Use TRY_CATCH. | |
1854 | * remote.c (struct start_remote_args): Remove. | |
1855 | (remote_start_remote): Update; change arguments. | |
1856 | (remote_open_1): Use TRY_CATCH. | |
1857 | ||
58438ac1 TT |
1858 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1859 | ||
1860 | * tracepoint.c (scope_info): Update. | |
1861 | * symtab.c (decode_line_spec): Update. | |
1862 | * python/python.c (gdbpy_decode_line): Update. | |
1863 | * linespec.h (decode_line_1): Update. | |
1864 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
1865 | (decode_compound, find_method, symtab_from_filename) | |
1866 | (decode_variable): Likewise. | |
1867 | * cli/cli-cmds.c (edit_command): Update. | |
1868 | (list_command): Update. | |
1869 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
1870 | argument. | |
1871 | (create_breakpoint): Update. | |
1872 | (until_break_command): Update. | |
1873 | (addr_string_to_sals): Update. | |
1874 | (decode_line_spec_1): Update. | |
1875 | ||
b78a6381 TT |
1876 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1877 | ||
1878 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
1879 | (do_captured_parse_breakpoint): Remove. | |
1880 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
1881 | Use TRY_CATCH directly. | |
1882 | ||
00174a86 TT |
1883 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1884 | ||
1885 | * symtab.h (free_symtab): Remove. | |
1886 | (forget_cached_source_info_for_objfile): Declare. | |
1887 | * symmisc.c (free_symtab): Remove. | |
1888 | * source.c (forget_cached_source_info_for_objfile): New function. | |
1889 | (forget_cached_source_info): Use it. | |
1890 | * objfiles.c (free_objfile): Simplify check before calling | |
1891 | clear_current_source_symtab_and_line. Call | |
1892 | forget_cached_source_info_for_objfile. | |
1893 | ||
30cc903e TT |
1894 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1895 | ||
1896 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
1897 | (new_symtab): Don't set `free_code' on symtab. | |
1898 | (new_linetable): Properly handle size==0. | |
1899 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
1900 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
1901 | free_func. | |
1902 | * jv-lang.c (struct jv_per_objfile_data): New. | |
1903 | (jv_per_objfile_free): Free the data. | |
1904 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
1905 | (get_java_class_symtab): Set the `dict' field on the | |
1906 | jv_per_objfile_data. | |
1907 | (free_class_block): Remove. | |
1908 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
1909 | the symtab. | |
1910 | ||
0c2e6019 TT |
1911 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1912 | ||
1913 | * symfile.c (reread_symbols): Update. | |
1914 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
1915 | field. | |
1916 | * objfiles.c (allocate_objfile): Update. | |
1917 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
1918 | declare. | |
1919 | * cp-namespace.c (lookup_symbol_file): Don't call | |
1920 | lookup_possible_namespace_symbol. | |
1921 | (initialize_namespace_symtab, get_possible_namespace_block) | |
1922 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
1923 | (check_possible_namespace_symbols_loop) | |
1924 | (check_one_possible_namespace_symbol) | |
1925 | (lookup_possible_namespace_symbol): Remove. | |
1926 | (maintenance_cplus_namespace): Replace with notice. | |
1927 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
1928 | ||
554d387d TT |
1929 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1930 | ||
1931 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
1932 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
1933 | * symmisc.c (free_symtab): Don't free debugformat. | |
1934 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
1935 | (record_debugformat, record_producer): Document. | |
1936 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
1937 | names on obstack. | |
1938 | (end_symtab): Don't free debugformat and producer fields. | |
1939 | (record_debugformat): Don't call xstrdup. | |
1940 | (record_producer): Likewise. | |
1941 | ||
d4d4db8a TT |
1942 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1943 | ||
1944 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
1945 | (source_line_charpos, source_charpos_line): Remove. | |
1946 | ||
8903c50d TT |
1947 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
1948 | ||
1949 | * symtab.h (domain_enum): Split in two... | |
1950 | (enum search_domain): New. | |
1951 | (search_symbols): Update. | |
1952 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
1953 | redundant declarations. | |
1954 | (search_symbols): Change 'kind' argument to search_domain. | |
1955 | Update. | |
1956 | (print_symbol_info): Likewise. | |
1957 | (symtab_symbol_info): Likewise. | |
1958 | * symfile.h (struct quick_symbol_functions) | |
1959 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
1960 | <expand_symtabs_matching>: Likewise. | |
1961 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
1962 | (expand_symtabs_matching_via_partial): Update. | |
1963 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
1964 | (dw2_expand_symtabs_for_function): Update. | |
1965 | * block.h: Moved anonymous enum... | |
1966 | * defs.h (enum block_enum): ... here. Now named. | |
1967 | ||
d9351f5f | 1968 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
1969 | ||
1970 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
1971 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
1972 | ||
d6e00af6 JB |
1973 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
1974 | ||
1975 | * NEWS: Create a new section for the next release branch. | |
1976 | Rename the section of the current branch, now that it has | |
1977 | been cut. | |
1978 | ||
2b9e5ea6 UW |
1979 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
1980 | ||
1981 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
1982 | for "fpscr" in target description. | |
1983 | ||
0cf03b49 JK |
1984 | 2011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1985 | ||
1986 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
1987 | initialize it. Delay HASH initialization. Strip the part after open | |
1988 | parenthesis for languages with qualifiers. Call do_cleanups. | |
1989 | ||
5d901a73 TT |
1990 | 2011-04-01 Tom Tromey <tromey@redhat.com> |
1991 | ||
1992 | * utils.c (report_command_stats): Don't print `-' for negative | |
1993 | number. | |
1994 | ||
b0dd7688 JB |
1995 | 2011-04-01 Eric Botcazou <ebotcazou@adacore.com> |
1996 | ||
1997 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
1998 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
1999 | typedefs. | |
2000 | ||
956a9fb9 JB |
2001 | 2011-04-01 Joel Brobecker <brobecker@adacore.com> |
2002 | ||
2003 | * breakpoint.h (bpdisp_text): Add declaration. | |
2004 | * breakpoint.c (bpdisp_text): Make non-static. | |
2005 | * ada-lang.c: #include "mi/mi-common.h". | |
2006 | (print_it_exception): Rewrite to improve GDB/MI output. | |
2007 | ||
3352110b PA |
2008 | 2011-04-01 Pedro Alves <pedro@codesourcery.com> |
2009 | ||
2010 | * arm-tdep.h (struct address_space): Add forward declaration. | |
2011 | ||
18819fa6 UW |
2012 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
2013 | ||
2014 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
2015 | * arm-tdep.c (arm_override_mode): New global. | |
2016 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
2017 | execution mode heuristics. | |
2018 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
2019 | second single-step breakpoint if needed, using | |
2020 | arm_insert_single_step_breakpoint. | |
2021 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
2022 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
2023 | (arm_get_next_pc): Encode execution mode in return value. Call | |
2024 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
2025 | (arm_insert_single_step_breakpoint): New function. | |
2026 | (arm_software_single_step): Call it. | |
2027 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
2028 | argument to return execution mode of sigreturn target. | |
2029 | (arm_linux_syscall_next_pc): Use it. | |
2030 | (arm_linux_copy_svc): Update call. | |
2031 | (arm_linux_software_single_step): Call | |
2032 | arm_insert_single_step_breakpoint. | |
2033 | ||
a6e293d1 JK |
2034 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
2035 | ||
2036 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
2037 | the comment. | |
2038 | ||
a4c8e806 TT |
2039 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
2040 | ||
2041 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
2042 | errors from iterator. | |
2043 | ||
df5c6c50 JK |
2044 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
2045 | ||
2046 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
2047 | struct linkage name twice. | |
2048 | ||
1dae3efc TT |
2049 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
2050 | ||
2051 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
2052 | missing ">" to message. | |
2053 | ||
f4f7ab05 TT |
2054 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
2055 | ||
2056 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
2057 | 'return'. | |
2058 | ||
fcf250e2 UW |
2059 | 2011-03-31 Ulrich Weigand <ulrich.weigand@linaro.org> |
2060 | ||
2061 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
2062 | if neither saved value nor register available (e.g. signal frame). | |
2063 | ||
ee6436e3 TJB |
2064 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2065 | ||
2066 | * macroexp.c (expand): Avoid uninitialized variable | |
2067 | compiler warning. | |
2068 | ||
423f41a5 TJB |
2069 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2070 | ||
2071 | * breakpoint.c (break_range_command): Fix typo in comment. | |
2072 | ||
f1310107 TJB |
2073 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2074 | Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> | |
2075 | ||
2076 | Implement support for PowerPC BookE ranged breakpoints. | |
2077 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
2078 | * breakpoint.h (struct bp_target_info) <length>: New member | |
2079 | variable. | |
2080 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
2081 | instead of struct breakpoint as argument, and also add ASPACE | |
2082 | and BP_ADDR arguments. Update all callers. | |
2083 | (struct breakpoint_ops) <print_one_detail>: New method. | |
2084 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
2085 | * breakpoint.c (breakpoint_location_address_match): Add function | |
2086 | prototype. | |
2087 | (insert_bp_location): Set bl->target_info.length. | |
2088 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
2089 | (moribund_breakpoint_here_p): Likewise. | |
2090 | (regular_breakpoint_inserted_here_p): Likewise. | |
2091 | (breakpoint_thread_match): Likewise. | |
2092 | (bpstat_stop_status): Likewise. | |
2093 | (bpstat_check_location): Move call to | |
2094 | breakpoint_ops.breakpoint_hit to the top. | |
2095 | (print_one_breakpoint_location): Call | |
2096 | breakpoint_ops.print_one_detail if available. | |
2097 | (breakpoint_address_match_range): New function. | |
2098 | (breakpoint_location_address_match): Likewise. | |
2099 | (breakpoint_locations_match): Compare the length field of the | |
2100 | locations too. | |
2101 | (hw_breakpoint_used_count): Count resources used by all locations | |
2102 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
2103 | available. | |
2104 | (breakpoint_hit_ranged_breakpoint): New function. | |
2105 | (resources_needed_ranged_breakpoint): Likewise. | |
2106 | (print_it_ranged_breakpoint): Likewise. | |
2107 | (print_one_ranged_breakpoint): Likewise. | |
2108 | (print_one_detail_ranged_breakpoint): Likewise. | |
2109 | (print_mention_ranged_breakpoint): Likewise. | |
2110 | (print_recreate_ranged_breakpoint): Likewise. | |
2111 | (ranged_breakpoint_ops): New structure. | |
2112 | (find_breakpoint_range_end): New function. | |
2113 | (break_range_command): Likewise. | |
2114 | (delete_breakpoint): Free addr_string_range_end. | |
2115 | (update_breakpoint_locations): Add SALS_END argument. Update | |
2116 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
2117 | is given. Call breakpoint_locations_match instead of | |
2118 | breakpoint_address_match. | |
2119 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
2120 | ranged breakpoint. | |
2121 | (_initialize_breakpoint): Register break-range command. | |
2122 | * defs.h (print_core_address): Add function prototype. | |
2123 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
2124 | function. | |
2125 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
2126 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
2127 | (_initialize_ppc_linux_nat): Initialize | |
2128 | to_ranged_break_num_registers. | |
2129 | * target.c (update_current_target): Add comment about | |
2130 | to_ranged_break_num_registers. | |
2131 | (target_ranged_break_num_registers): New function. | |
2132 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
2133 | New method. | |
2134 | (target_ranged_break_num_registers): Add function prototype. | |
2135 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
2136 | * utils.c (print_core_address): ... here. | |
2137 | ||
02d20e4a UW |
2138 | 2011-03-31 Ulrich Weigand <uweigand@de.ibm.com> |
2139 | ||
2140 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
2141 | variable compiler warning. | |
2142 | ||
ef23e705 TJB |
2143 | 2011-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2144 | ||
2145 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
2146 | code from here ... | |
2147 | (re_set_breakpoint): ... to here ... | |
2148 | (addr_string_to_sals): ... and here. | |
2149 | ||
311e6ab3 PM |
2150 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
2151 | ||
2152 | * Makefile.in (SFILES): Add missing C sources. | |
2153 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
2154 | Add missing headers. | |
2155 | ||
acd1d99c MF |
2156 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
2157 | ||
2158 | * .gitignore: New file. | |
2159 | ||
66ee2731 MF |
2160 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
2161 | ||
2162 | * NEWS: Mention new cfi device simulation. | |
2163 | ||
53832f31 TT |
2164 | 2011-03-29 Tom Tromey <tromey@redhat.com> |
2165 | ||
2166 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
2167 | otherwise anonymous types. | |
2168 | (dwarf2_name): Likewise. | |
2169 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
2170 | type logic. Call error if j==-1. | |
2171 | ||
09b58708 JK |
2172 | 2011-03-29 Andreas Tobler <andreast-list@fgznet.ch> |
2173 | ||
2174 | Fix false GCC warning. | |
2175 | * infcall.c (find_function_addr): Initialize funaddr. | |
2176 | ||
6023c606 PM |
2177 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
2178 | ||
2179 | Fix mingw compilation with --enable-targets=all. | |
2180 | * remote-mips.c (gdb_usleep.h): Include header. | |
2181 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
2182 | ||
0e30163f JK |
2183 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2184 | ||
2185 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
2186 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
2187 | bp_gnu_ifunc_resolver_return. | |
2188 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
2189 | the loop. Support bp_gnu_ifunc_resolver and | |
2190 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
2191 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
2192 | breakpoints. | |
2193 | (bptype_string, print_one_breakpoint_location): Support | |
2194 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
2195 | (user_settable_breakpoint): Return true also for | |
2196 | bp_gnu_ifunc_resolver. | |
2197 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
2198 | bp_gnu_ifunc_resolver_return. | |
2199 | (set_breakpoint_location_function): New parameter explicit_loc, | |
2200 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
2201 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
2202 | EXPLICIT_LOC is not set. | |
2203 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
2204 | set_breakpoint_location_function. | |
2205 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
2206 | set_breakpoint_location_function. | |
2207 | (mention): Support bp_gnu_ifunc_resolver and | |
2208 | bp_gnu_ifunc_resolver_return. | |
2209 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
2210 | set_breakpoint_location_function. | |
2211 | (update_breakpoint_locations): Remove static. | |
2212 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
2213 | bp_gnu_ifunc_resolver_return. | |
2214 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
2215 | bp_gnu_ifunc_resolver_return. | |
2216 | (update_breakpoint_locations): New declaration. | |
2217 | * elfread.c: Include gdbthread.h and regcache.h. | |
2218 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
2219 | functions. | |
2220 | (elf_gnu_ifunc_fns): Install them. | |
2221 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
2222 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
2223 | (stub_gnu_ifunc_fns): Install them. | |
2224 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
2225 | and gnu_ifunc_resolver_return_stop. | |
2226 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
2227 | ||
07be84bf JK |
2228 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2229 | ||
2230 | STT_GNU_IFUNC reader implementation. | |
2231 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
2232 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
2233 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
2234 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
2235 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
2236 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
2237 | (elf_gnu_ifunc_resolve_addr): New. | |
2238 | (elf_symfile_read): Call elf_rel_plt_read. | |
2239 | (elf_gnu_ifunc_fns): New. | |
2240 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
2241 | Install elf_gnu_ifunc_fns. | |
2242 | * infcall.c (find_function_return_type): New function. | |
2243 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
2244 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
2245 | (stub_gnu_ifunc_resolve_name): New functions. | |
2246 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
2247 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
2248 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
2249 | ||
300f8e10 JK |
2250 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2251 | ||
2252 | Code cleanup for later STT_GNU_IFUNC support. | |
2253 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
2254 | dereferences for it. Move VALUE_TYPE initialization later. | |
2255 | ||
11c81455 JK |
2256 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2257 | ||
2258 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
2259 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
2260 | (clear_pc_function_cache): Clear it. | |
2261 | (find_pc_partial_function): Rename to ... | |
2262 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
2263 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
2264 | (find_pc_partial_function): New wrapper for this function. | |
2265 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
2266 | ||
0875794a JK |
2267 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2268 | ||
2269 | GDB internal type support for STT_GNU_IFUNC. | |
2270 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
2271 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
2272 | BSF_GNU_INDIRECT_FUNCTION. | |
2273 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
2274 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
2275 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
2276 | nodebug_got_plt_symbol. | |
2277 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
2278 | (TYPE_GNU_IFUNC): New. | |
2279 | (struct main_type): New field flag_gnu_ifunc. | |
2280 | (struct builtin_type): New field builtin_func_func. | |
2281 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
2282 | nodebug_got_plt_symbol. | |
2283 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
2284 | (in_gnu_ifunc_stub): New. | |
2285 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
2286 | mst_text_gnu_ifunc. | |
2287 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
2288 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
2289 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
2290 | in_gnu_ifunc_stub. | |
2291 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
2292 | * symtab.c (search_symbols): Likewise. | |
2293 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
2294 | and mst_slot_got_plt. | |
2295 | (in_gnu_ifunc_stub): New declaration. | |
2296 | ||
d0fb5eae JK |
2297 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2298 | ||
2299 | Support a ring of related breakpoints. | |
2300 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
2301 | other functions, add gdb_assert. | |
2302 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
2303 | watchpoint_del_at_next_stop. | |
2304 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
2305 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
2306 | (set_raw_breakpoint_without_location): Initialize ring in | |
2307 | related_breakpoint. | |
2308 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
2309 | watchpoint_del_at_next_stop. | |
2310 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
2311 | ||
9cded63f TT |
2312 | 2011-03-28 Tom Tromey <tromey@redhat.com> |
2313 | ||
2314 | PR symtab/12441: | |
2315 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
2316 | with `language_minimal'. | |
2317 | ||
467d42c4 UW |
2318 | 2011-03-25 Ulrich Weigand <ulrich.weigand@linaro.org> |
2319 | ||
2320 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
2321 | instead of checking for STT_ARM_TFUNC symbol type. | |
2322 | ||
62853458 TT |
2323 | 2011-03-25 Tom Tromey <tromey@redhat.com> |
2324 | ||
2325 | * linespec.c (symbol_found): Restore line-based result for | |
2326 | non-LOC_LABEL symbols. | |
2327 | ||
a7417d46 KT |
2328 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
2329 | ||
2330 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
2331 | instead of strcmp for comparison. | |
2332 | (tui_source_is_displayed): Likewise. | |
2333 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
2334 | ||
55f1336d TT |
2335 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
2336 | ||
f33edef8 PP |
2337 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in |
2338 | complaint. | |
2339 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
2340 | (find_partial_die_in_comp_unit): Likewise in comment. | |
2341 | (read_attribute_value): Likewise. | |
2342 | (lookup_die_type): Likewise. | |
2343 | (dwarf_form_name): Likewise. | |
2344 | (dump_die_shallow): Likewise. | |
2345 | (follow_die_ref_or_sig): Likewise. | |
55f1336d | 2346 | |
9ef07c8c TT |
2347 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
2348 | ||
2349 | PR breakpoints/11816: | |
2350 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
2351 | (decode_compound): Update. | |
2352 | (find_function_symbol): New function. | |
2353 | (decode_dollar): Update. | |
2354 | (decode_label): Add 'function_symbol' parameter. Handle | |
2355 | function-relative labels. | |
2356 | (decode_variable): Update. | |
2357 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
2358 | not its line. Set `special_display' and canonical name for | |
2359 | labels. | |
2360 | ||
56435ebe TT |
2361 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
2362 | ||
2363 | * linespec.h (struct linespec_result) <special_display>: New | |
2364 | field. | |
2365 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
2366 | field. | |
2367 | * breakpoint.c (print_breakpoint_location): Respect | |
2368 | display_canonical. | |
2369 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
2370 | (create_breakpoints_sal): Update. | |
2371 | (create_breakpoint): Update. | |
2372 | ||
7efd8fc2 TT |
2373 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
2374 | ||
2375 | * symtab.c (decode_line_spec): Update. | |
2376 | * linespec.c (build_canonical_line_spec): Change type of | |
2377 | 'canonical'. | |
2378 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
2379 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
2380 | (symbol_found): Likewise. | |
2381 | (init_linespec_result): New function. | |
2382 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
2383 | <canonical_p>: New field, replaces addr_string_p. | |
2384 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
2385 | 'addr_string'. | |
2386 | (parse_breakpoint_sals): Likewise. | |
2387 | (do_captured_parse_breakpoint): Update. | |
2388 | (create_breakpoint): Use struct linespec_result. | |
2389 | (until_break_command): Update. | |
2390 | (breakpoint_re_set_one): Update. | |
2391 | (decode_line_spec_1): Update. | |
2392 | * linespec.h (struct linespec_result): New. | |
2393 | (init_linespec_result): Declare. | |
2394 | ||
788c8b10 PA |
2395 | 2011-03-23 Pedro Alves <pedro@codesourcery.com> |
2396 | ||
2397 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
2398 | given raw register, mark it as unavailable. | |
2399 | ||
0ba1096a KT |
2400 | 2011-03-23 Kai Tietz <ktietz@redhat.com> |
2401 | ||
2402 | * breakpoint.c (clear_command): Use filename_cmp | |
2403 | instead of strcmp for comparison. | |
2404 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
2405 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
2406 | checking just for slash. | |
2407 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
2408 | strrchr and filename_cmp instead of strcmp for filenames. | |
2409 | (add_old_header_file): Use filename_cmp | |
2410 | instead of strcmp for comparison. | |
2411 | * exec.c (exec_set_section_address): Likewise. | |
2412 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
2413 | (macro_lookup_inclusion): Likewise. | |
2414 | * elfread.c (_initialize_elfread): Likewise. | |
2415 | (elfstab_offset_sections): Likewise. | |
2416 | (elfstab_offset_sections): Use lbasename instead of | |
2417 | strrchr. | |
2418 | * mdebugread.c (parse_partial_symbols): Likewise. | |
2419 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
2420 | str(n)cmp for comparison. | |
2421 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
2422 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
2423 | * solib.c (solib_read_symbols): Likewise. | |
2424 | (reload_shared_libraries_1): Likewise. | |
2425 | * symmisc.c (maintenance_print_symbols): Likewise. | |
2426 | * symfile.c (separate_debug_file_exists): Likewise. | |
2427 | (reread_symbols): Likewise. | |
2428 | (find_separate_debug_file_by_debuglink): Likewise. | |
2429 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
2430 | * source.c (add_path): Likewise. | |
2431 | * symtab.c (filename_seen): Likewise. | |
2432 | (file_matches): Likewise. | |
2433 | (print_symbol_info): Likewise. | |
2434 | (maybe_add_partial_symtab_filename): Likewise. | |
2435 | (make_source_files_completion_list): Likewise. | |
2436 | * xml-syscall.c (init_sysinfo): Likewise. | |
2437 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
2438 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
2439 | ||
dd90784c JK |
2440 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
2441 | ||
2442 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
2443 | label abort_expression. | |
2444 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
2445 | DWARF_VALUE_OPTIMIZED_OUT. | |
2446 | ||
3167638f JK |
2447 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
2448 | ||
2449 | Code cleanup. | |
2450 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
2451 | to linkage_name. Invert its value. Update the function comment. | |
2452 | (c_type_print_varspec_suffix): Invert it at the caller. | |
2453 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
2454 | ||
ce406537 PA |
2455 | 2011-03-22 Pedro Alves <pedro@codesourcery.com> |
2456 | ||
2457 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
2458 | errors when reading the `stop_pc'. | |
2459 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
2460 | get_frame_pc. | |
2461 | ||
da5d4055 PM |
2462 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
2463 | ||
2464 | * NEWS: Document gdb.Write stream keyword. | |
2465 | ||
29e0eb9c JK |
2466 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
2467 | ||
2468 | Revert: | |
2469 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
2470 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
2471 | (dwarf2_add_field): Fix new_field->accessibility for | |
2472 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
2473 | ||
05775840 PM |
2474 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
2475 | ||
f33edef8 | 2476 | PR python/12183 |
05775840 PM |
2477 | |
2478 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
2479 | other error classes. Do not print stack trace. | |
2480 | ||
a0cb7835 JK |
2481 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
2482 | ||
2483 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
2484 | (dwarf2_add_field): Fix new_field->accessibility for | |
2485 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
2486 | ||
d19f7eee UW |
2487 | 2011-03-21 Ulrich Weigand <ulrich.weigand@linaro.org> |
2488 | ||
2489 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
2490 | encountering a load via a non-SP register. | |
2491 | ||
4a2fbb50 UW |
2492 | 2011-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
2493 | ||
2494 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
2495 | field in returned unwinder. | |
2496 | ||
3489610d JB |
2497 | 2012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
2498 | ||
2499 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
2500 | ||
8c1a34e7 JB |
2501 | 2012-03-21 Joel Brobecker <brobecker@adacore.com> |
2502 | ||
2503 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
2504 | of xmalloc. | |
2505 | ||
8fbca658 PA |
2506 | 2012-03-18 Pedro Alves <pedro@codesourcery.com> |
2507 | ||
2508 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
2509 | register failed. | |
2510 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
2511 | an unwind stop reason. | |
2512 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
2513 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
2514 | UNWIND_UNAVAILABLE>: New. | |
2515 | * inline-frame.c (inline_frame_unwind): Install | |
2516 | default_frame_unwind_stop_reason. | |
2517 | * frame-unwind.c: Include "exceptions.h". | |
2518 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
2519 | (default_frame_unwind_stop_reason): New. | |
2520 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
2521 | (default_frame_unwind_stop_reason): Declare. | |
2522 | (struct frame_unwind) <stop_reason>: New function pointer. | |
2523 | ||
2524 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
2525 | * dwarf2-frame.c: Include exceptions.h. | |
2526 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
2527 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
2528 | computing the CFA. If such an error was thrown, set | |
2529 | unavailable_retaddr. | |
2530 | (dwarf2_frame_unwind_stop_reason): New. | |
2531 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
2532 | unavailable. | |
2533 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
2534 | (dwarf2_signal_frame_unwind): Ditto. | |
2535 | ||
2536 | * amd64-tdep.c: Include "exceptions.h". | |
2537 | (struct amd64_frame_cache): New field "base_p". | |
2538 | (amd64_init_frame_cache): Clear it. | |
2539 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
2540 | Avoid reading registers with functions that throw if the register | |
2541 | is not necessary to compute the frame base. | |
2542 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
2543 | swallowing NOT_AVAILABLE_ERROR. | |
2544 | (amd64_frame_unwind_stop_reason): New. | |
2545 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
2546 | was unavailable. | |
2547 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
2548 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
2549 | base_p if the frame base was computable. | |
2550 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
2551 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
2552 | frame base was unavailable. | |
2553 | (amd64_sigtramp_frame_unwind): Install | |
2554 | amd64_sigtramp_frame_unwind_stop_reason. | |
2555 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
2556 | base_p if the frame base was computable. | |
2557 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
2558 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
2559 | frame base was unavailable. | |
2560 | (amd64_epilogue_frame_unwind): Install | |
2561 | amd64_epilogue_frame_unwind_stop_reason. | |
2562 | * i386-tdep.c: Include "exceptions.h". | |
2563 | (struct i386_frame_cache): New field "base_p". | |
2564 | (i386_init_frame_cache): Clear it. | |
2565 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
2566 | Avoid reading registers with functions that throw if the register | |
2567 | is not necessary to compute the frame base. | |
2568 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
2569 | swallowing NOT_AVAILABLE_ERROR. | |
2570 | (i386_frame_unwind_stop_reason): New. | |
2571 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
2572 | unavailable. | |
2573 | (i386_frame_prev_register): Handle unavailable SP. | |
2574 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
2575 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
2576 | base_p if the frame base was computable. | |
2577 | (i386_epilogue_frame_unwind_stop_reason): New. | |
2578 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
2579 | base was unavailable. | |
2580 | (i386_epilogue_frame_unwind): Install | |
2581 | i386_epilogue_frame_unwind_stop_reason. | |
2582 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
2583 | base_p if the frame base was computable. | |
2584 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
2585 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
2586 | base was unavailable. | |
2587 | (i386_sigtramp_frame_unwind): Install | |
2588 | i386_sigtramp_frame_unwind_stop_reason. | |
2589 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
2590 | type's size, not the register's. | |
2591 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
2592 | ||
2593 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
2594 | default_frame_unwind_stop_reason. | |
2595 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
2596 | (alpha_heuristic_frame_unwind): Ditto. | |
2597 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
2598 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
2599 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
2600 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
2601 | Ditto. | |
2602 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
2603 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
2604 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
2605 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
2606 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
2607 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
2608 | (hppa_stub_frame_unwind): Ditto. | |
2609 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
2610 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
2611 | (ia64_libunwind_frame_unwind) | |
2612 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
2613 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
2614 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
2615 | * m32c-tdep.c (m32c_unwind): Ditto. | |
2616 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
2617 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
2618 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
2619 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
2620 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
2621 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
2622 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
2623 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
2624 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
2625 | (mips_stub_frame_unwind): Ditto. | |
2626 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
2627 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
2628 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
2629 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
2630 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
2631 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
2632 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
2633 | (s390_sigtramp_frame_unwind): Ditto. | |
2634 | * score-tdep.c (score_prologue_unwind): Ditto. | |
2635 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
2636 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
2637 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
2638 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
2639 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
2640 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
2641 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
2642 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
2643 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
2644 | (sparc64obsd_trapframe_unwind): Ditto. | |
2645 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
2646 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
2647 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
2648 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
2649 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
2650 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
2651 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
2652 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
2653 | ||
f23d1b92 PA |
2654 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2655 | ||
2656 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
2657 | there's always a frame. Use get_frame_pc_if_available instead of | |
2658 | get_frame_pc, and if there's no PC available, don't look up a | |
2659 | symtab. | |
2660 | ||
1d4f5741 PA |
2661 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2662 | ||
2663 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
2664 | unavailable PC. | |
2665 | ||
dba09041 PA |
2666 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2667 | ||
2668 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
2669 | gracefully. | |
2670 | ||
9a26e44c PA |
2671 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2672 | ||
2673 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
2674 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
2675 | * stack.c (frame_info): Handle unavailable PC. | |
2676 | ||
2677 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
2678 | ||
2679 | * frame.c (frame_unwind_pc): Rename to ... | |
2680 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
2681 | parameter. Change return type to int. Gracefully handle | |
2682 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
2683 | happened, or 1 otherwise. | |
2684 | (frame_unwind_pc): Reimplement on top of | |
2685 | frame_unwind_pc_if_available. | |
2686 | (get_frame_func): Rename to ... | |
2687 | (get_frame_func_if_available): New `pc' output parameter. Change | |
2688 | return type to int. Gracefully handle the PC not being available. | |
2689 | (get_frame_func): Reimplement on top of | |
2690 | get_frame_func_if_available. | |
2691 | (select_frame): Handle the PC being unavailable. | |
2692 | (get_prev_frame): Handle the PC being unavailable. | |
2693 | (get_frame_pc_if_available): New. | |
2694 | (get_frame_address_in_block_if_available): New. | |
2695 | (find_frame_sal): Handle the frame PC not being available. | |
2696 | * frame.h (get_frame_pc_if_available): Declare. | |
2697 | (get_frame_address_in_block_if_available): Declare. | |
2698 | (get_frame_func_if_available): Declare. | |
2699 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
2700 | (find_frame_funname): Ditto. | |
2701 | (print_frame): Handle the PC being unavailable. | |
2702 | (get_frame_language): Ditto. | |
2703 | * blockframe.c (get_frame_block): Ditto. | |
2704 | * macroscope.c (default_macro_scope): Ditto. | |
2705 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
2706 | ||
2707 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
2708 | ||
2709 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
2710 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
2711 | ||
2712 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
2713 | ||
2714 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
2715 | returning that the register piece is unavailable/optimized out. | |
2716 | (write_pieced_value): Handle get_frame_register_bytes returning | |
2717 | that the register piece is unavailable/optimized out when doing a | |
2718 | read-modify write of a bitfield. | |
2719 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
2720 | returning that the register piece is unavailable/optimized out. | |
2721 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
2722 | and `unavailablep'. Throw error on bad debug info. Use | |
2723 | frame_register instead of frame_register_read, to fill in the new | |
2724 | arguments. | |
2725 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
2726 | and `unavailablep'. | |
2727 | * valops.c: (value_assign): Adjust, and handle | |
2728 | get_frame_register_bytes failing. | |
2729 | * spu-tdep.c: Include exceptions.h. | |
2730 | (spu_software_single_step): Adjust, and handle | |
2731 | get_frame_register_bytes failing. | |
2732 | (spu_get_longjmp_target): Ditto. | |
2733 | * gdbarch.sh (register_to_value): Change to return int. New | |
2734 | parameters `optimizedp' and `unavailablep'. | |
2735 | * gdbarch.h, gdbarch.c: Regenerate. | |
2736 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
2737 | gdbarch_register_to_value interface. | |
2738 | * i387-tdep.c (i387_register_to_value): Ditto. | |
2739 | * i387-tdep.h (i387_register_to_value): Ditto. | |
2740 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
2741 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
2742 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
2743 | * mips-tdep.c (mips_register_to_value): Ditto. | |
2744 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
2745 | ||
0fdb4f18 PA |
2746 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2747 | ||
2748 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
2749 | the register is unavailable. | |
2750 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
2751 | (frame_register): New `unavailablep' parameter. | |
2752 | (frame_register_read): Update comment. | |
2753 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
2754 | Set it if the register is unavailable. If the register is | |
2755 | unavailable, clear the output buffer. | |
2756 | (frame_register): New `unavailablep' parameter. Pass it down. | |
2757 | (frame_unwind_register): Adjust. | |
2758 | (put_frame_register): Adjust. | |
2759 | (frame_register_read): Adjust. Also return false if the register | |
2760 | is not available. | |
2761 | (frame_register_unwind_location): Adjust. | |
2762 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
2763 | is unavailable, mark the value accordingly. | |
2764 | * stack.c (frame_info): Handle unavailable registers. | |
2765 | ||
e69aa73e PA |
2766 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2767 | ||
2768 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
2769 | simplify, using regcache_cooked_read. | |
2770 | ||
05d1431c PA |
2771 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
2772 | ||
2773 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
2774 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
2775 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
2776 | (regcache_cooked_read, regcache_cooked_read_signed) | |
2777 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
2778 | (regcache_cooked_read_ftype): Change return to enum | |
2779 | register_status. | |
2780 | * regcache.c: Include exceptions.h | |
2781 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
2782 | (do_cooked_read): Change return to enum register_status. Always | |
2783 | forward to regcache_cooked_read. | |
2784 | (regcache_raw_read): Change return to enum register_status. If | |
2785 | the register is not REG_VALID, memset the buffer. Return the | |
2786 | register's status. | |
2787 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
2788 | return the register's status. | |
2789 | (regcache_raw_read_unsigned): Ditto. | |
2790 | (regcache_cooked_read): Change return to enum register_status. | |
2791 | Assert that with read-only regcaches, the register's status must | |
2792 | be known. If the regcache is read-only, and the register is not | |
2793 | REG_VALID, memset the buffer. Return the register's status. | |
2794 | (regcache_cooked_read_signed): Change return to enum | |
2795 | register_status. Handle non-REG_VALID registers and return the | |
2796 | register's status. | |
2797 | (regcache_cooked_read_unsigned): Change return to enum | |
2798 | register_status. Handle non-REG_VALID registers and return the | |
2799 | register's status. | |
2800 | (regcache_xfer_part, regcache_raw_read_part) | |
2801 | (regcache_cooked_read_part): Change return to enum | |
2802 | register_status. Return the register's status. | |
2803 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
2804 | unavailable. | |
2805 | (regcache_dump): Handle unavailable cooked registers. | |
2806 | * frame.c (do_frame_register_read): Adjust interface to match | |
2807 | regcache_cooked_read_ftype. | |
2808 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
2809 | register_status. | |
2810 | * gdbarch.h, gdbarch.c: Regenerate. | |
2811 | ||
2812 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
2813 | register_status. | |
2814 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
2815 | register_status. If reading a raw register indicates the raw | |
2816 | register is not valid, return the raw register's status, | |
2817 | otherwise, return REG_VALID. | |
2818 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
2819 | register_status. Handle non-REG_VALID raw registers and return | |
2820 | the register's status. | |
2821 | * arm-tdep.c (arm_neon_quad_read) | |
2822 | (arm_pseudo_read): Change return to enum register_status. Handle | |
2823 | non-REG_VALID raw registers and return the register's status. | |
2824 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
2825 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
2826 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
2827 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
2828 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
2829 | register_status. | |
2830 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
2831 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
2832 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
2833 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
2834 | (m32c_pseudo_register_read): Change return to enum | |
2835 | register_status. Adjust. | |
2836 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
2837 | enum register_status. Return the register's status. | |
2838 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
2839 | register_status. Return the register's status. | |
2840 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
2841 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
2842 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
2843 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
2844 | (e500_move_ev_register): Use it. Change return to enum | |
2845 | register_status. Return the register's status. | |
2846 | (do_regcache_raw_read): New function. | |
2847 | (do_regcache_raw_write): New function. | |
2848 | (e500_pseudo_register_read): Change return to enum | |
2849 | register_status. Return the register's status. Use | |
2850 | do_regcache_raw_read. | |
2851 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
2852 | (dfp_pseudo_register_read): Change return to enum register_status. | |
2853 | Return the register's status. | |
2854 | (vsx_pseudo_register_read): Ditto. | |
2855 | (efpr_pseudo_register_read): Ditto. | |
2856 | (rs6000_pseudo_register_read): Ditto. | |
2857 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
2858 | register_status. Return the register's status. | |
2859 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
2860 | (sh64_pseudo_register_read): Change return to enum | |
2861 | register_status. Use pseudo_register_read_portions. Return the | |
2862 | register's status. | |
2863 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
2864 | register_status. Return the register's status. | |
2865 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
2866 | (sh_pseudo_register_read): Change return to enum register_status. | |
2867 | Use pseudo_register_read_portions. Return the register's status. | |
2868 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
2869 | enum register_status. Return the register's status. | |
2870 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
2871 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
2872 | (spu_pseudo_register_read): Ditto. | |
2873 | * xtensa-tdep.c (xtensa_register_read_masked) | |
2874 | (xtensa_pseudo_register_read): Ditto. | |
2875 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
2876 | ||
e10abd8f PM |
2877 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
2878 | ||
2879 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
2880 | call. | |
2881 | ||
7ea6d463 PM |
2882 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
2883 | ||
2884 | ARI fixes: Add missing internationalization markups throughout | |
2885 | C source files. | |
2886 | * darwin-nat-info.c: Ditto. | |
2887 | * record.c: Ditto. | |
2888 | * remote.c: Ditto. | |
2889 | * mi/mi-main.c: Ditto. | |
2890 | ||
001083c6 PM |
2891 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
2892 | ||
2893 | ARI fixes: Add missing internationalization markups throughout | |
2894 | yacc files. | |
2895 | * c-exp.y: Ditto. | |
2896 | * cp-name-parser.y: Ditto. | |
2897 | * f-exp.y: Ditto. | |
2898 | * m2-exp.y: Ditto. | |
2899 | * objc-exp.y: Ditto. | |
2900 | * p-exp.y: Ditto. | |
2901 | ||
4f1cdeec PM |
2902 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
2903 | ||
2904 | ARI fixes: Messages should have no trailing new lines. | |
2905 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
2906 | warning function call message. | |
2907 | * record.c (bfdcore_read): Idem for error call. | |
2908 | ||
28e698f1 PM |
2909 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
2910 | ||
2911 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
2912 | function call message. | |
2913 | (target_signal_to_host): Add _ markup and remove trailing new line | |
2914 | from warning call message. | |
2915 | (target_signal_from_command): Add _ markup to error function call | |
2916 | message. | |
2917 | ||
99c3dc11 PM |
2918 | 2011-03-18 Phil Muldoon <pmuldoon@redhat.com> |
2919 | ||
f33edef8 | 2920 | PR python/12149 |
99c3dc11 PM |
2921 | |
2922 | * python/python.c (gdbpy_write): Accept a stream argument and | |
2923 | operate to the appropriate stream. | |
2924 | (gdbpy_flush): Likewise. | |
2925 | (_initialize_python): Add stream constants. | |
2926 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
2927 | ||
c20800be KY |
2928 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
2929 | ||
2930 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
2931 | ||
f4a1794a KY |
2932 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
2933 | ||
2934 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
f33edef8 PP |
2935 | to store_signed_integer. Add debug message when relocating CALL |
2936 | instructions. Fix formatting of debug message. | |
2937 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
f4a1794a | 2938 | |
d4862372 JB |
2939 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
2940 | ||
2941 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
2942 | (target_lookup_symbol): Delete macro. | |
2943 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
2944 | (update_current_target, setup_target_debug): Remove handling | |
2945 | of to_lookup_symbol target_ops field. | |
2946 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
2947 | target_lookup_symbol. | |
2948 | * coffread.c (coff_symtab_read): Likewise. | |
2949 | * dbxread.c (read_dbx_symtab): Ditto. | |
2950 | ||
d645e32e JB |
2951 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
2952 | ||
2953 | PR gdb/12116: | |
2954 | * configure.ac: Add getthrds declaration check. | |
2955 | * configure, config.in: Regenerate. | |
2956 | * aix-thread.c (getthrds): Declare only if not already declared | |
2957 | in procinfo.h. More declaration out of get_signaled_thread to | |
2958 | global scope. | |
2959 | ||
29703da4 PM |
2960 | 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> |
2961 | ||
2962 | * python/py-symtab.c: Populate symtab_object_methods, | |
2963 | sal_object_methods. | |
2964 | (stpy_is_valid): New function. | |
2965 | (salpy_is_valid): Ditto. | |
2966 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
2967 | (sympy_is_valid): New function. | |
2968 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
2969 | (objfpy_is_valid): New function. | |
2970 | * python/py-inferior.c: Populate inferior_object_methods. | |
2971 | (infpy_is_valid): New function. | |
2972 | * python/py-infthread.c: Populate thread_object_methods. | |
2973 | (thpy_is_valid): New function. | |
2974 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
2975 | block_iterator_object_methods. Populate. | |
2976 | (blpy_is_valid): New function. | |
2977 | (blpy_iter_is_valid): Ditto. | |
2978 | ||
c00f8484 KS |
2979 | 2011-03-16 Keith Seitz <keiths@redhat.com> |
2980 | ||
2981 | * linespec.c (find_methods): Canonicalize NAME before looking | |
2982 | up the symbol. | |
2983 | (name_end): New function. | |
2984 | (keep_name_info): New function. | |
2985 | (decode_line_1): Use keep_name_info. | |
2986 | (decode_compound): Likewise. | |
2987 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
2988 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
2989 | ||
2990 | PR c++/12273 | |
2991 | * linespec.c (locate_first_half): Keep overload information, too. | |
2992 | (decode_compound): Use a string to represent break characters | |
2993 | to escape the loop. | |
2994 | If P points to a break character, do not increment it. | |
2995 | For C++ and Java, keep overload information and relevant keywords. | |
2996 | If we cannot find a symbol, search the minimal symbols. | |
2997 | ||
2998 | PR c++/11734 | |
2999 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
3000 | THE_REAL_SAVED_ARG. | |
3001 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
3002 | single-quotes. | |
3003 | Pass a valid block to lookup_symbol. | |
3004 | (lookup_prefix_sym): Likewise. | |
3005 | (find_method): Construct search name based on SYM_CLASS instead | |
3006 | of SAVED_ARG. | |
3007 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
3008 | (lookup_symbol_aux_psymtabs): Likewise. | |
3009 | Don't assume that the psymtab we found was the right one. Search | |
3010 | for the desired symbol in the symtab to be certain. | |
3011 | (psymtab_search_name): New function. | |
3012 | (lookup_partial_symbol): Use psymtab_search_name. | |
3013 | Add language parameter. | |
3014 | (read_symtabs_for_function): Add language parameter and pass to | |
3015 | lookup_partial_symbol. | |
3016 | (find_symbol_file_from_partial): Likewise. | |
3017 | ||
c91513d8 PP |
3018 | 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> |
3019 | ||
3020 | PR gdb/12528 | |
3021 | * dwarf2read.c (noop_record_line): New function. | |
3022 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
3023 | ||
b37520b6 PM |
3024 | 2011-03-16 Pierre Muller <muller@ics.u-strasbg.fr> |
3025 | ||
3026 | Fix ARI warnings about new lines at the end of messages, which | |
3027 | are unneeded as there is a new line added at the end of the message | |
3028 | automatically. | |
3029 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
3030 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
3031 | * dfp.c (decimal_to_number): Ditto. | |
3032 | * exec.c (print_section_info): Ditto. | |
3033 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
3034 | * osdata.c (get_osdata): Ditto. | |
3035 | * record.c (bfdcore_write): Ditto. | |
3036 | * remote-mips.c (mips_readchar): Ditto. | |
3037 | * remote.c (read_ptid): Ditto. | |
3038 | * ser-mingw.c (ser_windows_raw): Ditto. | |
3039 | * tracepoint.c (add_local_symbols): Ditto. | |
3040 | * windows-nat.c (fake_create_process): Ditto. | |
3041 | ||
b08ee6a2 TT |
3042 | 2011-03-16 Tom Tromey <tromey@redhat.com> |
3043 | ||
3044 | * tracepoint.c (stop_tracing): Don't declare. | |
3045 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
3046 | ||
9a6f1302 PM |
3047 | 2011-03-16 Phil Muldoon <pmuldoon@redhat.com> |
3048 | ||
3049 | * NEWS: Add Parameter sub-classing description. | |
3050 | ||
7ceb86b1 KT |
3051 | 2011-03-16 Kai Tietz <ktietz@redhat.com> |
3052 | ||
3053 | * MAINTAINERS: Update my e-mail address. | |
3054 | ||
efeff6cf AT |
3055 | 2011-03-15 Andreas Tobler <andreast@fgznet.ch> |
3056 | ||
3057 | * MAINTAINERS: Add myself for write after approval privileges. | |
3058 | ||
681c238c MS |
3059 | 2011-03-15 Michael Snyder <msnyder@vmware.com> |
3060 | ||
f3df5b08 MS |
3061 | * frame.c (find_frame_sal): Assert sym is not null. |
3062 | ||
13f6513c MS |
3063 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
3064 | ||
50412521 MS |
3065 | * objc-lang.c (selectors_info): Check strchr for null result. |
3066 | ||
681c238c MS |
3067 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
3068 | ||
6ced1581 PM |
3069 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
3070 | ||
3071 | Remove trailing spaces and tabulations from pascal language | |
3072 | support sources. | |
3073 | p-exp.y: Ditto. | |
3074 | p-lang.c: Ditto. | |
3075 | p-lang.h: Ditto. | |
3076 | p-valprint.c: Ditto. | |
3077 | ||
9373cf26 JK |
3078 | 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
3079 | ||
3080 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
3081 | than LOW. Comment it. | |
3082 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
3083 | HIGHPC not strictly higher than LOWPC. | |
3084 | ||
9a1edae6 PM |
3085 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
3086 | ||
3087 | Fix formatting of function declarations returning a pointer in | |
3088 | previous commit. | |
3089 | * varobj.c (varobj_add_child): Ditto. | |
3090 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
3091 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
3092 | ||
24e9cda0 UW |
3093 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
3094 | ||
3095 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
3096 | for the "generic" vector ABI used with GCC 4.3 and later. | |
3097 | (ppc64_sysv_abi_return_value): Likewise. | |
3098 | ||
3099 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> | |
81b4675a UW |
3100 | |
3101 | * infcall.c (call_function_by_hand): Function return value is | |
3102 | always a non_lval, even when using struct_return. | |
3103 | ||
c9174737 PA |
3104 | 2011-03-15 Pedro Alves <pedro@codesourcery.com> |
3105 | ||
3106 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
3107 | (map_display_numbers): New. | |
3108 | (do_delete_display): New. | |
3109 | (undisplay_command): Use map_display_numbers. | |
3110 | (do_enable_disable_display): New. | |
3111 | (enable_disable_display_command): New function. | |
3112 | (enable_display): Delete. | |
3113 | (enable_display_command): New. | |
3114 | (disable_display_command): Reimplement. | |
3115 | (_initialize_printcmd): Adjust "enable display" command to use | |
3116 | `enable_display_command' as callback. | |
3117 | ||
350c6c65 PM |
3118 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
3119 | ||
3120 | * NEWS: Add Python breakpoint 'stop' operation. | |
3121 | ||
824446ad PM |
3122 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
3123 | ||
3124 | * NEWS: Delete duplicate entry. Fix typo. | |
3125 | ||
2021ad3a PM |
3126 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
3127 | ||
3128 | Fix ARI warning about function names in first column. | |
3129 | Put prototype declaration on same line as return type. | |
3130 | * objc-exp.y: Ditto. | |
3131 | * p-exp.y: Ditto. | |
3132 | * python/py-stopevent.h: Ditto. | |
3133 | For long function names, split parameters to | |
3134 | allow function name on same line as return type. | |
3135 | * solib-pa64.c: Ditto. | |
3136 | * varobj.c: Ditto. | |
3137 | * varobj.h: Ditto. | |
3138 | For long function declaration, use single line. | |
3139 | * hppa-tdep.h: Ditto. | |
3140 | * inferior.h: Ditto. | |
3141 | ||
7371cf6d PM |
3142 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
3143 | ||
3144 | * python/python.h: Declare gdbpy_should_stop and | |
3145 | gdbpy_breakpoint_has_py_cond. | |
3146 | * python/python.c: Add python.h to includes. Remove python.h from | |
3147 | HAVE_PYTHON definition | |
3148 | (gdbpy_should_stop): New dummy function. | |
3149 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
3150 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
3151 | sub-classing capabilities. | |
3152 | (gdbpy_should_stop): New function. | |
3153 | (gdbpy_breakpoint_has_py_cond): New function. | |
3154 | (local_setattro): New function. | |
3155 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
3156 | operation. | |
3157 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
3158 | operation function as part of stop/continue tests. | |
3159 | ||
37b50a69 TT |
3160 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
3161 | ||
3162 | PR gdb/12576: | |
3163 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
3164 | (needs_frame_dwarf_call): Likewise. | |
3165 | ||
eeae04df PM |
3166 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
3167 | ||
3168 | Fix ARI warning about functions without parameters that do not | |
3169 | use (void). | |
3170 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
3171 | * f-exp.y (match_string_literal): Ditto. | |
3172 | (yylex): Ditto. | |
3173 | * m2-exp.y (yylex): Ditto. | |
3174 | * mep-tdep.c (current_me_module): Ditto. | |
3175 | (current_options): Ditto. | |
3176 | (current_cop_data_bus_width): Ditto. | |
3177 | (current_cr_names): Ditto. | |
3178 | (current_cr_is_float): Ditto. | |
3179 | (current_ccr_names): Ditto. | |
3180 | * objc-exp.y (yylex): Ditto. | |
3181 | * p-exp.y (yylex): Ditto. | |
3182 | * remote.c (send_interrupt_sequence): Ditto. | |
3183 | * tracepoint.c (current_trace_status): Ditto. | |
3184 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
3185 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
3186 | ||
6dc3565d MS |
3187 | 2011-03-11 Michael Snyder <msnyder@vmware.com> |
3188 | ||
1427fe5e MS |
3189 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
3190 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
3191 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
3192 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
3193 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
3194 | ||
60bc018f MS |
3195 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
3196 | (delete_async_event_handler): Ditto. | |
3197 | ||
f3be5b64 MS |
3198 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
3199 | ||
4c2d5724 MS |
3200 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
3201 | ||
6dc3565d MS |
3202 | * top.c (set_verbose): Assert showcmd was found. |
3203 | ||
4e6ca6d5 MG |
3204 | 2011-03-11 Maxim Grigoriev <maxim2405@gmail.com> |
3205 | ||
3206 | * xtensa-tdep.c (warning_once): Correct style issues. | |
3207 | ||
815a83e4 YQ |
3208 | 2011-03-11 Yao Qi <yao@codesourcery.com> |
3209 | ||
3210 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
3211 | ||
f2eb0bc8 AS |
3212 | 2011-03-11 Andreas Schwab <schwab@redhat.com> |
3213 | ||
3214 | * common/aclocal.m4: Remove. | |
3215 | ||
b801de47 MG |
3216 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
3217 | ||
3218 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
3219 | (xtensa_write_register, xtensa_read_register): Likewise. | |
3220 | (xtensa_hextochar): Removed. | |
3221 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
3222 | ||
dbab50de MG |
3223 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
3224 | ||
3225 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 3226 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
3227 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
3228 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
3229 | (warning_once): New function. | |
3230 | (xtensa_insn_kind): New item c0opc_and. | |
3231 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
3232 | (call0_track_op): Change arguments. New local variable litbase. |
3233 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
3234 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
3235 | in the prologue. | |
dbab50de | 3236 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 3237 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
3238 | Add the variety of updates to handle extended prologues, which now can |
3239 | conduct dynamic stack adjustments. | |
3240 | (call0_frame_cache): Likewise. | |
3241 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
3242 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
3243 | ||
b2c04452 MS |
3244 | 2011-03-10 Michael Snyder <msnyder@vmware.com> |
3245 | ||
f8f67713 MS |
3246 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
3247 | (cmd_qtframe): Ditto. | |
3248 | (cmd_qtbuffer): Ditto. | |
3249 | (cmd_bigqtbuffer): Ditto. | |
3250 | ||
197f0a60 TT |
3251 | 2011-03-10 Tom Tromey <tromey@redhat.com> |
3252 | ||
3253 | * tracepoint.c (trace_actions_command): Update. | |
3254 | * thread.c (thread_apply_command): Update. | |
3255 | * reverse.c (delete_bookmark_command): Update. | |
3256 | (bookmarks_info): Update. | |
3257 | * printcmd.c (undisplay_command): Update. | |
3258 | * memattr.c (mem_enable_command): Update. | |
3259 | (mem_disable_command): Update. | |
3260 | (mem_delete_command): Update. | |
3261 | * inferior.c (detach_inferior_command): Update. | |
3262 | (kill_inferior_command): Update. | |
3263 | (remove_inferior_command): Update. | |
3264 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
3265 | (init_number_or_range): Declare. | |
3266 | (get_number_or_range): Update. | |
3267 | * cli/cli-utils.c (init_number_or_range): New function. | |
3268 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
3269 | static variables. | |
3270 | (number_is_in_list): Update. | |
3271 | * breakpoint.h (get_tracepoint_by_number): Update. | |
3272 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
3273 | get_number_or_range. | |
3274 | (find_location_by_number): Use get_number, not | |
3275 | get_number_or_range. | |
3276 | (trace_pass_set_count): New function. | |
3277 | (trace_pass_command): Update for change to get_number_or_range. | |
3278 | Rework loop logic. | |
3279 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
3280 | 'state' parameter. | |
3281 | ||
ecec24e6 PM |
3282 | 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> |
3283 | ||
3284 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
3285 | parameters. Register Python object context. | |
3286 | (get_show_value): New function. | |
3287 | (get_set_value): New function. | |
3288 | (call_doc_function): New function. | |
3289 | (get_doc_string): Move behind get_show_value/get_set_value. | |
3290 | ||
6d6c6b1f JK |
3291 | 2011-03-10 Andreas Tobler <andreast-list@fgznet.ch> |
3292 | ||
3293 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
3294 | ||
68d6df83 MG |
3295 | 2011-03-09 Maxim Grigoriev <maxim2405@gmail.com> |
3296 | ||
dbab50de | 3297 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
3298 | (xtensa_write_register): Likewise. |
3299 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
3300 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
3301 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
3302 | (xtensa_exception_handler_t): Update to match coding conventions. | |
3303 | (xtensa_insn_kind): Likewise. | |
3304 | ||
85c9d6a6 MS |
3305 | 2011-03-09 Michael Snyder <msnyder@vmware.com> |
3306 | ||
3307 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
3308 | ||
91495617 PA |
3309 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
3310 | ||
3311 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
3312 | ||
eb8c0621 TT |
3313 | 2011-03-09 Tom Tromey <tromey@redhat.com> |
3314 | ||
3315 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
3316 | (make_cleanup_restore_current_thread): Use | |
3317 | get_selected_frame_if_set. | |
3318 | * frame.h (get_selected_frame_if_set): Declare. | |
3319 | * frame.c (get_selected_frame_if_set): New function. | |
3320 | ||
9f37bbcc PA |
3321 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
3322 | ||
3323 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
3324 | * coffread.c (coff_start_symtab): Constify parameter. | |
3325 | (complete_symtab): Constify `name' parameter. | |
3326 | (coff_symtab_read): Constify `filestring' local. | |
3327 | (coff_getfilename): Constify return and `result' local. | |
3328 | Use lbasename. | |
3329 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
3330 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
3331 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
3332 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
3333 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
3334 | * procfs.c (procfs_make_note_section): Use lbasename. | |
3335 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
3336 | Use lbasename. | |
3337 | (print_filename): Constify parameters, and local `s'. | |
3338 | (tui_rl_display_match_list): Constify local `temp'. | |
3339 | ||
f8de3c55 JK |
3340 | 2011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3341 | ||
3342 | Revert: | |
3343 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3344 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
3345 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
3346 | cu->header.version >= 3. | |
3347 | ||
d9837b00 YQ |
3348 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
3349 | ||
3350 | * common/Makefile.in: Remove. | |
3351 | * common/configure: Remove. | |
3352 | * common/configure.ac: Remove. | |
3353 | ||
e637a4f5 YQ |
3354 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
3355 | ||
3356 | Revert: | |
3357 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
3358 | ||
3359 | * common/Makefile.in: Add copyright header. | |
3360 | ||
3361 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
3362 | ||
3363 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
3364 | libcommon.a. | |
3365 | * configure.ac: Add common to sub dir. | |
3366 | * configure: Regenerate. | |
3367 | ||
f976a05d MG |
3368 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
3369 | ||
3370 | * xtensa-tdep.c (call0_ret): New function. | |
3371 | (xtensa_skip_prologue): Speed up analysis. | |
3372 | ||
57041825 MG |
3373 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
3374 | ||
3375 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
3376 | while executing MI command -data-list-changed-registers. | |
3377 | ||
08b9c608 MG |
3378 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
3379 | ||
3380 | * xtensa-tdep.c (xtensa_read_register): New function. | |
3381 | (xtensa_write_register): New function. | |
3382 | (xtensa_find_register_by_name): New function. | |
3383 | (xtensa_windowed_frame_cache): Update comments in type description. | |
3384 | (xtensa_frame_cache): Likewise. | |
3385 | (xtensa_window_interrupt_insn): New function. | |
3386 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
3387 | (xtensa_insn_kind): Add new instructions. | |
3388 | (rwx_special_register): New function. | |
3389 | (call0_classify_opcode): Add new instructions to the analysis. | |
3390 | (a0_saved, a7_saved, a11_saved): New variables. | |
3391 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
3392 | (execute_l32e): New function. | |
3393 | (execute_s32e): New function. | |
3394 | (xtensa_exception_handler_t): New type. | |
3395 | (execute_code): New function. | |
3396 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
3397 | analysis for Xtensa Window Exception handlers. | |
3398 | ||
4d1acb11 MG |
3399 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
3400 | ||
98689b25 MG |
3401 | * xtensa-tdep.c (TX_PS): New. |
3402 | (windowing_enabled): Update to count for Call0 ABI. | |
3403 | (xtensa_hextochar): New. | |
3404 | (xtensa_init_reggroups): Make algorithm generic. | |
3405 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
3406 | ||
3407 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> | |
3408 | ||
3409 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 3410 | |
d3f323f3 MS |
3411 | 2011-03-08 Michael Snyder <msnyder@vmware.com> |
3412 | ||
3dcabaa8 MS |
3413 | * i386-tdep.c (i386_follow_jump): Check return value of |
3414 | target_read_memory. | |
3415 | (i386_analyze_struct_return): Ditto. | |
3416 | (i386_skip_probe): Ditto. | |
3417 | (i386_match_insn): Ditto. | |
3418 | (i386_skip_noop): Ditto. | |
3419 | (i386_analyze_frame_setup): Ditto. | |
3420 | (i386_analyze_register_saves): Ditto. | |
3421 | (i386_skip_prologue): Ditto. | |
3422 | (i386_skip_main_prologue): Ditto. | |
3423 | ||
13b3fd9b MS |
3424 | * target.c (read_whatever_is_readable): Fix memory leak. |
3425 | ||
d3f323f3 MS |
3426 | * i386-tdep.c (i386_process_record): Document fall through. |
3427 | ||
421d5c74 JK |
3428 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
3429 | ||
3430 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
3431 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
3432 | cu->header.version >= 3. | |
3433 | ||
63154eca PA |
3434 | 2011-03-08 Pedro Alves <pedro@codesourcery.com> |
3435 | ||
3436 | * remote.c (remote_check_symbols): Skip if the target has no | |
3437 | execution. | |
3438 | ||
f1a507a1 JB |
3439 | 2011-03-08 Joel Brobecker <brobecker@adacore.com> |
3440 | ||
3441 | * target.c (read_whatever_is_readable): Reformat comment, | |
3442 | with a minor typo fix. Minor reformatting of the code. | |
3443 | ||
36073a92 YQ |
3444 | 2011-03-08 Yao Qi <yao@codesourcery.com> |
3445 | ||
3446 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
3447 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
3448 | Use cached result instead of calling displaced_in_arm_mode again. | |
3449 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
3450 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
3451 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
3452 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
3453 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
3454 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
3455 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
3456 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
3457 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
3458 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
3459 | (arm_catch_kernel_helper_return): Likewise. | |
3460 | * gdb/arm-tdep.h : Update function declarations. | |
3461 | ||
d3f323f3 | 3462 | 2011-03-07 Michael Snyder <msnyder@vmware.com> |
e6040cbd | 3463 | |
e0e40094 MS |
3464 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
3465 | ||
0b2381f5 MS |
3466 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
3467 | ||
0350914a MS |
3468 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
3469 | ||
69feea6f MS |
3470 | * elfread.c (elf_symtab_read): Stop memory leak. |
3471 | ||
e6040cbd MS |
3472 | * main.c (captured_main): Fix memory leak. |
3473 | ||
052874e8 AS |
3474 | 2011-03-07 Andreas Schwab <schwab@linux-m68k.org> |
3475 | ||
3476 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
3477 | instead of string2. | |
3478 | ||
b11896a5 TT |
3479 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
3480 | ||
3481 | * xcoffread.c (xcoff_sym_fns): Update. | |
3482 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
3483 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
3484 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
3485 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
3486 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
3487 | * somread.c (som_sym_fns): Update. | |
3488 | * psymtab.h (require_partial_symbols): Declare. | |
3489 | * psymtab.c (require_partial_symbols): New function. | |
3490 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
3491 | (ALL_OBJFILE_PSYMTABS): Undef. | |
3492 | (ALL_PSYMTABS): Move from psympriv.h. | |
3493 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
3494 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
3495 | (find_last_source_symtab_from_partial) | |
3496 | (forget_cached_source_info_partial) | |
3497 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
3498 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
3499 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
3500 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
3501 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
3502 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
3503 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
3504 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
3505 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
3506 | psymtabs. | |
3507 | * mipsread.c (ecoff_sym_fns): Update. | |
3508 | * machoread.c (macho_sym_fns): Update. | |
3509 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
3510 | (read_psyms): New function. | |
3511 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
3512 | (elf_sym_fns_lazy_psyms): New global. | |
3513 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
3514 | dwarf2_build_psymtabs. | |
3515 | * dbxread.c (aout_sym_fns): Update. | |
3516 | * coffread.c (coff_sym_fns): Update. | |
3517 | ||
fda326dd TT |
3518 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
3519 | ||
3520 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
3521 | message. | |
3522 | ||
aeaec162 TT |
3523 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
3524 | ||
3525 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
3526 | parameter. | |
3527 | (target_has_execution_1): Update. | |
3528 | (target_has_execution_current): Declare. | |
3529 | (target_has_execution): Call target_has_execution_current. | |
3530 | (default_child_has_execution): Update. | |
3531 | * target.c (default_child_has_execution): Add 'the_ptid' | |
3532 | parameter. | |
3533 | (target_has_execution_1): Likewise. | |
3534 | (target_has_execution_current): New function. | |
3535 | (add_target): Update. | |
3536 | (init_dummy_target): Update. | |
3537 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
3538 | (init_m32r_ops): Use it. | |
3539 | * record.c (record_core_has_execution): Now static. Add | |
3540 | 'the_ptid' parameter. | |
3541 | * inferior.c (have_live_inferiors): Don't save current thread. | |
3542 | Use target_has_execution_1. | |
3543 | ||
08e14083 YQ |
3544 | 2011-03-07 Yao Qi <yao@codesourcery.com> |
3545 | ||
3546 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
3547 | ||
c05d19c5 JB |
3548 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
3549 | ||
3550 | * elfread.c (elf_symtab_read): Minor reformatting. | |
3551 | ||
3e6ef9e4 JB |
3552 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
3553 | ||
3554 | * objc-lang.c (selectors_info): Minor reformatting. | |
3555 | ||
dbb8534f JB |
3556 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
3557 | ||
3558 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
3559 | ||
dd70cc93 JB |
3560 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
3561 | Michael Snyder <msnyder@vmware.com> | |
3562 | ||
3563 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
3564 | "byte_order" and "elttype" inside the block where these variables | |
3565 | are actually used. Remove some special handling for the case | |
3566 | where "elttype" and "eltlen" are null. Replace by a comment | |
3567 | and a couple of assertion checks. | |
3568 | ||
b27cf2b3 MS |
3569 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
3570 | ||
3571 | * source.c (add_path): Replace semicolon at end of block. | |
3572 | * dwarf2expr.c (execute_stack_op): Ditto. | |
3573 | ||
5387a0c6 MF |
3574 | 2011-03-05 Mike Frysinger <vapier@gentoo.org> |
3575 | ||
3576 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
3577 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
3578 | (bfin-*-*): Likewise. | |
3579 | ||
e3aa49af MS |
3580 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
3581 | ||
82ae4854 MS |
3582 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
3583 | * mdebugread.c (parse_symbol): Ditto. | |
3584 | * parse.c (parse_exp_in_context): Ditto. | |
3585 | * source.c (add_path): Ditto. | |
3586 | * utils.c (gnu_debuglink_crc32): Ditto. | |
3587 | * varobj.c (variable_language): Ditto. | |
3588 | ||
e3aa49af MS |
3589 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
3590 | ||
154f592e MS |
3591 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
3592 | ||
da3ecdc6 MS |
3593 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
3594 | ||
9cc89665 MS |
3595 | * symfile.c (simple_overlay_update): Check for null return value |
3596 | from lookup_minimal_symbol. | |
3597 | ||
154f592e MS |
3598 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
3599 | ||
63ffa6ee TJB |
3600 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3601 | ||
3602 | * eval.c (parse_and_eval_address_1): Remove function. | |
3603 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
3604 | instead of parse_and_eval_address_1. | |
3605 | * value.h (parse_and_eval_address_1): Remove prototype. | |
3606 | ||
a17d146e MS |
3607 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
3608 | ||
3609 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
3610 | ||
1a6a67de TJB |
3611 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3612 | ||
3613 | * breakpointc (print_it_typical): Move NULL check from here... | |
3614 | (print_bp_stop_message): ... to here. | |
3615 | ||
488919c4 MS |
3616 | 2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> |
3617 | ||
3618 | * breakpoint.c (enable_command): Use break instead of continue, | |
3619 | and fill in a missing break. | |
3620 | (disable_command): Ditto. | |
3621 | ||
1e182ce8 UW |
3622 | 2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
3623 | ||
3624 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
3625 | (terminal_save_ours): Remove misleading comment. | |
3626 | (inflow_inferior_data_cleanup): Free ttystate. | |
3627 | (inflow_inferior_exit): Likewise. | |
3628 | (copy_terminal_info): Copy ttystate. | |
3629 | ||
3630 | * serial.c (serial_copy_tty_state): New function. | |
3631 | * serial.h (serial_copy_tty_state): Add prototype. | |
3632 | (struct serial_ops): Add copy_tty_state callback. | |
3633 | * ser-base.c (ser_base_copy_tty_state): New function. | |
3634 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
3635 | * ser-go32.c (dos_copy_tty_state): New function. | |
3636 | (dos_ops): Install copy_tty_state callback. | |
3637 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
3638 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
3639 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
3640 | (_initialize_ser_hardwire): Install it. | |
3641 | ||
b2c5f112 MS |
3642 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
3643 | ||
2abae994 MS |
3644 | * breakpoint.c (create_breakpoint): Add missing break statement. |
3645 | ||
7f5936f9 MS |
3646 | Reverting this patch: |
3647 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
3648 | ||
b2c5f112 MS |
3649 | Reverting this patch: |
3650 | * cli/cli-script.c (script_from_file): Add break for lint. | |
3651 | ||
42b1321c MS |
3652 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
3653 | ||
3654 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
3655 | ||
3e2a0cee TT |
3656 | 2011-03-03 Tom Tromey <tromey@redhat.com> |
3657 | ||
3658 | PR gdb/12538: | |
3659 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
3660 | DW_STRING is NULL. | |
3661 | ||
58397cb7 MS |
3662 | 2011-03-03 Michael Snyder <msnyder@vmware.com> |
3663 | ||
2e3fd767 MS |
3664 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
3665 | fields of struct 'st' to zero. | |
3666 | ||
58397cb7 MS |
3667 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
3668 | sal.pspace before calling set_current_source_symtab_and_line. | |
3669 | ||
ced54c8f YQ |
3670 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
3671 | ||
3672 | * Makefile.in (configure-common): Remove. Let Makefile | |
3673 | in dir common to rebuild itself. | |
3674 | (common/Makefile): Likewise. | |
3675 | ||
3351ea09 JB |
3676 | 2011-03-03 Joel Brobecker <brobecker@adacore.com> |
3677 | ||
3678 | * utils.c (parse_escape): Add i18n markup in error message. | |
3679 | ||
bf9f652a YQ |
3680 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
3681 | ||
3682 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
3683 | ARM_PC_REGNUM. | |
3684 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
3685 | (displaced_write_reg, displaced_read_reg): Likewise. | |
3686 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
3687 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
3688 | (cleanup_branch): Replace magic number 14 and 15 with | |
3689 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
3690 | ||
d42de051 MS |
3691 | 2011-03-02 Michael Snyder <msnyder@vmware.com> |
3692 | ||
240f9570 MS |
3693 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
3694 | ||
10dd8b54 MS |
3695 | * cli/cli-script.c (script_from_file): Add break for lint. |
3696 | ||
b98bd911 MS |
3697 | * mdebugread.c (parse_partial_symbols): Fix indent. |
3698 | ||
3494b66d MS |
3699 | * target-descriptions.c (tdesc_gdb_type): No need to call |
3700 | xstrdup, callee saves a copy. | |
3701 | ||
daac021a MS |
3702 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
3703 | ||
c38d16a7 MS |
3704 | * infcall.c (call_function_by_hand): Add break statements for lint. |
3705 | ||
905b671b MS |
3706 | * utils.c (parse_escape): Escape the escape char. |
3707 | ||
f2eb0bc8 | 3708 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
3709 | PyList_Append fails. |
3710 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
3711 | ||
8c6a60d1 MS |
3712 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
3713 | a function call. | |
3714 | ||
d42de051 MS |
3715 | * record.c (record_restore): Move printf to before error return. |
3716 | ||
4db71c0b YQ |
3717 | 2011-03-02 Yao Qi <yao@codesourcery.com> |
3718 | ||
3719 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
3720 | is_thumb and insn_size. | |
3721 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
3722 | on both ARM and Thumb mode. | |
3723 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
3724 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
3725 | (arm_displaced_step_fixup): Likewise. | |
3726 | ||
a9dc8dcc MS |
3727 | 2011-03-01 Michael Snyder <msnyder@vmware.com> |
3728 | ||
53624a93 MS |
3729 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
3730 | ||
77766669 MS |
3731 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
3732 | ||
62d5b8da MS |
3733 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
3734 | ||
5e9e105f MS |
3735 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
3736 | ||
dc19db01 MS |
3737 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
3738 | with xmalloc. | |
3739 | ||
5ce64950 MS |
3740 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
3741 | which shadows function parameter. | |
3742 | ||
a0aa2878 MS |
3743 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
3744 | to xstrdup. Callee already calls xstrdup. | |
3745 | ||
e325fb69 MS |
3746 | * linespec.c (decode_line_1): Remove unnecessary null check. |
3747 | ||
21cbba77 MS |
3748 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
3749 | variable. | |
3750 | ||
63360adc MS |
3751 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
3752 | superfluous null check. | |
3753 | ||
18ea20ac | 3754 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 3755 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 3756 | |
d014929c MS |
3757 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
3758 | ||
6e9130cf MS |
3759 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
3760 | be null. | |
3761 | ||
5f01dbc0 MS |
3762 | * linespec.c (decode_line_1): Check for null before dereference. |
3763 | ||
d684ab85 MS |
3764 | * reverse.c (record_restore): Move null-check to before pointer |
3765 | dereference. | |
3766 | ||
bfffb7e3 MS |
3767 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
3768 | ||
a9dc8dcc MS |
3769 | * objc-lang.c (selectors_info): Add explanitory comment. |
3770 | (classes_info): Ditto. | |
3771 | ||
478fd957 UW |
3772 | 2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
3773 | ||
3774 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
3775 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
3776 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
3777 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
3778 | (arm_linux_init_abi): Install it. | |
3779 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
3780 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
3781 | ||
0480cefa MS |
3782 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
3783 | ||
ac50ab3b MS |
3784 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
3785 | a little bigger, to avoid possibility of an overflow. | |
3786 | ||
f63fbe86 MS |
3787 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
3788 | buffers a little bigger, to avoid possibility of an overflow. | |
3789 | ||
9e91a352 MS |
3790 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
3791 | ||
f2eb0bc8 | 3792 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
3793 | avoid overflow. |
3794 | (classes_info): Error out on too long REGEXP. | |
3795 | ||
098ab512 MS |
3796 | * infrun.c (handle_inferior_event): Remove unused function call. |
3797 | ||
bcbd1de9 MS |
3798 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
3799 | unused variable. | |
3800 | ||
2e456570 MS |
3801 | * linux-thread-db.c (attach_thread): Discard unused value. |
3802 | ||
14571dad MS |
3803 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
3804 | ||
a9cbf802 MS |
3805 | * remote.c (remote_get_noisy_reply): Discard unused value. |
3806 | (remote_vcont_resume): Ditto. | |
3807 | (remote_stop_ns): Ditto. | |
3808 | ||
5715d26e MS |
3809 | * linespec.c (decode_objc): Delete unused variable. |
3810 | ||
4a9bca80 MS |
3811 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
3812 | ||
f47fb265 MS |
3813 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
3814 | (read_base_type): Delete unused variable. | |
3815 | ||
e81cff30 MS |
3816 | * dbxread.c (read_dbx_symtab): Discard unused value. |
3817 | ||
262acaeb MS |
3818 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
3819 | and discard unused values. | |
3820 | ||
df983543 MS |
3821 | * infcmd.c (_initialize_infcmd): Discard unused values. |
3822 | ||
89acf84d MS |
3823 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
3824 | ||
ab8b8aca MS |
3825 | * dbxread.c (process_one_symbol): Discard unused value. |
3826 | ||
6b4511ab MS |
3827 | * coffread.c (coff_end_symtab): Delete unused variable. |
3828 | ||
e8e80198 MS |
3829 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
3830 | (dwarf2_add_typedef): Delete unused variable. | |
3831 | (read_namespace): Ditto. | |
3832 | (dwarf_decode_macros): Ditto. | |
3833 | ||
976aa66e MS |
3834 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
3835 | ||
5b92b49f MS |
3836 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
3837 | ||
91e8df85 MS |
3838 | * p-valprint.c (pascal_val_print): Discard unused value. |
3839 | ||
899500d6 MS |
3840 | * utils.c (nquery): Call va_end before return; |
3841 | (yquery): Ditto. | |
3842 | (query): Ditto. | |
3843 | ||
0480cefa MS |
3844 | * proc-service.c (ps_plog): Call va_end before return. |
3845 | ||
fb6a3ed3 TT |
3846 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
3847 | ||
3848 | * python/python.c (gdbpy_value_cst): New global. | |
3849 | (_initialize_python): Initialize it. | |
3850 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
3851 | * python/py-value.c (convert_value_from_python): Use | |
3852 | gdbpy_value_cst. | |
3853 | ||
c05202a1 MS |
3854 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
3855 | ||
e463f587 MS |
3856 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
3857 | ||
c38eea1a MS |
3858 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
3859 | ||
3ef09ab5 MS |
3860 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
3861 | ||
8f9a01ee MS |
3862 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
3863 | (lval_func_check_synthetic_pointer): Ditto. | |
3864 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 3865 | |
477d0d57 TT |
3866 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
3867 | ||
3868 | * psymtab.c (expand_partial_symbol_tables): Use | |
3869 | ALL_OBJFILE_PSYMTABS. | |
3870 | ||
20937029 JK |
3871 | 2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3872 | ||
3873 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
3874 | ||
907b7f4f MS |
3875 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
3876 | ||
92e96192 MS |
3877 | * python/py-param.c (set_parameter_value): Add missing |
3878 | break statement. | |
3879 | ||
907b7f4f MS |
3880 | * linux-record.c (record_linux_system_call): Add missing |
3881 | break statement. | |
3882 | ||
12c5a436 UW |
3883 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
3884 | ||
3885 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
3886 | argument PRINT_ADDRESS_BITS. Update callers. | |
3887 | (print_one_breakpoint): Likewise. | |
3888 | ||
170b53b2 UW |
3889 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
3890 | ||
3891 | * breakpoint.c (wrap_indent_at_field): New function. | |
3892 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
3893 | Allocate ui_stream locally instead of using STB argument. | |
3894 | (print_one_breakpoint_location): Update call. | |
3895 | * ui-out.c (ui_out_query_field): New function. | |
3896 | * ui-out.h (ui_out_query_field): Add prototype. | |
3897 | ||
8ab1f94d JB |
3898 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
3899 | ||
3900 | From Michael Snyder <msnyder@vmware.com> | |
3901 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
3902 | ||
7d488639 MS |
3903 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
3904 | ||
ae179fba MS |
3905 | * objc-lang.c (selectors_info): Prevent string overrun. |
3906 | ||
086dbf66 MS |
3907 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
3908 | error in strncpy. | |
3909 | ||
f2eb0bc8 | 3910 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
3911 | outer scope. |
3912 | ||
7d488639 MS |
3913 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
3914 | param with a local variable of the same name. | |
3915 | ||
3bd0f5ef MS |
3916 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
3917 | ||
3918 | * value.c (value_from_history_ref): New function. | |
3919 | * value.h (value_from_history_ref): Export. | |
3920 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
3921 | to parse value history references. | |
3922 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
3923 | ||
3924 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
3925 | ||
3926 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
3927 | (kill_inferior_command): Ditto. | |
3928 | (remove_inferior_command): Ditto. | |
3929 | (initialize_inferiors): Make command names plural. | |
3930 | Update help strings. | |
3931 | ||
766062f6 MS |
3932 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
3933 | ||
3934 | * darwin-nat-info.c: Fix comment typo. | |
3935 | * dwarf2expr.h: Ditto. | |
3936 | * fbsd-nat.c: Ditto. | |
3937 | * fbsd-nat.h: Ditto. | |
3938 | * frame-unwind.h: Ditto. | |
3939 | * frame.h: Ditto. | |
3940 | * hppa-hpux-tdep.c: Ditto. | |
3941 | * i386-linux-nat.c: Ditto. | |
3942 | * linux-nat.c: Ditto. | |
3943 | * nbsd-nat.c: Ditto. | |
3944 | * nbsd-nat.h: Ditto. | |
3945 | * ppc-linux-tdep.c: Ditto. | |
3946 | * serial.c: Ditto. | |
3947 | * ui-file.h: Ditto. | |
3948 | * tui/tui-winsource.c: Ditto. | |
3949 | ||
f2c4ead5 MS |
3950 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
3951 | ||
86b887df MS |
3952 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
3953 | ||
66fd3b1e MS |
3954 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
3955 | ||
8c814cdd MS |
3956 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
3957 | with a local variable of the same name. | |
3958 | ||
6d5e094a | 3959 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 3960 | param with a local variable of the same name. |
6d5e094a | 3961 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 3962 | |
5eee517d MS |
3963 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
3964 | that it does not shadow a function parameter. | |
3965 | ||
8fbf6b93 MS |
3966 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
3967 | statement is meant to fall through. | |
3968 | ||
cb969d61 MS |
3969 | * expprint.c (dump_subexp_body_standard): Document that case |
3970 | statement is meant to fall through. | |
3971 | ||
f2c4ead5 MS |
3972 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
3973 | dead if statement. Condition can't be false. | |
3974 | ||
b021a221 MS |
3975 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
3976 | ||
3977 | * arm-tdep.c: Fix typos in comments. | |
3978 | * bsd-uthread.c: Ditto. | |
3979 | * completer.c: Ditto. | |
3980 | * corelow.c: Ditto. | |
3981 | * cp-namespace.c: Ditto. | |
3982 | * cp-support.c: Ditto. | |
3983 | * cris-tdep.c: Ditto. | |
3984 | * dbxread.c: Ditto. | |
3985 | * dwarf2read.c: Ditto. | |
3986 | * frame.h: Ditto. | |
3987 | * gdbtypes.h: Ditto. | |
3988 | * inferior.h: Ditto. | |
3989 | * mdebugread.c: Ditto. | |
3990 | * mips-tdep.c: Ditto. | |
3991 | * ppc-linux-nat.c: Ditto. | |
3992 | * ppc-linux-tdep.c: Ditto. | |
3993 | * printcmd.c: Ditto. | |
3994 | * sol-thread.c: Ditto. | |
3995 | * solib-frv.c: Ditto. | |
3996 | * solist.h: Ditto. | |
3997 | * sparc64-tdep.c: Ditto. | |
3998 | * spu-tdep.c: Ditto. | |
3999 | * stabsread.c: Ditto. | |
4000 | * symfile.c: Ditto. | |
4001 | * valops.c: Ditto. | |
4002 | * varobj.c: Ditto. | |
4003 | * vax-nat.c: Ditto. | |
4004 | * python/py-block.c: Ditto. | |
4005 | * python/py-symbol.c: Ditto. | |
4006 | * python/py-symtab.c: Ditto. | |
4007 | * python/py-value.c: Ditto. | |
4008 | * tui/tui-win.c: Ditto. | |
4009 | ||
c82c0b55 MS |
4010 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
4011 | ||
4012 | * inferior.c (print_inferior): Accept a string instead of an int | |
4013 | for requested_inferiors, and use get_number_or_range to parse it. | |
4014 | (info_inferiors_command): Pass args string to print_inferior. | |
4015 | (initialize_inferiors): Change help string for info inferiors. | |
4016 | * inferior.h (print_inferior): Export prototype change. | |
4017 | ||
ee00cd23 TT |
4018 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
4019 | ||
4020 | * common/ax.def (invalid2): Set to 0x31. | |
4021 | ||
0502ed8c JK |
4022 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
4023 | ||
4024 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
4025 | L and plongest. | |
4026 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
4027 | use L and plongest. | |
4028 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
4029 | ||
2c9de912 MS |
4030 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
4031 | ||
4032 | * Makefile.in (clean): Make clean should remove generated files | |
4033 | observer.h and observer.inc. | |
4034 | ||
a04b0428 JB |
4035 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
4036 | ||
4037 | Revert the following patch (not approved yet): | |
4038 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
4039 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
4040 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
4041 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
4042 | * ax-general.c (ax_memcpy): New function. | |
4043 | (ax_print): Handle "printf". | |
4044 | (ax_reqs): Ditto. | |
4045 | * ax.h (ax_memcpy): Forward declare. | |
4046 | * common/ax.def (invalid2): Removed. | |
4047 | (printf): New entry. | |
4048 | * printcmd.c (printcmd.h): New include. | |
4049 | (string_printf): New function. | |
4050 | (ui_printf): Removed. | |
4051 | (printf_command): Remove static. Call string_printf. | |
4052 | (eval_command): Call string_printf. | |
4053 | * printcmd.h: New file. | |
4054 | * tracepoint.c (validate_actionline, | |
4055 | encode_actions_1): handle printf_command. | |
4056 | ||
2b52013f TT |
4057 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
4058 | ||
4059 | * ax-general.c (ax_pick): Add missing newline. | |
4060 | ||
e5a67952 MS |
4061 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
4062 | ||
4063 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
4064 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 4065 | breakpoints rather than just one. Use new function |
e5a67952 MS |
4066 | 'number_is_in_list' to implement. |
4067 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
4068 | (watchpoints_info): Ditto. | |
4069 | (tracepoints_info): Ditto. | |
4070 | (maintenance_info_breakpoints): Ditto. | |
4071 | (_initialize_breakpoint): Update help strings to reflect the fact | |
4072 | that these functions can now take more than one argument. | |
4073 | * cli/cli-utils.c (number_is_in_list): New function. | |
4074 | * cli/cli-utils.h (number_is_in_list): Export. | |
4075 | ||
4076 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
4077 | |
4078 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
4079 | (mem_disable_command): Ditto. | |
4080 | (mem_delete_command): Ditto. | |
4081 | (_initialize_mem): Tweak usage message to reflect multiple | |
4082 | arguments. | |
4083 | ||
6e6fbe60 DE |
4084 | 2011-02-22 Doug Evans <dje@google.com> |
4085 | ||
4086 | Add gdb.lookup_global_symbol python function. | |
4087 | * NEWS: Add entry. | |
4088 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
4089 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
4090 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
4091 | ||
79b97fa8 TT |
4092 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
4093 | ||
4094 | * language.c (language_class_name_from_physname): Rename | |
4095 | 'curr_language' argument to 'lang'; use in body. | |
4096 | ||
298f437a MS |
4097 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
4098 | ||
4099 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
4100 | ||
b7ea3126 PA |
4101 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
4102 | ||
4103 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
4104 | next. | |
4105 | ||
58ee6d60 TT |
4106 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
4107 | ||
4108 | * symfile.c (auto_solib_limit): Remove. | |
4109 | * symfile.h (auto_solib_limit): Remove. | |
4110 | ||
36238dbc JB |
4111 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
4112 | ||
4113 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
4114 | ||
aea5b279 MS |
4115 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
4116 | ||
4117 | * gdbthread.h (print_thread_info): Change prototype. | |
4118 | * thread.c (print_thread_info): Accept char* instead of int for | |
4119 | requested_threads argument. Use new function number_is_in_list | |
4120 | to determine which threads to list. | |
4121 | (info_threads_command): Pass char* to print_thread_info. | |
4122 | * cli/cli-utils.c (number_is_in_list): New function. | |
4123 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 4124 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
4125 | print_thread_info. |
4126 | (print_one_inferior): Ditto. | |
4127 | (mi_cmd_list_thread_groups): Ditto. | |
4128 | ||
8caa75ee JK |
4129 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4130 | ||
4131 | * common/Makefile.in (CFLAGS): New. | |
4132 | (COMPILE): Add $(CFLAGS). | |
4133 | ||
ea666128 TT |
4134 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
4135 | ||
4136 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
4137 | ||
e9cafbcc TT |
4138 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
4139 | ||
4140 | * reverse.c: Include cli-utils.h. | |
4141 | * printcmd.c: Include cli-utils.h. | |
4142 | (string_printf): Use skip_spaces. | |
4143 | * cli/cli-utils.h: New file. | |
4144 | * cli/cli-utils.c: New file. | |
4145 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
4146 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
4147 | * breakpoint.h (get_number, get_number_or_range): Move to | |
4148 | cli-utils.h. | |
4149 | * breakpoint.c: Include cli-utils.h. | |
4150 | (get_number_trailer, get_number, get_number_or_range) | |
4151 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
4152 | (create_breakpoint_sal, find_condition_and_thread) | |
4153 | (decode_static_tracepoint_spec, watch_command_1) | |
4154 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
4155 | (catch_fork_command_1, catch_exec_command_1) | |
4156 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
4157 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
4158 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
4159 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
4160 | (cli-utils.o): New target. | |
4161 | ||
f67fd822 PM |
4162 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4163 | ||
4164 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
4165 | before calling discard_all_inferiors. | |
4166 | ||
c9def01d UW |
4167 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
4168 | ||
4169 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
4170 | (struct builtin_opencl_type): Remove. | |
4171 | (builtin_opencl_type): Change return type to "struct type **". | |
4172 | (lookup_opencl_vector_type): Update caller. | |
4173 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
4174 | (build_opencl_types): Install plain array of "struct type *" | |
4175 | instead of "struct builtin_opencl_type". | |
4176 | ||
e3039479 UW |
4177 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
4178 | Ulrich Weigand <uweigand@de.ibm.com> | |
4179 | ||
4180 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
4181 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
4182 | (struct arm_linux_hwbp_cap): New type. | |
4183 | (arm_linux_get_hwbp_cap): New function. | |
4184 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
4185 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
4186 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
4187 | (arm_hwbp_type): New type. | |
4188 | (arm_hwbp_control_t): Likewise. | |
4189 | (struct arm_linux_hw_breakpoint): Likewise. | |
4190 | (struct arm_linux_thread_points): Likewise. | |
4191 | (arm_threads): New global variable. | |
4192 | (arm_linux_find_breakpoints_by_tid): New function. | |
4193 | (arm_hwbp_control_initialize): Likewise. | |
4194 | (arm_hwbp_control_is_enabled): Likewise. | |
4195 | (arm_hwbp_control_disable): Likewise. | |
4196 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
4197 | (arm_linux_get_hwbp_type): Likewise. | |
4198 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
4199 | (arm_linux_hw_breakpoint_equal): Likewise. | |
4200 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
4201 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
4202 | (arm_linux_insert_hw_breakpoint): Likewise. | |
4203 | (arm_linux_remove_hw_breakpoint): Likewise. | |
4204 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
4205 | (arm_linux_insert_watchpoint): Likewise. | |
4206 | (arm_linux_remove_watchpoint): Likewise. | |
4207 | (arm_linux_stopped_data_address): Likewise. | |
4208 | (arm_linux_stopped_by_watchpoint): Likewise. | |
4209 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
4210 | (arm_linux_new_thread): Likewise. | |
4211 | (arm_linux_thread_exit): Likewise. | |
4212 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
4213 | related target callbacks. Register arm_linux_new_thread and | |
4214 | arm_linux_thread_exit. | |
4215 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
4216 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
4217 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
4218 | ||
b5db5dfc UW |
4219 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
4220 | ||
4221 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
4222 | per-frame locations while within a function epilogue. | |
4223 | ||
e25b2cfa PM |
4224 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
4225 | ||
4226 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
4227 | to GNU coding standards. | |
4228 | ||
4af53f97 PM |
4229 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
4230 | ||
4231 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 4232 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
4233 | (ser_windows_close): Only call CancelIo if function exists. |
4234 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
4235 | to check for existence of CancelIo function in kernel32 DLL. | |
4236 | ||
d0e92d82 HZ |
4237 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
4238 | ||
4239 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
4240 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
4241 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
4242 | * ax-general.c (ax_memcpy): New function. | |
4243 | (ax_print): Handle "printf". | |
4244 | (ax_reqs): Ditto. | |
4245 | * ax.h (ax_memcpy): Forward declare. | |
4246 | * common/ax.def (invalid2): Removed. | |
4247 | (printf): New entry. | |
4248 | * printcmd.c (printcmd.h): New include. | |
4249 | (string_printf): New function. | |
4250 | (ui_printf): Removed. | |
4251 | (printf_command): Remove static. Call string_printf. | |
4252 | (eval_command): Call string_printf. | |
4253 | * printcmd.h: New file. | |
4254 | * tracepoint.c (validate_actionline, | |
4255 | encode_actions_1): handle printf_command. | |
4256 | ||
7d357efd MS |
4257 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
4258 | ||
4259 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
4260 | id rather than pointer to bookmark struct. | |
4261 | (delete_bookmark_command): Use get_number_or_range. | |
4262 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
4263 | (bookmark_1): New function. Print info for one bookmark. | |
4264 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
4265 | ||
7a45ebd7 MS |
4266 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
4267 | ||
f2eb0bc8 | 4268 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 4269 | get_number_or_range. |
65ebfb52 | 4270 | (thread_apply_command): Ditto. |
7a45ebd7 | 4271 | |
94d5e490 TT |
4272 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
4273 | ||
4274 | * common/ax.def: New file. | |
4275 | * ax.h (enum agent_op): Use ax.def. | |
4276 | * ax-general.c (aop_map): Use ax.def. | |
4277 | ||
c7f96d2b TT |
4278 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
4279 | ||
4280 | * ax-general.c (aop_map): Add pick and rot. | |
4281 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
4282 | <DW_OP_rot>: Implement. | |
4283 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
4284 | (ax_pick): Declare. | |
4285 | * ax-general.c (ax_pick): New function. | |
4286 | ||
66694b75 TT |
4287 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
4288 | ||
4289 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
4290 | ||
eeaafae2 JK |
4291 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
4292 | Tom Tromey <tromey@redhat.com> | |
4293 | ||
4294 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
4295 | make_symbol_overload_list_block with NULL BLOCK. | |
4296 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
4297 | ||
3c3fe74c PA |
4298 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
4299 | ||
4300 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
4301 | * breakpoint.h (get_number_or_range): Declare. | |
4302 | * printcmd.c (ALL_DISPLAYS): Declare. | |
4303 | (delete_display): Reimplement taking a display pointer. | |
4304 | (undisplay_command): Accept a range of displays to delete, using | |
4305 | get_number_or_range. | |
4306 | ||
13163d80 PM |
4307 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4308 | ||
4309 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
4310 | for arrays of unspecified length. | |
4311 | * p-valprint.c (pascal_val_print): Likewise. | |
4312 | ||
b434a28f YQ |
4313 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
4314 | ||
4315 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
4316 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
4317 | (thumb_process_displaced_insn): New. | |
4318 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
4319 | call to arm_process_displaced_insn. | |
4320 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
4321 | ||
9f6f94ff TT |
4322 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
4323 | ||
4324 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
4325 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
4326 | compile_dwarf_to_ax. No longer static. Call | |
4327 | dwarf2_compile_cfa_to_ax. | |
4328 | (locexpr_tracepoint_var_ref): Update. | |
4329 | (loclist_tracepoint_var_ref): Update. | |
4330 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
4331 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
4332 | argument; add 'gdbarch' and 'pc'. | |
4333 | (dwarf2_compile_cfa_to_ax): New function. | |
4334 | (dwarf2_frame_cache): Update. | |
4335 | ||
e67ad678 JB |
4336 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
4337 | ||
4338 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
4339 | in the case of an unconstrained packed array. | |
4340 | ||
946ebb0d YQ |
4341 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
4342 | ||
4343 | * common/Makefile.in: Add more targets for make. | |
4344 | ||
1ba1b353 TT |
4345 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
4346 | ||
4347 | * dwarf2loc.c (unimplemented): Fix typo. | |
4348 | ||
b1bfef65 TT |
4349 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
4350 | ||
4351 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
4352 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
4353 | <DW_OP_deref>: Update. | |
4354 | (disassemble_dwarf_expression): Update. | |
4355 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
4356 | (decode_locdesc): Update. | |
4357 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
4358 | ||
5f1e6f19 TT |
4359 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
4360 | ||
4361 | * ax.h (struct aop_map) <name>: Now const. | |
4362 | ||
a0c78a73 PA |
4363 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
4364 | ||
4365 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
4366 | than axs_rvalue. | |
4367 | ||
946ebb0d | 4368 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
4369 | |
4370 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
4371 | * inferior.h: Declare it. | |
4372 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
4373 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
4374 | returns non-NULL. | |
4375 | ||
08807d5a PA |
4376 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
4377 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4378 | ||
4379 | gdb/ | |
4380 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
4381 | ||
29976f3f PA |
4382 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
4383 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4384 | ||
4385 | * value.c (value_contents_copy_raw): Extend describing comment. | |
4386 | Assert that the destination contents we're overwriting are wholly | |
4387 | available. | |
fb68ae73 | 4388 | (value_contents_copy): Extend describing comment. |
29976f3f | 4389 | |
cd24cfaa PA |
4390 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
4391 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4392 | ||
4393 | * value.c (value_available_contents_eq): Remove redundant local | |
4394 | variables. Fix available contents comparision. | |
4395 | * value.h (value_available_contents_eq): Extend describing | |
4396 | comment. | |
4397 | ||
60bbf338 YQ |
4398 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
4399 | ||
4400 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
4401 | trailing newline. | |
4402 | ||
17450429 PP |
4403 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
4404 | ||
4405 | * breakpoint.c (longjmp_names): New variable. | |
4406 | (struct breakpoint_objfile_data): New type. | |
4407 | (breakpoint_objfile_key): New variable. | |
4408 | (msym_not_found): New variable. | |
4409 | (msym_not_found_p): New predicate. | |
4410 | (get_breakpoint_objfile_data): New function. | |
4411 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
4412 | symbols first. | |
4413 | (create_longjmp_master_breakpoint): Likewise. | |
4414 | (create_std_terminate_master_breakpoint): Likewise. | |
4415 | (create_exception_master_breakpoint): Likewise. | |
4416 | (_initialize_breakpoint): Register per-objfile data key. | |
4417 | ||
af02033e PP |
4418 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
4419 | ||
4420 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
4421 | parameter value. | |
4422 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
4423 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
4424 | value. | |
4425 | (update_breakpoints_after_exec): Adjust. | |
4426 | (breakpoint_re_set): Adjust. | |
4427 | ||
60f98dde MS |
4428 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
4429 | ||
cdf99611 MS |
4430 | * thread.c (info_threads_command): Process arg as thread id, |
4431 | or list of thread ids. | |
4432 | (thread_find_command): New command. | |
4433 | (_initialize_thread): Document argument for info threads. | |
4434 | Document 'thread find' command. | |
4435 | * NEWS: Document new command "thread find". | |
60f98dde | 4436 | |
0feedb2c JK |
4437 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
4438 | ||
4439 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
4440 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
4441 | * common/configure: Regenerate with autoconf-2.64. | |
4442 | ||
648cd113 KW |
4443 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
4444 | ||
4445 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
4446 | bool data type to a size of one byte. | |
4447 | ||
5657161f PA |
4448 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
4449 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4450 | ||
4451 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
4452 | look for interface description. | |
4453 | ||
494e194e YQ |
4454 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
4455 | ||
4456 | PR tdep/12352 | |
4457 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
4458 | order to store PC value on stack instead of text section. | |
4459 | ||
d9492458 TJB |
4460 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4461 | ||
4462 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
4463 | the EFP register set size. | |
4464 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
4465 | data from the VMX register. | |
4466 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
4467 | and write data from/to the VMX register. | |
4468 | ||
cdf99611 MS |
4469 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
4470 | ||
4471 | * command.h (enum command_class): New class 'no_set_class', for | |
4472 | "show" commands without a corresponding "set" command. | |
4473 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
4474 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
4475 | "show warranty". | |
4476 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
4477 | "show version". | |
4478 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
4479 | which there is no corresponding "set" command (eg. "show copying"). | |
4480 | ||
424447ee PA |
4481 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4482 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4483 | ||
4484 | * exec.c (section_table_available_memory): Change `len' parameter | |
4485 | type to ULONGEST. | |
4486 | * exec.h (section_table_available_memory): Ditto. | |
4487 | * value.h (read_value_memory): Rename the `offset' parameter to | |
4488 | `embedded_offset'. | |
4489 | ||
c0f61f9c | 4490 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 4491 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
4492 | |
4493 | * memrange.c (compare_mem_ranges): Mention sort order in | |
4494 | describing comment. | |
4495 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
4496 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
4497 | mention what happens to RESULT when the target does not support | |
4498 | the query. | |
4499 | ||
6bfc80c7 PA |
4500 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4501 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4502 | ||
4503 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
4504 | range. | |
4505 | ||
e7303042 PA |
4506 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4507 | ||
4508 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
4509 | No longer handle NULL values. | |
4510 | ||
8af8e3bc PA |
4511 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4512 | ||
4513 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
4514 | * value.c: Include "exceptions.h". | |
4515 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
4516 | generic error. | |
4517 | * cp-abi.c: Include gdb_assert.h. | |
4518 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
4519 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
4520 | errors. | |
4521 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
4522 | parameters. No longer returns -1 on error. | |
4523 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
4524 | `val' parameters. | |
4525 | * cp-valprint.c: Include exceptions.h. | |
4526 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
4527 | the baseclass_offset. Handle unavailable base classes. Use | |
4528 | val_print_invalid_address. | |
4529 | * p-valprint.c: Include exceptions.h. | |
4530 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
4531 | when fetching the baseclass_offset. No longer expect | |
4532 | baseclass_offset returning -1. Handle unavailable base classes. | |
4533 | Use val_print_invalid_address. | |
4534 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
4535 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
4536 | `embedded_offset' and `val' parameters. Adjust. | |
4537 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
4538 | parameter, and change its type to gdb_byte pointer. Add | |
4539 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
4540 | baseclass_offset returning -1. | |
4541 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
4542 | value_contents. Adjust. | |
4543 | (search_struct_field): No longer expect baseclass_offset returning | |
4544 | -1. | |
4545 | (search_struct_method): If reading memory from the target is | |
4546 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
4547 | longer expect baseclass_offset returning -1. | |
4548 | (find_method_list): No longer expect baseclass_offset returning | |
4549 | -1. Use value_contents_for_printing rather than value_contents. | |
4550 | * valprint.c (val_print_invalid_address): New function. | |
4551 | * valprint.h (val_print_invalid_address): Declare. | |
4552 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
4553 | and `val' parameters. No longer expect baseclass_offset returning | |
4554 | -1. Adjust. | |
4555 | * gnu-v2-abi.c: Include "exceptions.h". | |
4556 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
4557 | parameters. Handle unavailable memory. Recurse through | |
4558 | gnuv2_baseclass_offset directly, rather than through | |
4559 | baseclass_offset. No longer returns -1 on not found, instead | |
4560 | throw an error. | |
4561 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
4562 | `val' parameters. Adjust. | |
4563 | ||
1b28d0b3 PA |
4564 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4565 | ||
4566 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
4567 | almost but not quite adjacent. | |
4568 | ||
ec0a52e1 PA |
4569 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4570 | ||
4571 | * value.h (value_entirely_available): Declare. | |
4572 | * value.c (value_entirely_available): New function. | |
4573 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
4574 | real type if the pointer is unavailable. | |
4575 | ||
24e6bcee PA |
4576 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4577 | ||
4578 | * valops.c (value_repeat): Use read_value_memory instead of | |
4579 | read_memory. | |
4580 | ||
39d37385 PA |
4581 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4582 | ||
4583 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
4584 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
4585 | functions. | |
4586 | (value_primitive_field): Use value_contents_copy_raw instead of | |
4587 | memcpy. | |
4588 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
4589 | memcpy. | |
4590 | (value_array, value_slice): Ditto. | |
4591 | * valarith.c (value_subscripted_rvalue): Use | |
4592 | value_contents_copy_raw instead of memcpy. | |
4593 | ||
a3d34bf4 PA |
4594 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4595 | ||
4596 | <unavailable> references. | |
4597 | ||
4598 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
4599 | avoiding read_memory. | |
4600 | ||
9fc6d940 PA |
4601 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4602 | ||
4603 | * c-valprint.c (c_val_print): Print a string with unavailable | |
4604 | contents as an array. | |
4605 | ||
5467c6c8 PA |
4606 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4607 | ||
4608 | * value.h (unpack_bits_as_long): Delete declaration. | |
4609 | (unpack_value_bits_as_long): Declare. | |
4610 | (unpack_value_field_as_long): Declare. | |
4611 | (value_field_bitfield): Declare. | |
4612 | * value.c (unpack_bits_as_long): Rename to... | |
4613 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
4614 | value parameters. Return the extracted result in a new output | |
4615 | parameter. If the value contents are unavailable, return false, | |
4616 | otherwise return true. | |
4617 | (unpack_value_bits_as_long): New. | |
4618 | (unpack_field_as_long): Rename to... | |
4619 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
4620 | Add embedded_offset and value parameters. Return the extracted | |
4621 | result in a new output parameter. If the value contents are | |
4622 | unavailable, return false, otherwise return true. | |
4623 | (unpack_value_field_as_long): New. | |
4624 | (unpack_field_as_long_1): New. | |
4625 | (unpack_field_as_long): Reimplement as wrapper around | |
4626 | unpack_value_field_as_long_1. | |
4627 | (value_field_bitfield): New function. | |
4628 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
4629 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
4630 | is unavailable. | |
4631 | * jv-valprint.c (java_print_value_fields): Use | |
4632 | value_field_bitfield. | |
4633 | * p-valprint.c (pascal_object_print_value_fields): Use | |
4634 | value_field_bitfield. | |
4635 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
4636 | ||
3158c6ed PA |
4637 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4638 | ||
4639 | * value.c (get_internalvar_integer): Also return the int value of | |
4640 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
4641 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
4642 | ||
9fbdca0d PA |
4643 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4644 | ||
4645 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
4646 | INTERNALVAR_POINTER. | |
4647 | <pointer>: Delete. | |
4648 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
4649 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
4650 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
4651 | ||
c8c1c22f PA |
4652 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4653 | ||
4654 | * value.h (value_available_contents_eq): Declare. | |
4655 | * value.c (find_first_range_overlap): New function. | |
4656 | (value_available_contents_eq): New function. | |
4657 | * valprint.c (val_print_array_elements): Use | |
4658 | value_available_contents_eq. | |
4659 | * ada-valprint.c (val_print_packed_array_elements): Use | |
4660 | value_available_contents_eq. | |
4661 | * jv-valprint.c (java_value_print): Use | |
4662 | value_available_contents_eq. | |
4663 | ||
e6e4e701 PA |
4664 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4665 | ||
4666 | * target.c (target_read_live_memory): New function. | |
4667 | (memory_xfer_live_readonly_partial): New. | |
4668 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
4669 | reading unavailable read-only memory from read-only regions of | |
4670 | live target memory. | |
4671 | * tracepoint.c (disconnect_tracing): Adjust. | |
4672 | (set_current_traceframe): New, factored out from | |
4673 | set_traceframe_number. | |
4674 | (set_traceframe_number): Reimplement to only change the traceframe | |
4675 | number on the GDB side. | |
4676 | (do_restore_current_traceframe_cleanup): Adjust. | |
4677 | (make_cleanup_restore_traceframe_number): New. | |
4678 | (cur_traceframe_number): New global. | |
4679 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
4680 | (set_tfile_traceframe): New function. | |
4681 | (tfile_trace_find): If looking up a traceframe using any method | |
4682 | other than by number, make sure the current tfile traceframe | |
4683 | matches gdb's current traceframe. Update the current tfile | |
4684 | traceframe if the lookup succeeded. | |
4685 | (tfile_fetch_registers, tfile_xfer_partial) | |
4686 | (tfile_get_trace_state_variable_value): Make sure the remote | |
4687 | traceframe matches gdb's current traceframe. | |
4688 | * remote.c (remote_traceframe_number): New global. | |
4689 | (remote_open_1): Set it to -1. | |
4690 | (set_remote_traceframe): New function. | |
4691 | (remote_fetch_registers, remote_store_registers) | |
4692 | (remote_xfer_memory, remote_xfer_partial) | |
4693 | (remote_get_trace_state_variable_value): Make sure the remote | |
4694 | traceframe matches gdb's current traceframe. | |
4695 | (remote_trace_find): If looking up a traceframe using any method | |
4696 | other than by number, make sure the current remote traceframe | |
4697 | matches gdb's current traceframe. Update the current remote | |
4698 | traceframe if the lookup succeeded. | |
4699 | * infrun.c (fetch_inferior_event): Adjust. | |
4700 | * tracepoint.h (set_current_traceframe): Declare. | |
4701 | (get_traceframe_number, set_traceframe_number): Add describing | |
4702 | comments. | |
4703 | ||
e6ca34fc PA |
4704 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4705 | ||
4706 | Mark pieces of values as unavailable if the corresponding memory | |
4707 | is unavailable. | |
4708 | ||
4709 | * valops.c: Include tracepoint.h. | |
4710 | (value_fetch_lazy): Use read_value_memory. | |
4711 | (read_value_memory): New. | |
4712 | * value.h (read_value_memory): Declare. | |
4713 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
4714 | * exec.c (section_table_available_memory): New function. | |
4715 | * exec.h (section_table_available_memory): Declare. | |
4716 | ||
2a7498d8 PA |
4717 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4718 | ||
4719 | * Makefile.in (SFILES): Add memrange.c. | |
4720 | (HFILES_NO_SRCDIR): Add memrange.h. | |
4721 | (COMMON_OBS): Add memrange.o. | |
4722 | * memrange.c: New file. | |
4723 | * memrange.h: New file. | |
4724 | * tracepoint.c: Include memrange.h. | |
4725 | (struct mem_range): Delete. | |
4726 | (mem_range_s): Delete. | |
4727 | (traceframe_available_memory): New function. | |
4728 | * tracepoint.h (traceframe_available_memory): Declare. | |
4729 | ||
b3b9301e PA |
4730 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4731 | ||
4732 | * target.h (struct traceframe_info): Forward declare. | |
4733 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
4734 | (struct target_ops) <to_traceframe_info>: New field. | |
4735 | (target_traceframe_info): New. | |
4736 | * target.c (update_current_target): Inherit and default | |
4737 | to_traceframe_info. | |
4738 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
4739 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
4740 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
4741 | (remote_traceframe_info): New. | |
4742 | (init_remote_ops): Install it. | |
4743 | (_initialize_remote): Install "set/show remote traceframe-info" | |
4744 | commands. | |
4745 | * tracepoint.h (parse_traceframe_info): Declare. | |
4746 | * tracepoint.c (struct mem_range): New. | |
4747 | (mem_range_s): New typedef. | |
4748 | (struct traceframe_info): New. | |
4749 | (traceframe_info): New global. | |
4750 | (free_traceframe_info): New function. | |
4751 | (clear_traceframe_info): New function. | |
4752 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
4753 | info. | |
4754 | (build_traceframe_info): New function. | |
4755 | (tfile_traceframe_info): New function. | |
4756 | (init_tfile_ops): Install tfile_traceframe_info. | |
4757 | (traceframe_info_start_memory, free_result): New functions. | |
4758 | (memory_attributes, traceframe_info_elements): New globals. | |
4759 | (parse_traceframe_info, get_traceframe_info): New functions. | |
4760 | * features/traceframe-info.dtd: New file. | |
4761 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
4762 | ||
4e07d55f PA |
4763 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
4764 | ||
4765 | Base support for <unavailable> value contents. | |
4766 | ||
4e07d55f PA |
4767 | * value.h (value_bytes_available): Declare. |
4768 | (mark_value_bytes_unavailable): Declare. | |
4769 | * value.c (struct range): New struct. | |
4770 | (range_s): New typedef. | |
4771 | (ranges_overlap): New function. | |
4772 | (range_lessthan): New function. | |
4773 | (ranges_contain_p): New function. | |
4774 | (struct value) <unavailable>: New field. | |
4775 | (value_bytes_available): New function. | |
4776 | (mark_value_bytes_unavailable): New function. | |
4777 | (require_not_optimized_out): Constify parameter. | |
4778 | (require_available): New function. | |
4779 | (value_contents_all, value_contents): Require all bytes be | |
4780 | available. | |
4781 | (value_free): Free `unavailable'. | |
4782 | (value_copy): Copy `unavailable'. | |
4783 | * valprint.h (val_print_unavailable): Declare. | |
4784 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
4785 | to `embedded_offset'. If printing a scalar, check whether the | |
4786 | value chunk is available. | |
4787 | (val_print_unavailable): New. | |
4788 | (val_print_scalar_formatted): Check whether the value is | |
4789 | available. | |
4790 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
4791 | pretty-printing unavailable values. | |
4792 | ||
bc9a5551 JK |
4793 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
4794 | ||
4795 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
4796 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
4797 | variable param_type, initialize it. Remove const/volatile qualifiers | |
4798 | for language_cplus and !show_artificial. Use param_type. | |
4799 | ||
93b55aa1 JK |
4800 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
4801 | ||
4802 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
4803 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
4804 | * symtab.h (struct symtab) <next>: Comment extension. | |
4805 | ||
181d9476 YQ |
4806 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
4807 | ||
4808 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
4809 | ||
b708a5c7 JK |
4810 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
4811 | ||
4812 | * common/Makefile.in: Add copyright header. | |
4813 | ||
c5187ac6 PA |
4814 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
4815 | ||
4816 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
4817 | here ... | |
4818 | (fetch_inferior_event): ... to here. | |
4819 | ||
4f3e6fb7 YQ |
4820 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
4821 | ||
4822 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
4823 | libcommon.a. | |
4824 | * configure.ac: Add common to sub dir. | |
4825 | * configure: Regenerate. | |
4826 | ||
b708a5c7 JK |
4827 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
4828 | ||
4829 | Build libcommon.a. | |
4830 | ||
4831 | * common/Makefile.in: New. | |
4832 | * common/configure.ac: New. | |
4833 | * common/aclocal.m4: New. | |
4834 | * common/configure: Generate. | |
4835 | ||
2287cc7e PA |
4836 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
4837 | ||
4838 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
4839 | side of the parenthesis. | |
4840 | ||
4841 | Merge from GCC: | |
4842 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 4843 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 4844 | |
fd62cb89 MS |
4845 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
4846 | ||
4847 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
4848 | ||
56d2815c JK |
4849 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
4850 | ||
4851 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
4852 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
4853 | psubd and paddd. | |
4854 | ||
4f7d61a8 JK |
4855 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
4856 | ||
4857 | PR 12361. | |
4858 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
4859 | phsubsw. | |
4860 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
4861 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
4862 | ||
54fcddd0 UW |
4863 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
4864 | ||
4865 | * dwarf2read.c (read_subroutine_type): Set special calling | |
4866 | convention flag for functions compiled by IBM XL C for OpenCL. | |
4867 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
4868 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
4869 | calling convention. | |
4870 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
4871 | IBM OpenCL vector types calling convention. | |
4872 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
4873 | (ppc_sysv_abi_broken_return_value): Likewise. | |
4874 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
4875 | types calling convention. | |
4876 | (ppc64_sysv_abi_return_value): Likewise. | |
4877 | * spu-tdep.c: Include "dwarf2.h" | |
4878 | (spu_return_value): Implement IBM OpenCL vector types calling | |
4879 | convention. | |
4880 | ||
d6dafb7c UW |
4881 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
4882 | ||
4883 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
4884 | correct ABI for AltiVec vector arguments. | |
4885 | ||
32b72a42 PA |
4886 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
4887 | ||
4888 | * valprint.c (val_print): Extend comment. | |
4889 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
4890 | interface explanation to val_print. | |
4891 | (ada_val_print_array): Adjust comment to current interface. | |
4892 | (print_field_values): Adjust comment to current interface. | |
4893 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
4894 | explanation to val_print. | |
4895 | * f-valprint.c (f_val_print): Ditto. | |
4896 | * jv-valprint.c (java_val_print): Ditto. | |
4897 | * m2-valprint.c (m2_val_print): Ditto. | |
4898 | * p-valprint.c (pascal_val_print): Ditto. | |
4899 | ||
9998af43 TJB |
4900 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4901 | ||
4902 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
4903 | ||
505500db | 4904 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 4905 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
4906 | |
4907 | * python/py-inferior.c (python_on_normal_stop): New function. | |
4908 | (python_on_resume): New function. | |
4909 | (python_inferior_exit): New function. | |
4910 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
4911 | inferior_exit observers. | |
4912 | * python/py-evtregistry.c: New file. | |
4913 | * python/py-threadevent.c : New file. | |
4914 | * python/py-event.c: New file. | |
4915 | * python/py-evts.c: New file. | |
4916 | * python/py-continueevent.c: New file. | |
4917 | * python/py-bpevent.c: New file. | |
4918 | * python/py-signalevent.c: New file. | |
4919 | * python/py-exetiedevent.c: New file. | |
4920 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
4921 | Move struct breakpoint_object from here... | |
4922 | * python/python-internal.h: ... to here. | |
4923 | * python/py-event.h: New file. | |
4924 | * python/py-events.h: New file. | |
4925 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
4926 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
4927 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
4928 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
4929 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
4930 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
4931 | Add build rules for all the above. | |
4932 | ||
9e0ac564 TT |
4933 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
4934 | ||
4935 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
4936 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
4937 | (dwarf2_section_size): New function. | |
4938 | (dwarf2_get_section_info): Unconditionally read section. | |
4939 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
4940 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
4941 | (dwarf2_symbol_mark_computed): Likewise. | |
4942 | ||
eee5b35e DD |
4943 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
4944 | ||
4945 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
4946 | ||
385203ed DD |
4947 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
4948 | ||
4949 | * mips-linux-tdep.c: Include xml-syscall.h. | |
4950 | (mips_linux_get_syscall_number): New function. | |
4951 | (mips_linux_init_abi): Add calls to | |
4952 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
4953 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
4954 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
4955 | * syscalls/mips-n32-linux.xml: New file. | |
4956 | * syscalls/mips-n64-linux.xml: New file. | |
4957 | * syscalls/mips-o32-linux.xml: New file. | |
4958 | ||
9277c30c UW |
4959 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
4960 | ||
4961 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
4962 | Complain about inverted range entries. | |
4963 | (dwarf2_record_block_ranges): Likewise. | |
4964 | ||
a3be7890 TJB |
4965 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4966 | ||
4967 | Fix some typos. | |
4968 | * breakpoint.c (update_watchpoint): Fix name of the | |
4969 | update_global_location_list function. | |
4970 | (print_one_breakpoint): Fix typo. | |
4971 | (_initialize_breakpoint): Remove extra space in hbreak help | |
4972 | string. | |
4973 | * breakpoint.h (struct bp_location) <length>: Fix field | |
4974 | description. | |
4975 | ||
041274d8 PA |
4976 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
4977 | ||
4978 | * regcache.c (registers_changed_ptid): Don't explictly always | |
4979 | clear `current_regcache'. Only clear current_thread_ptid and | |
4980 | current_thread_arch when PTID matches. Only reinit the frame | |
4981 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
4982 | call to ... | |
4983 | (registers_changed): ... here. | |
4984 | ||
c1c2ab58 UW |
4985 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
4986 | ||
4987 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
4988 | starts with __stack_chk_guard as stack guard symbol. | |
4989 | ||
9011945e AB |
4990 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
4991 | ||
4992 | * disasm.c (compare_lines): Handle the end of sequence markers | |
4993 | within the line table to better support disassembling over | |
4994 | compilation unit boundaries. | |
4995 | ||
e0634ccf UW |
4996 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
4997 | ||
4998 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
4999 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
5000 | implementation even if no symbols are available. | |
5001 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
5002 | (arm_analyze_prologue): Likewise. | |
5003 | ||
0e9e9abd UW |
5004 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
5005 | ||
5006 | * arm-tdep.c: Include "observer.h". | |
5007 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
5008 | (arm_exidx_data_key): New static variable. | |
5009 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
5010 | (struct arm_exidx_data): Likewise. | |
5011 | (arm_exidx_data_free): New function. | |
5012 | (arm_compare_exidx_entries): Likewise. | |
5013 | (arm_obj_section_from_vma): Likewise. | |
5014 | (arm_exidx_new_objfile): Likewise. | |
5015 | (arm_find_exidx_entry): Likewise. | |
5016 | (arm_exidx_fill_cache): Likewise. | |
5017 | (arm_exidx_unwind_sniffer): Likewise. | |
5018 | (arm_exidx_unwind): New global variable. | |
5019 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
5020 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
5021 | observer. Register arm_exidx_data_key as objfile data. | |
5022 | ||
2e9e421f UW |
5023 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
5024 | ||
5025 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
5026 | due to accessing uninitialized variable. Fix indentation. | |
5027 | ||
580688f3 PA |
5028 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
5029 | ||
5030 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
5031 | adjustment, create a new value with adjusted contents rather than | |
5032 | changing the contents of the value being printed (and getting it | |
5033 | wrong). | |
5034 | ||
3d2c1d41 PA |
5035 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
5036 | ||
5037 | * xml-support.c (xml_find_attribute): New. | |
5038 | (xinclude_start_include): Use it. | |
5039 | * xml-support.h (xml_find_attribute): Declare. | |
5040 | * memory-map.c (memory_map_start_memory) | |
5041 | (memory_map_start_property): Use xml_find_attribute. | |
5042 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
5043 | xml_find_attribute. | |
5044 | * remote.c (start_thread): Use xml_find_attribute. | |
5045 | * solib-target.c (library_list_start_segment) | |
5046 | (library_list_start_section, library_list_start_library) | |
5047 | (library_list_start_list): Use xml_find_attribute. | |
5048 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
5049 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
5050 | (tdesc_start_field): Use xml_find_attribute. | |
5051 | ||
0af3e2db UW |
5052 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
5053 | ||
5054 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
5055 | (BUILD_OCL_VTYPES): Update. | |
5056 | ||
c1039e3c JB |
5057 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
5058 | ||
5059 | * configure.ac: Work around non-GNU sed limitation when computing | |
5060 | python version number. | |
5061 | * configure: Regenerate. | |
5062 | ||
600ea1be JK |
5063 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
5064 | ||
5065 | Fix debug printing of TYPE_INSTANCE. | |
5066 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
5067 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
5068 | ||
56c12414 JK |
5069 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
5070 | ||
5071 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
5072 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
5073 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
5074 | * ada-operator.inc: Rename the file to ... | |
5075 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
5076 | * expprint.c (op_name_standard): Remove all the entries. Include | |
5077 | "std-operator.def" instead. | |
5078 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
5079 | "ada-operator.def". Move all the entries ... | |
5080 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
5081 | ||
c52b559d PP |
5082 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
5083 | ||
5084 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
5085 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
5086 | * jit.c (jit_descriptor_addr): Delete. | |
5087 | (registering_code): Delete. | |
5088 | (clear_int): Delete. | |
5089 | (jit_inferior_data): New variable. | |
5090 | (struct jit_inferior_data): New type. | |
5091 | (get_jit_inferior_data): New function. | |
5092 | (jit_inferior_data_cleanup): New function. | |
5093 | (jit_read_descriptor): Adjust. | |
5094 | (jit_register_code): Adjust. | |
5095 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
5096 | (jit_inferior_init): ... from here. | |
5097 | (jit_breakpoint_re_set): Adjust. | |
5098 | (jit_reset_inferior_data_and_breakpoints): New function. | |
5099 | (jit_inferior_created_observer): Adjust. | |
5100 | (jit_inferior_exit_hook): Adjust. | |
5101 | (jit_executable_changed_observer): New function. | |
5102 | (jit_event_handler): Adjust. | |
5103 | (_initialize_jit): Adjust. | |
5104 | ||
e839132d MS |
5105 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
5106 | ||
5107 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
5108 | line. | |
5109 | ||
47a80e90 TT |
5110 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
5111 | ||
5112 | PR python/12216: | |
5113 | * python/python.c (execute_gdb_command): Call | |
5114 | prevent_dont_repeat. | |
5115 | * top.c (suppress_dont_repeat): New global. | |
5116 | (dont_repeat): Use it. | |
5117 | (prevent_dont_repeat): New function. | |
5118 | * command.h (prevent_dont_repeat): Declare. | |
5119 | ||
45a43567 TT |
5120 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
5121 | ||
5122 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
5123 | * python/py-breakpoint.c (bppy_set_silent): Use | |
5124 | breakpoint_set_silent. | |
5125 | (bppy_set_thread): Use breakpoint_set_thread. | |
5126 | (bppy_set_task): Use breakpoint_set_task. | |
5127 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
5128 | (breakpoint_set_task): Declare. | |
5129 | (make_breakpoint_silent): Remove. | |
5130 | * breakpoint.c (breakpoint_set_silent): New function. | |
5131 | (breakpoint_set_thread): Likewise. | |
5132 | (breakpoint_set_task): Likewise. | |
5133 | (make_breakpoint_silent): Remove. | |
5134 | ||
09d682a4 TT |
5135 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
5136 | ||
5137 | * breakpoint.h (user_breakpoint_p): Declare. | |
5138 | * breakpoint.c (user_breakpoint_p): New function. | |
5139 | (breakpoint_1): Use it. | |
5140 | (save_breakpoints): Likewise. | |
5141 | ||
9c4ea6c5 JB |
5142 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
5143 | ||
5144 | * configure.ac: Add handling of Python distribution on Windows. | |
5145 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
5146 | sysconfig variables are not defined, then do not use them. | |
5147 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
5148 | instead. On Windows, return all paths using forward-slashes | |
5149 | rather than backslashes. | |
5150 | ||
ac534cba JB |
5151 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
5152 | ||
5153 | * configure.ac: Remove fallback behavior for building | |
5154 | against Python. Remove tweaking of Python include path. | |
5155 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
5156 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
5157 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
5158 | Always restore CPPFLAGS and LIBS after linking test. | |
5159 | * configure: Regenerated. | |
5160 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
5161 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
5162 | * python/python-internal.h: Adjust includes of Python .h files. | |
5163 | ||
c2f0d045 JB |
5164 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
5165 | ||
5166 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
5167 | in error message. | |
5168 | ||
6b0c4c1f JB |
5169 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
5170 | ||
5171 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
5172 | value test. | |
5173 | ||
672c9795 YQ |
5174 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
5175 | ||
5176 | * arm-linux-nat.c: Update calls to regcache_register_status | |
5177 | instead of regcache_valid_p. | |
5178 | * aix-thread.c: Likewise. | |
5179 | * i386gnu-nat.c: Likewise. | |
5180 | ||
80b23b6a JK |
5181 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
5182 | ||
5183 | Fix crash. | |
5184 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
5185 | touching TYPE_FIELD_ARTIFICIAL. | |
5186 | ||
4cd712bd RE |
5187 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
5188 | ||
5189 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
5190 | Committers. | |
5191 | ||
ffd5ec24 PA |
5192 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
5193 | ||
5194 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
5195 | selected, don't try iterating over the traceframe's blocks. | |
5196 | (tfile_has_stack): If there's no traceframe selected, then there's | |
5197 | no stack. | |
5198 | (tfile_has_registers): If there's no traceframe selected, then | |
5199 | there's no registers. | |
5200 | ||
e8c9e0a1 PA |
5201 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
5202 | ||
5203 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
5204 | haven't read anything. | |
5205 | ||
de15c4ab PA |
5206 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
5207 | ||
5208 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
5209 | and val_print_scalar_formatted. | |
5210 | ||
9f41c731 PA |
5211 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
5212 | ||
5213 | * tracepoint.c (tfile_read): New. | |
5214 | (tfile_open): Use it. | |
5215 | (tfile_get_traceframe_address): Use it. | |
5216 | (tfile_trace_find): Use it. | |
5217 | (walk_blocks_callback_func): New typedef. | |
5218 | (match_blocktype): New function. | |
5219 | (traceframe_walk_blocks): New function. | |
5220 | (traceframe_find_block_type): New function. | |
5221 | (tfile_fetch_registers, tfile_xfer_partial) | |
5222 | (tfile_get_trace_state_variable_value): Use | |
5223 | traceframe_find_block_type and tfile_read. | |
5224 | ||
cdefc55d KB |
5225 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
5226 | ||
5227 | * remote-mips.c: Add internationalization mark ups. Remove | |
5228 | trailing \n from already marked up strings. | |
5229 | ||
a81766d8 TT |
5230 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
5231 | ||
5232 | * python/py-prettyprint.c (print_string_repr): Clear | |
5233 | 'addressprint' option when calling val_print_string. | |
5234 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
5235 | option when calling val_print_string. | |
5236 | ||
74aedc46 TT |
5237 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
5238 | ||
5239 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
5240 | GDB_PY_LL_ARG. | |
5241 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
5242 | macros. | |
5243 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
5244 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
5245 | (gdb_py_long_as_ulongest): New defines. | |
5246 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
5247 | (gdb_py_int_as_long): Declare. | |
5248 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
5249 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
5250 | (valpy_long): Add comment. | |
5251 | * python/py-utils.c (get_addr_from_python): Use | |
5252 | gdb_py_long_as_ulongest. Handle overflow properly. | |
5253 | (gdb_py_object_from_longest): New function. | |
5254 | (gdb_py_object_from_ulongest): Likewise. | |
5255 | (gdb_py_int_as_long): Likewise. | |
5256 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
5257 | * python/py-symtab.c (salpy_get_pc): Use | |
5258 | gdb_py_long_from_ulongest. | |
5259 | (salpy_get_line): Use PyInt_FromLong. | |
5260 | * python/py-param.c (set_parameter_value): Use | |
5261 | gdb_py_int_as_long. | |
5262 | * python/py-lazy-string.c (stpy_get_address): Use | |
5263 | gdb_py_long_from_ulongest. | |
5264 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
5265 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
5266 | * python/py-breakpoint.c (bppy_set_thread): Use | |
5267 | gdb_py_int_as_long. | |
5268 | (bppy_set_task): Likewise. | |
5269 | (bppy_set_ignore_count): Likewise. | |
5270 | (bppy_set_hit_count): Likewise. | |
5271 | * python/py-block.c (blpy_get_start): Use | |
5272 | gdb_py_object_from_ulongest. | |
5273 | (blpy_get_end): Likewise. | |
5274 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
5275 | ||
e4f6d2ec TJB |
5276 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
5277 | ||
5278 | PR/symtab 11766: | |
5279 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
5280 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
5281 | equality test for objfile, initialize addr_low if needed. | |
5282 | ||
b30aa278 PA |
5283 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5284 | ||
5285 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
5286 | ||
ab2188aa PA |
5287 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5288 | ||
5289 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
5290 | instead of print_scalar_formatted. | |
5291 | (print_scalar_formatted): Don't handle 's' format strings here, | |
5292 | and add an assertion that we never see such format here. | |
5293 | * valprint.h (val_print_scalar_formatted): Declare. | |
5294 | * valprint.c (val_print_scalar_formatted): New. | |
5295 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
5296 | instead of print_scalar_formatted. | |
5297 | * jv-valprint.c (java_val_print): Ditto. | |
5298 | * p-valprint.c (pascal_val_print): Ditto. | |
5299 | * ada-valprint.c (ada_val_print_1): Ditto. | |
5300 | * f-valprint.c (f_val_print): Ditto. | |
5301 | * infcmd.c (registers_info): Ditto. | |
5302 | * m2-valprint.c (m2_val_print): Ditto. | |
5303 | ||
66d61a4c PA |
5304 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5305 | ||
5306 | * m2-valprint.c (print_unbounded_array): Pass | |
5307 | value_contents_for_printing rather than value_contents, to | |
5308 | m2_print_array_contents. Also pass in the value. | |
5309 | ||
831adc1f JK |
5310 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
5311 | ||
5312 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
5313 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
5314 | ||
20622269 PA |
5315 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5316 | ||
5317 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
5318 | than frame_register, and always pass a valid value to val_print. | |
5319 | ||
585fdaa1 PA |
5320 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5321 | ||
5322 | Centralize printing "<optimized out>". | |
5323 | ||
5324 | * valprint.h (val_print_optimized_out): Declare. | |
5325 | * cp-valprint.c (cp_print_value_fields): Use | |
5326 | val_print_optimized_out. | |
5327 | * jv-valprint.c (java_print_value_fields): Ditto. | |
5328 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
5329 | * printcmd.c (print_formatted): Ditto. | |
5330 | * valprint.c (valprint_check_validity): Ditto. | |
5331 | (value_check_printable): Ditto. | |
5332 | (val_print_optimized_out): New. | |
5333 | ||
29ec5263 PA |
5334 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5335 | ||
5336 | * infcmd.c (default_print_registers_info): Allocate values so to | |
5337 | never pass a NULL value to val_print. | |
5338 | ||
de4127a3 PA |
5339 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5340 | ||
5341 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
5342 | boolean. Make sure to always pass a value that matches the | |
5343 | contents buffer to callees. Preserve `address' for following | |
5344 | iterations. | |
5345 | * value.c (value_contents_for_printing_const): New. | |
5346 | (value_address): Constify value argument. | |
5347 | * value.h (value_contents_for_printing_const): Declare. | |
5348 | (value_address): Constify value argument. | |
5349 | ||
ee99023e PA |
5350 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5351 | ||
5352 | * regcache.c (struct regcache_descr): Rename | |
5353 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
5354 | and sizeof_cooked_register_valid_p to | |
5355 | sizeof_cooked_register_status. | |
5356 | (init_regcache_descr): Adjust. | |
5357 | (struct regcache): Rename register_valid_p field to | |
5358 | register_status. | |
5359 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
5360 | (do_cooked_read): Adjust. | |
5361 | (regcache_valid_p): Rename to ... | |
5362 | (regcache_register_status): ... this. Adjust. | |
5363 | (regcache_invalidate): Adjust. | |
5364 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
5365 | Adjust. | |
5366 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
5367 | as unavailable, not valid. | |
5368 | (regcache_dump): Adjust. | |
5369 | * regcache.h (enum register_status): New. | |
5370 | (regcache_register_status): Declare. | |
5371 | (regcache_invalidate): Delete declaration. | |
5372 | * corelow.c (get_core_registers): Adjust. | |
5373 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
5374 | * trad-frame.c (REG_VALUE): Rename to ... | |
5375 | (TF_REG_VALUE): ... this. | |
5376 | (REG_UNKNOWN): Rename to ... | |
5377 | (TF_REG_UNKNOWN): ... this. | |
5378 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
5379 | * mi/mi-main.c (register_changed_p): Adjust. | |
5380 | ||
99e42fd8 PA |
5381 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5382 | ||
5383 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
5384 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
5385 | overallocate hack. | |
5386 | (regcache_xmalloc): Rename to ... | |
5387 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
5388 | Allocate the regcache type accordingly. | |
5389 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
5390 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
5391 | cooked registers, not raw. | |
5392 | (regcache_dup_no_passthrough): Delete. | |
5393 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
5394 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
5395 | mention obsolete write_register_bytes. | |
5396 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
5397 | ||
f7605bc2 PA |
5398 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5399 | ||
5400 | Stop remote_read_bytes from handling partial reads itself. | |
5401 | ||
5402 | * remote-fileio.c: Include target.h. | |
5403 | (remote_fileio_write_bytes): Delete. | |
5404 | (remote_fileio_func_open, remote_fileio_func_write) | |
5405 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
5406 | target_read_memory. | |
5407 | (remote_fileio_func_stat): Use target_read_memory and | |
5408 | target_write_memory. | |
5409 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
5410 | (remote_fileio_func_system): Use target_read_memory. | |
5411 | * remote.c (remote_write_bytes): Make it static. | |
5412 | (remote_read_bytes): Don't handle partial reads here. | |
5413 | * remote.h (remote_read_bytes): Delete declaration. | |
5414 | ||
efc0eabd PA |
5415 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
5416 | ||
5417 | Simplify XML parsing a bit. | |
5418 | ||
5419 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
5420 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
5421 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
5422 | parameter. | |
5423 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
5424 | gdb_xml_create_parser_and_cleanup_1. | |
5425 | (gdb_xml_parse_quick): New. | |
5426 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
5427 | * osdata.c (osdata_parse): Ditto. | |
5428 | * remote.c (remote_threads_info): Ditto. | |
5429 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
5430 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
5431 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
5432 | ||
314d366a KB |
5433 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
5434 | ||
5435 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
5436 | with remote-mips.o added to gdb_target_obs. | |
5437 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
5438 | ||
a491d753 PA |
5439 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
5440 | ||
5441 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
5442 | correct struct value to val_print. | |
5443 | (ada_val_print_1): Ditto. | |
5444 | ||
490f124f PA |
5445 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
5446 | ||
5447 | Don't lose embedded_offset in printing routines throughout. | |
5448 | ||
5449 | * valprint.h (val_print_array_elements): Change prototype. | |
5450 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
5451 | parameter, and adjust to pass it down to val_print, while passing | |
5452 | `valaddr' or `address' unmodified. Take embedded_offset into | |
5453 | account when checking repetitions. | |
5454 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
5455 | val_print_array_elements instead of adjusting `valaddr' and | |
5456 | `address'. | |
5457 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
5458 | embedded_offset to val_print_array_elements instead of adjusting | |
5459 | `valaddr'. | |
5460 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
5461 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
5462 | val_print_array_elements and pascal_object_print_value_fields | |
5463 | instead of adjusting `valaddr'. | |
5464 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
5465 | adjust to use it. | |
5466 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
5467 | use it. | |
5468 | (pascal_object_print_static_field): Use | |
5469 | value_contents_for_printing/value_embedded_offset, rather than | |
5470 | value_contents. | |
5471 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
5472 | parameter, and adjust to use it. Use | |
5473 | value_contents_for_printing/value_embedded_offset, rather than | |
5474 | value_contents. | |
5475 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
5476 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
5477 | it. | |
5478 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
5479 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
5480 | Instead work with offsets. Use | |
5481 | value_contents_for_printing/value_embedded_offset, rather than | |
5482 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
5483 | and use value_from_pointer to extract a target pointer, rather | |
5484 | than value_from_longest. | |
5485 | (print_variant_part): Add `offset' parameter. Replace | |
5486 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
5487 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
5488 | (ada_value_print): Use | |
5489 | value_contents_for_printing/value_embedded_offset, rather than | |
5490 | value_contents. | |
5491 | (print_record): Add `offset' parameter, and adjust to pass it | |
5492 | down. | |
5493 | (print_field_values): Add `offset' parameter. Replace | |
5494 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
5495 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
5496 | Use value_contents_for_printing/value_embedded_offset, rather than | |
5497 | value_contents. | |
5498 | * d-valprint.c (dynamic_array_type): Use | |
5499 | value_contents_for_printing/value_embedded_offset, rather than | |
5500 | value_contents. | |
5501 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
5502 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
5503 | (java_print_value_fields): Take `offset' into account. Don't | |
5504 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
5505 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
5506 | java_print_value_fields. | |
5507 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
5508 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
5509 | down adjusted offsets. | |
5510 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
5511 | (f_val_print): Take `embedded_offset' into account. | |
5512 | ||
7bfc9434 JB |
5513 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
5514 | ||
5515 | * inflow.c: Include "gdbcmd.h". | |
5516 | (interactive_mode): New static global, moved here from top.c. | |
5517 | (show_interactive_mode): New function, moved here from top.c. | |
5518 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
5519 | determine the current mode. | |
5520 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
5521 | setting. | |
5522 | (_initialize_inflow): Add the "set/show interactive-mode" | |
5523 | commands. Moved here from top.c, after having adjusted slightly | |
5524 | the help text. | |
5525 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
5526 | to inflow.c. | |
5527 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
5528 | setting, moved to infow.c. | |
5529 | (init_main): Remove creation of the "set/show interactive-mode" | |
5530 | commands, moved to inflow.c. | |
5531 | ||
44603653 JB |
5532 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
5533 | ||
5534 | * NEWS: Add entry for native ia64-hpux support. | |
5535 | ||
4694da01 TT |
5536 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
5537 | ||
5538 | PR mi/8618: | |
5539 | * thread.c (free_thread): Free 'name'. | |
5540 | (print_thread_info): Emit thread name. Change CLI output. | |
5541 | (thread_name_command): New function. | |
5542 | (do_captured_thread_select): Emit newline. | |
5543 | (_initialize_thread): Register 'thread name' command. | |
5544 | * target.h (struct target_ops) <to_thread_name>: New field. | |
5545 | (target_thread_name): New macro. | |
5546 | * target.c (update_current_target): Handle to_thread_name. | |
5547 | * python/py-infthread.c (thpy_get_name): New function. | |
5548 | (thpy_set_name): Likewise. | |
5549 | (thread_object_getset): Add "name". | |
5550 | * linux-nat.c (linux_nat_thread_name): New function. | |
5551 | (linux_nat_add_target): Set to_thread_name. | |
5552 | * gdbthread.h (struct thread_info) <name>: New field. | |
5553 | ||
10d44370 JB |
5554 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
5555 | ||
5556 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
5557 | (ada_val_print_1): Likewise. | |
5558 | ||
e3acb115 JB |
5559 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
5560 | ||
5561 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
5562 | upper limit address is not greater than the function end address | |
5563 | when the upper limit could not be computed using the debugging | |
5564 | info. | |
5565 | ||
dc92e161 TT |
5566 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
5567 | ||
5568 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
5569 | get_regcomp_error. | |
5570 | * utils.c: Include gdb_regex.h. | |
5571 | (do_regfree_cleanup): New function. | |
5572 | (make_regfree_cleanup): Likewise. | |
5573 | (get_regcomp_error): Likewise. | |
5574 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
5575 | ||
f55af66d TT |
5576 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
5577 | ||
5578 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
5579 | re_compile_fastmap. | |
5580 | ||
a5a44b53 PM |
5581 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
5582 | ||
5583 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
5584 | for internal variables. | |
5585 | (last_was_structop): New static variable. | |
5586 | (COMPLETE): New token. | |
5587 | (field_exp): New rule to group all '.' suffix handling. | |
5588 | Add mark_struct_expression calls when approriate to be able | |
5589 | to correctly find fields for completion. | |
5590 | (yylex): Adapt to handle field completion and set INTVAR when | |
5591 | required. | |
5592 | ||
2c291032 YQ |
5593 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
5594 | ||
5595 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
5596 | save_reggroup, restore_reggroup and all_reggroup. | |
5597 | ||
447b483c JB |
5598 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
5599 | ||
5600 | * ada-valprint. (ada_printchar): Use the correct type length | |
5601 | in call to ada_emit_char. | |
5602 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
5603 | ||
7b64a93b PM |
5604 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
5605 | ||
5606 | * solib-som.h (hpux_major_release): Declare variable here. | |
5607 | * solib-som.c: Remove <sys/utsname.h> header. | |
5608 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
5609 | (hpux_major_release): Make global, change default value to | |
5610 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 5611 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
5612 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
5613 | Add "solib-som.h" header. | |
5614 | (set_hpux_major_release): New function. | |
5615 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
5616 | ||
4e18c053 MF |
5617 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
5618 | ||
5619 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
5620 | ||
a9df6b22 JB |
5621 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
5622 | ||
5623 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
5624 | new-line at end of warning message. | |
5625 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
5626 | error message. | |
5627 | * ia64-hpux-tdep.c: Rephrase comment. | |
5628 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
5629 | dld_flags from "long long" to ULONGEST. | |
5630 | ||
ecb956dd PA |
5631 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
5632 | ||
5633 | * target.h (deprecated_child_ops): Delete declaration. | |
5634 | * target.c (deprecated_child_ops): Delete definition. | |
5635 | ||
76adfcae PA |
5636 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
5637 | ||
5638 | * Makefile.in (hpux-thread.o): Delete rule. | |
5639 | * configure.ac: Don't check for HPUX DCE threads support. | |
5640 | * configure, config.in: Regenerate. | |
5641 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
5642 | (hppa_hpux_child_can_run): Delete. | |
5643 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
5644 | * hpux-thread.c: Delete. | |
5645 | ||
042e866e JB |
5646 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5647 | ||
5648 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
5649 | ||
4ffa5a33 JB |
5650 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5651 | ||
5652 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
5653 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
5654 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
5655 | ||
de8fa76c JB |
5656 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5657 | ||
5658 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
5659 | to the case where instream is stdin. | |
5660 | ||
c4de7027 JB |
5661 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5662 | ||
5663 | * ia64-tdep.h (struct regcache): Forward declare. | |
5664 | (struct ia64_infcall_ops): New struct type. | |
5665 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
5666 | and "infcall_ops". | |
5667 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
5668 | Renames ia64_find_global_pointer. | |
5669 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
5670 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
5671 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
5672 | methods. | |
5673 | (ia64_infcall_ops): New static global constant. | |
5674 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
5675 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
5676 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
5677 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
5678 | (ia64_hpux_dummy_code): New static global constant. | |
5679 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
5680 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
5681 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
5682 | New function. | |
5683 | (ia64_hpux_infcall_ops): New static global constant. | |
5684 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
5685 | for inferior function calls to work properly on ia64-hpux. | |
5686 | ||
77ca787b JB |
5687 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5688 | ||
5689 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
5690 | * ia64-tdep.h (struct frame_info): forward declaration. | |
5691 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
5692 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
5693 | to determine the size of the register frame. | |
5694 | (ia64_size_of_register_frame): New function. | |
5695 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
5696 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
5697 | (IA64_HPUX_UREG_REASON): New macro. | |
5698 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
5699 | New functions. | |
5700 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
5701 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
5702 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
5703 | objects. | |
5704 | ||
92c9a463 JB |
5705 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5706 | ||
5707 | Add support for ia64-hpux. | |
5708 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
5709 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
5710 | ||
5711 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
5712 | floatformats. | |
5713 | * configure.tgt: Add handling for ia64-hpux targets. | |
5714 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
5715 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
5716 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
5717 | ||
f688d93f JB |
5718 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5719 | ||
5720 | [ttrace] Compute thread list immediately after attach. | |
5721 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
5722 | New subprogram. | |
5723 | (inf_ttrace_attach): Use it. | |
5724 | ||
1b89e62f JB |
5725 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5726 | ||
5727 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
5728 | if we could not determine the frame's function address. Instead, | |
5729 | use the frame's PC, and then continue. | |
5730 | ||
3e5e6e2a JB |
5731 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5732 | ||
5733 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
5734 | not already defined. | |
5735 | ||
825d6d8a JB |
5736 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5737 | ||
5738 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
5739 | (ia64_extract_return_value): Handle integral values that are | |
5740 | less than 8 bytes long. | |
5741 | (ia64_push_dummy_call): Likewise. | |
5742 | ||
7458e667 JB |
5743 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
5744 | ||
5745 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
5746 | floatformat_ia64_ext. | |
5747 | (floatformat_ia64_ext_big): New static const. | |
5748 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
5749 | ||
1b05df00 TT |
5750 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
5751 | ||
5752 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
5753 | messages. | |
5754 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
5755 | (mi_cmd_thread_list_ids): Likewise. | |
5756 | (mi_cmd_data_list_changed_registers): Likewise. | |
5757 | (mi_cmd_data_list_register_values): Likewise. | |
5758 | (mi_cmd_data_write_register_values): Likewise. | |
5759 | (mi_cmd_data_evaluate_expression): Likewise. | |
5760 | (mi_cmd_data_read_memory): Likewise. | |
5761 | (mi_cmd_data_read_memory_bytes): Likewise. | |
5762 | (mi_cmd_data_write_memory): Likewise. | |
5763 | (mi_cmd_enable_timings): Likewise. | |
5764 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
5765 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
5766 | (mi_cmd_var_delete): Likewise. | |
5767 | (mi_cmd_var_set_format): Likewise. | |
5768 | (mi_cmd_var_show_format): Likewise. | |
5769 | (mi_cmd_var_info_num_children): Likewise. | |
5770 | (mi_cmd_var_list_children): Likewise. | |
5771 | (mi_cmd_var_info_type): Likewise. | |
5772 | (mi_cmd_var_info_expression): Likewise. | |
5773 | (mi_cmd_var_show_attributes): Likewise. | |
5774 | (mi_cmd_var_assign): Likewise. | |
5775 | (mi_cmd_var_update): Likewise. | |
5776 | (mi_cmd_enable_pretty_printing): Likewise. | |
5777 | (mi_cmd_var_set_update_range): Likewise. | |
5778 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
5779 | messages. | |
5780 | (mi_cmd_target_file_put): Likewise. | |
5781 | (mi_cmd_target_file_delete): Likewise. | |
5782 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
5783 | messages. | |
5784 | (mi_cmd_stack_info_depth): Likewise. | |
5785 | (mi_cmd_stack_list_locals): Likewise. | |
5786 | (mi_cmd_stack_list_args): Likewise. | |
5787 | (mi_cmd_stack_select_frame): Likewise. | |
5788 | (mi_cmd_stack_select_frame): Likewise. | |
5789 | (mi_cmd_stack_info_frame): Likewise. | |
5790 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
5791 | messages. | |
5792 | (mi_cmd_file_list_exec_source_files): Likewise. | |
5793 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
5794 | (mi_cmd_env_cd): Likewise. | |
5795 | (mi_cmd_env_path): Likewise. | |
5796 | (mi_cmd_env_dir): Likewise. | |
5797 | (mi_cmd_inferior_tty_show): Likewise. | |
5798 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
5799 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
5800 | (mi_cmd_break_watch): Likewise. | |
5801 | ||
ad422571 TJB |
5802 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
5803 | ||
5804 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
5805 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
5806 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
5807 | (ppc_linux_insert_watchpoint): Likewise. | |
5808 | ||
c2ff108b JK |
5809 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
5810 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
5811 | ||
5812 | PR fortran/11104 and DWARF unbound arrays detection. | |
5813 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
5814 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
5815 | unspecified upper bound. | |
5816 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
5817 | variables array_size_array, tmp_type and offset_item. New variable | |
5818 | array. Remove call to f77_get_upperbound. New variables array_type | |
5819 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
5820 | the final call to deprecated_set_value_type. | |
5821 | ||
41e8491f JK |
5822 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
5823 | ||
5824 | Make value allocations more lazy. | |
5825 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
5826 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 5827 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
5828 | instead of allocate_value and set_value_lazy. |
5829 | * findvar.c (value_of_register_lazy): Likewise. | |
5830 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 5831 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
5832 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
5833 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
5834 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
5835 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
5836 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
5837 | the end, remove set_value_lazy there. | |
5838 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
5839 | instead of allocate_value and set_value_lazy when possible. | |
5840 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
5841 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
5842 | of allocate_value and set_value_lazy. | |
5843 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
5844 | allocate_value and set_value_lazy when possible. | |
5845 | ||
b716877b AB |
5846 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
5847 | ||
5848 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
5849 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
5850 | dumping of instruction opcodes. | |
5851 | ||
d5ae309f JB |
5852 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
5853 | ||
5854 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
5855 | appropiately. | |
5856 | ||
98871305 TT |
5857 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
5858 | ||
5859 | * thread.c (do_captured_thread_select): Emit newline before | |
5860 | printing frame. | |
5861 | ||
c378eb4e MS |
5862 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
5863 | ||
5864 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
5865 | * score-tdep.c: Ditto. | |
5866 | * score-tdep.h: Ditto. | |
5867 | * ser-base.c: Ditto. | |
5868 | * ser-go32.c: Ditto. | |
5869 | * serial.c: Ditto. | |
5870 | * serial.h: Ditto. | |
5871 | * ser-mingw.c: Ditto. | |
5872 | * ser-pipe.c: Ditto. | |
5873 | * ser-tcp.c: Ditto. | |
5874 | * ser-unix.c: Ditto. | |
5875 | * sh64-tdep.c: Ditto. | |
5876 | * shnbsd-nat.c: Ditto. | |
5877 | * sh-tdep.c: Ditto. | |
5878 | * sh-tdep.h: Ditto. | |
5879 | * solib.c: Ditto. | |
5880 | * solib-darwin.c: Ditto. | |
5881 | * solib-frv.c: Ditto. | |
5882 | * solib.h: Ditto. | |
5883 | * solib-irix.c: Ditto. | |
5884 | * solib-osf.c: Ditto. | |
5885 | * solib-pa64.c: Ditto. | |
5886 | * solib-som.c: Ditto. | |
5887 | * solib-spu.c: Ditto. | |
5888 | * solib-sunos.c: Ditto. | |
5889 | * solib-svr4.c: Ditto. | |
5890 | * solist.h: Ditto. | |
5891 | * sol-thread.c: Ditto. | |
5892 | * somread.c: Ditto. | |
5893 | * source.c: Ditto. | |
5894 | * source.h: Ditto. | |
5895 | * sparc64-linux-tdep.c: Ditto. | |
5896 | * sparc64-tdep.c: Ditto. | |
5897 | * sparc-linux-nat.c: Ditto. | |
5898 | * sparc-linux-tdep.c: Ditto. | |
5899 | * sparc-sol2-nat.c: Ditto. | |
5900 | * sparc-sol2-tdep.c: Ditto. | |
5901 | * sparc-tdep.c: Ditto. | |
5902 | * sparc-tdep.h: Ditto. | |
5903 | * spu-tdep.c: Ditto. | |
5904 | * stabsread.c: Ditto. | |
5905 | * stabsread.h: Ditto. | |
5906 | * stack.c: Ditto. | |
5907 | * symfile.c: Ditto. | |
5908 | * symfile.h: Ditto. | |
5909 | * symmisc.c: Ditto. | |
5910 | * symtab.c: Ditto. | |
5911 | * symtab.h: Ditto. | |
5912 | * target.c: Ditto. | |
5913 | * target-descriptions.c: Ditto. | |
5914 | * target-descriptions.h: Ditto. | |
5915 | * target.h: Ditto. | |
5916 | * target-memory.c: Ditto. | |
5917 | * terminal.h: Ditto. | |
5918 | * thread.c: Ditto. | |
5919 | * top.c: Ditto. | |
5920 | * tracepoint.c: Ditto. | |
5921 | * tracepoint.h: Ditto. | |
5922 | * trad-frame.h: Ditto. | |
5923 | * typeprint.c: Ditto. | |
5924 | ||
581e13c1 MS |
5925 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
5926 | ||
5927 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
5928 | * ui-file.h: Ditto. | |
5929 | * ui-out.c: Ditto. | |
5930 | * ui-out.h: Ditto. | |
5931 | * utils.c: Ditto. | |
5932 | * v850-tdep.c: Ditto. | |
5933 | * valarith.c: Ditto. | |
5934 | * valops.c: Ditto. | |
5935 | * valprint.c: Ditto. | |
5936 | * valprint.h: Ditto. | |
5937 | * value.c: Ditto. | |
5938 | * value.h: Ditto. | |
5939 | * varobj.c: Ditto. | |
5940 | * varobj.h: Ditto. | |
5941 | * vax-tdep.c: Ditto. | |
5942 | * vec.c: Ditto. | |
5943 | * vec.h: Ditto. | |
5944 | * version.h: Ditto. | |
5945 | * windows-nat.c: Ditto. | |
5946 | * windows-tdep.c: Ditto. | |
5947 | * xcoffread.c: Ditto. | |
5948 | * xcoffsolib.c: Ditto. | |
5949 | * xml-support.c: Ditto. | |
5950 | * xstormy16-tdep.c: Ditto. | |
5951 | * xtensa-tdep.c: Ditto. | |
5952 | * xtensa-tdep.h: Ditto. | |
5953 | ||
90e4670f TJB |
5954 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
5955 | ||
5956 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
5957 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
5958 | ||
e09342b5 TJB |
5959 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
5960 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
5961 | ||
5962 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 5963 | * breakpoint.h |
e09342b5 TJB |
5964 | (struct breakpoint_ops) <resources_needed>: New method. |
5965 | Initialize to NULL in all existing breakpoint_ops instances. | |
5966 | (struct breakpoint) <exact>: New field. | |
5967 | (target_exact_watchpoints): Declare external global. | |
5968 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
5969 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
5970 | b->enable_state to bp_enabled before calling | |
5971 | hw_watchpoint_used_count. | |
5972 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
5973 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
5974 | if available. | |
5975 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
5976 | if the watchpoint is exact. | |
5977 | (resources_needed_watchpoint): New function. | |
5978 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
5979 | (watch_command_1): Set b->exact if the user asked for an exact | |
5980 | watchpoint and one can be set. | |
5981 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
5982 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
5983 | the user asks for an exact watchpoint and one can be set. Return | |
5984 | number of needed debug registers to watch the expression. | |
5985 | * gdbtypes.c (is_scalar_type): New function, based on | |
5986 | valprint.c:scalar_type_p. | |
5987 | (is_scalar_type_recursive): New function. | |
5988 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
5989 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
5990 | handle regions when ranged watchpoints are available. | |
5991 | (create_watchpoint_request): New function. | |
5992 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
5993 | create_watchpoint_request. | |
5994 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
5995 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
5996 | `set powerpc' and `show powerpc' commands. | |
5997 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
5998 | Mention documentation comment in the target macro. | |
5999 | (target_region_ok_for_hw_watchpoint): Document return value. | |
6000 | ||
9fa40276 TJB |
6001 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6002 | ||
6003 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
6004 | hardware watchpoint after the bp_locations are created. | |
6005 | ||
77b06cd7 TJB |
6006 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6007 | ||
6008 | Convert hardware watchpoints to use breakpoint_ops. | |
6009 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
6010 | <insert_location>: ... this. Return int instead of void. | |
6011 | Accept pointer to struct bp_location instead of pointer to | |
6012 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 6013 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
6014 | <remove_location>: ... this. Accept pointer to struct bp_location |
6015 | instead of pointer to struct breakpoint. Adapt all implementations. | |
6016 | * breakpoint.c (insert_catchpoint): Delete function. | |
6017 | (insert_bp_location): Call the watchpoint or catchpoint's | |
6018 | breakpoint_ops.insert method. | |
6019 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
6020 | breakpoint_ops.remove method. | |
6021 | (insert_watchpoint, remove_watchpoint): New functions. | |
6022 | (watchpoint_breakpoint_ops): New structure. | |
6023 | (watch_command_1): Initialize the OPS field. | |
6024 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
6025 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
6026 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
6027 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
6028 | Delete functions. | |
6029 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
6030 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
6031 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
6032 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
6033 | * target.c (update_current_target): Change default implementation of | |
6034 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
6035 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
6036 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
6037 | to_set_syscall_catchpoint to return_one. | |
6038 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
6039 | (debug_to_insert_exec_catchpoint): Report return value. | |
6040 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
6041 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
6042 | of void. | |
6043 | ||
9b20d036 MS |
6044 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
6045 | ||
6046 | * arm-tdep.c: Internationalization. | |
6047 | * c-lang.c: Ditto. | |
6048 | * charset.c: Ditto. | |
6049 | * fork-child.c: Ditto. | |
6050 | * nto-procfs.c: Ditto. | |
6051 | * ppc-sysv-tdep.c: Ditto. | |
6052 | * procfs.c: Ditto. | |
6053 | * remote-mips.c: Ditto. | |
6054 | * remote.c: Ditto. | |
6055 | * rs6000-nat.c: Ditto. | |
6056 | * rs6000-tdep.c: Ditto. | |
6057 | * target.c: Ditto. | |
6058 | * valops.c: Ditto. | |
6059 | * value.c: Ditto. | |
6060 | * xml-support.c: Ditto. | |
6061 | * mi/mi-cmd-break.c: Ditto. | |
6062 | * mi/mi-cmd-var.c: Ditto. | |
6063 | * mi/mi-interp.c: Ditto. | |
6064 | * mi/mi-main.c: Ditto. | |
6065 | ||
dae477fe AB |
6066 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
6067 | ||
6068 | * remote-sim.c (gdbsim_store_register): Update API to | |
6069 | sim_store_register to check more error conditions. | |
6070 | ||
0df8b418 MS |
6071 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
6072 | ||
6073 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
6074 | * nto-tdep.c: Ditto. | |
6075 | * nto-tdep.h: Ditto. | |
6076 | * objc-exp.y: Ditto. | |
6077 | * objc-lang.c: Ditto. | |
6078 | * objfiles.c: Ditto. | |
6079 | * objfiles.h: Ditto. | |
6080 | * observer.c: Ditto. | |
6081 | * opencl-lang.c: Ditto. | |
6082 | * osabi.c: Ditto. | |
6083 | * parse.c: Ditto. | |
6084 | * parser-defs.h: Ditto. | |
6085 | * p-exp.y: Ditto. | |
6086 | * p-lang.c: Ditto. | |
6087 | * posix-hdep.c: Ditto. | |
6088 | * ppcbug-rom.c: Ditto. | |
6089 | * ppc-linux-nat.c: Ditto. | |
6090 | * ppc-linux-tdep.c: Ditto. | |
6091 | * ppc-linux-tdep.h: Ditto. | |
6092 | * ppcnbsd-tdep.c: Ditto. | |
6093 | * ppcobsd-tdep.c: Ditto. | |
6094 | * ppcobsd-tdep.h: Ditto. | |
6095 | * ppc-sysv-tdep.c: Ditto. | |
6096 | * ppc-tdep.h: Ditto. | |
6097 | * printcmd.c: Ditto. | |
6098 | * proc-abi.c: Ditto. | |
6099 | * proc-flags.c: Ditto. | |
6100 | * procfs.c: Ditto. | |
6101 | * proc-utils.h: Ditto. | |
6102 | * progspace.h: Ditto. | |
6103 | * prologue-value.c: Ditto. | |
6104 | * prologue-value.h: Ditto. | |
6105 | * psympriv.h: Ditto. | |
6106 | * psymtab.c: Ditto. | |
6107 | * p-typeprint.c: Ditto. | |
6108 | * p-valprint.c: Ditto. | |
6109 | * ravenscar-sparc-thread.c: Ditto. | |
6110 | * ravenscar-thread.c: Ditto. | |
6111 | * ravenscar-thread.h: Ditto. | |
6112 | * record.c: Ditto. | |
6113 | * regcache.c: Ditto. | |
6114 | * regcache.h: Ditto. | |
6115 | * remote.c: Ditto. | |
6116 | * remote-fileio.c: Ditto. | |
6117 | * remote-fileio.h: Ditto. | |
6118 | * remote.h: Ditto. | |
6119 | * remote-m32r-sdi.c: Ditto. | |
6120 | * remote-mips.c: Ditto. | |
6121 | * remote-sim.c: Ditto. | |
6122 | * rs6000-aix-tdep.c: Ditto. | |
6123 | * rs6000-nat.c: Ditto. | |
6124 | * rs6000-tdep.c: Ditto. | |
6125 | ||
0d7a18f7 MS |
6126 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
6127 | ||
6128 | * charset.c (validate): Internationalization. | |
6129 | * coffread.c (read_one_sym): Ditto. | |
6130 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
6131 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
6132 | * inflow.c (new_tty): Ditto. | |
6133 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
6134 | * m32c-tdep.c (m32c_return_value): Ditto. | |
6135 | * mep-tdep.c (mep_store_return_value): Ditto. | |
6136 | * score-tdep.c (score7_fetch_insn): Ditto. | |
6137 | * ser-mingw.c (pipe_windows_open): Ditto. | |
6138 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
6139 | * spu-tdep.c (spu_register_type): Ditto. | |
6140 | * tracepoint.c (trace_find_command): Ditto. | |
6141 | * valarith.c (value_pos): Ditto. | |
6142 | ||
9a153e0b JB |
6143 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
6144 | ||
6145 | * ada-valprint.c (printstr): Minor comment reformatting. | |
6146 | ||
35ecd2d6 MS |
6147 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
6148 | ||
6149 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
6150 | markup. | |
6151 | ||
1777feb0 MS |
6152 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
6153 | ||
6154 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
6155 | * hppa-hpux-tdep.c: Ditto. | |
6156 | * hppa-linux-nat.c: Ditto. | |
6157 | * hppa-linux-tdep.c: Ditto. | |
6158 | * hppanbsd-tdep.c: Ditto. | |
6159 | * hppa-tdep.c: Ditto. | |
6160 | * hppa-tdep.h: Ditto. | |
6161 | * hpux-thread.c: Ditto. | |
6162 | * i386-cygwin-tdep.c: Ditto. | |
6163 | * i386-darwin-nat.c: Ditto. | |
6164 | * i386gnu-nat.c: Ditto. | |
6165 | * i386-linux-nat.c: Ditto. | |
6166 | * i386-linux-tdep.c: Ditto. | |
6167 | * i386-nat.c: Ditto. | |
6168 | * i386-nat.h: Ditto. | |
6169 | * i386nbsd-tdep.c: Ditto. | |
6170 | * i386-sol2-nat.c: Ditto. | |
6171 | * i386-stub.c: Ditto. | |
6172 | * i386-tdep.c: Ditto. | |
6173 | * i386-tdep.h: Ditto. | |
6174 | * i387-tdep.c: Ditto. | |
6175 | * ia64-linux-nat.c: Ditto. | |
6176 | * ia64-linux-tdep.c: Ditto. | |
6177 | * ia64-tdep.c: Ditto. | |
6178 | * infcall.c: Ditto. | |
6179 | * infcall.h: Ditto. | |
6180 | * infcmd.c: Ditto. | |
6181 | * inferior.c: Ditto. | |
6182 | * inferior.h: Ditto. | |
6183 | * infloop.c: Ditto. | |
6184 | * inflow.c: Ditto. | |
6185 | * infrun.c: Ditto. | |
6186 | * interps.c: Ditto. | |
6187 | * interps.h: Ditto. | |
6188 | * iq2000-tdep.c: Ditto. | |
6189 | * irix5-nat.c: Ditto. | |
6190 | * jit.c: Ditto. | |
6191 | * jit.h: Ditto. | |
6192 | * jv-exp.y: Ditto. | |
6193 | * jv-lang.c: Ditto. | |
6194 | * jv-lang.h: Ditto. | |
6195 | * jv-typeprint.c: Ditto. | |
6196 | * jv-valprint.c: Ditto. | |
6197 | * language.c: Ditto. | |
6198 | * language.h: Ditto. | |
6199 | * linespec.c: Ditto. | |
6200 | * linux-fork.c: Ditto. | |
6201 | * linux-nat.c: Ditto. | |
6202 | * linux-thread-db.c: Ditto. | |
6203 | * lm32-tdep.c: Ditto. | |
6204 | ||
025bb325 MS |
6205 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
6206 | ||
6207 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
6208 | * m2-lang.c: Ditto. | |
6209 | * m2-typeprint.c: Ditto. | |
6210 | * m2-valprint.c: Ditto. | |
6211 | * m32c-tdep.c: Ditto. | |
6212 | * m32r-linux-nat.c: Ditto. | |
6213 | * m32r-rom.c: Ditto. | |
6214 | * m32r-tdep.c: Ditto. | |
6215 | * m32r-tdep.h: Ditto. | |
6216 | * m68hc11-tdep.c: Ditto. | |
6217 | * m58klinux-nat.c: Ditto. | |
6218 | * m68k-tdep.c: Ditto. | |
6219 | * m88k-tdep.c: Ditto. | |
6220 | * m88k-tdep.h: Ditto. | |
6221 | * machoread.c: Ditto. | |
6222 | * macrocmd.c: Ditto. | |
6223 | * macroexp.c: Ditto. | |
6224 | * macrotab.c: Ditto. | |
6225 | * main.c: Ditto. | |
6226 | * maint.c: Ditto. | |
6227 | * mdebugread.c: Ditto. | |
6228 | * mdebugread.h: Ditto. | |
6229 | * memattr.c: Ditto. | |
6230 | * memattr.h: Ditto. | |
6231 | * memory-map.h: Ditto. | |
6232 | * mep-tdep.c: Ditto. | |
6233 | * microblaze-rom.c: Ditto. | |
6234 | * microblaze-tdep.c: Ditto. | |
6235 | * minsyms.c: Ditto. | |
6236 | * mips-irix-tdep.c: Ditto. | |
6237 | * mips-linux-nat.c: Ditto. | |
6238 | * mips-linux-tdep.c: Ditto. | |
6239 | * mips-linux-tdep.h: Ditto. | |
6240 | * mipsnbsd-nat.c: Ditto. | |
6241 | * mipsnbsd-tdep.c: Ditto. | |
6242 | * mipsread.c: Ditto. | |
6243 | * mips-tdep.c: Ditto. | |
6244 | * mips-tdep.h: Ditto. | |
6245 | * mn10300-linux-tdep.c: Ditto. | |
6246 | * mn10300-tdep.c: Ditto. | |
6247 | * mn10300-tdep.h: Ditto. | |
6248 | * monitor.c: Ditto. | |
6249 | * monitor.h: Ditto. | |
6250 | * moxie-tdep.c: Ditto. | |
6251 | * moxie-tdep.h: Ditto. | |
6252 | * mt-tdep.c: Ditto. | |
6253 | ||
1642781b MF |
6254 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
6255 | ||
6256 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
6257 | ||
394b0adb JB |
6258 | 2011-01-08 Robert Millan <rmh@gnu.org> |
6259 | ||
6260 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
6261 | ||
b670013c MS |
6262 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
6263 | ||
6264 | * charset.c (_initialize_charset): Fix typo in string. | |
6265 | ||
a743e542 MS |
6266 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
6267 | ||
6268 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
6269 | for i18n. | |
f2eb0bc8 | 6270 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
6271 | Split line so that operator goes to beginning of line. |
6272 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
6273 | assignment out of if statement. | |
6274 | ||
0963b4bd MS |
6275 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
6276 | ||
6277 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
6278 | * ada-lang.h: Ditto. | |
6279 | * ada-tasks.c: Ditto. | |
6280 | * ada-valprint.c: Ditto. | |
6281 | * aix-threads.c: Ditto. | |
6282 | * alpha-linux-nat.c: Ditto. | |
6283 | * alpha-linux-tdep.c: Ditto. | |
6284 | * alpha-mdebug-tdep.c: Ditto. | |
6285 | * alpha-nat.c: Ditto. | |
6286 | * alpha-osf1-tdep.c: Ditto. | |
6287 | * alpha-tdep.c: Ditto. | |
6288 | * alphabsd-nat.c: Ditto. | |
6289 | * alphabsd-tdep.c: Ditto. | |
6290 | * amd64-darwin-tdep.c: Ditto. | |
6291 | * amd64-linux-nat.c: Ditto. | |
6292 | * amd64-linux-tdep.c: Ditto. | |
6293 | * amd64-sol2-tdep.c: Ditto. | |
6294 | * amd64-tdep.c: Ditto. | |
6295 | * amd64-fbsd-tdep.c: Ditto. | |
6296 | * amd64-nbsd-tdep.c: Ditto. | |
6297 | * amd64-obsd-tdep.c: Ditto. | |
6298 | * amd64-linux-nat.c: Ditto. | |
6299 | * amd64-linux-tdep.c: Ditto. | |
6300 | * arm-tdep.c: Ditto. | |
6301 | * arm-tdep.h: Ditto. | |
6302 | * armnbsd-nat.c: Ditto. | |
6303 | * avr-tdep.c: Ditto. | |
6304 | * bfin-tdep.c: Ditto. | |
6305 | * bsd-kvm.c: Ditto. | |
6306 | * c-typeprintc: Ditto. | |
6307 | * c-valprint.c: Ditto. | |
6308 | * coff-pe-read.h: Ditto. | |
6309 | * coffreead.c: Ditto. | |
6310 | * cris-tdep.c: Ditto. | |
6311 | * d-lang.c: Ditto. | |
6312 | * darwin-nat-info.c: Ditto. | |
6313 | * darwin-nat.c: Ditto. | |
6314 | * dbug-rom.c: Ditto. | |
6315 | * dbxread.c: Ditto. | |
6316 | * dcache.c: Ditto. | |
6317 | * dcache.h: Ditto. | |
6318 | * dec-thread.c: Ditto. | |
6319 | * defs.h: Ditto. | |
6320 | * demangle.c: Ditto. | |
6321 | * dicos-tdep.c: Ditto. | |
6322 | * dictionary.c: Ditto. | |
6323 | * dictionary.h: Ditto. | |
6324 | * dink32-rom.c: Ditto. | |
6325 | * disasm.c: Ditto. | |
6326 | * doublest.c: Ditto. | |
6327 | * dsrec.c: Ditto. | |
6328 | * dummy-frame.c: Ditto. | |
6329 | * dwarf2-frame.c: Ditto. | |
6330 | * dwarf2expr.c: Ditto. | |
6331 | * dwarf2loc.c: Ditto. | |
6332 | * dwarf2read.c: Ditto. | |
6333 | * elfread.c: Ditto. | |
6334 | * environ.c: Ditto. | |
6335 | * eval.c: Ditto. | |
6336 | * event-top.h: Ditto. | |
6337 | * exceptions.c: Ditto. | |
6338 | * exceptions.h: Ditto. | |
6339 | * exec.c: Ditto. | |
6340 | * expprint.c: Ditto. | |
6341 | * expression.h: Ditto. | |
6342 | * f-exp.y: Ditto. | |
6343 | * f-lang.c: Ditto. | |
6344 | * f-lang.h: Ditto. | |
6345 | * f-typeprint.c: Ditto. | |
6346 | * f-valprint.c: Ditto. | |
6347 | * fbsd-nat.c: Ditto. | |
6348 | * findvar.c: Ditto. | |
6349 | * fork-child.c: Ditto. | |
6350 | * frame.c: Ditto. | |
6351 | * frame.h: Ditto. | |
6352 | * frv-linux-tdep.c: Ditto. | |
6353 | * frv-tdep.c: Ditto. | |
6354 | * gcore.c: Ditto. | |
6355 | * gdb-stabs.h: Ditto. | |
6356 | * gdb_assert.h: Ditto. | |
6357 | * gdb_string.h: Ditto. | |
6358 | * gdb_thread_db.h: Ditto. | |
6359 | * gdb_wait.h: Ditto. | |
6360 | * gdbarch.sh: Ditto. | |
6361 | * gdbcore.h: Ditto. | |
6362 | * gdbthread.h: Ditto. | |
6363 | * gdbtypes.c: Ditto. | |
6364 | * gdbtypes.h: Ditto. | |
6365 | * gnu-nat.c: Ditto. | |
6366 | * gnu-nat.h: Ditto. | |
6367 | * gnu-v2-abi.c: Ditto. | |
6368 | * gnu-v3-abi.c: Ditto. | |
6369 | * go32-nat.c: Ditto. | |
6370 | * gdbarch.c: Regenerate. | |
6371 | * gdbarch.h: Regenerate. | |
6372 | ||
ac74f770 MS |
6373 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
6374 | ||
6375 | * ax-gdb.c: Adjust some long output strings. | |
6376 | * breakpoint.c: Ditto. | |
6377 | * charset.c: Ditto. | |
6378 | * cp-abi.c: Ditto. | |
6379 | * infcall.c: Ditto. | |
6380 | * infrun.c: Ditto. | |
6381 | * linux-nat.c: Ditto. | |
6382 | * solib-pa64.c: Ditto. | |
6383 | * solib-som.c: Ditto. | |
6384 | ||
d8e22779 TT |
6385 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
6386 | ||
6387 | PR python/12367: | |
6388 | * NEWS: Add item. | |
6389 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
6390 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
6391 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
6392 | ||
a255712f PP |
6393 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
6394 | ||
6395 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
6396 | * jit.c (jit_debug): New variable. | |
6397 | (show_jit_debug): New function. | |
6398 | (struct target_buffer): Use ULONGEST. | |
6399 | (bfd_open_from_target_memory): Likewise. | |
6400 | (jit_register_code, jit_inferior_init): Add debug output. | |
6401 | (_initialize_jit): Register "debug jit" command. | |
6402 | ||
ccfc3d6e TT |
6403 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
6404 | ||
6405 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
6406 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
6407 | and ARCH_FRAME. | |
6408 | ||
57126e4a TT |
6409 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
6410 | ||
6411 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
6412 | ||
16dfc9ce JB |
6413 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
6414 | ||
6415 | Do not stop on SIGPRIO signals by default | |
6416 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
6417 | signal_print for TARGET_SIGNAL_PRIO. | |
6418 | ||
b1ce2347 JB |
6419 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
6420 | ||
6421 | * ada-tasks.c: Fix style violation in comment. | |
6422 | ||
8f7e195f JB |
6423 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
6424 | ||
6425 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
6426 | at end of error string. | |
6427 | * solib-irix.c (irix_current_sos): Likewise. | |
6428 | * varobj.c (uninstall_variable): Likewise. | |
6429 | ||
e9bdf92c JB |
6430 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
6431 | ||
6432 | * copyright.py: New script. | |
6433 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
6434 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
6435 | ||
3e43a32a MS |
6436 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
6437 | ||
6438 | * addrmap.c: Shorten lines of >= 80 columns. | |
6439 | * arch-utils.c: Ditto. | |
6440 | * arch-utils.h: Ditto. | |
6441 | * ax-gdb.c: Ditto. | |
6442 | * ax-general.c: Ditto. | |
6443 | * bcache.c: Ditto. | |
6444 | * blockframe.c: Ditto. | |
6445 | * breakpoint.c: Ditto. | |
6446 | * buildsym.c: Ditto. | |
6447 | * c-lang.c: Ditto. | |
6448 | * c-typeprint.c: Ditto. | |
6449 | * charset.c: Ditto. | |
6450 | * coffread.c: Ditto. | |
6451 | * command.h: Ditto. | |
6452 | * corelow.c: Ditto. | |
6453 | * cp-abi.c: Ditto. | |
6454 | * cp-namespace.c: Ditto. | |
6455 | * cp-support.c: Ditto. | |
6456 | * dbug-rom.c: Ditto. | |
6457 | * dbxread.c: Ditto. | |
6458 | * defs.h: Ditto. | |
6459 | * dfp.c: Ditto. | |
6460 | * dfp.h: Ditto. | |
6461 | * dictionary.c: Ditto. | |
6462 | * disasm.c: Ditto. | |
6463 | * doublest.c: Ditto. | |
6464 | * dwarf2-frame.c: Ditto. | |
6465 | * dwarf2expr.c: Ditto. | |
6466 | * dwarf2loc.c: Ditto. | |
6467 | * dwarf2read.c: Ditto. | |
6468 | * elfread.c: Ditto. | |
6469 | * eval.c: Ditto. | |
6470 | * event-loop.c: Ditto. | |
6471 | * event-loop.h: Ditto. | |
6472 | * exceptions.h: Ditto. | |
6473 | * exec.c: Ditto. | |
6474 | * expprint.c: Ditto. | |
6475 | * expression.h: Ditto. | |
6476 | * f-lang.c: Ditto. | |
6477 | * f-valprint.c: Ditto. | |
6478 | * findcmd.c: Ditto. | |
6479 | * frame-base.c: Ditto. | |
6480 | * frame-unwind.c: Ditto. | |
6481 | * frame-unwind.h: Ditto. | |
6482 | * frame.c: Ditto. | |
6483 | * frame.h: Ditto. | |
6484 | * gcore.c: Ditto. | |
6485 | * gdb-stabs.h: Ditto. | |
6486 | * gdb_assert.h: Ditto. | |
6487 | * gdb_dirent.h: Ditto. | |
6488 | * gdb_obstack.h: Ditto. | |
6489 | * gdbcore.h: Ditto. | |
6490 | * gdbtypes.c: Ditto. | |
6491 | * gdbtypes.h: Ditto. | |
6492 | * inf-ttrace.c: Ditto. | |
6493 | * infcall.c: Ditto. | |
6494 | * infcmd.c: Ditto. | |
6495 | * inflow.c: Ditto. | |
6496 | * infrun.c: Ditto. | |
6497 | * inline-frame.h: Ditto. | |
6498 | * language.c: Ditto. | |
6499 | * language.h: Ditto. | |
6500 | * libunwind-frame.c: Ditto. | |
6501 | * libunwind-frame.h: Ditto. | |
6502 | * linespec.c: Ditto. | |
6503 | * linux-nat.c: Ditto. | |
6504 | * linux-nat.h: Ditto. | |
6505 | * linux-thread-db.c: Ditto. | |
6506 | * machoread.c: Ditto. | |
6507 | * macroexp.c: Ditto. | |
6508 | * macrotab.c: Ditto. | |
6509 | * main.c: Ditto. | |
6510 | * maint.c: Ditto. | |
6511 | * mdebugread.c: Ditto. | |
6512 | * memattr.c: Ditto. | |
6513 | * minsyms.c: Ditto. | |
6514 | * monitor.c: Ditto. | |
6515 | * monitor.h: Ditto. | |
6516 | * objfiles.c: Ditto. | |
6517 | * objfiles.h: Ditto. | |
6518 | * osabi.c: Ditto. | |
6519 | * p-typeprint.c: Ditto. | |
6520 | * p-valprint.c: Ditto. | |
6521 | * parse.c: Ditto. | |
6522 | * printcmd.c: Ditto. | |
6523 | * proc-events.c: Ditto. | |
6524 | * procfs.c: Ditto. | |
6525 | * progspace.c: Ditto. | |
6526 | * progspace.h: Ditto. | |
6527 | * psympriv.h: Ditto. | |
6528 | * psymtab.c: Ditto. | |
6529 | * record.c: Ditto. | |
6530 | * regcache.c: Ditto. | |
6531 | * regcache.h: Ditto. | |
6532 | * remote-fileio.c: Ditto. | |
6533 | * remote.c: Ditto. | |
6534 | * ser-mingw.c: Ditto. | |
6535 | * ser-tcp.c: Ditto. | |
6536 | * ser-unix.c: Ditto. | |
6537 | * serial.c: Ditto. | |
6538 | * serial.h: Ditto. | |
6539 | * solib-frv.c: Ditto. | |
6540 | * solib-irix.c: Ditto. | |
6541 | * solib-osf.c: Ditto. | |
6542 | * solib-pa64.c: Ditto. | |
6543 | * solib-som.c: Ditto. | |
6544 | * solib-sunos.c: Ditto. | |
6545 | * solib-svr4.c: Ditto. | |
6546 | * solib-target.c: Ditto. | |
6547 | * solib.c: Ditto. | |
6548 | * somread.c: Ditto. | |
6549 | * source.c: Ditto. | |
6550 | * stabsread.c: Ditto. | |
6551 | * stabsread.c: Ditto. | |
6552 | * stack.c: Ditto. | |
6553 | * stack.h: Ditto. | |
6554 | * symfile-mem.c: Ditto. | |
6555 | * symfile.c: Ditto. | |
6556 | * symfile.h: Ditto. | |
6557 | * symmisc.c: Ditto. | |
6558 | * symtab.c: Ditto. | |
6559 | * symtab.h: Ditto. | |
6560 | * target-descriptions.c: Ditto. | |
6561 | * target-memory.c: Ditto. | |
6562 | * target.c: Ditto. | |
6563 | * target.h: Ditto. | |
6564 | * terminal.h: Ditto. | |
6565 | * thread.c: Ditto. | |
6566 | * top.c: Ditto. | |
6567 | * tracepoint.c: Ditto. | |
6568 | * tracepoint.h: Ditto. | |
6569 | * ui-file.c: Ditto. | |
6570 | * ui-file.h: Ditto. | |
6571 | * ui-out.h: Ditto. | |
6572 | * user-regs.c: Ditto. | |
6573 | * user-regs.h: Ditto. | |
6574 | * utils.c: Ditto. | |
6575 | * valarith.c: Ditto. | |
6576 | * valops.c: Ditto. | |
6577 | * valprint.c: Ditto. | |
6578 | * valprint.h: Ditto. | |
6579 | * value.c: Ditto. | |
6580 | * varobj.c: Ditto. | |
6581 | * varobj.h: Ditto. | |
6582 | * vec.h: Ditto. | |
6583 | * xcoffread.c: Ditto. | |
6584 | * xcoffsolib.c: Ditto. | |
6585 | * xcoffsolib.h: Ditto. | |
6586 | * xml-syscall.c: Ditto. | |
6587 | * xml-tdesc.c: Ditto. | |
6588 | ||
9a2b4c1b MS |
6589 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
6590 | ||
6591 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
6592 | * cli/cli-decode.c: Ditto. | |
6593 | * cli/cli-dump.c: Ditto. | |
6594 | * cli/cli-logging.c: Ditto. | |
6595 | * cli/cli-script.c: Ditto. | |
6596 | * cli/cli-setshow.c: Ditto. | |
6597 | * common/signals.c: Ditto. | |
6598 | * mi/mi-cmd-break.c: Ditto. | |
6599 | * mi/mi-cmd-disas.c: Ditto. | |
6600 | * mi/mi-cmd-stack.c: Ditto. | |
6601 | * mi/mi-cmd-var.c: Ditto. | |
6602 | * mi/mi-cmds.c: Ditto. | |
6603 | * mi/mi-common.h: Ditto. | |
6604 | * mi/mi-console.c: Ditto. | |
6605 | * mi/mi-interp.c: Ditto. | |
6606 | * mi/mi-main.c: Ditto. | |
6607 | * osf-share/cma_attr.c: Ditto. | |
6608 | * osf-share/cma_deb_core.h: Ditto. | |
6609 | * osf-share/cma_debug_client.h: Ditto. | |
6610 | * osf-share/cma_handle.h: Ditto. | |
6611 | * osf-share/cma_mutex.h: Ditto. | |
6612 | * osf-share/cma_stack_int.h: Ditto. | |
6613 | * osf-share/cma_tcb_defs.h: Ditto. | |
6614 | * python/py-auto-load.c: Ditto. | |
6615 | * python/py-breakpoint.c: Ditto. | |
6616 | * python/py-cmd.c: Ditto. | |
6617 | * python/py-frame.c: Ditto. | |
6618 | * python/py-objfile.c: Ditto. | |
6619 | * python/py-param.c: Ditto. | |
6620 | * python/py-progspace.c: Ditto. | |
6621 | * python/py-symbol.c: Ditto. | |
6622 | * python/py-value.c: Ditto. | |
6623 | * python/python-internal.h: Ditto. | |
6624 | * python/python.c: Ditto. | |
6625 | * tui/tui-data.c: Ditto. | |
6626 | * tui/tui-disasm.c: Ditto. | |
6627 | * tui/tui-hooks.c: Ditto. | |
6628 | * tui/tui-io.c: Ditto. | |
6629 | * tui/tui-layout.c: Ditto. | |
6630 | * tui/tui-regs.c: Ditto. | |
6631 | * tui/tui-source.c: Ditto. | |
6632 | * tui/tui-stack.c: Ditto. | |
6633 | * tui/tui-win.c: Ditto. | |
6634 | * tui/tui-windata.c: Ditto. | |
6635 | * tui/tui-winsource.c: Ditto. | |
6636 | ||
44944448 JB |
6637 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
6638 | ||
6639 | * configure.ac, gdb.1: Copyright year update. | |
6640 | ||
ebedcab5 JK |
6641 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
6642 | ||
6643 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
6644 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
6645 | "__morestack" minimal symbol there. | |
6646 | ||
e5cc9f32 JB |
6647 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
6648 | ||
6649 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
6650 | ||
7b6bb8da JB |
6651 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
6652 | ||
6653 | Copyright year update in most files (performed by copyright.sh). | |
6654 | ||
71ce852c JB |
6655 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
6656 | ||
6657 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 6658 | |
c3c1ebe8 | 6659 | For older changes see ChangeLog-2010. |
c906108c SS |
6660 | \f |
6661 | Local Variables: | |
6662 | mode: change-log | |
6663 | left-margin: 8 | |
6664 | fill-column: 74 | |
6665 | version-control: never | |
57da7796 | 6666 | coding: utf-8 |
c906108c | 6667 | End: |