Commit | Line | Data |
---|---|---|
8ab1f94d JB |
1 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
2 | ||
3 | From Michael Snyder <msnyder@vmware.com> | |
4 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
5 | ||
7d488639 MS |
6 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
7 | ||
ae179fba MS |
8 | * objc-lang.c (selectors_info): Prevent string overrun. |
9 | ||
086dbf66 MS |
10 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
11 | error in strncpy. | |
12 | ||
9c1e305a MS |
13 | * symtab.c (rbreak_command): Move variable 'file_name' to |
14 | outer scope. | |
15 | ||
7d488639 MS |
16 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
17 | param with a local variable of the same name. | |
18 | ||
3bd0f5ef MS |
19 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
20 | ||
21 | * value.c (value_from_history_ref): New function. | |
22 | * value.h (value_from_history_ref): Export. | |
23 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
24 | to parse value history references. | |
25 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
26 | ||
27 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
28 | ||
29 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
30 | (kill_inferior_command): Ditto. | |
31 | (remove_inferior_command): Ditto. | |
32 | (initialize_inferiors): Make command names plural. | |
33 | Update help strings. | |
34 | ||
766062f6 MS |
35 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
36 | ||
37 | * darwin-nat-info.c: Fix comment typo. | |
38 | * dwarf2expr.h: Ditto. | |
39 | * fbsd-nat.c: Ditto. | |
40 | * fbsd-nat.h: Ditto. | |
41 | * frame-unwind.h: Ditto. | |
42 | * frame.h: Ditto. | |
43 | * hppa-hpux-tdep.c: Ditto. | |
44 | * i386-linux-nat.c: Ditto. | |
45 | * linux-nat.c: Ditto. | |
46 | * nbsd-nat.c: Ditto. | |
47 | * nbsd-nat.h: Ditto. | |
48 | * ppc-linux-tdep.c: Ditto. | |
49 | * serial.c: Ditto. | |
50 | * ui-file.h: Ditto. | |
51 | * tui/tui-winsource.c: Ditto. | |
52 | ||
f2c4ead5 MS |
53 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
54 | ||
86b887df MS |
55 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
56 | ||
66fd3b1e MS |
57 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
58 | ||
8c814cdd MS |
59 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
60 | with a local variable of the same name. | |
61 | ||
6d5e094a | 62 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 63 | param with a local variable of the same name. |
6d5e094a | 64 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 65 | |
5eee517d MS |
66 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
67 | that it does not shadow a function parameter. | |
68 | ||
8fbf6b93 MS |
69 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
70 | statement is meant to fall through. | |
71 | ||
cb969d61 MS |
72 | * expprint.c (dump_subexp_body_standard): Document that case |
73 | statement is meant to fall through. | |
74 | ||
f2c4ead5 MS |
75 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
76 | dead if statement. Condition can't be false. | |
77 | ||
b021a221 MS |
78 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
79 | ||
80 | * arm-tdep.c: Fix typos in comments. | |
81 | * bsd-uthread.c: Ditto. | |
82 | * completer.c: Ditto. | |
83 | * corelow.c: Ditto. | |
84 | * cp-namespace.c: Ditto. | |
85 | * cp-support.c: Ditto. | |
86 | * cris-tdep.c: Ditto. | |
87 | * dbxread.c: Ditto. | |
88 | * dwarf2read.c: Ditto. | |
89 | * frame.h: Ditto. | |
90 | * gdbtypes.h: Ditto. | |
91 | * inferior.h: Ditto. | |
92 | * mdebugread.c: Ditto. | |
93 | * mips-tdep.c: Ditto. | |
94 | * ppc-linux-nat.c: Ditto. | |
95 | * ppc-linux-tdep.c: Ditto. | |
96 | * printcmd.c: Ditto. | |
97 | * sol-thread.c: Ditto. | |
98 | * solib-frv.c: Ditto. | |
99 | * solist.h: Ditto. | |
100 | * sparc64-tdep.c: Ditto. | |
101 | * spu-tdep.c: Ditto. | |
102 | * stabsread.c: Ditto. | |
103 | * symfile.c: Ditto. | |
104 | * valops.c: Ditto. | |
105 | * varobj.c: Ditto. | |
106 | * vax-nat.c: Ditto. | |
107 | * python/py-block.c: Ditto. | |
108 | * python/py-symbol.c: Ditto. | |
109 | * python/py-symtab.c: Ditto. | |
110 | * python/py-value.c: Ditto. | |
111 | * tui/tui-win.c: Ditto. | |
112 | ||
c82c0b55 MS |
113 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
114 | ||
115 | * inferior.c (print_inferior): Accept a string instead of an int | |
116 | for requested_inferiors, and use get_number_or_range to parse it. | |
117 | (info_inferiors_command): Pass args string to print_inferior. | |
118 | (initialize_inferiors): Change help string for info inferiors. | |
119 | * inferior.h (print_inferior): Export prototype change. | |
120 | ||
ee00cd23 TT |
121 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
122 | ||
123 | * common/ax.def (invalid2): Set to 0x31. | |
124 | ||
0502ed8c JK |
125 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
126 | ||
127 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
128 | L and plongest. | |
129 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
130 | use L and plongest. | |
131 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
132 | ||
2c9de912 MS |
133 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
134 | ||
135 | * Makefile.in (clean): Make clean should remove generated files | |
136 | observer.h and observer.inc. | |
137 | ||
a04b0428 JB |
138 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
139 | ||
140 | Revert the following patch (not approved yet): | |
141 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
142 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
143 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
144 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
145 | * ax-general.c (ax_memcpy): New function. | |
146 | (ax_print): Handle "printf". | |
147 | (ax_reqs): Ditto. | |
148 | * ax.h (ax_memcpy): Forward declare. | |
149 | * common/ax.def (invalid2): Removed. | |
150 | (printf): New entry. | |
151 | * printcmd.c (printcmd.h): New include. | |
152 | (string_printf): New function. | |
153 | (ui_printf): Removed. | |
154 | (printf_command): Remove static. Call string_printf. | |
155 | (eval_command): Call string_printf. | |
156 | * printcmd.h: New file. | |
157 | * tracepoint.c (validate_actionline, | |
158 | encode_actions_1): handle printf_command. | |
159 | ||
2b52013f TT |
160 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
161 | ||
162 | * ax-general.c (ax_pick): Add missing newline. | |
163 | ||
e5a67952 MS |
164 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
165 | ||
166 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
167 | to a char pointer, so that the function now accepts a list of | |
168 | breakpoints rather than just one. Use new function | |
169 | 'number_is_in_list' to implement. | |
170 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
171 | (watchpoints_info): Ditto. | |
172 | (tracepoints_info): Ditto. | |
173 | (maintenance_info_breakpoints): Ditto. | |
174 | (_initialize_breakpoint): Update help strings to reflect the fact | |
175 | that these functions can now take more than one argument. | |
176 | * cli/cli-utils.c (number_is_in_list): New function. | |
177 | * cli/cli-utils.h (number_is_in_list): Export. | |
178 | ||
179 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
180 | |
181 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
182 | (mem_disable_command): Ditto. | |
183 | (mem_delete_command): Ditto. | |
184 | (_initialize_mem): Tweak usage message to reflect multiple | |
185 | arguments. | |
186 | ||
6e6fbe60 DE |
187 | 2011-02-22 Doug Evans <dje@google.com> |
188 | ||
189 | Add gdb.lookup_global_symbol python function. | |
190 | * NEWS: Add entry. | |
191 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
192 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
193 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
194 | ||
79b97fa8 TT |
195 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
196 | ||
197 | * language.c (language_class_name_from_physname): Rename | |
198 | 'curr_language' argument to 'lang'; use in body. | |
199 | ||
298f437a MS |
200 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
201 | ||
202 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
203 | ||
b7ea3126 PA |
204 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
205 | ||
206 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
207 | next. | |
208 | ||
58ee6d60 TT |
209 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
210 | ||
211 | * symfile.c (auto_solib_limit): Remove. | |
212 | * symfile.h (auto_solib_limit): Remove. | |
213 | ||
36238dbc JB |
214 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
215 | ||
216 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
217 | ||
aea5b279 MS |
218 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
219 | ||
220 | * gdbthread.h (print_thread_info): Change prototype. | |
221 | * thread.c (print_thread_info): Accept char* instead of int for | |
222 | requested_threads argument. Use new function number_is_in_list | |
223 | to determine which threads to list. | |
224 | (info_threads_command): Pass char* to print_thread_info. | |
225 | * cli/cli-utils.c (number_is_in_list): New function. | |
226 | * cli/cli-utils.h (number_is_in_list): Export. | |
227 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to | |
228 | print_thread_info. | |
229 | (print_one_inferior): Ditto. | |
230 | (mi_cmd_list_thread_groups): Ditto. | |
231 | ||
8caa75ee JK |
232 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
233 | ||
234 | * common/Makefile.in (CFLAGS): New. | |
235 | (COMPILE): Add $(CFLAGS). | |
236 | ||
ea666128 TT |
237 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
238 | ||
239 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
240 | ||
e9cafbcc TT |
241 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
242 | ||
243 | * reverse.c: Include cli-utils.h. | |
244 | * printcmd.c: Include cli-utils.h. | |
245 | (string_printf): Use skip_spaces. | |
246 | * cli/cli-utils.h: New file. | |
247 | * cli/cli-utils.c: New file. | |
248 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
249 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
250 | * breakpoint.h (get_number, get_number_or_range): Move to | |
251 | cli-utils.h. | |
252 | * breakpoint.c: Include cli-utils.h. | |
253 | (get_number_trailer, get_number, get_number_or_range) | |
254 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
255 | (create_breakpoint_sal, find_condition_and_thread) | |
256 | (decode_static_tracepoint_spec, watch_command_1) | |
257 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
258 | (catch_fork_command_1, catch_exec_command_1) | |
259 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
260 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
261 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
262 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
263 | (cli-utils.o): New target. | |
264 | ||
f67fd822 PM |
265 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
266 | ||
267 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
268 | before calling discard_all_inferiors. | |
269 | ||
c9def01d UW |
270 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
271 | ||
272 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
273 | (struct builtin_opencl_type): Remove. | |
274 | (builtin_opencl_type): Change return type to "struct type **". | |
275 | (lookup_opencl_vector_type): Update caller. | |
276 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
277 | (build_opencl_types): Install plain array of "struct type *" | |
278 | instead of "struct builtin_opencl_type". | |
279 | ||
e3039479 UW |
280 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
281 | Ulrich Weigand <uweigand@de.ibm.com> | |
282 | ||
283 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
284 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
285 | (struct arm_linux_hwbp_cap): New type. | |
286 | (arm_linux_get_hwbp_cap): New function. | |
287 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
288 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
289 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
290 | (arm_hwbp_type): New type. | |
291 | (arm_hwbp_control_t): Likewise. | |
292 | (struct arm_linux_hw_breakpoint): Likewise. | |
293 | (struct arm_linux_thread_points): Likewise. | |
294 | (arm_threads): New global variable. | |
295 | (arm_linux_find_breakpoints_by_tid): New function. | |
296 | (arm_hwbp_control_initialize): Likewise. | |
297 | (arm_hwbp_control_is_enabled): Likewise. | |
298 | (arm_hwbp_control_disable): Likewise. | |
299 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
300 | (arm_linux_get_hwbp_type): Likewise. | |
301 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
302 | (arm_linux_hw_breakpoint_equal): Likewise. | |
303 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
304 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
305 | (arm_linux_insert_hw_breakpoint): Likewise. | |
306 | (arm_linux_remove_hw_breakpoint): Likewise. | |
307 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
308 | (arm_linux_insert_watchpoint): Likewise. | |
309 | (arm_linux_remove_watchpoint): Likewise. | |
310 | (arm_linux_stopped_data_address): Likewise. | |
311 | (arm_linux_stopped_by_watchpoint): Likewise. | |
312 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
313 | (arm_linux_new_thread): Likewise. | |
314 | (arm_linux_thread_exit): Likewise. | |
315 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
316 | related target callbacks. Register arm_linux_new_thread and | |
317 | arm_linux_thread_exit. | |
318 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
319 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
320 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
321 | ||
b5db5dfc UW |
322 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
323 | ||
324 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
325 | per-frame locations while within a function epilogue. | |
326 | ||
e25b2cfa PM |
327 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
328 | ||
329 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
330 | to GNU coding standards. | |
331 | ||
4af53f97 PM |
332 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
333 | ||
334 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 335 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
336 | (ser_windows_close): Only call CancelIo if function exists. |
337 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
338 | to check for existence of CancelIo function in kernel32 DLL. | |
339 | ||
d0e92d82 HZ |
340 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
341 | ||
342 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
343 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
344 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
345 | * ax-general.c (ax_memcpy): New function. | |
346 | (ax_print): Handle "printf". | |
347 | (ax_reqs): Ditto. | |
348 | * ax.h (ax_memcpy): Forward declare. | |
349 | * common/ax.def (invalid2): Removed. | |
350 | (printf): New entry. | |
351 | * printcmd.c (printcmd.h): New include. | |
352 | (string_printf): New function. | |
353 | (ui_printf): Removed. | |
354 | (printf_command): Remove static. Call string_printf. | |
355 | (eval_command): Call string_printf. | |
356 | * printcmd.h: New file. | |
357 | * tracepoint.c (validate_actionline, | |
358 | encode_actions_1): handle printf_command. | |
359 | ||
7d357efd MS |
360 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
361 | ||
362 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
363 | id rather than pointer to bookmark struct. | |
364 | (delete_bookmark_command): Use get_number_or_range. | |
365 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
366 | (bookmark_1): New function. Print info for one bookmark. | |
367 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
368 | ||
7a45ebd7 MS |
369 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
370 | ||
371 | * thread.c (info_threads_command): Re-implement using | |
372 | get_number_or_range. | |
65ebfb52 | 373 | (thread_apply_command): Ditto. |
7a45ebd7 | 374 | |
94d5e490 TT |
375 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
376 | ||
377 | * common/ax.def: New file. | |
378 | * ax.h (enum agent_op): Use ax.def. | |
379 | * ax-general.c (aop_map): Use ax.def. | |
380 | ||
c7f96d2b TT |
381 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
382 | ||
383 | * ax-general.c (aop_map): Add pick and rot. | |
384 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
385 | <DW_OP_rot>: Implement. | |
386 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
387 | (ax_pick): Declare. | |
388 | * ax-general.c (ax_pick): New function. | |
389 | ||
66694b75 TT |
390 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
391 | ||
392 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
393 | ||
eeaafae2 JK |
394 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
395 | Tom Tromey <tromey@redhat.com> | |
396 | ||
397 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
398 | make_symbol_overload_list_block with NULL BLOCK. | |
399 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
400 | ||
3c3fe74c PA |
401 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
402 | ||
403 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
404 | * breakpoint.h (get_number_or_range): Declare. | |
405 | * printcmd.c (ALL_DISPLAYS): Declare. | |
406 | (delete_display): Reimplement taking a display pointer. | |
407 | (undisplay_command): Accept a range of displays to delete, using | |
408 | get_number_or_range. | |
409 | ||
13163d80 PM |
410 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
411 | ||
412 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
413 | for arrays of unspecified length. | |
414 | * p-valprint.c (pascal_val_print): Likewise. | |
415 | ||
b434a28f YQ |
416 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
417 | ||
418 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
419 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
420 | (thumb_process_displaced_insn): New. | |
421 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
422 | call to arm_process_displaced_insn. | |
423 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
424 | ||
9f6f94ff TT |
425 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
426 | ||
427 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
428 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
429 | compile_dwarf_to_ax. No longer static. Call | |
430 | dwarf2_compile_cfa_to_ax. | |
431 | (locexpr_tracepoint_var_ref): Update. | |
432 | (loclist_tracepoint_var_ref): Update. | |
433 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
434 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
435 | argument; add 'gdbarch' and 'pc'. | |
436 | (dwarf2_compile_cfa_to_ax): New function. | |
437 | (dwarf2_frame_cache): Update. | |
438 | ||
e67ad678 JB |
439 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
440 | ||
441 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
442 | in the case of an unconstrained packed array. | |
443 | ||
946ebb0d YQ |
444 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
445 | ||
446 | * common/Makefile.in: Add more targets for make. | |
447 | ||
1ba1b353 TT |
448 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
449 | ||
450 | * dwarf2loc.c (unimplemented): Fix typo. | |
451 | ||
b1bfef65 TT |
452 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
453 | ||
454 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
455 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
456 | <DW_OP_deref>: Update. | |
457 | (disassemble_dwarf_expression): Update. | |
458 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
459 | (decode_locdesc): Update. | |
460 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
461 | ||
5f1e6f19 TT |
462 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
463 | ||
464 | * ax.h (struct aop_map) <name>: Now const. | |
465 | ||
a0c78a73 PA |
466 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
467 | ||
468 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
469 | than axs_rvalue. | |
470 | ||
946ebb0d | 471 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
472 | |
473 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
474 | * inferior.h: Declare it. | |
475 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
476 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
477 | returns non-NULL. | |
478 | ||
08807d5a PA |
479 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
480 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
481 | ||
482 | gdb/ | |
483 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
484 | ||
29976f3f PA |
485 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
486 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
487 | ||
488 | * value.c (value_contents_copy_raw): Extend describing comment. | |
489 | Assert that the destination contents we're overwriting are wholly | |
490 | available. | |
fb68ae73 | 491 | (value_contents_copy): Extend describing comment. |
29976f3f | 492 | |
cd24cfaa PA |
493 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
494 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
495 | ||
496 | * value.c (value_available_contents_eq): Remove redundant local | |
497 | variables. Fix available contents comparision. | |
498 | * value.h (value_available_contents_eq): Extend describing | |
499 | comment. | |
500 | ||
60bbf338 YQ |
501 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
502 | ||
503 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
504 | trailing newline. | |
505 | ||
17450429 PP |
506 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
507 | ||
508 | * breakpoint.c (longjmp_names): New variable. | |
509 | (struct breakpoint_objfile_data): New type. | |
510 | (breakpoint_objfile_key): New variable. | |
511 | (msym_not_found): New variable. | |
512 | (msym_not_found_p): New predicate. | |
513 | (get_breakpoint_objfile_data): New function. | |
514 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
515 | symbols first. | |
516 | (create_longjmp_master_breakpoint): Likewise. | |
517 | (create_std_terminate_master_breakpoint): Likewise. | |
518 | (create_exception_master_breakpoint): Likewise. | |
519 | (_initialize_breakpoint): Register per-objfile data key. | |
520 | ||
af02033e PP |
521 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
522 | ||
523 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
524 | parameter value. | |
525 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
526 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
527 | value. | |
528 | (update_breakpoints_after_exec): Adjust. | |
529 | (breakpoint_re_set): Adjust. | |
530 | ||
60f98dde MS |
531 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
532 | ||
cdf99611 MS |
533 | * thread.c (info_threads_command): Process arg as thread id, |
534 | or list of thread ids. | |
535 | (thread_find_command): New command. | |
536 | (_initialize_thread): Document argument for info threads. | |
537 | Document 'thread find' command. | |
538 | * NEWS: Document new command "thread find". | |
60f98dde | 539 | |
0feedb2c JK |
540 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
541 | ||
542 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
543 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
544 | * common/configure: Regenerate with autoconf-2.64. | |
545 | ||
648cd113 KW |
546 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
547 | ||
548 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
549 | bool data type to a size of one byte. | |
550 | ||
5657161f PA |
551 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
552 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
553 | ||
554 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
555 | look for interface description. | |
556 | ||
494e194e YQ |
557 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
558 | ||
559 | PR tdep/12352 | |
560 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
561 | order to store PC value on stack instead of text section. | |
562 | ||
d9492458 TJB |
563 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
564 | ||
565 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
566 | the EFP register set size. | |
567 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
568 | data from the VMX register. | |
569 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
570 | and write data from/to the VMX register. | |
571 | ||
cdf99611 MS |
572 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
573 | ||
574 | * command.h (enum command_class): New class 'no_set_class', for | |
575 | "show" commands without a corresponding "set" command. | |
576 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
577 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
578 | "show warranty". | |
579 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
580 | "show version". | |
581 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
582 | which there is no corresponding "set" command (eg. "show copying"). | |
583 | ||
424447ee PA |
584 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
585 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
586 | ||
587 | * exec.c (section_table_available_memory): Change `len' parameter | |
588 | type to ULONGEST. | |
589 | * exec.h (section_table_available_memory): Ditto. | |
590 | * value.h (read_value_memory): Rename the `offset' parameter to | |
591 | `embedded_offset'. | |
592 | ||
c0f61f9c | 593 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 594 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
595 | |
596 | * memrange.c (compare_mem_ranges): Mention sort order in | |
597 | describing comment. | |
598 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
599 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
600 | mention what happens to RESULT when the target does not support | |
601 | the query. | |
602 | ||
6bfc80c7 PA |
603 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
604 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
605 | ||
606 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
607 | range. | |
608 | ||
e7303042 PA |
609 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
610 | ||
611 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
612 | No longer handle NULL values. | |
613 | ||
8af8e3bc PA |
614 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
615 | ||
616 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
617 | * value.c: Include "exceptions.h". | |
618 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
619 | generic error. | |
620 | * cp-abi.c: Include gdb_assert.h. | |
621 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
622 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
623 | errors. | |
624 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
625 | parameters. No longer returns -1 on error. | |
626 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
627 | `val' parameters. | |
628 | * cp-valprint.c: Include exceptions.h. | |
629 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
630 | the baseclass_offset. Handle unavailable base classes. Use | |
631 | val_print_invalid_address. | |
632 | * p-valprint.c: Include exceptions.h. | |
633 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
634 | when fetching the baseclass_offset. No longer expect | |
635 | baseclass_offset returning -1. Handle unavailable base classes. | |
636 | Use val_print_invalid_address. | |
637 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
638 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
639 | `embedded_offset' and `val' parameters. Adjust. | |
640 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
641 | parameter, and change its type to gdb_byte pointer. Add | |
642 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
643 | baseclass_offset returning -1. | |
644 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
645 | value_contents. Adjust. | |
646 | (search_struct_field): No longer expect baseclass_offset returning | |
647 | -1. | |
648 | (search_struct_method): If reading memory from the target is | |
649 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
650 | longer expect baseclass_offset returning -1. | |
651 | (find_method_list): No longer expect baseclass_offset returning | |
652 | -1. Use value_contents_for_printing rather than value_contents. | |
653 | * valprint.c (val_print_invalid_address): New function. | |
654 | * valprint.h (val_print_invalid_address): Declare. | |
655 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
656 | and `val' parameters. No longer expect baseclass_offset returning | |
657 | -1. Adjust. | |
658 | * gnu-v2-abi.c: Include "exceptions.h". | |
659 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
660 | parameters. Handle unavailable memory. Recurse through | |
661 | gnuv2_baseclass_offset directly, rather than through | |
662 | baseclass_offset. No longer returns -1 on not found, instead | |
663 | throw an error. | |
664 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
665 | `val' parameters. Adjust. | |
666 | ||
1b28d0b3 PA |
667 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
668 | ||
669 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
670 | almost but not quite adjacent. | |
671 | ||
ec0a52e1 PA |
672 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
673 | ||
674 | * value.h (value_entirely_available): Declare. | |
675 | * value.c (value_entirely_available): New function. | |
676 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
677 | real type if the pointer is unavailable. | |
678 | ||
24e6bcee PA |
679 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
680 | ||
681 | * valops.c (value_repeat): Use read_value_memory instead of | |
682 | read_memory. | |
683 | ||
39d37385 PA |
684 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
685 | ||
686 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
687 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
688 | functions. | |
689 | (value_primitive_field): Use value_contents_copy_raw instead of | |
690 | memcpy. | |
691 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
692 | memcpy. | |
693 | (value_array, value_slice): Ditto. | |
694 | * valarith.c (value_subscripted_rvalue): Use | |
695 | value_contents_copy_raw instead of memcpy. | |
696 | ||
a3d34bf4 PA |
697 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
698 | ||
699 | <unavailable> references. | |
700 | ||
701 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
702 | avoiding read_memory. | |
703 | ||
9fc6d940 PA |
704 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
705 | ||
706 | * c-valprint.c (c_val_print): Print a string with unavailable | |
707 | contents as an array. | |
708 | ||
5467c6c8 PA |
709 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
710 | ||
711 | * value.h (unpack_bits_as_long): Delete declaration. | |
712 | (unpack_value_bits_as_long): Declare. | |
713 | (unpack_value_field_as_long): Declare. | |
714 | (value_field_bitfield): Declare. | |
715 | * value.c (unpack_bits_as_long): Rename to... | |
716 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
717 | value parameters. Return the extracted result in a new output | |
718 | parameter. If the value contents are unavailable, return false, | |
719 | otherwise return true. | |
720 | (unpack_value_bits_as_long): New. | |
721 | (unpack_field_as_long): Rename to... | |
722 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
723 | Add embedded_offset and value parameters. Return the extracted | |
724 | result in a new output parameter. If the value contents are | |
725 | unavailable, return false, otherwise return true. | |
726 | (unpack_value_field_as_long): New. | |
727 | (unpack_field_as_long_1): New. | |
728 | (unpack_field_as_long): Reimplement as wrapper around | |
729 | unpack_value_field_as_long_1. | |
730 | (value_field_bitfield): New function. | |
731 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
732 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
733 | is unavailable. | |
734 | * jv-valprint.c (java_print_value_fields): Use | |
735 | value_field_bitfield. | |
736 | * p-valprint.c (pascal_object_print_value_fields): Use | |
737 | value_field_bitfield. | |
738 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
739 | ||
3158c6ed PA |
740 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
741 | ||
742 | * value.c (get_internalvar_integer): Also return the int value of | |
743 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
744 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
745 | ||
9fbdca0d PA |
746 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
747 | ||
748 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
749 | INTERNALVAR_POINTER. | |
750 | <pointer>: Delete. | |
751 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
752 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
753 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
754 | ||
c8c1c22f PA |
755 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
756 | ||
757 | * value.h (value_available_contents_eq): Declare. | |
758 | * value.c (find_first_range_overlap): New function. | |
759 | (value_available_contents_eq): New function. | |
760 | * valprint.c (val_print_array_elements): Use | |
761 | value_available_contents_eq. | |
762 | * ada-valprint.c (val_print_packed_array_elements): Use | |
763 | value_available_contents_eq. | |
764 | * jv-valprint.c (java_value_print): Use | |
765 | value_available_contents_eq. | |
766 | ||
e6e4e701 PA |
767 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
768 | ||
769 | * target.c (target_read_live_memory): New function. | |
770 | (memory_xfer_live_readonly_partial): New. | |
771 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
772 | reading unavailable read-only memory from read-only regions of | |
773 | live target memory. | |
774 | * tracepoint.c (disconnect_tracing): Adjust. | |
775 | (set_current_traceframe): New, factored out from | |
776 | set_traceframe_number. | |
777 | (set_traceframe_number): Reimplement to only change the traceframe | |
778 | number on the GDB side. | |
779 | (do_restore_current_traceframe_cleanup): Adjust. | |
780 | (make_cleanup_restore_traceframe_number): New. | |
781 | (cur_traceframe_number): New global. | |
782 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
783 | (set_tfile_traceframe): New function. | |
784 | (tfile_trace_find): If looking up a traceframe using any method | |
785 | other than by number, make sure the current tfile traceframe | |
786 | matches gdb's current traceframe. Update the current tfile | |
787 | traceframe if the lookup succeeded. | |
788 | (tfile_fetch_registers, tfile_xfer_partial) | |
789 | (tfile_get_trace_state_variable_value): Make sure the remote | |
790 | traceframe matches gdb's current traceframe. | |
791 | * remote.c (remote_traceframe_number): New global. | |
792 | (remote_open_1): Set it to -1. | |
793 | (set_remote_traceframe): New function. | |
794 | (remote_fetch_registers, remote_store_registers) | |
795 | (remote_xfer_memory, remote_xfer_partial) | |
796 | (remote_get_trace_state_variable_value): Make sure the remote | |
797 | traceframe matches gdb's current traceframe. | |
798 | (remote_trace_find): If looking up a traceframe using any method | |
799 | other than by number, make sure the current remote traceframe | |
800 | matches gdb's current traceframe. Update the current remote | |
801 | traceframe if the lookup succeeded. | |
802 | * infrun.c (fetch_inferior_event): Adjust. | |
803 | * tracepoint.h (set_current_traceframe): Declare. | |
804 | (get_traceframe_number, set_traceframe_number): Add describing | |
805 | comments. | |
806 | ||
e6ca34fc PA |
807 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
808 | ||
809 | Mark pieces of values as unavailable if the corresponding memory | |
810 | is unavailable. | |
811 | ||
812 | * valops.c: Include tracepoint.h. | |
813 | (value_fetch_lazy): Use read_value_memory. | |
814 | (read_value_memory): New. | |
815 | * value.h (read_value_memory): Declare. | |
816 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
817 | * exec.c (section_table_available_memory): New function. | |
818 | * exec.h (section_table_available_memory): Declare. | |
819 | ||
2a7498d8 PA |
820 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
821 | ||
822 | * Makefile.in (SFILES): Add memrange.c. | |
823 | (HFILES_NO_SRCDIR): Add memrange.h. | |
824 | (COMMON_OBS): Add memrange.o. | |
825 | * memrange.c: New file. | |
826 | * memrange.h: New file. | |
827 | * tracepoint.c: Include memrange.h. | |
828 | (struct mem_range): Delete. | |
829 | (mem_range_s): Delete. | |
830 | (traceframe_available_memory): New function. | |
831 | * tracepoint.h (traceframe_available_memory): Declare. | |
832 | ||
b3b9301e PA |
833 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
834 | ||
835 | * target.h (struct traceframe_info): Forward declare. | |
836 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
837 | (struct target_ops) <to_traceframe_info>: New field. | |
838 | (target_traceframe_info): New. | |
839 | * target.c (update_current_target): Inherit and default | |
840 | to_traceframe_info. | |
841 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
842 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
843 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
844 | (remote_traceframe_info): New. | |
845 | (init_remote_ops): Install it. | |
846 | (_initialize_remote): Install "set/show remote traceframe-info" | |
847 | commands. | |
848 | * tracepoint.h (parse_traceframe_info): Declare. | |
849 | * tracepoint.c (struct mem_range): New. | |
850 | (mem_range_s): New typedef. | |
851 | (struct traceframe_info): New. | |
852 | (traceframe_info): New global. | |
853 | (free_traceframe_info): New function. | |
854 | (clear_traceframe_info): New function. | |
855 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
856 | info. | |
857 | (build_traceframe_info): New function. | |
858 | (tfile_traceframe_info): New function. | |
859 | (init_tfile_ops): Install tfile_traceframe_info. | |
860 | (traceframe_info_start_memory, free_result): New functions. | |
861 | (memory_attributes, traceframe_info_elements): New globals. | |
862 | (parse_traceframe_info, get_traceframe_info): New functions. | |
863 | * features/traceframe-info.dtd: New file. | |
864 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
865 | ||
4e07d55f PA |
866 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
867 | ||
868 | Base support for <unavailable> value contents. | |
869 | ||
4e07d55f PA |
870 | * value.h (value_bytes_available): Declare. |
871 | (mark_value_bytes_unavailable): Declare. | |
872 | * value.c (struct range): New struct. | |
873 | (range_s): New typedef. | |
874 | (ranges_overlap): New function. | |
875 | (range_lessthan): New function. | |
876 | (ranges_contain_p): New function. | |
877 | (struct value) <unavailable>: New field. | |
878 | (value_bytes_available): New function. | |
879 | (mark_value_bytes_unavailable): New function. | |
880 | (require_not_optimized_out): Constify parameter. | |
881 | (require_available): New function. | |
882 | (value_contents_all, value_contents): Require all bytes be | |
883 | available. | |
884 | (value_free): Free `unavailable'. | |
885 | (value_copy): Copy `unavailable'. | |
886 | * valprint.h (val_print_unavailable): Declare. | |
887 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
888 | to `embedded_offset'. If printing a scalar, check whether the | |
889 | value chunk is available. | |
890 | (val_print_unavailable): New. | |
891 | (val_print_scalar_formatted): Check whether the value is | |
892 | available. | |
893 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
894 | pretty-printing unavailable values. | |
895 | ||
bc9a5551 JK |
896 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
897 | ||
898 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
899 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
900 | variable param_type, initialize it. Remove const/volatile qualifiers | |
901 | for language_cplus and !show_artificial. Use param_type. | |
902 | ||
93b55aa1 JK |
903 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
904 | ||
905 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
906 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
907 | * symtab.h (struct symtab) <next>: Comment extension. | |
908 | ||
181d9476 YQ |
909 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
910 | ||
911 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
912 | ||
b708a5c7 JK |
913 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
914 | ||
915 | * common/Makefile.in: Add copyright header. | |
916 | ||
c5187ac6 PA |
917 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
918 | ||
919 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
920 | here ... | |
921 | (fetch_inferior_event): ... to here. | |
922 | ||
4f3e6fb7 YQ |
923 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
924 | ||
925 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
926 | libcommon.a. | |
927 | * configure.ac: Add common to sub dir. | |
928 | * configure: Regenerate. | |
929 | ||
b708a5c7 JK |
930 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
931 | ||
932 | Build libcommon.a. | |
933 | ||
934 | * common/Makefile.in: New. | |
935 | * common/configure.ac: New. | |
936 | * common/aclocal.m4: New. | |
937 | * common/configure: Generate. | |
938 | ||
2287cc7e PA |
939 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
940 | ||
941 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
942 | side of the parenthesis. | |
943 | ||
944 | Merge from GCC: | |
945 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 946 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 947 | |
fd62cb89 MS |
948 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
949 | ||
950 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
951 | ||
56d2815c JK |
952 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
953 | ||
954 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
955 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
956 | psubd and paddd. | |
957 | ||
4f7d61a8 JK |
958 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
959 | ||
960 | PR 12361. | |
961 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
962 | phsubsw. | |
963 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
964 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
965 | ||
54fcddd0 UW |
966 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
967 | ||
968 | * dwarf2read.c (read_subroutine_type): Set special calling | |
969 | convention flag for functions compiled by IBM XL C for OpenCL. | |
970 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
971 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
972 | calling convention. | |
973 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
974 | IBM OpenCL vector types calling convention. | |
975 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
976 | (ppc_sysv_abi_broken_return_value): Likewise. | |
977 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
978 | types calling convention. | |
979 | (ppc64_sysv_abi_return_value): Likewise. | |
980 | * spu-tdep.c: Include "dwarf2.h" | |
981 | (spu_return_value): Implement IBM OpenCL vector types calling | |
982 | convention. | |
983 | ||
d6dafb7c UW |
984 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
985 | ||
986 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
987 | correct ABI for AltiVec vector arguments. | |
988 | ||
32b72a42 PA |
989 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
990 | ||
991 | * valprint.c (val_print): Extend comment. | |
992 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
993 | interface explanation to val_print. | |
994 | (ada_val_print_array): Adjust comment to current interface. | |
995 | (print_field_values): Adjust comment to current interface. | |
996 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
997 | explanation to val_print. | |
998 | * f-valprint.c (f_val_print): Ditto. | |
999 | * jv-valprint.c (java_val_print): Ditto. | |
1000 | * m2-valprint.c (m2_val_print): Ditto. | |
1001 | * p-valprint.c (pascal_val_print): Ditto. | |
1002 | ||
9998af43 TJB |
1003 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1004 | ||
1005 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
1006 | ||
505500db | 1007 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 1008 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
1009 | |
1010 | * python/py-inferior.c (python_on_normal_stop): New function. | |
1011 | (python_on_resume): New function. | |
1012 | (python_inferior_exit): New function. | |
1013 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
1014 | inferior_exit observers. | |
1015 | * python/py-evtregistry.c: New file. | |
1016 | * python/py-threadevent.c : New file. | |
1017 | * python/py-event.c: New file. | |
1018 | * python/py-evts.c: New file. | |
1019 | * python/py-continueevent.c: New file. | |
1020 | * python/py-bpevent.c: New file. | |
1021 | * python/py-signalevent.c: New file. | |
1022 | * python/py-exetiedevent.c: New file. | |
1023 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
1024 | Move struct breakpoint_object from here... | |
1025 | * python/python-internal.h: ... to here. | |
1026 | * python/py-event.h: New file. | |
1027 | * python/py-events.h: New file. | |
1028 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
1029 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
1030 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
1031 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
1032 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
1033 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
1034 | Add build rules for all the above. | |
1035 | ||
9e0ac564 TT |
1036 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
1037 | ||
1038 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
1039 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
1040 | (dwarf2_section_size): New function. | |
1041 | (dwarf2_get_section_info): Unconditionally read section. | |
1042 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
1043 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
1044 | (dwarf2_symbol_mark_computed): Likewise. | |
1045 | ||
eee5b35e DD |
1046 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
1047 | ||
1048 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
1049 | ||
385203ed DD |
1050 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
1051 | ||
1052 | * mips-linux-tdep.c: Include xml-syscall.h. | |
1053 | (mips_linux_get_syscall_number): New function. | |
1054 | (mips_linux_init_abi): Add calls to | |
1055 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
1056 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
1057 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
1058 | * syscalls/mips-n32-linux.xml: New file. | |
1059 | * syscalls/mips-n64-linux.xml: New file. | |
1060 | * syscalls/mips-o32-linux.xml: New file. | |
1061 | ||
9277c30c UW |
1062 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
1063 | ||
1064 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
1065 | Complain about inverted range entries. | |
1066 | (dwarf2_record_block_ranges): Likewise. | |
1067 | ||
a3be7890 TJB |
1068 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1069 | ||
1070 | Fix some typos. | |
1071 | * breakpoint.c (update_watchpoint): Fix name of the | |
1072 | update_global_location_list function. | |
1073 | (print_one_breakpoint): Fix typo. | |
1074 | (_initialize_breakpoint): Remove extra space in hbreak help | |
1075 | string. | |
1076 | * breakpoint.h (struct bp_location) <length>: Fix field | |
1077 | description. | |
1078 | ||
041274d8 PA |
1079 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
1080 | ||
1081 | * regcache.c (registers_changed_ptid): Don't explictly always | |
1082 | clear `current_regcache'. Only clear current_thread_ptid and | |
1083 | current_thread_arch when PTID matches. Only reinit the frame | |
1084 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
1085 | call to ... | |
1086 | (registers_changed): ... here. | |
1087 | ||
c1c2ab58 UW |
1088 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
1089 | ||
1090 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
1091 | starts with __stack_chk_guard as stack guard symbol. | |
1092 | ||
9011945e AB |
1093 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
1094 | ||
1095 | * disasm.c (compare_lines): Handle the end of sequence markers | |
1096 | within the line table to better support disassembling over | |
1097 | compilation unit boundaries. | |
1098 | ||
e0634ccf UW |
1099 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
1100 | ||
1101 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
1102 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
1103 | implementation even if no symbols are available. | |
1104 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
1105 | (arm_analyze_prologue): Likewise. | |
1106 | ||
0e9e9abd UW |
1107 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
1108 | ||
1109 | * arm-tdep.c: Include "observer.h". | |
1110 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
1111 | (arm_exidx_data_key): New static variable. | |
1112 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
1113 | (struct arm_exidx_data): Likewise. | |
1114 | (arm_exidx_data_free): New function. | |
1115 | (arm_compare_exidx_entries): Likewise. | |
1116 | (arm_obj_section_from_vma): Likewise. | |
1117 | (arm_exidx_new_objfile): Likewise. | |
1118 | (arm_find_exidx_entry): Likewise. | |
1119 | (arm_exidx_fill_cache): Likewise. | |
1120 | (arm_exidx_unwind_sniffer): Likewise. | |
1121 | (arm_exidx_unwind): New global variable. | |
1122 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
1123 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
1124 | observer. Register arm_exidx_data_key as objfile data. | |
1125 | ||
2e9e421f UW |
1126 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
1127 | ||
1128 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
1129 | due to accessing uninitialized variable. Fix indentation. | |
1130 | ||
580688f3 PA |
1131 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
1132 | ||
1133 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
1134 | adjustment, create a new value with adjusted contents rather than | |
1135 | changing the contents of the value being printed (and getting it | |
1136 | wrong). | |
1137 | ||
3d2c1d41 PA |
1138 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
1139 | ||
1140 | * xml-support.c (xml_find_attribute): New. | |
1141 | (xinclude_start_include): Use it. | |
1142 | * xml-support.h (xml_find_attribute): Declare. | |
1143 | * memory-map.c (memory_map_start_memory) | |
1144 | (memory_map_start_property): Use xml_find_attribute. | |
1145 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
1146 | xml_find_attribute. | |
1147 | * remote.c (start_thread): Use xml_find_attribute. | |
1148 | * solib-target.c (library_list_start_segment) | |
1149 | (library_list_start_section, library_list_start_library) | |
1150 | (library_list_start_list): Use xml_find_attribute. | |
1151 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
1152 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
1153 | (tdesc_start_field): Use xml_find_attribute. | |
1154 | ||
0af3e2db UW |
1155 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
1156 | ||
1157 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
1158 | (BUILD_OCL_VTYPES): Update. | |
1159 | ||
c1039e3c JB |
1160 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
1161 | ||
1162 | * configure.ac: Work around non-GNU sed limitation when computing | |
1163 | python version number. | |
1164 | * configure: Regenerate. | |
1165 | ||
600ea1be JK |
1166 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1167 | ||
1168 | Fix debug printing of TYPE_INSTANCE. | |
1169 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
1170 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
1171 | ||
56c12414 JK |
1172 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1173 | ||
1174 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
1175 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
1176 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
1177 | * ada-operator.inc: Rename the file to ... | |
1178 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
1179 | * expprint.c (op_name_standard): Remove all the entries. Include | |
1180 | "std-operator.def" instead. | |
1181 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
1182 | "ada-operator.def". Move all the entries ... | |
1183 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
1184 | ||
c52b559d PP |
1185 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
1186 | ||
1187 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
1188 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
1189 | * jit.c (jit_descriptor_addr): Delete. | |
1190 | (registering_code): Delete. | |
1191 | (clear_int): Delete. | |
1192 | (jit_inferior_data): New variable. | |
1193 | (struct jit_inferior_data): New type. | |
1194 | (get_jit_inferior_data): New function. | |
1195 | (jit_inferior_data_cleanup): New function. | |
1196 | (jit_read_descriptor): Adjust. | |
1197 | (jit_register_code): Adjust. | |
1198 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
1199 | (jit_inferior_init): ... from here. | |
1200 | (jit_breakpoint_re_set): Adjust. | |
1201 | (jit_reset_inferior_data_and_breakpoints): New function. | |
1202 | (jit_inferior_created_observer): Adjust. | |
1203 | (jit_inferior_exit_hook): Adjust. | |
1204 | (jit_executable_changed_observer): New function. | |
1205 | (jit_event_handler): Adjust. | |
1206 | (_initialize_jit): Adjust. | |
1207 | ||
e839132d MS |
1208 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
1209 | ||
1210 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
1211 | line. | |
1212 | ||
47a80e90 TT |
1213 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
1214 | ||
1215 | PR python/12216: | |
1216 | * python/python.c (execute_gdb_command): Call | |
1217 | prevent_dont_repeat. | |
1218 | * top.c (suppress_dont_repeat): New global. | |
1219 | (dont_repeat): Use it. | |
1220 | (prevent_dont_repeat): New function. | |
1221 | * command.h (prevent_dont_repeat): Declare. | |
1222 | ||
45a43567 TT |
1223 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
1224 | ||
1225 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
1226 | * python/py-breakpoint.c (bppy_set_silent): Use | |
1227 | breakpoint_set_silent. | |
1228 | (bppy_set_thread): Use breakpoint_set_thread. | |
1229 | (bppy_set_task): Use breakpoint_set_task. | |
1230 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
1231 | (breakpoint_set_task): Declare. | |
1232 | (make_breakpoint_silent): Remove. | |
1233 | * breakpoint.c (breakpoint_set_silent): New function. | |
1234 | (breakpoint_set_thread): Likewise. | |
1235 | (breakpoint_set_task): Likewise. | |
1236 | (make_breakpoint_silent): Remove. | |
1237 | ||
09d682a4 TT |
1238 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
1239 | ||
1240 | * breakpoint.h (user_breakpoint_p): Declare. | |
1241 | * breakpoint.c (user_breakpoint_p): New function. | |
1242 | (breakpoint_1): Use it. | |
1243 | (save_breakpoints): Likewise. | |
1244 | ||
9c4ea6c5 JB |
1245 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1246 | ||
1247 | * configure.ac: Add handling of Python distribution on Windows. | |
1248 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
1249 | sysconfig variables are not defined, then do not use them. | |
1250 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
1251 | instead. On Windows, return all paths using forward-slashes | |
1252 | rather than backslashes. | |
1253 | ||
ac534cba JB |
1254 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1255 | ||
1256 | * configure.ac: Remove fallback behavior for building | |
1257 | against Python. Remove tweaking of Python include path. | |
1258 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
1259 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
1260 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
1261 | Always restore CPPFLAGS and LIBS after linking test. | |
1262 | * configure: Regenerated. | |
1263 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
1264 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
1265 | * python/python-internal.h: Adjust includes of Python .h files. | |
1266 | ||
c2f0d045 JB |
1267 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1268 | ||
1269 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
1270 | in error message. | |
1271 | ||
6b0c4c1f JB |
1272 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1273 | ||
1274 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
1275 | value test. | |
1276 | ||
672c9795 YQ |
1277 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
1278 | ||
1279 | * arm-linux-nat.c: Update calls to regcache_register_status | |
1280 | instead of regcache_valid_p. | |
1281 | * aix-thread.c: Likewise. | |
1282 | * i386gnu-nat.c: Likewise. | |
1283 | ||
80b23b6a JK |
1284 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1285 | ||
1286 | Fix crash. | |
1287 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
1288 | touching TYPE_FIELD_ARTIFICIAL. | |
1289 | ||
4cd712bd RE |
1290 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
1291 | ||
1292 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
1293 | Committers. | |
1294 | ||
ffd5ec24 PA |
1295 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
1296 | ||
1297 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
1298 | selected, don't try iterating over the traceframe's blocks. | |
1299 | (tfile_has_stack): If there's no traceframe selected, then there's | |
1300 | no stack. | |
1301 | (tfile_has_registers): If there's no traceframe selected, then | |
1302 | there's no registers. | |
1303 | ||
e8c9e0a1 PA |
1304 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
1305 | ||
1306 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
1307 | haven't read anything. | |
1308 | ||
de15c4ab PA |
1309 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
1310 | ||
1311 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
1312 | and val_print_scalar_formatted. | |
1313 | ||
9f41c731 PA |
1314 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
1315 | ||
1316 | * tracepoint.c (tfile_read): New. | |
1317 | (tfile_open): Use it. | |
1318 | (tfile_get_traceframe_address): Use it. | |
1319 | (tfile_trace_find): Use it. | |
1320 | (walk_blocks_callback_func): New typedef. | |
1321 | (match_blocktype): New function. | |
1322 | (traceframe_walk_blocks): New function. | |
1323 | (traceframe_find_block_type): New function. | |
1324 | (tfile_fetch_registers, tfile_xfer_partial) | |
1325 | (tfile_get_trace_state_variable_value): Use | |
1326 | traceframe_find_block_type and tfile_read. | |
1327 | ||
cdefc55d KB |
1328 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
1329 | ||
1330 | * remote-mips.c: Add internationalization mark ups. Remove | |
1331 | trailing \n from already marked up strings. | |
1332 | ||
a81766d8 TT |
1333 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
1334 | ||
1335 | * python/py-prettyprint.c (print_string_repr): Clear | |
1336 | 'addressprint' option when calling val_print_string. | |
1337 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
1338 | option when calling val_print_string. | |
1339 | ||
74aedc46 TT |
1340 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
1341 | ||
1342 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
1343 | GDB_PY_LL_ARG. | |
1344 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
1345 | macros. | |
1346 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
1347 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
1348 | (gdb_py_long_as_ulongest): New defines. | |
1349 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
1350 | (gdb_py_int_as_long): Declare. | |
1351 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
1352 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
1353 | (valpy_long): Add comment. | |
1354 | * python/py-utils.c (get_addr_from_python): Use | |
1355 | gdb_py_long_as_ulongest. Handle overflow properly. | |
1356 | (gdb_py_object_from_longest): New function. | |
1357 | (gdb_py_object_from_ulongest): Likewise. | |
1358 | (gdb_py_int_as_long): Likewise. | |
1359 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
1360 | * python/py-symtab.c (salpy_get_pc): Use | |
1361 | gdb_py_long_from_ulongest. | |
1362 | (salpy_get_line): Use PyInt_FromLong. | |
1363 | * python/py-param.c (set_parameter_value): Use | |
1364 | gdb_py_int_as_long. | |
1365 | * python/py-lazy-string.c (stpy_get_address): Use | |
1366 | gdb_py_long_from_ulongest. | |
1367 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
1368 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
1369 | * python/py-breakpoint.c (bppy_set_thread): Use | |
1370 | gdb_py_int_as_long. | |
1371 | (bppy_set_task): Likewise. | |
1372 | (bppy_set_ignore_count): Likewise. | |
1373 | (bppy_set_hit_count): Likewise. | |
1374 | * python/py-block.c (blpy_get_start): Use | |
1375 | gdb_py_object_from_ulongest. | |
1376 | (blpy_get_end): Likewise. | |
1377 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
1378 | ||
e4f6d2ec TJB |
1379 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
1380 | ||
1381 | PR/symtab 11766: | |
1382 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
1383 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
1384 | equality test for objfile, initialize addr_low if needed. | |
1385 | ||
b30aa278 PA |
1386 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1387 | ||
1388 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
1389 | ||
ab2188aa PA |
1390 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1391 | ||
1392 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
1393 | instead of print_scalar_formatted. | |
1394 | (print_scalar_formatted): Don't handle 's' format strings here, | |
1395 | and add an assertion that we never see such format here. | |
1396 | * valprint.h (val_print_scalar_formatted): Declare. | |
1397 | * valprint.c (val_print_scalar_formatted): New. | |
1398 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
1399 | instead of print_scalar_formatted. | |
1400 | * jv-valprint.c (java_val_print): Ditto. | |
1401 | * p-valprint.c (pascal_val_print): Ditto. | |
1402 | * ada-valprint.c (ada_val_print_1): Ditto. | |
1403 | * f-valprint.c (f_val_print): Ditto. | |
1404 | * infcmd.c (registers_info): Ditto. | |
1405 | * m2-valprint.c (m2_val_print): Ditto. | |
1406 | ||
66d61a4c PA |
1407 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1408 | ||
1409 | * m2-valprint.c (print_unbounded_array): Pass | |
1410 | value_contents_for_printing rather than value_contents, to | |
1411 | m2_print_array_contents. Also pass in the value. | |
1412 | ||
831adc1f JK |
1413 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
1414 | ||
1415 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
1416 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
1417 | ||
20622269 PA |
1418 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1419 | ||
1420 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
1421 | than frame_register, and always pass a valid value to val_print. | |
1422 | ||
585fdaa1 PA |
1423 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1424 | ||
1425 | Centralize printing "<optimized out>". | |
1426 | ||
1427 | * valprint.h (val_print_optimized_out): Declare. | |
1428 | * cp-valprint.c (cp_print_value_fields): Use | |
1429 | val_print_optimized_out. | |
1430 | * jv-valprint.c (java_print_value_fields): Ditto. | |
1431 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
1432 | * printcmd.c (print_formatted): Ditto. | |
1433 | * valprint.c (valprint_check_validity): Ditto. | |
1434 | (value_check_printable): Ditto. | |
1435 | (val_print_optimized_out): New. | |
1436 | ||
29ec5263 PA |
1437 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1438 | ||
1439 | * infcmd.c (default_print_registers_info): Allocate values so to | |
1440 | never pass a NULL value to val_print. | |
1441 | ||
de4127a3 PA |
1442 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1443 | ||
1444 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
1445 | boolean. Make sure to always pass a value that matches the | |
1446 | contents buffer to callees. Preserve `address' for following | |
1447 | iterations. | |
1448 | * value.c (value_contents_for_printing_const): New. | |
1449 | (value_address): Constify value argument. | |
1450 | * value.h (value_contents_for_printing_const): Declare. | |
1451 | (value_address): Constify value argument. | |
1452 | ||
ee99023e PA |
1453 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1454 | ||
1455 | * regcache.c (struct regcache_descr): Rename | |
1456 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
1457 | and sizeof_cooked_register_valid_p to | |
1458 | sizeof_cooked_register_status. | |
1459 | (init_regcache_descr): Adjust. | |
1460 | (struct regcache): Rename register_valid_p field to | |
1461 | register_status. | |
1462 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
1463 | (do_cooked_read): Adjust. | |
1464 | (regcache_valid_p): Rename to ... | |
1465 | (regcache_register_status): ... this. Adjust. | |
1466 | (regcache_invalidate): Adjust. | |
1467 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
1468 | Adjust. | |
1469 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
1470 | as unavailable, not valid. | |
1471 | (regcache_dump): Adjust. | |
1472 | * regcache.h (enum register_status): New. | |
1473 | (regcache_register_status): Declare. | |
1474 | (regcache_invalidate): Delete declaration. | |
1475 | * corelow.c (get_core_registers): Adjust. | |
1476 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
1477 | * trad-frame.c (REG_VALUE): Rename to ... | |
1478 | (TF_REG_VALUE): ... this. | |
1479 | (REG_UNKNOWN): Rename to ... | |
1480 | (TF_REG_UNKNOWN): ... this. | |
1481 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
1482 | * mi/mi-main.c (register_changed_p): Adjust. | |
1483 | ||
99e42fd8 PA |
1484 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1485 | ||
1486 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
1487 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
1488 | overallocate hack. | |
1489 | (regcache_xmalloc): Rename to ... | |
1490 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
1491 | Allocate the regcache type accordingly. | |
1492 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
1493 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
1494 | cooked registers, not raw. | |
1495 | (regcache_dup_no_passthrough): Delete. | |
1496 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
1497 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
1498 | mention obsolete write_register_bytes. | |
1499 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
1500 | ||
f7605bc2 PA |
1501 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1502 | ||
1503 | Stop remote_read_bytes from handling partial reads itself. | |
1504 | ||
1505 | * remote-fileio.c: Include target.h. | |
1506 | (remote_fileio_write_bytes): Delete. | |
1507 | (remote_fileio_func_open, remote_fileio_func_write) | |
1508 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
1509 | target_read_memory. | |
1510 | (remote_fileio_func_stat): Use target_read_memory and | |
1511 | target_write_memory. | |
1512 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
1513 | (remote_fileio_func_system): Use target_read_memory. | |
1514 | * remote.c (remote_write_bytes): Make it static. | |
1515 | (remote_read_bytes): Don't handle partial reads here. | |
1516 | * remote.h (remote_read_bytes): Delete declaration. | |
1517 | ||
efc0eabd PA |
1518 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1519 | ||
1520 | Simplify XML parsing a bit. | |
1521 | ||
1522 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
1523 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
1524 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
1525 | parameter. | |
1526 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
1527 | gdb_xml_create_parser_and_cleanup_1. | |
1528 | (gdb_xml_parse_quick): New. | |
1529 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
1530 | * osdata.c (osdata_parse): Ditto. | |
1531 | * remote.c (remote_threads_info): Ditto. | |
1532 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
1533 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
1534 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
1535 | ||
314d366a KB |
1536 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
1537 | ||
1538 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
1539 | with remote-mips.o added to gdb_target_obs. | |
1540 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
1541 | ||
a491d753 PA |
1542 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
1543 | ||
1544 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
1545 | correct struct value to val_print. | |
1546 | (ada_val_print_1): Ditto. | |
1547 | ||
490f124f PA |
1548 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
1549 | ||
1550 | Don't lose embedded_offset in printing routines throughout. | |
1551 | ||
1552 | * valprint.h (val_print_array_elements): Change prototype. | |
1553 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
1554 | parameter, and adjust to pass it down to val_print, while passing | |
1555 | `valaddr' or `address' unmodified. Take embedded_offset into | |
1556 | account when checking repetitions. | |
1557 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
1558 | val_print_array_elements instead of adjusting `valaddr' and | |
1559 | `address'. | |
1560 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
1561 | embedded_offset to val_print_array_elements instead of adjusting | |
1562 | `valaddr'. | |
1563 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
1564 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
1565 | val_print_array_elements and pascal_object_print_value_fields | |
1566 | instead of adjusting `valaddr'. | |
1567 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
1568 | adjust to use it. | |
1569 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
1570 | use it. | |
1571 | (pascal_object_print_static_field): Use | |
1572 | value_contents_for_printing/value_embedded_offset, rather than | |
1573 | value_contents. | |
1574 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
1575 | parameter, and adjust to use it. Use | |
1576 | value_contents_for_printing/value_embedded_offset, rather than | |
1577 | value_contents. | |
1578 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
1579 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
1580 | it. | |
1581 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
1582 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
1583 | Instead work with offsets. Use | |
1584 | value_contents_for_printing/value_embedded_offset, rather than | |
1585 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
1586 | and use value_from_pointer to extract a target pointer, rather | |
1587 | than value_from_longest. | |
1588 | (print_variant_part): Add `offset' parameter. Replace | |
1589 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
1590 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1591 | (ada_value_print): Use | |
1592 | value_contents_for_printing/value_embedded_offset, rather than | |
1593 | value_contents. | |
1594 | (print_record): Add `offset' parameter, and adjust to pass it | |
1595 | down. | |
1596 | (print_field_values): Add `offset' parameter. Replace | |
1597 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
1598 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1599 | Use value_contents_for_printing/value_embedded_offset, rather than | |
1600 | value_contents. | |
1601 | * d-valprint.c (dynamic_array_type): Use | |
1602 | value_contents_for_printing/value_embedded_offset, rather than | |
1603 | value_contents. | |
1604 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
1605 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1606 | (java_print_value_fields): Take `offset' into account. Don't | |
1607 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1608 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
1609 | java_print_value_fields. | |
1610 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
1611 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
1612 | down adjusted offsets. | |
1613 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
1614 | (f_val_print): Take `embedded_offset' into account. | |
1615 | ||
7bfc9434 JB |
1616 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
1617 | ||
1618 | * inflow.c: Include "gdbcmd.h". | |
1619 | (interactive_mode): New static global, moved here from top.c. | |
1620 | (show_interactive_mode): New function, moved here from top.c. | |
1621 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
1622 | determine the current mode. | |
1623 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
1624 | setting. | |
1625 | (_initialize_inflow): Add the "set/show interactive-mode" | |
1626 | commands. Moved here from top.c, after having adjusted slightly | |
1627 | the help text. | |
1628 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
1629 | to inflow.c. | |
1630 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
1631 | setting, moved to infow.c. | |
1632 | (init_main): Remove creation of the "set/show interactive-mode" | |
1633 | commands, moved to inflow.c. | |
1634 | ||
44603653 JB |
1635 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
1636 | ||
1637 | * NEWS: Add entry for native ia64-hpux support. | |
1638 | ||
4694da01 TT |
1639 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
1640 | ||
1641 | PR mi/8618: | |
1642 | * thread.c (free_thread): Free 'name'. | |
1643 | (print_thread_info): Emit thread name. Change CLI output. | |
1644 | (thread_name_command): New function. | |
1645 | (do_captured_thread_select): Emit newline. | |
1646 | (_initialize_thread): Register 'thread name' command. | |
1647 | * target.h (struct target_ops) <to_thread_name>: New field. | |
1648 | (target_thread_name): New macro. | |
1649 | * target.c (update_current_target): Handle to_thread_name. | |
1650 | * python/py-infthread.c (thpy_get_name): New function. | |
1651 | (thpy_set_name): Likewise. | |
1652 | (thread_object_getset): Add "name". | |
1653 | * linux-nat.c (linux_nat_thread_name): New function. | |
1654 | (linux_nat_add_target): Set to_thread_name. | |
1655 | * gdbthread.h (struct thread_info) <name>: New field. | |
1656 | ||
10d44370 JB |
1657 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
1658 | ||
1659 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
1660 | (ada_val_print_1): Likewise. | |
1661 | ||
e3acb115 JB |
1662 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
1663 | ||
1664 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
1665 | upper limit address is not greater than the function end address | |
1666 | when the upper limit could not be computed using the debugging | |
1667 | info. | |
1668 | ||
dc92e161 TT |
1669 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
1670 | ||
1671 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
1672 | get_regcomp_error. | |
1673 | * utils.c: Include gdb_regex.h. | |
1674 | (do_regfree_cleanup): New function. | |
1675 | (make_regfree_cleanup): Likewise. | |
1676 | (get_regcomp_error): Likewise. | |
1677 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
1678 | ||
f55af66d TT |
1679 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
1680 | ||
1681 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
1682 | re_compile_fastmap. | |
1683 | ||
a5a44b53 PM |
1684 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
1685 | ||
1686 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
1687 | for internal variables. | |
1688 | (last_was_structop): New static variable. | |
1689 | (COMPLETE): New token. | |
1690 | (field_exp): New rule to group all '.' suffix handling. | |
1691 | Add mark_struct_expression calls when approriate to be able | |
1692 | to correctly find fields for completion. | |
1693 | (yylex): Adapt to handle field completion and set INTVAR when | |
1694 | required. | |
1695 | ||
2c291032 YQ |
1696 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
1697 | ||
1698 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
1699 | save_reggroup, restore_reggroup and all_reggroup. | |
1700 | ||
447b483c JB |
1701 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
1702 | ||
1703 | * ada-valprint. (ada_printchar): Use the correct type length | |
1704 | in call to ada_emit_char. | |
1705 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
1706 | ||
7b64a93b PM |
1707 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
1708 | ||
1709 | * solib-som.h (hpux_major_release): Declare variable here. | |
1710 | * solib-som.c: Remove <sys/utsname.h> header. | |
1711 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
1712 | (hpux_major_release): Make global, change default value to | |
1713 | DEFAULT_HPUX_MAJOR_RELEASE. | |
1714 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. | |
1715 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. | |
1716 | Add "solib-som.h" header. | |
1717 | (set_hpux_major_release): New function. | |
1718 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
1719 | ||
4e18c053 MF |
1720 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
1721 | ||
1722 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
1723 | ||
a9df6b22 JB |
1724 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
1725 | ||
1726 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
1727 | new-line at end of warning message. | |
1728 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
1729 | error message. | |
1730 | * ia64-hpux-tdep.c: Rephrase comment. | |
1731 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
1732 | dld_flags from "long long" to ULONGEST. | |
1733 | ||
ecb956dd PA |
1734 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
1735 | ||
1736 | * target.h (deprecated_child_ops): Delete declaration. | |
1737 | * target.c (deprecated_child_ops): Delete definition. | |
1738 | ||
76adfcae PA |
1739 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
1740 | ||
1741 | * Makefile.in (hpux-thread.o): Delete rule. | |
1742 | * configure.ac: Don't check for HPUX DCE threads support. | |
1743 | * configure, config.in: Regenerate. | |
1744 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
1745 | (hppa_hpux_child_can_run): Delete. | |
1746 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
1747 | * hpux-thread.c: Delete. | |
1748 | ||
042e866e JB |
1749 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1750 | ||
1751 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
1752 | ||
4ffa5a33 JB |
1753 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1754 | ||
1755 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
1756 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
1757 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
1758 | ||
de8fa76c JB |
1759 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1760 | ||
1761 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
1762 | to the case where instream is stdin. | |
1763 | ||
c4de7027 JB |
1764 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1765 | ||
1766 | * ia64-tdep.h (struct regcache): Forward declare. | |
1767 | (struct ia64_infcall_ops): New struct type. | |
1768 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
1769 | and "infcall_ops". | |
1770 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
1771 | Renames ia64_find_global_pointer. | |
1772 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
1773 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
1774 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
1775 | methods. | |
1776 | (ia64_infcall_ops): New static global constant. | |
1777 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
1778 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
1779 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
1780 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
1781 | (ia64_hpux_dummy_code): New static global constant. | |
1782 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
1783 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
1784 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
1785 | New function. | |
1786 | (ia64_hpux_infcall_ops): New static global constant. | |
1787 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
1788 | for inferior function calls to work properly on ia64-hpux. | |
1789 | ||
77ca787b JB |
1790 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1791 | ||
1792 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
1793 | * ia64-tdep.h (struct frame_info): forward declaration. | |
1794 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
1795 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
1796 | to determine the size of the register frame. | |
1797 | (ia64_size_of_register_frame): New function. | |
1798 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
1799 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
1800 | (IA64_HPUX_UREG_REASON): New macro. | |
1801 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
1802 | New functions. | |
1803 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
1804 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
1805 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
1806 | objects. | |
1807 | ||
92c9a463 JB |
1808 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1809 | ||
1810 | Add support for ia64-hpux. | |
1811 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
1812 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
1813 | ||
1814 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
1815 | floatformats. | |
1816 | * configure.tgt: Add handling for ia64-hpux targets. | |
1817 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
1818 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
1819 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
1820 | ||
f688d93f JB |
1821 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1822 | ||
1823 | [ttrace] Compute thread list immediately after attach. | |
1824 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
1825 | New subprogram. | |
1826 | (inf_ttrace_attach): Use it. | |
1827 | ||
1b89e62f JB |
1828 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1829 | ||
1830 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
1831 | if we could not determine the frame's function address. Instead, | |
1832 | use the frame's PC, and then continue. | |
1833 | ||
3e5e6e2a JB |
1834 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1835 | ||
1836 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
1837 | not already defined. | |
1838 | ||
825d6d8a JB |
1839 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1840 | ||
1841 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
1842 | (ia64_extract_return_value): Handle integral values that are | |
1843 | less than 8 bytes long. | |
1844 | (ia64_push_dummy_call): Likewise. | |
1845 | ||
7458e667 JB |
1846 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1847 | ||
1848 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
1849 | floatformat_ia64_ext. | |
1850 | (floatformat_ia64_ext_big): New static const. | |
1851 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
1852 | ||
1b05df00 TT |
1853 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
1854 | ||
1855 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
1856 | messages. | |
1857 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
1858 | (mi_cmd_thread_list_ids): Likewise. | |
1859 | (mi_cmd_data_list_changed_registers): Likewise. | |
1860 | (mi_cmd_data_list_register_values): Likewise. | |
1861 | (mi_cmd_data_write_register_values): Likewise. | |
1862 | (mi_cmd_data_evaluate_expression): Likewise. | |
1863 | (mi_cmd_data_read_memory): Likewise. | |
1864 | (mi_cmd_data_read_memory_bytes): Likewise. | |
1865 | (mi_cmd_data_write_memory): Likewise. | |
1866 | (mi_cmd_enable_timings): Likewise. | |
1867 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
1868 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
1869 | (mi_cmd_var_delete): Likewise. | |
1870 | (mi_cmd_var_set_format): Likewise. | |
1871 | (mi_cmd_var_show_format): Likewise. | |
1872 | (mi_cmd_var_info_num_children): Likewise. | |
1873 | (mi_cmd_var_list_children): Likewise. | |
1874 | (mi_cmd_var_info_type): Likewise. | |
1875 | (mi_cmd_var_info_expression): Likewise. | |
1876 | (mi_cmd_var_show_attributes): Likewise. | |
1877 | (mi_cmd_var_assign): Likewise. | |
1878 | (mi_cmd_var_update): Likewise. | |
1879 | (mi_cmd_enable_pretty_printing): Likewise. | |
1880 | (mi_cmd_var_set_update_range): Likewise. | |
1881 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
1882 | messages. | |
1883 | (mi_cmd_target_file_put): Likewise. | |
1884 | (mi_cmd_target_file_delete): Likewise. | |
1885 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
1886 | messages. | |
1887 | (mi_cmd_stack_info_depth): Likewise. | |
1888 | (mi_cmd_stack_list_locals): Likewise. | |
1889 | (mi_cmd_stack_list_args): Likewise. | |
1890 | (mi_cmd_stack_select_frame): Likewise. | |
1891 | (mi_cmd_stack_select_frame): Likewise. | |
1892 | (mi_cmd_stack_info_frame): Likewise. | |
1893 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
1894 | messages. | |
1895 | (mi_cmd_file_list_exec_source_files): Likewise. | |
1896 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
1897 | (mi_cmd_env_cd): Likewise. | |
1898 | (mi_cmd_env_path): Likewise. | |
1899 | (mi_cmd_env_dir): Likewise. | |
1900 | (mi_cmd_inferior_tty_show): Likewise. | |
1901 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
1902 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
1903 | (mi_cmd_break_watch): Likewise. | |
1904 | ||
ad422571 TJB |
1905 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1906 | ||
1907 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
1908 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
1909 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
1910 | (ppc_linux_insert_watchpoint): Likewise. | |
1911 | ||
c2ff108b JK |
1912 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
1913 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
1914 | ||
1915 | PR fortran/11104 and DWARF unbound arrays detection. | |
1916 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
1917 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
1918 | unspecified upper bound. | |
1919 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
1920 | variables array_size_array, tmp_type and offset_item. New variable | |
1921 | array. Remove call to f77_get_upperbound. New variables array_type | |
1922 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
1923 | the final call to deprecated_set_value_type. | |
1924 | ||
41e8491f JK |
1925 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
1926 | ||
1927 | Make value allocations more lazy. | |
1928 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
1929 | instead of allocate_value and set_value_lazy when possible. | |
1930 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy | |
1931 | instead of allocate_value and set_value_lazy. | |
1932 | * findvar.c (value_of_register_lazy): Likewise. | |
1933 | (read_var_value): Remove V preallocation, call just check_typedef in | |
1934 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, | |
1935 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, | |
1936 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
1937 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
1938 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
1939 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
1940 | the end, remove set_value_lazy there. | |
1941 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
1942 | instead of allocate_value and set_value_lazy when possible. | |
1943 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
1944 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
1945 | of allocate_value and set_value_lazy. | |
1946 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
1947 | allocate_value and set_value_lazy when possible. | |
1948 | ||
b716877b AB |
1949 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
1950 | ||
1951 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
1952 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
1953 | dumping of instruction opcodes. | |
1954 | ||
d5ae309f JB |
1955 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
1956 | ||
1957 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
1958 | appropiately. | |
1959 | ||
98871305 TT |
1960 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
1961 | ||
1962 | * thread.c (do_captured_thread_select): Emit newline before | |
1963 | printing frame. | |
1964 | ||
c378eb4e MS |
1965 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
1966 | ||
1967 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
1968 | * score-tdep.c: Ditto. | |
1969 | * score-tdep.h: Ditto. | |
1970 | * ser-base.c: Ditto. | |
1971 | * ser-go32.c: Ditto. | |
1972 | * serial.c: Ditto. | |
1973 | * serial.h: Ditto. | |
1974 | * ser-mingw.c: Ditto. | |
1975 | * ser-pipe.c: Ditto. | |
1976 | * ser-tcp.c: Ditto. | |
1977 | * ser-unix.c: Ditto. | |
1978 | * sh64-tdep.c: Ditto. | |
1979 | * shnbsd-nat.c: Ditto. | |
1980 | * sh-tdep.c: Ditto. | |
1981 | * sh-tdep.h: Ditto. | |
1982 | * solib.c: Ditto. | |
1983 | * solib-darwin.c: Ditto. | |
1984 | * solib-frv.c: Ditto. | |
1985 | * solib.h: Ditto. | |
1986 | * solib-irix.c: Ditto. | |
1987 | * solib-osf.c: Ditto. | |
1988 | * solib-pa64.c: Ditto. | |
1989 | * solib-som.c: Ditto. | |
1990 | * solib-spu.c: Ditto. | |
1991 | * solib-sunos.c: Ditto. | |
1992 | * solib-svr4.c: Ditto. | |
1993 | * solist.h: Ditto. | |
1994 | * sol-thread.c: Ditto. | |
1995 | * somread.c: Ditto. | |
1996 | * source.c: Ditto. | |
1997 | * source.h: Ditto. | |
1998 | * sparc64-linux-tdep.c: Ditto. | |
1999 | * sparc64-tdep.c: Ditto. | |
2000 | * sparc-linux-nat.c: Ditto. | |
2001 | * sparc-linux-tdep.c: Ditto. | |
2002 | * sparc-sol2-nat.c: Ditto. | |
2003 | * sparc-sol2-tdep.c: Ditto. | |
2004 | * sparc-tdep.c: Ditto. | |
2005 | * sparc-tdep.h: Ditto. | |
2006 | * spu-tdep.c: Ditto. | |
2007 | * stabsread.c: Ditto. | |
2008 | * stabsread.h: Ditto. | |
2009 | * stack.c: Ditto. | |
2010 | * symfile.c: Ditto. | |
2011 | * symfile.h: Ditto. | |
2012 | * symmisc.c: Ditto. | |
2013 | * symtab.c: Ditto. | |
2014 | * symtab.h: Ditto. | |
2015 | * target.c: Ditto. | |
2016 | * target-descriptions.c: Ditto. | |
2017 | * target-descriptions.h: Ditto. | |
2018 | * target.h: Ditto. | |
2019 | * target-memory.c: Ditto. | |
2020 | * terminal.h: Ditto. | |
2021 | * thread.c: Ditto. | |
2022 | * top.c: Ditto. | |
2023 | * tracepoint.c: Ditto. | |
2024 | * tracepoint.h: Ditto. | |
2025 | * trad-frame.h: Ditto. | |
2026 | * typeprint.c: Ditto. | |
2027 | ||
581e13c1 MS |
2028 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
2029 | ||
2030 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
2031 | * ui-file.h: Ditto. | |
2032 | * ui-out.c: Ditto. | |
2033 | * ui-out.h: Ditto. | |
2034 | * utils.c: Ditto. | |
2035 | * v850-tdep.c: Ditto. | |
2036 | * valarith.c: Ditto. | |
2037 | * valops.c: Ditto. | |
2038 | * valprint.c: Ditto. | |
2039 | * valprint.h: Ditto. | |
2040 | * value.c: Ditto. | |
2041 | * value.h: Ditto. | |
2042 | * varobj.c: Ditto. | |
2043 | * varobj.h: Ditto. | |
2044 | * vax-tdep.c: Ditto. | |
2045 | * vec.c: Ditto. | |
2046 | * vec.h: Ditto. | |
2047 | * version.h: Ditto. | |
2048 | * windows-nat.c: Ditto. | |
2049 | * windows-tdep.c: Ditto. | |
2050 | * xcoffread.c: Ditto. | |
2051 | * xcoffsolib.c: Ditto. | |
2052 | * xml-support.c: Ditto. | |
2053 | * xstormy16-tdep.c: Ditto. | |
2054 | * xtensa-tdep.c: Ditto. | |
2055 | * xtensa-tdep.h: Ditto. | |
2056 | ||
90e4670f TJB |
2057 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2058 | ||
2059 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
2060 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
2061 | ||
e09342b5 TJB |
2062 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
2063 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
2064 | ||
2065 | Implement support for PowerPC BookE ranged watchpoints. | |
2066 | * breakpoint.h | |
2067 | (struct breakpoint_ops) <resources_needed>: New method. | |
2068 | Initialize to NULL in all existing breakpoint_ops instances. | |
2069 | (struct breakpoint) <exact>: New field. | |
2070 | (target_exact_watchpoints): Declare external global. | |
2071 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
2072 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
2073 | b->enable_state to bp_enabled before calling | |
2074 | hw_watchpoint_used_count. | |
2075 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
2076 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
2077 | if available. | |
2078 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
2079 | if the watchpoint is exact. | |
2080 | (resources_needed_watchpoint): New function. | |
2081 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
2082 | (watch_command_1): Set b->exact if the user asked for an exact | |
2083 | watchpoint and one can be set. | |
2084 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
2085 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
2086 | the user asks for an exact watchpoint and one can be set. Return | |
2087 | number of needed debug registers to watch the expression. | |
2088 | * gdbtypes.c (is_scalar_type): New function, based on | |
2089 | valprint.c:scalar_type_p. | |
2090 | (is_scalar_type_recursive): New function. | |
2091 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
2092 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
2093 | handle regions when ranged watchpoints are available. | |
2094 | (create_watchpoint_request): New function. | |
2095 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
2096 | create_watchpoint_request. | |
2097 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
2098 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
2099 | `set powerpc' and `show powerpc' commands. | |
2100 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
2101 | Mention documentation comment in the target macro. | |
2102 | (target_region_ok_for_hw_watchpoint): Document return value. | |
2103 | ||
9fa40276 TJB |
2104 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2105 | ||
2106 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
2107 | hardware watchpoint after the bp_locations are created. | |
2108 | ||
77b06cd7 TJB |
2109 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2110 | ||
2111 | Convert hardware watchpoints to use breakpoint_ops. | |
2112 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
2113 | <insert_location>: ... this. Return int instead of void. | |
2114 | Accept pointer to struct bp_location instead of pointer to | |
2115 | struct breakpoint. Adapt all implementations. | |
2116 | (breakpoint_ops) <remove>: Rename to... | |
2117 | <remove_location>: ... this. Accept pointer to struct bp_location | |
2118 | instead of pointer to struct breakpoint. Adapt all implementations. | |
2119 | * breakpoint.c (insert_catchpoint): Delete function. | |
2120 | (insert_bp_location): Call the watchpoint or catchpoint's | |
2121 | breakpoint_ops.insert method. | |
2122 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
2123 | breakpoint_ops.remove method. | |
2124 | (insert_watchpoint, remove_watchpoint): New functions. | |
2125 | (watchpoint_breakpoint_ops): New structure. | |
2126 | (watch_command_1): Initialize the OPS field. | |
2127 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
2128 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
2129 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
2130 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
2131 | Delete functions. | |
2132 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
2133 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
2134 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
2135 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
2136 | * target.c (update_current_target): Change default implementation of | |
2137 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
2138 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
2139 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
2140 | to_set_syscall_catchpoint to return_one. | |
2141 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
2142 | (debug_to_insert_exec_catchpoint): Report return value. | |
2143 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
2144 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
2145 | of void. | |
2146 | ||
9b20d036 MS |
2147 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
2148 | ||
2149 | * arm-tdep.c: Internationalization. | |
2150 | * c-lang.c: Ditto. | |
2151 | * charset.c: Ditto. | |
2152 | * fork-child.c: Ditto. | |
2153 | * nto-procfs.c: Ditto. | |
2154 | * ppc-sysv-tdep.c: Ditto. | |
2155 | * procfs.c: Ditto. | |
2156 | * remote-mips.c: Ditto. | |
2157 | * remote.c: Ditto. | |
2158 | * rs6000-nat.c: Ditto. | |
2159 | * rs6000-tdep.c: Ditto. | |
2160 | * target.c: Ditto. | |
2161 | * valops.c: Ditto. | |
2162 | * value.c: Ditto. | |
2163 | * xml-support.c: Ditto. | |
2164 | * mi/mi-cmd-break.c: Ditto. | |
2165 | * mi/mi-cmd-var.c: Ditto. | |
2166 | * mi/mi-interp.c: Ditto. | |
2167 | * mi/mi-main.c: Ditto. | |
2168 | ||
dae477fe AB |
2169 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
2170 | ||
2171 | * remote-sim.c (gdbsim_store_register): Update API to | |
2172 | sim_store_register to check more error conditions. | |
2173 | ||
0df8b418 MS |
2174 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
2175 | ||
2176 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
2177 | * nto-tdep.c: Ditto. | |
2178 | * nto-tdep.h: Ditto. | |
2179 | * objc-exp.y: Ditto. | |
2180 | * objc-lang.c: Ditto. | |
2181 | * objfiles.c: Ditto. | |
2182 | * objfiles.h: Ditto. | |
2183 | * observer.c: Ditto. | |
2184 | * opencl-lang.c: Ditto. | |
2185 | * osabi.c: Ditto. | |
2186 | * parse.c: Ditto. | |
2187 | * parser-defs.h: Ditto. | |
2188 | * p-exp.y: Ditto. | |
2189 | * p-lang.c: Ditto. | |
2190 | * posix-hdep.c: Ditto. | |
2191 | * ppcbug-rom.c: Ditto. | |
2192 | * ppc-linux-nat.c: Ditto. | |
2193 | * ppc-linux-tdep.c: Ditto. | |
2194 | * ppc-linux-tdep.h: Ditto. | |
2195 | * ppcnbsd-tdep.c: Ditto. | |
2196 | * ppcobsd-tdep.c: Ditto. | |
2197 | * ppcobsd-tdep.h: Ditto. | |
2198 | * ppc-sysv-tdep.c: Ditto. | |
2199 | * ppc-tdep.h: Ditto. | |
2200 | * printcmd.c: Ditto. | |
2201 | * proc-abi.c: Ditto. | |
2202 | * proc-flags.c: Ditto. | |
2203 | * procfs.c: Ditto. | |
2204 | * proc-utils.h: Ditto. | |
2205 | * progspace.h: Ditto. | |
2206 | * prologue-value.c: Ditto. | |
2207 | * prologue-value.h: Ditto. | |
2208 | * psympriv.h: Ditto. | |
2209 | * psymtab.c: Ditto. | |
2210 | * p-typeprint.c: Ditto. | |
2211 | * p-valprint.c: Ditto. | |
2212 | * ravenscar-sparc-thread.c: Ditto. | |
2213 | * ravenscar-thread.c: Ditto. | |
2214 | * ravenscar-thread.h: Ditto. | |
2215 | * record.c: Ditto. | |
2216 | * regcache.c: Ditto. | |
2217 | * regcache.h: Ditto. | |
2218 | * remote.c: Ditto. | |
2219 | * remote-fileio.c: Ditto. | |
2220 | * remote-fileio.h: Ditto. | |
2221 | * remote.h: Ditto. | |
2222 | * remote-m32r-sdi.c: Ditto. | |
2223 | * remote-mips.c: Ditto. | |
2224 | * remote-sim.c: Ditto. | |
2225 | * rs6000-aix-tdep.c: Ditto. | |
2226 | * rs6000-nat.c: Ditto. | |
2227 | * rs6000-tdep.c: Ditto. | |
2228 | ||
0d7a18f7 MS |
2229 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
2230 | ||
2231 | * charset.c (validate): Internationalization. | |
2232 | * coffread.c (read_one_sym): Ditto. | |
2233 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
2234 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
2235 | * inflow.c (new_tty): Ditto. | |
2236 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
2237 | * m32c-tdep.c (m32c_return_value): Ditto. | |
2238 | * mep-tdep.c (mep_store_return_value): Ditto. | |
2239 | * score-tdep.c (score7_fetch_insn): Ditto. | |
2240 | * ser-mingw.c (pipe_windows_open): Ditto. | |
2241 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
2242 | * spu-tdep.c (spu_register_type): Ditto. | |
2243 | * tracepoint.c (trace_find_command): Ditto. | |
2244 | * valarith.c (value_pos): Ditto. | |
2245 | ||
9a153e0b JB |
2246 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
2247 | ||
2248 | * ada-valprint.c (printstr): Minor comment reformatting. | |
2249 | ||
35ecd2d6 MS |
2250 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
2251 | ||
2252 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
2253 | markup. | |
2254 | ||
1777feb0 MS |
2255 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
2256 | ||
2257 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
2258 | * hppa-hpux-tdep.c: Ditto. | |
2259 | * hppa-linux-nat.c: Ditto. | |
2260 | * hppa-linux-tdep.c: Ditto. | |
2261 | * hppanbsd-tdep.c: Ditto. | |
2262 | * hppa-tdep.c: Ditto. | |
2263 | * hppa-tdep.h: Ditto. | |
2264 | * hpux-thread.c: Ditto. | |
2265 | * i386-cygwin-tdep.c: Ditto. | |
2266 | * i386-darwin-nat.c: Ditto. | |
2267 | * i386gnu-nat.c: Ditto. | |
2268 | * i386-linux-nat.c: Ditto. | |
2269 | * i386-linux-tdep.c: Ditto. | |
2270 | * i386-nat.c: Ditto. | |
2271 | * i386-nat.h: Ditto. | |
2272 | * i386nbsd-tdep.c: Ditto. | |
2273 | * i386-sol2-nat.c: Ditto. | |
2274 | * i386-stub.c: Ditto. | |
2275 | * i386-tdep.c: Ditto. | |
2276 | * i386-tdep.h: Ditto. | |
2277 | * i387-tdep.c: Ditto. | |
2278 | * ia64-linux-nat.c: Ditto. | |
2279 | * ia64-linux-tdep.c: Ditto. | |
2280 | * ia64-tdep.c: Ditto. | |
2281 | * infcall.c: Ditto. | |
2282 | * infcall.h: Ditto. | |
2283 | * infcmd.c: Ditto. | |
2284 | * inferior.c: Ditto. | |
2285 | * inferior.h: Ditto. | |
2286 | * infloop.c: Ditto. | |
2287 | * inflow.c: Ditto. | |
2288 | * infrun.c: Ditto. | |
2289 | * interps.c: Ditto. | |
2290 | * interps.h: Ditto. | |
2291 | * iq2000-tdep.c: Ditto. | |
2292 | * irix5-nat.c: Ditto. | |
2293 | * jit.c: Ditto. | |
2294 | * jit.h: Ditto. | |
2295 | * jv-exp.y: Ditto. | |
2296 | * jv-lang.c: Ditto. | |
2297 | * jv-lang.h: Ditto. | |
2298 | * jv-typeprint.c: Ditto. | |
2299 | * jv-valprint.c: Ditto. | |
2300 | * language.c: Ditto. | |
2301 | * language.h: Ditto. | |
2302 | * linespec.c: Ditto. | |
2303 | * linux-fork.c: Ditto. | |
2304 | * linux-nat.c: Ditto. | |
2305 | * linux-thread-db.c: Ditto. | |
2306 | * lm32-tdep.c: Ditto. | |
2307 | ||
025bb325 MS |
2308 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
2309 | ||
2310 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
2311 | * m2-lang.c: Ditto. | |
2312 | * m2-typeprint.c: Ditto. | |
2313 | * m2-valprint.c: Ditto. | |
2314 | * m32c-tdep.c: Ditto. | |
2315 | * m32r-linux-nat.c: Ditto. | |
2316 | * m32r-rom.c: Ditto. | |
2317 | * m32r-tdep.c: Ditto. | |
2318 | * m32r-tdep.h: Ditto. | |
2319 | * m68hc11-tdep.c: Ditto. | |
2320 | * m58klinux-nat.c: Ditto. | |
2321 | * m68k-tdep.c: Ditto. | |
2322 | * m88k-tdep.c: Ditto. | |
2323 | * m88k-tdep.h: Ditto. | |
2324 | * machoread.c: Ditto. | |
2325 | * macrocmd.c: Ditto. | |
2326 | * macroexp.c: Ditto. | |
2327 | * macrotab.c: Ditto. | |
2328 | * main.c: Ditto. | |
2329 | * maint.c: Ditto. | |
2330 | * mdebugread.c: Ditto. | |
2331 | * mdebugread.h: Ditto. | |
2332 | * memattr.c: Ditto. | |
2333 | * memattr.h: Ditto. | |
2334 | * memory-map.h: Ditto. | |
2335 | * mep-tdep.c: Ditto. | |
2336 | * microblaze-rom.c: Ditto. | |
2337 | * microblaze-tdep.c: Ditto. | |
2338 | * minsyms.c: Ditto. | |
2339 | * mips-irix-tdep.c: Ditto. | |
2340 | * mips-linux-nat.c: Ditto. | |
2341 | * mips-linux-tdep.c: Ditto. | |
2342 | * mips-linux-tdep.h: Ditto. | |
2343 | * mipsnbsd-nat.c: Ditto. | |
2344 | * mipsnbsd-tdep.c: Ditto. | |
2345 | * mipsread.c: Ditto. | |
2346 | * mips-tdep.c: Ditto. | |
2347 | * mips-tdep.h: Ditto. | |
2348 | * mn10300-linux-tdep.c: Ditto. | |
2349 | * mn10300-tdep.c: Ditto. | |
2350 | * mn10300-tdep.h: Ditto. | |
2351 | * monitor.c: Ditto. | |
2352 | * monitor.h: Ditto. | |
2353 | * moxie-tdep.c: Ditto. | |
2354 | * moxie-tdep.h: Ditto. | |
2355 | * mt-tdep.c: Ditto. | |
2356 | ||
1642781b MF |
2357 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
2358 | ||
2359 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
2360 | ||
394b0adb JB |
2361 | 2011-01-08 Robert Millan <rmh@gnu.org> |
2362 | ||
2363 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
2364 | ||
b670013c MS |
2365 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2366 | ||
2367 | * charset.c (_initialize_charset): Fix typo in string. | |
2368 | ||
a743e542 MS |
2369 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2370 | ||
2371 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
2372 | for i18n. | |
2373 | * tui/tui-layout.c (tui_set_layout_for_display_command): | |
2374 | Split line so that operator goes to beginning of line. | |
2375 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
2376 | assignment out of if statement. | |
2377 | ||
0963b4bd MS |
2378 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2379 | ||
2380 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
2381 | * ada-lang.h: Ditto. | |
2382 | * ada-tasks.c: Ditto. | |
2383 | * ada-valprint.c: Ditto. | |
2384 | * aix-threads.c: Ditto. | |
2385 | * alpha-linux-nat.c: Ditto. | |
2386 | * alpha-linux-tdep.c: Ditto. | |
2387 | * alpha-mdebug-tdep.c: Ditto. | |
2388 | * alpha-nat.c: Ditto. | |
2389 | * alpha-osf1-tdep.c: Ditto. | |
2390 | * alpha-tdep.c: Ditto. | |
2391 | * alphabsd-nat.c: Ditto. | |
2392 | * alphabsd-tdep.c: Ditto. | |
2393 | * amd64-darwin-tdep.c: Ditto. | |
2394 | * amd64-linux-nat.c: Ditto. | |
2395 | * amd64-linux-tdep.c: Ditto. | |
2396 | * amd64-sol2-tdep.c: Ditto. | |
2397 | * amd64-tdep.c: Ditto. | |
2398 | * amd64-fbsd-tdep.c: Ditto. | |
2399 | * amd64-nbsd-tdep.c: Ditto. | |
2400 | * amd64-obsd-tdep.c: Ditto. | |
2401 | * amd64-linux-nat.c: Ditto. | |
2402 | * amd64-linux-tdep.c: Ditto. | |
2403 | * arm-tdep.c: Ditto. | |
2404 | * arm-tdep.h: Ditto. | |
2405 | * armnbsd-nat.c: Ditto. | |
2406 | * avr-tdep.c: Ditto. | |
2407 | * bfin-tdep.c: Ditto. | |
2408 | * bsd-kvm.c: Ditto. | |
2409 | * c-typeprintc: Ditto. | |
2410 | * c-valprint.c: Ditto. | |
2411 | * coff-pe-read.h: Ditto. | |
2412 | * coffreead.c: Ditto. | |
2413 | * cris-tdep.c: Ditto. | |
2414 | * d-lang.c: Ditto. | |
2415 | * darwin-nat-info.c: Ditto. | |
2416 | * darwin-nat.c: Ditto. | |
2417 | * dbug-rom.c: Ditto. | |
2418 | * dbxread.c: Ditto. | |
2419 | * dcache.c: Ditto. | |
2420 | * dcache.h: Ditto. | |
2421 | * dec-thread.c: Ditto. | |
2422 | * defs.h: Ditto. | |
2423 | * demangle.c: Ditto. | |
2424 | * dicos-tdep.c: Ditto. | |
2425 | * dictionary.c: Ditto. | |
2426 | * dictionary.h: Ditto. | |
2427 | * dink32-rom.c: Ditto. | |
2428 | * disasm.c: Ditto. | |
2429 | * doublest.c: Ditto. | |
2430 | * dsrec.c: Ditto. | |
2431 | * dummy-frame.c: Ditto. | |
2432 | * dwarf2-frame.c: Ditto. | |
2433 | * dwarf2expr.c: Ditto. | |
2434 | * dwarf2loc.c: Ditto. | |
2435 | * dwarf2read.c: Ditto. | |
2436 | * elfread.c: Ditto. | |
2437 | * environ.c: Ditto. | |
2438 | * eval.c: Ditto. | |
2439 | * event-top.h: Ditto. | |
2440 | * exceptions.c: Ditto. | |
2441 | * exceptions.h: Ditto. | |
2442 | * exec.c: Ditto. | |
2443 | * expprint.c: Ditto. | |
2444 | * expression.h: Ditto. | |
2445 | * f-exp.y: Ditto. | |
2446 | * f-lang.c: Ditto. | |
2447 | * f-lang.h: Ditto. | |
2448 | * f-typeprint.c: Ditto. | |
2449 | * f-valprint.c: Ditto. | |
2450 | * fbsd-nat.c: Ditto. | |
2451 | * findvar.c: Ditto. | |
2452 | * fork-child.c: Ditto. | |
2453 | * frame.c: Ditto. | |
2454 | * frame.h: Ditto. | |
2455 | * frv-linux-tdep.c: Ditto. | |
2456 | * frv-tdep.c: Ditto. | |
2457 | * gcore.c: Ditto. | |
2458 | * gdb-stabs.h: Ditto. | |
2459 | * gdb_assert.h: Ditto. | |
2460 | * gdb_string.h: Ditto. | |
2461 | * gdb_thread_db.h: Ditto. | |
2462 | * gdb_wait.h: Ditto. | |
2463 | * gdbarch.sh: Ditto. | |
2464 | * gdbcore.h: Ditto. | |
2465 | * gdbthread.h: Ditto. | |
2466 | * gdbtypes.c: Ditto. | |
2467 | * gdbtypes.h: Ditto. | |
2468 | * gnu-nat.c: Ditto. | |
2469 | * gnu-nat.h: Ditto. | |
2470 | * gnu-v2-abi.c: Ditto. | |
2471 | * gnu-v3-abi.c: Ditto. | |
2472 | * go32-nat.c: Ditto. | |
2473 | * gdbarch.c: Regenerate. | |
2474 | * gdbarch.h: Regenerate. | |
2475 | ||
ac74f770 MS |
2476 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2477 | ||
2478 | * ax-gdb.c: Adjust some long output strings. | |
2479 | * breakpoint.c: Ditto. | |
2480 | * charset.c: Ditto. | |
2481 | * cp-abi.c: Ditto. | |
2482 | * infcall.c: Ditto. | |
2483 | * infrun.c: Ditto. | |
2484 | * linux-nat.c: Ditto. | |
2485 | * solib-pa64.c: Ditto. | |
2486 | * solib-som.c: Ditto. | |
2487 | ||
d8e22779 TT |
2488 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
2489 | ||
2490 | PR python/12367: | |
2491 | * NEWS: Add item. | |
2492 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
2493 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
2494 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
2495 | ||
a255712f PP |
2496 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
2497 | ||
2498 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
2499 | * jit.c (jit_debug): New variable. | |
2500 | (show_jit_debug): New function. | |
2501 | (struct target_buffer): Use ULONGEST. | |
2502 | (bfd_open_from_target_memory): Likewise. | |
2503 | (jit_register_code, jit_inferior_init): Add debug output. | |
2504 | (_initialize_jit): Register "debug jit" command. | |
2505 | ||
ccfc3d6e TT |
2506 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
2507 | ||
2508 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
2509 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
2510 | and ARCH_FRAME. | |
2511 | ||
57126e4a TT |
2512 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
2513 | ||
2514 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
2515 | ||
16dfc9ce JB |
2516 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2517 | ||
2518 | Do not stop on SIGPRIO signals by default | |
2519 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
2520 | signal_print for TARGET_SIGNAL_PRIO. | |
2521 | ||
b1ce2347 JB |
2522 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2523 | ||
2524 | * ada-tasks.c: Fix style violation in comment. | |
2525 | ||
8f7e195f JB |
2526 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2527 | ||
2528 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
2529 | at end of error string. | |
2530 | * solib-irix.c (irix_current_sos): Likewise. | |
2531 | * varobj.c (uninstall_variable): Likewise. | |
2532 | ||
e9bdf92c JB |
2533 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2534 | ||
2535 | * copyright.py: New script. | |
2536 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
2537 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
2538 | ||
3e43a32a MS |
2539 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
2540 | ||
2541 | * addrmap.c: Shorten lines of >= 80 columns. | |
2542 | * arch-utils.c: Ditto. | |
2543 | * arch-utils.h: Ditto. | |
2544 | * ax-gdb.c: Ditto. | |
2545 | * ax-general.c: Ditto. | |
2546 | * bcache.c: Ditto. | |
2547 | * blockframe.c: Ditto. | |
2548 | * breakpoint.c: Ditto. | |
2549 | * buildsym.c: Ditto. | |
2550 | * c-lang.c: Ditto. | |
2551 | * c-typeprint.c: Ditto. | |
2552 | * charset.c: Ditto. | |
2553 | * coffread.c: Ditto. | |
2554 | * command.h: Ditto. | |
2555 | * corelow.c: Ditto. | |
2556 | * cp-abi.c: Ditto. | |
2557 | * cp-namespace.c: Ditto. | |
2558 | * cp-support.c: Ditto. | |
2559 | * dbug-rom.c: Ditto. | |
2560 | * dbxread.c: Ditto. | |
2561 | * defs.h: Ditto. | |
2562 | * dfp.c: Ditto. | |
2563 | * dfp.h: Ditto. | |
2564 | * dictionary.c: Ditto. | |
2565 | * disasm.c: Ditto. | |
2566 | * doublest.c: Ditto. | |
2567 | * dwarf2-frame.c: Ditto. | |
2568 | * dwarf2expr.c: Ditto. | |
2569 | * dwarf2loc.c: Ditto. | |
2570 | * dwarf2read.c: Ditto. | |
2571 | * elfread.c: Ditto. | |
2572 | * eval.c: Ditto. | |
2573 | * event-loop.c: Ditto. | |
2574 | * event-loop.h: Ditto. | |
2575 | * exceptions.h: Ditto. | |
2576 | * exec.c: Ditto. | |
2577 | * expprint.c: Ditto. | |
2578 | * expression.h: Ditto. | |
2579 | * f-lang.c: Ditto. | |
2580 | * f-valprint.c: Ditto. | |
2581 | * findcmd.c: Ditto. | |
2582 | * frame-base.c: Ditto. | |
2583 | * frame-unwind.c: Ditto. | |
2584 | * frame-unwind.h: Ditto. | |
2585 | * frame.c: Ditto. | |
2586 | * frame.h: Ditto. | |
2587 | * gcore.c: Ditto. | |
2588 | * gdb-stabs.h: Ditto. | |
2589 | * gdb_assert.h: Ditto. | |
2590 | * gdb_dirent.h: Ditto. | |
2591 | * gdb_obstack.h: Ditto. | |
2592 | * gdbcore.h: Ditto. | |
2593 | * gdbtypes.c: Ditto. | |
2594 | * gdbtypes.h: Ditto. | |
2595 | * inf-ttrace.c: Ditto. | |
2596 | * infcall.c: Ditto. | |
2597 | * infcmd.c: Ditto. | |
2598 | * inflow.c: Ditto. | |
2599 | * infrun.c: Ditto. | |
2600 | * inline-frame.h: Ditto. | |
2601 | * language.c: Ditto. | |
2602 | * language.h: Ditto. | |
2603 | * libunwind-frame.c: Ditto. | |
2604 | * libunwind-frame.h: Ditto. | |
2605 | * linespec.c: Ditto. | |
2606 | * linux-nat.c: Ditto. | |
2607 | * linux-nat.h: Ditto. | |
2608 | * linux-thread-db.c: Ditto. | |
2609 | * machoread.c: Ditto. | |
2610 | * macroexp.c: Ditto. | |
2611 | * macrotab.c: Ditto. | |
2612 | * main.c: Ditto. | |
2613 | * maint.c: Ditto. | |
2614 | * mdebugread.c: Ditto. | |
2615 | * memattr.c: Ditto. | |
2616 | * minsyms.c: Ditto. | |
2617 | * monitor.c: Ditto. | |
2618 | * monitor.h: Ditto. | |
2619 | * objfiles.c: Ditto. | |
2620 | * objfiles.h: Ditto. | |
2621 | * osabi.c: Ditto. | |
2622 | * p-typeprint.c: Ditto. | |
2623 | * p-valprint.c: Ditto. | |
2624 | * parse.c: Ditto. | |
2625 | * printcmd.c: Ditto. | |
2626 | * proc-events.c: Ditto. | |
2627 | * procfs.c: Ditto. | |
2628 | * progspace.c: Ditto. | |
2629 | * progspace.h: Ditto. | |
2630 | * psympriv.h: Ditto. | |
2631 | * psymtab.c: Ditto. | |
2632 | * record.c: Ditto. | |
2633 | * regcache.c: Ditto. | |
2634 | * regcache.h: Ditto. | |
2635 | * remote-fileio.c: Ditto. | |
2636 | * remote.c: Ditto. | |
2637 | * ser-mingw.c: Ditto. | |
2638 | * ser-tcp.c: Ditto. | |
2639 | * ser-unix.c: Ditto. | |
2640 | * serial.c: Ditto. | |
2641 | * serial.h: Ditto. | |
2642 | * solib-frv.c: Ditto. | |
2643 | * solib-irix.c: Ditto. | |
2644 | * solib-osf.c: Ditto. | |
2645 | * solib-pa64.c: Ditto. | |
2646 | * solib-som.c: Ditto. | |
2647 | * solib-sunos.c: Ditto. | |
2648 | * solib-svr4.c: Ditto. | |
2649 | * solib-target.c: Ditto. | |
2650 | * solib.c: Ditto. | |
2651 | * somread.c: Ditto. | |
2652 | * source.c: Ditto. | |
2653 | * stabsread.c: Ditto. | |
2654 | * stabsread.c: Ditto. | |
2655 | * stack.c: Ditto. | |
2656 | * stack.h: Ditto. | |
2657 | * symfile-mem.c: Ditto. | |
2658 | * symfile.c: Ditto. | |
2659 | * symfile.h: Ditto. | |
2660 | * symmisc.c: Ditto. | |
2661 | * symtab.c: Ditto. | |
2662 | * symtab.h: Ditto. | |
2663 | * target-descriptions.c: Ditto. | |
2664 | * target-memory.c: Ditto. | |
2665 | * target.c: Ditto. | |
2666 | * target.h: Ditto. | |
2667 | * terminal.h: Ditto. | |
2668 | * thread.c: Ditto. | |
2669 | * top.c: Ditto. | |
2670 | * tracepoint.c: Ditto. | |
2671 | * tracepoint.h: Ditto. | |
2672 | * ui-file.c: Ditto. | |
2673 | * ui-file.h: Ditto. | |
2674 | * ui-out.h: Ditto. | |
2675 | * user-regs.c: Ditto. | |
2676 | * user-regs.h: Ditto. | |
2677 | * utils.c: Ditto. | |
2678 | * valarith.c: Ditto. | |
2679 | * valops.c: Ditto. | |
2680 | * valprint.c: Ditto. | |
2681 | * valprint.h: Ditto. | |
2682 | * value.c: Ditto. | |
2683 | * varobj.c: Ditto. | |
2684 | * varobj.h: Ditto. | |
2685 | * vec.h: Ditto. | |
2686 | * xcoffread.c: Ditto. | |
2687 | * xcoffsolib.c: Ditto. | |
2688 | * xcoffsolib.h: Ditto. | |
2689 | * xml-syscall.c: Ditto. | |
2690 | * xml-tdesc.c: Ditto. | |
2691 | ||
9a2b4c1b MS |
2692 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
2693 | ||
2694 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
2695 | * cli/cli-decode.c: Ditto. | |
2696 | * cli/cli-dump.c: Ditto. | |
2697 | * cli/cli-logging.c: Ditto. | |
2698 | * cli/cli-script.c: Ditto. | |
2699 | * cli/cli-setshow.c: Ditto. | |
2700 | * common/signals.c: Ditto. | |
2701 | * mi/mi-cmd-break.c: Ditto. | |
2702 | * mi/mi-cmd-disas.c: Ditto. | |
2703 | * mi/mi-cmd-stack.c: Ditto. | |
2704 | * mi/mi-cmd-var.c: Ditto. | |
2705 | * mi/mi-cmds.c: Ditto. | |
2706 | * mi/mi-common.h: Ditto. | |
2707 | * mi/mi-console.c: Ditto. | |
2708 | * mi/mi-interp.c: Ditto. | |
2709 | * mi/mi-main.c: Ditto. | |
2710 | * osf-share/cma_attr.c: Ditto. | |
2711 | * osf-share/cma_deb_core.h: Ditto. | |
2712 | * osf-share/cma_debug_client.h: Ditto. | |
2713 | * osf-share/cma_handle.h: Ditto. | |
2714 | * osf-share/cma_mutex.h: Ditto. | |
2715 | * osf-share/cma_stack_int.h: Ditto. | |
2716 | * osf-share/cma_tcb_defs.h: Ditto. | |
2717 | * python/py-auto-load.c: Ditto. | |
2718 | * python/py-breakpoint.c: Ditto. | |
2719 | * python/py-cmd.c: Ditto. | |
2720 | * python/py-frame.c: Ditto. | |
2721 | * python/py-objfile.c: Ditto. | |
2722 | * python/py-param.c: Ditto. | |
2723 | * python/py-progspace.c: Ditto. | |
2724 | * python/py-symbol.c: Ditto. | |
2725 | * python/py-value.c: Ditto. | |
2726 | * python/python-internal.h: Ditto. | |
2727 | * python/python.c: Ditto. | |
2728 | * tui/tui-data.c: Ditto. | |
2729 | * tui/tui-disasm.c: Ditto. | |
2730 | * tui/tui-hooks.c: Ditto. | |
2731 | * tui/tui-io.c: Ditto. | |
2732 | * tui/tui-layout.c: Ditto. | |
2733 | * tui/tui-regs.c: Ditto. | |
2734 | * tui/tui-source.c: Ditto. | |
2735 | * tui/tui-stack.c: Ditto. | |
2736 | * tui/tui-win.c: Ditto. | |
2737 | * tui/tui-windata.c: Ditto. | |
2738 | * tui/tui-winsource.c: Ditto. | |
2739 | ||
44944448 JB |
2740 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
2741 | ||
2742 | * configure.ac, gdb.1: Copyright year update. | |
2743 | ||
ebedcab5 JK |
2744 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
2745 | ||
2746 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
2747 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
2748 | "__morestack" minimal symbol there. | |
2749 | ||
e5cc9f32 JB |
2750 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
2751 | ||
2752 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
2753 | ||
7b6bb8da JB |
2754 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
2755 | ||
2756 | Copyright year update in most files (performed by copyright.sh). | |
2757 | ||
71ce852c JB |
2758 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
2759 | ||
2760 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 2761 | |
c3c1ebe8 | 2762 | For older changes see ChangeLog-2010. |
c906108c SS |
2763 | \f |
2764 | Local Variables: | |
2765 | mode: change-log | |
2766 | left-margin: 8 | |
2767 | fill-column: 74 | |
2768 | version-control: never | |
57da7796 | 2769 | coding: utf-8 |
c906108c | 2770 | End: |