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