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