]>
Commit | Line | Data |
---|---|---|
e0634ccf UW |
1 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
2 | ||
3 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
4 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
5 | implementation even if no symbols are available. | |
6 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
7 | (arm_analyze_prologue): Likewise. | |
8 | ||
0e9e9abd UW |
9 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
10 | ||
11 | * arm-tdep.c: Include "observer.h". | |
12 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
13 | (arm_exidx_data_key): New static variable. | |
14 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
15 | (struct arm_exidx_data): Likewise. | |
16 | (arm_exidx_data_free): New function. | |
17 | (arm_compare_exidx_entries): Likewise. | |
18 | (arm_obj_section_from_vma): Likewise. | |
19 | (arm_exidx_new_objfile): Likewise. | |
20 | (arm_find_exidx_entry): Likewise. | |
21 | (arm_exidx_fill_cache): Likewise. | |
22 | (arm_exidx_unwind_sniffer): Likewise. | |
23 | (arm_exidx_unwind): New global variable. | |
24 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
25 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
26 | observer. Register arm_exidx_data_key as objfile data. | |
27 | ||
2e9e421f UW |
28 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
29 | ||
30 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
31 | due to accessing uninitialized variable. Fix indentation. | |
32 | ||
580688f3 PA |
33 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
34 | ||
35 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
36 | adjustment, create a new value with adjusted contents rather than | |
37 | changing the contents of the value being printed (and getting it | |
38 | wrong). | |
39 | ||
3d2c1d41 PA |
40 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
41 | ||
42 | * xml-support.c (xml_find_attribute): New. | |
43 | (xinclude_start_include): Use it. | |
44 | * xml-support.h (xml_find_attribute): Declare. | |
45 | * memory-map.c (memory_map_start_memory) | |
46 | (memory_map_start_property): Use xml_find_attribute. | |
47 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
48 | xml_find_attribute. | |
49 | * remote.c (start_thread): Use xml_find_attribute. | |
50 | * solib-target.c (library_list_start_segment) | |
51 | (library_list_start_section, library_list_start_library) | |
52 | (library_list_start_list): Use xml_find_attribute. | |
53 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
54 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
55 | (tdesc_start_field): Use xml_find_attribute. | |
56 | ||
0af3e2db UW |
57 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
58 | ||
59 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
60 | (BUILD_OCL_VTYPES): Update. | |
61 | ||
c1039e3c JB |
62 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
63 | ||
64 | * configure.ac: Work around non-GNU sed limitation when computing | |
65 | python version number. | |
66 | * configure: Regenerate. | |
67 | ||
600ea1be JK |
68 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
69 | ||
70 | Fix debug printing of TYPE_INSTANCE. | |
71 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
72 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
73 | ||
56c12414 JK |
74 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
75 | ||
76 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
77 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
78 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
79 | * ada-operator.inc: Rename the file to ... | |
80 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
81 | * expprint.c (op_name_standard): Remove all the entries. Include | |
82 | "std-operator.def" instead. | |
83 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
84 | "ada-operator.def". Move all the entries ... | |
85 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
86 | ||
c52b559d PP |
87 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
88 | ||
89 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
90 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
91 | * jit.c (jit_descriptor_addr): Delete. | |
92 | (registering_code): Delete. | |
93 | (clear_int): Delete. | |
94 | (jit_inferior_data): New variable. | |
95 | (struct jit_inferior_data): New type. | |
96 | (get_jit_inferior_data): New function. | |
97 | (jit_inferior_data_cleanup): New function. | |
98 | (jit_read_descriptor): Adjust. | |
99 | (jit_register_code): Adjust. | |
100 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
101 | (jit_inferior_init): ... from here. | |
102 | (jit_breakpoint_re_set): Adjust. | |
103 | (jit_reset_inferior_data_and_breakpoints): New function. | |
104 | (jit_inferior_created_observer): Adjust. | |
105 | (jit_inferior_exit_hook): Adjust. | |
106 | (jit_executable_changed_observer): New function. | |
107 | (jit_event_handler): Adjust. | |
108 | (_initialize_jit): Adjust. | |
109 | ||
e839132d MS |
110 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
111 | ||
112 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
113 | line. | |
114 | ||
47a80e90 TT |
115 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
116 | ||
117 | PR python/12216: | |
118 | * python/python.c (execute_gdb_command): Call | |
119 | prevent_dont_repeat. | |
120 | * top.c (suppress_dont_repeat): New global. | |
121 | (dont_repeat): Use it. | |
122 | (prevent_dont_repeat): New function. | |
123 | * command.h (prevent_dont_repeat): Declare. | |
124 | ||
45a43567 TT |
125 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
126 | ||
127 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
128 | * python/py-breakpoint.c (bppy_set_silent): Use | |
129 | breakpoint_set_silent. | |
130 | (bppy_set_thread): Use breakpoint_set_thread. | |
131 | (bppy_set_task): Use breakpoint_set_task. | |
132 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
133 | (breakpoint_set_task): Declare. | |
134 | (make_breakpoint_silent): Remove. | |
135 | * breakpoint.c (breakpoint_set_silent): New function. | |
136 | (breakpoint_set_thread): Likewise. | |
137 | (breakpoint_set_task): Likewise. | |
138 | (make_breakpoint_silent): Remove. | |
139 | ||
09d682a4 TT |
140 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
141 | ||
142 | * breakpoint.h (user_breakpoint_p): Declare. | |
143 | * breakpoint.c (user_breakpoint_p): New function. | |
144 | (breakpoint_1): Use it. | |
145 | (save_breakpoints): Likewise. | |
146 | ||
9c4ea6c5 JB |
147 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
148 | ||
149 | * configure.ac: Add handling of Python distribution on Windows. | |
150 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
151 | sysconfig variables are not defined, then do not use them. | |
152 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
153 | instead. On Windows, return all paths using forward-slashes | |
154 | rather than backslashes. | |
155 | ||
ac534cba JB |
156 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
157 | ||
158 | * configure.ac: Remove fallback behavior for building | |
159 | against Python. Remove tweaking of Python include path. | |
160 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
161 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
162 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
163 | Always restore CPPFLAGS and LIBS after linking test. | |
164 | * configure: Regenerated. | |
165 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
166 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
167 | * python/python-internal.h: Adjust includes of Python .h files. | |
168 | ||
c2f0d045 JB |
169 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
170 | ||
171 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
172 | in error message. | |
173 | ||
6b0c4c1f JB |
174 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
175 | ||
176 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
177 | value test. | |
178 | ||
672c9795 YQ |
179 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
180 | ||
181 | * arm-linux-nat.c: Update calls to regcache_register_status | |
182 | instead of regcache_valid_p. | |
183 | * aix-thread.c: Likewise. | |
184 | * i386gnu-nat.c: Likewise. | |
185 | ||
80b23b6a JK |
186 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
187 | ||
188 | Fix crash. | |
189 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
190 | touching TYPE_FIELD_ARTIFICIAL. | |
191 | ||
4cd712bd RE |
192 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
193 | ||
194 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
195 | Committers. | |
196 | ||
ffd5ec24 PA |
197 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
198 | ||
199 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
200 | selected, don't try iterating over the traceframe's blocks. | |
201 | (tfile_has_stack): If there's no traceframe selected, then there's | |
202 | no stack. | |
203 | (tfile_has_registers): If there's no traceframe selected, then | |
204 | there's no registers. | |
205 | ||
e8c9e0a1 PA |
206 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
207 | ||
208 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
209 | haven't read anything. | |
210 | ||
de15c4ab PA |
211 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
212 | ||
213 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
214 | and val_print_scalar_formatted. | |
215 | ||
9f41c731 PA |
216 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
217 | ||
218 | * tracepoint.c (tfile_read): New. | |
219 | (tfile_open): Use it. | |
220 | (tfile_get_traceframe_address): Use it. | |
221 | (tfile_trace_find): Use it. | |
222 | (walk_blocks_callback_func): New typedef. | |
223 | (match_blocktype): New function. | |
224 | (traceframe_walk_blocks): New function. | |
225 | (traceframe_find_block_type): New function. | |
226 | (tfile_fetch_registers, tfile_xfer_partial) | |
227 | (tfile_get_trace_state_variable_value): Use | |
228 | traceframe_find_block_type and tfile_read. | |
229 | ||
cdefc55d KB |
230 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
231 | ||
232 | * remote-mips.c: Add internationalization mark ups. Remove | |
233 | trailing \n from already marked up strings. | |
234 | ||
a81766d8 TT |
235 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
236 | ||
237 | * python/py-prettyprint.c (print_string_repr): Clear | |
238 | 'addressprint' option when calling val_print_string. | |
239 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
240 | option when calling val_print_string. | |
241 | ||
74aedc46 TT |
242 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
243 | ||
244 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
245 | GDB_PY_LL_ARG. | |
246 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
247 | macros. | |
248 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
249 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
250 | (gdb_py_long_as_ulongest): New defines. | |
251 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
252 | (gdb_py_int_as_long): Declare. | |
253 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
254 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
255 | (valpy_long): Add comment. | |
256 | * python/py-utils.c (get_addr_from_python): Use | |
257 | gdb_py_long_as_ulongest. Handle overflow properly. | |
258 | (gdb_py_object_from_longest): New function. | |
259 | (gdb_py_object_from_ulongest): Likewise. | |
260 | (gdb_py_int_as_long): Likewise. | |
261 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
262 | * python/py-symtab.c (salpy_get_pc): Use | |
263 | gdb_py_long_from_ulongest. | |
264 | (salpy_get_line): Use PyInt_FromLong. | |
265 | * python/py-param.c (set_parameter_value): Use | |
266 | gdb_py_int_as_long. | |
267 | * python/py-lazy-string.c (stpy_get_address): Use | |
268 | gdb_py_long_from_ulongest. | |
269 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
270 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
271 | * python/py-breakpoint.c (bppy_set_thread): Use | |
272 | gdb_py_int_as_long. | |
273 | (bppy_set_task): Likewise. | |
274 | (bppy_set_ignore_count): Likewise. | |
275 | (bppy_set_hit_count): Likewise. | |
276 | * python/py-block.c (blpy_get_start): Use | |
277 | gdb_py_object_from_ulongest. | |
278 | (blpy_get_end): Likewise. | |
279 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
280 | ||
e4f6d2ec TJB |
281 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
282 | ||
283 | PR/symtab 11766: | |
284 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
285 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
286 | equality test for objfile, initialize addr_low if needed. | |
287 | ||
b30aa278 PA |
288 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
289 | ||
290 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
291 | ||
ab2188aa PA |
292 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
293 | ||
294 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
295 | instead of print_scalar_formatted. | |
296 | (print_scalar_formatted): Don't handle 's' format strings here, | |
297 | and add an assertion that we never see such format here. | |
298 | * valprint.h (val_print_scalar_formatted): Declare. | |
299 | * valprint.c (val_print_scalar_formatted): New. | |
300 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
301 | instead of print_scalar_formatted. | |
302 | * jv-valprint.c (java_val_print): Ditto. | |
303 | * p-valprint.c (pascal_val_print): Ditto. | |
304 | * ada-valprint.c (ada_val_print_1): Ditto. | |
305 | * f-valprint.c (f_val_print): Ditto. | |
306 | * infcmd.c (registers_info): Ditto. | |
307 | * m2-valprint.c (m2_val_print): Ditto. | |
308 | ||
66d61a4c PA |
309 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
310 | ||
311 | * m2-valprint.c (print_unbounded_array): Pass | |
312 | value_contents_for_printing rather than value_contents, to | |
313 | m2_print_array_contents. Also pass in the value. | |
314 | ||
831adc1f JK |
315 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
316 | ||
317 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
318 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
319 | ||
20622269 PA |
320 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
321 | ||
322 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
323 | than frame_register, and always pass a valid value to val_print. | |
324 | ||
585fdaa1 PA |
325 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
326 | ||
327 | Centralize printing "<optimized out>". | |
328 | ||
329 | * valprint.h (val_print_optimized_out): Declare. | |
330 | * cp-valprint.c (cp_print_value_fields): Use | |
331 | val_print_optimized_out. | |
332 | * jv-valprint.c (java_print_value_fields): Ditto. | |
333 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
334 | * printcmd.c (print_formatted): Ditto. | |
335 | * valprint.c (valprint_check_validity): Ditto. | |
336 | (value_check_printable): Ditto. | |
337 | (val_print_optimized_out): New. | |
338 | ||
29ec5263 PA |
339 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
340 | ||
341 | * infcmd.c (default_print_registers_info): Allocate values so to | |
342 | never pass a NULL value to val_print. | |
343 | ||
de4127a3 PA |
344 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
345 | ||
346 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
347 | boolean. Make sure to always pass a value that matches the | |
348 | contents buffer to callees. Preserve `address' for following | |
349 | iterations. | |
350 | * value.c (value_contents_for_printing_const): New. | |
351 | (value_address): Constify value argument. | |
352 | * value.h (value_contents_for_printing_const): Declare. | |
353 | (value_address): Constify value argument. | |
354 | ||
ee99023e PA |
355 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
356 | ||
357 | * regcache.c (struct regcache_descr): Rename | |
358 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
359 | and sizeof_cooked_register_valid_p to | |
360 | sizeof_cooked_register_status. | |
361 | (init_regcache_descr): Adjust. | |
362 | (struct regcache): Rename register_valid_p field to | |
363 | register_status. | |
364 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
365 | (do_cooked_read): Adjust. | |
366 | (regcache_valid_p): Rename to ... | |
367 | (regcache_register_status): ... this. Adjust. | |
368 | (regcache_invalidate): Adjust. | |
369 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
370 | Adjust. | |
371 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
372 | as unavailable, not valid. | |
373 | (regcache_dump): Adjust. | |
374 | * regcache.h (enum register_status): New. | |
375 | (regcache_register_status): Declare. | |
376 | (regcache_invalidate): Delete declaration. | |
377 | * corelow.c (get_core_registers): Adjust. | |
378 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
379 | * trad-frame.c (REG_VALUE): Rename to ... | |
380 | (TF_REG_VALUE): ... this. | |
381 | (REG_UNKNOWN): Rename to ... | |
382 | (TF_REG_UNKNOWN): ... this. | |
383 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
384 | * mi/mi-main.c (register_changed_p): Adjust. | |
385 | ||
99e42fd8 PA |
386 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
387 | ||
388 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
389 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
390 | overallocate hack. | |
391 | (regcache_xmalloc): Rename to ... | |
392 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
393 | Allocate the regcache type accordingly. | |
394 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
395 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
396 | cooked registers, not raw. | |
397 | (regcache_dup_no_passthrough): Delete. | |
398 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
399 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
400 | mention obsolete write_register_bytes. | |
401 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
402 | ||
f7605bc2 PA |
403 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
404 | ||
405 | Stop remote_read_bytes from handling partial reads itself. | |
406 | ||
407 | * remote-fileio.c: Include target.h. | |
408 | (remote_fileio_write_bytes): Delete. | |
409 | (remote_fileio_func_open, remote_fileio_func_write) | |
410 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
411 | target_read_memory. | |
412 | (remote_fileio_func_stat): Use target_read_memory and | |
413 | target_write_memory. | |
414 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
415 | (remote_fileio_func_system): Use target_read_memory. | |
416 | * remote.c (remote_write_bytes): Make it static. | |
417 | (remote_read_bytes): Don't handle partial reads here. | |
418 | * remote.h (remote_read_bytes): Delete declaration. | |
419 | ||
efc0eabd PA |
420 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
421 | ||
422 | Simplify XML parsing a bit. | |
423 | ||
424 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
425 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
426 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
427 | parameter. | |
428 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
429 | gdb_xml_create_parser_and_cleanup_1. | |
430 | (gdb_xml_parse_quick): New. | |
431 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
432 | * osdata.c (osdata_parse): Ditto. | |
433 | * remote.c (remote_threads_info): Ditto. | |
434 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
435 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
436 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
437 | ||
314d366a KB |
438 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
439 | ||
440 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
441 | with remote-mips.o added to gdb_target_obs. | |
442 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
443 | ||
a491d753 PA |
444 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
445 | ||
446 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
447 | correct struct value to val_print. | |
448 | (ada_val_print_1): Ditto. | |
449 | ||
490f124f PA |
450 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
451 | ||
452 | Don't lose embedded_offset in printing routines throughout. | |
453 | ||
454 | * valprint.h (val_print_array_elements): Change prototype. | |
455 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
456 | parameter, and adjust to pass it down to val_print, while passing | |
457 | `valaddr' or `address' unmodified. Take embedded_offset into | |
458 | account when checking repetitions. | |
459 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
460 | val_print_array_elements instead of adjusting `valaddr' and | |
461 | `address'. | |
462 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
463 | embedded_offset to val_print_array_elements instead of adjusting | |
464 | `valaddr'. | |
465 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
466 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
467 | val_print_array_elements and pascal_object_print_value_fields | |
468 | instead of adjusting `valaddr'. | |
469 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
470 | adjust to use it. | |
471 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
472 | use it. | |
473 | (pascal_object_print_static_field): Use | |
474 | value_contents_for_printing/value_embedded_offset, rather than | |
475 | value_contents. | |
476 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
477 | parameter, and adjust to use it. Use | |
478 | value_contents_for_printing/value_embedded_offset, rather than | |
479 | value_contents. | |
480 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
481 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
482 | it. | |
483 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
484 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
485 | Instead work with offsets. Use | |
486 | value_contents_for_printing/value_embedded_offset, rather than | |
487 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
488 | and use value_from_pointer to extract a target pointer, rather | |
489 | than value_from_longest. | |
490 | (print_variant_part): Add `offset' parameter. Replace | |
491 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
492 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
493 | (ada_value_print): Use | |
494 | value_contents_for_printing/value_embedded_offset, rather than | |
495 | value_contents. | |
496 | (print_record): Add `offset' parameter, and adjust to pass it | |
497 | down. | |
498 | (print_field_values): Add `offset' parameter. Replace | |
499 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
500 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
501 | Use value_contents_for_printing/value_embedded_offset, rather than | |
502 | value_contents. | |
503 | * d-valprint.c (dynamic_array_type): Use | |
504 | value_contents_for_printing/value_embedded_offset, rather than | |
505 | value_contents. | |
506 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
507 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
508 | (java_print_value_fields): Take `offset' into account. Don't | |
509 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
510 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
511 | java_print_value_fields. | |
512 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
513 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
514 | down adjusted offsets. | |
515 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
516 | (f_val_print): Take `embedded_offset' into account. | |
517 | ||
7bfc9434 JB |
518 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
519 | ||
520 | * inflow.c: Include "gdbcmd.h". | |
521 | (interactive_mode): New static global, moved here from top.c. | |
522 | (show_interactive_mode): New function, moved here from top.c. | |
523 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
524 | determine the current mode. | |
525 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
526 | setting. | |
527 | (_initialize_inflow): Add the "set/show interactive-mode" | |
528 | commands. Moved here from top.c, after having adjusted slightly | |
529 | the help text. | |
530 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
531 | to inflow.c. | |
532 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
533 | setting, moved to infow.c. | |
534 | (init_main): Remove creation of the "set/show interactive-mode" | |
535 | commands, moved to inflow.c. | |
536 | ||
44603653 JB |
537 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
538 | ||
539 | * NEWS: Add entry for native ia64-hpux support. | |
540 | ||
4694da01 TT |
541 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
542 | ||
543 | PR mi/8618: | |
544 | * thread.c (free_thread): Free 'name'. | |
545 | (print_thread_info): Emit thread name. Change CLI output. | |
546 | (thread_name_command): New function. | |
547 | (do_captured_thread_select): Emit newline. | |
548 | (_initialize_thread): Register 'thread name' command. | |
549 | * target.h (struct target_ops) <to_thread_name>: New field. | |
550 | (target_thread_name): New macro. | |
551 | * target.c (update_current_target): Handle to_thread_name. | |
552 | * python/py-infthread.c (thpy_get_name): New function. | |
553 | (thpy_set_name): Likewise. | |
554 | (thread_object_getset): Add "name". | |
555 | * linux-nat.c (linux_nat_thread_name): New function. | |
556 | (linux_nat_add_target): Set to_thread_name. | |
557 | * gdbthread.h (struct thread_info) <name>: New field. | |
558 | ||
10d44370 JB |
559 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
560 | ||
561 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
562 | (ada_val_print_1): Likewise. | |
563 | ||
e3acb115 JB |
564 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
565 | ||
566 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
567 | upper limit address is not greater than the function end address | |
568 | when the upper limit could not be computed using the debugging | |
569 | info. | |
570 | ||
dc92e161 TT |
571 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
572 | ||
573 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
574 | get_regcomp_error. | |
575 | * utils.c: Include gdb_regex.h. | |
576 | (do_regfree_cleanup): New function. | |
577 | (make_regfree_cleanup): Likewise. | |
578 | (get_regcomp_error): Likewise. | |
579 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
580 | ||
f55af66d TT |
581 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
582 | ||
583 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
584 | re_compile_fastmap. | |
585 | ||
a5a44b53 PM |
586 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
587 | ||
588 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
589 | for internal variables. | |
590 | (last_was_structop): New static variable. | |
591 | (COMPLETE): New token. | |
592 | (field_exp): New rule to group all '.' suffix handling. | |
593 | Add mark_struct_expression calls when approriate to be able | |
594 | to correctly find fields for completion. | |
595 | (yylex): Adapt to handle field completion and set INTVAR when | |
596 | required. | |
597 | ||
2c291032 YQ |
598 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
599 | ||
600 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
601 | save_reggroup, restore_reggroup and all_reggroup. | |
602 | ||
447b483c JB |
603 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
604 | ||
605 | * ada-valprint. (ada_printchar): Use the correct type length | |
606 | in call to ada_emit_char. | |
607 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
608 | ||
7b64a93b PM |
609 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
610 | ||
611 | * solib-som.h (hpux_major_release): Declare variable here. | |
612 | * solib-som.c: Remove <sys/utsname.h> header. | |
613 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
614 | (hpux_major_release): Make global, change default value to | |
615 | DEFAULT_HPUX_MAJOR_RELEASE. | |
616 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. | |
617 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. | |
618 | Add "solib-som.h" header. | |
619 | (set_hpux_major_release): New function. | |
620 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
621 | ||
4e18c053 MF |
622 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
623 | ||
624 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
625 | ||
a9df6b22 JB |
626 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
627 | ||
628 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
629 | new-line at end of warning message. | |
630 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
631 | error message. | |
632 | * ia64-hpux-tdep.c: Rephrase comment. | |
633 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
634 | dld_flags from "long long" to ULONGEST. | |
635 | ||
ecb956dd PA |
636 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
637 | ||
638 | * target.h (deprecated_child_ops): Delete declaration. | |
639 | * target.c (deprecated_child_ops): Delete definition. | |
640 | ||
76adfcae PA |
641 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
642 | ||
643 | * Makefile.in (hpux-thread.o): Delete rule. | |
644 | * configure.ac: Don't check for HPUX DCE threads support. | |
645 | * configure, config.in: Regenerate. | |
646 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
647 | (hppa_hpux_child_can_run): Delete. | |
648 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
649 | * hpux-thread.c: Delete. | |
650 | ||
042e866e JB |
651 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
652 | ||
653 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
654 | ||
4ffa5a33 JB |
655 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
656 | ||
657 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
658 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
659 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
660 | ||
de8fa76c JB |
661 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
662 | ||
663 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
664 | to the case where instream is stdin. | |
665 | ||
c4de7027 JB |
666 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
667 | ||
668 | * ia64-tdep.h (struct regcache): Forward declare. | |
669 | (struct ia64_infcall_ops): New struct type. | |
670 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
671 | and "infcall_ops". | |
672 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
673 | Renames ia64_find_global_pointer. | |
674 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
675 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
676 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
677 | methods. | |
678 | (ia64_infcall_ops): New static global constant. | |
679 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
680 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
681 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
682 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
683 | (ia64_hpux_dummy_code): New static global constant. | |
684 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
685 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
686 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
687 | New function. | |
688 | (ia64_hpux_infcall_ops): New static global constant. | |
689 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
690 | for inferior function calls to work properly on ia64-hpux. | |
691 | ||
77ca787b JB |
692 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
693 | ||
694 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
695 | * ia64-tdep.h (struct frame_info): forward declaration. | |
696 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
697 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
698 | to determine the size of the register frame. | |
699 | (ia64_size_of_register_frame): New function. | |
700 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
701 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
702 | (IA64_HPUX_UREG_REASON): New macro. | |
703 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
704 | New functions. | |
705 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
706 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
707 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
708 | objects. | |
709 | ||
92c9a463 JB |
710 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
711 | ||
712 | Add support for ia64-hpux. | |
713 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
714 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
715 | ||
716 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
717 | floatformats. | |
718 | * configure.tgt: Add handling for ia64-hpux targets. | |
719 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
720 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
721 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
722 | ||
f688d93f JB |
723 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
724 | ||
725 | [ttrace] Compute thread list immediately after attach. | |
726 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
727 | New subprogram. | |
728 | (inf_ttrace_attach): Use it. | |
729 | ||
1b89e62f JB |
730 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
731 | ||
732 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
733 | if we could not determine the frame's function address. Instead, | |
734 | use the frame's PC, and then continue. | |
735 | ||
3e5e6e2a JB |
736 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
737 | ||
738 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
739 | not already defined. | |
740 | ||
825d6d8a JB |
741 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
742 | ||
743 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
744 | (ia64_extract_return_value): Handle integral values that are | |
745 | less than 8 bytes long. | |
746 | (ia64_push_dummy_call): Likewise. | |
747 | ||
7458e667 JB |
748 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
749 | ||
750 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
751 | floatformat_ia64_ext. | |
752 | (floatformat_ia64_ext_big): New static const. | |
753 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
754 | ||
1b05df00 TT |
755 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
756 | ||
757 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
758 | messages. | |
759 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
760 | (mi_cmd_thread_list_ids): Likewise. | |
761 | (mi_cmd_data_list_changed_registers): Likewise. | |
762 | (mi_cmd_data_list_register_values): Likewise. | |
763 | (mi_cmd_data_write_register_values): Likewise. | |
764 | (mi_cmd_data_evaluate_expression): Likewise. | |
765 | (mi_cmd_data_read_memory): Likewise. | |
766 | (mi_cmd_data_read_memory_bytes): Likewise. | |
767 | (mi_cmd_data_write_memory): Likewise. | |
768 | (mi_cmd_enable_timings): Likewise. | |
769 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
770 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
771 | (mi_cmd_var_delete): Likewise. | |
772 | (mi_cmd_var_set_format): Likewise. | |
773 | (mi_cmd_var_show_format): Likewise. | |
774 | (mi_cmd_var_info_num_children): Likewise. | |
775 | (mi_cmd_var_list_children): Likewise. | |
776 | (mi_cmd_var_info_type): Likewise. | |
777 | (mi_cmd_var_info_expression): Likewise. | |
778 | (mi_cmd_var_show_attributes): Likewise. | |
779 | (mi_cmd_var_assign): Likewise. | |
780 | (mi_cmd_var_update): Likewise. | |
781 | (mi_cmd_enable_pretty_printing): Likewise. | |
782 | (mi_cmd_var_set_update_range): Likewise. | |
783 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
784 | messages. | |
785 | (mi_cmd_target_file_put): Likewise. | |
786 | (mi_cmd_target_file_delete): Likewise. | |
787 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
788 | messages. | |
789 | (mi_cmd_stack_info_depth): Likewise. | |
790 | (mi_cmd_stack_list_locals): Likewise. | |
791 | (mi_cmd_stack_list_args): Likewise. | |
792 | (mi_cmd_stack_select_frame): Likewise. | |
793 | (mi_cmd_stack_select_frame): Likewise. | |
794 | (mi_cmd_stack_info_frame): Likewise. | |
795 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
796 | messages. | |
797 | (mi_cmd_file_list_exec_source_files): Likewise. | |
798 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
799 | (mi_cmd_env_cd): Likewise. | |
800 | (mi_cmd_env_path): Likewise. | |
801 | (mi_cmd_env_dir): Likewise. | |
802 | (mi_cmd_inferior_tty_show): Likewise. | |
803 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
804 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
805 | (mi_cmd_break_watch): Likewise. | |
806 | ||
ad422571 TJB |
807 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
808 | ||
809 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
810 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
811 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
812 | (ppc_linux_insert_watchpoint): Likewise. | |
813 | ||
c2ff108b JK |
814 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
815 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
816 | ||
817 | PR fortran/11104 and DWARF unbound arrays detection. | |
818 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
819 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
820 | unspecified upper bound. | |
821 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
822 | variables array_size_array, tmp_type and offset_item. New variable | |
823 | array. Remove call to f77_get_upperbound. New variables array_type | |
824 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
825 | the final call to deprecated_set_value_type. | |
826 | ||
41e8491f JK |
827 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
828 | ||
829 | Make value allocations more lazy. | |
830 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
831 | instead of allocate_value and set_value_lazy when possible. | |
832 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy | |
833 | instead of allocate_value and set_value_lazy. | |
834 | * findvar.c (value_of_register_lazy): Likewise. | |
835 | (read_var_value): Remove V preallocation, call just check_typedef in | |
836 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, | |
837 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, | |
838 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
839 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
840 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
841 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
842 | the end, remove set_value_lazy there. | |
843 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
844 | instead of allocate_value and set_value_lazy when possible. | |
845 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
846 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
847 | of allocate_value and set_value_lazy. | |
848 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
849 | allocate_value and set_value_lazy when possible. | |
850 | ||
b716877b AB |
851 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
852 | ||
853 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
854 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
855 | dumping of instruction opcodes. | |
856 | ||
d5ae309f JB |
857 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
858 | ||
859 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
860 | appropiately. | |
861 | ||
98871305 TT |
862 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
863 | ||
864 | * thread.c (do_captured_thread_select): Emit newline before | |
865 | printing frame. | |
866 | ||
c378eb4e MS |
867 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
868 | ||
869 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
870 | * score-tdep.c: Ditto. | |
871 | * score-tdep.h: Ditto. | |
872 | * ser-base.c: Ditto. | |
873 | * ser-go32.c: Ditto. | |
874 | * serial.c: Ditto. | |
875 | * serial.h: Ditto. | |
876 | * ser-mingw.c: Ditto. | |
877 | * ser-pipe.c: Ditto. | |
878 | * ser-tcp.c: Ditto. | |
879 | * ser-unix.c: Ditto. | |
880 | * sh64-tdep.c: Ditto. | |
881 | * shnbsd-nat.c: Ditto. | |
882 | * sh-tdep.c: Ditto. | |
883 | * sh-tdep.h: Ditto. | |
884 | * solib.c: Ditto. | |
885 | * solib-darwin.c: Ditto. | |
886 | * solib-frv.c: Ditto. | |
887 | * solib.h: Ditto. | |
888 | * solib-irix.c: Ditto. | |
889 | * solib-osf.c: Ditto. | |
890 | * solib-pa64.c: Ditto. | |
891 | * solib-som.c: Ditto. | |
892 | * solib-spu.c: Ditto. | |
893 | * solib-sunos.c: Ditto. | |
894 | * solib-svr4.c: Ditto. | |
895 | * solist.h: Ditto. | |
896 | * sol-thread.c: Ditto. | |
897 | * somread.c: Ditto. | |
898 | * source.c: Ditto. | |
899 | * source.h: Ditto. | |
900 | * sparc64-linux-tdep.c: Ditto. | |
901 | * sparc64-tdep.c: Ditto. | |
902 | * sparc-linux-nat.c: Ditto. | |
903 | * sparc-linux-tdep.c: Ditto. | |
904 | * sparc-sol2-nat.c: Ditto. | |
905 | * sparc-sol2-tdep.c: Ditto. | |
906 | * sparc-tdep.c: Ditto. | |
907 | * sparc-tdep.h: Ditto. | |
908 | * spu-tdep.c: Ditto. | |
909 | * stabsread.c: Ditto. | |
910 | * stabsread.h: Ditto. | |
911 | * stack.c: Ditto. | |
912 | * symfile.c: Ditto. | |
913 | * symfile.h: Ditto. | |
914 | * symmisc.c: Ditto. | |
915 | * symtab.c: Ditto. | |
916 | * symtab.h: Ditto. | |
917 | * target.c: Ditto. | |
918 | * target-descriptions.c: Ditto. | |
919 | * target-descriptions.h: Ditto. | |
920 | * target.h: Ditto. | |
921 | * target-memory.c: Ditto. | |
922 | * terminal.h: Ditto. | |
923 | * thread.c: Ditto. | |
924 | * top.c: Ditto. | |
925 | * tracepoint.c: Ditto. | |
926 | * tracepoint.h: Ditto. | |
927 | * trad-frame.h: Ditto. | |
928 | * typeprint.c: Ditto. | |
929 | ||
581e13c1 MS |
930 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
931 | ||
932 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
933 | * ui-file.h: Ditto. | |
934 | * ui-out.c: Ditto. | |
935 | * ui-out.h: Ditto. | |
936 | * utils.c: Ditto. | |
937 | * v850-tdep.c: Ditto. | |
938 | * valarith.c: Ditto. | |
939 | * valops.c: Ditto. | |
940 | * valprint.c: Ditto. | |
941 | * valprint.h: Ditto. | |
942 | * value.c: Ditto. | |
943 | * value.h: Ditto. | |
944 | * varobj.c: Ditto. | |
945 | * varobj.h: Ditto. | |
946 | * vax-tdep.c: Ditto. | |
947 | * vec.c: Ditto. | |
948 | * vec.h: Ditto. | |
949 | * version.h: Ditto. | |
950 | * windows-nat.c: Ditto. | |
951 | * windows-tdep.c: Ditto. | |
952 | * xcoffread.c: Ditto. | |
953 | * xcoffsolib.c: Ditto. | |
954 | * xml-support.c: Ditto. | |
955 | * xstormy16-tdep.c: Ditto. | |
956 | * xtensa-tdep.c: Ditto. | |
957 | * xtensa-tdep.h: Ditto. | |
958 | ||
90e4670f TJB |
959 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
960 | ||
961 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
962 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
963 | ||
e09342b5 TJB |
964 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
965 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
966 | ||
967 | Implement support for PowerPC BookE ranged watchpoints. | |
968 | * breakpoint.h | |
969 | (struct breakpoint_ops) <resources_needed>: New method. | |
970 | Initialize to NULL in all existing breakpoint_ops instances. | |
971 | (struct breakpoint) <exact>: New field. | |
972 | (target_exact_watchpoints): Declare external global. | |
973 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
974 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
975 | b->enable_state to bp_enabled before calling | |
976 | hw_watchpoint_used_count. | |
977 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
978 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
979 | if available. | |
980 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
981 | if the watchpoint is exact. | |
982 | (resources_needed_watchpoint): New function. | |
983 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
984 | (watch_command_1): Set b->exact if the user asked for an exact | |
985 | watchpoint and one can be set. | |
986 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
987 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
988 | the user asks for an exact watchpoint and one can be set. Return | |
989 | number of needed debug registers to watch the expression. | |
990 | * gdbtypes.c (is_scalar_type): New function, based on | |
991 | valprint.c:scalar_type_p. | |
992 | (is_scalar_type_recursive): New function. | |
993 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
994 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
995 | handle regions when ranged watchpoints are available. | |
996 | (create_watchpoint_request): New function. | |
997 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
998 | create_watchpoint_request. | |
999 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
1000 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
1001 | `set powerpc' and `show powerpc' commands. | |
1002 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
1003 | Mention documentation comment in the target macro. | |
1004 | (target_region_ok_for_hw_watchpoint): Document return value. | |
1005 | ||
9fa40276 TJB |
1006 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1007 | ||
1008 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
1009 | hardware watchpoint after the bp_locations are created. | |
1010 | ||
77b06cd7 TJB |
1011 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1012 | ||
1013 | Convert hardware watchpoints to use breakpoint_ops. | |
1014 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
1015 | <insert_location>: ... this. Return int instead of void. | |
1016 | Accept pointer to struct bp_location instead of pointer to | |
1017 | struct breakpoint. Adapt all implementations. | |
1018 | (breakpoint_ops) <remove>: Rename to... | |
1019 | <remove_location>: ... this. Accept pointer to struct bp_location | |
1020 | instead of pointer to struct breakpoint. Adapt all implementations. | |
1021 | * breakpoint.c (insert_catchpoint): Delete function. | |
1022 | (insert_bp_location): Call the watchpoint or catchpoint's | |
1023 | breakpoint_ops.insert method. | |
1024 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
1025 | breakpoint_ops.remove method. | |
1026 | (insert_watchpoint, remove_watchpoint): New functions. | |
1027 | (watchpoint_breakpoint_ops): New structure. | |
1028 | (watch_command_1): Initialize the OPS field. | |
1029 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
1030 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
1031 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
1032 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
1033 | Delete functions. | |
1034 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
1035 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
1036 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
1037 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
1038 | * target.c (update_current_target): Change default implementation of | |
1039 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
1040 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
1041 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
1042 | to_set_syscall_catchpoint to return_one. | |
1043 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
1044 | (debug_to_insert_exec_catchpoint): Report return value. | |
1045 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
1046 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
1047 | of void. | |
1048 | ||
9b20d036 MS |
1049 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
1050 | ||
1051 | * arm-tdep.c: Internationalization. | |
1052 | * c-lang.c: Ditto. | |
1053 | * charset.c: Ditto. | |
1054 | * fork-child.c: Ditto. | |
1055 | * nto-procfs.c: Ditto. | |
1056 | * ppc-sysv-tdep.c: Ditto. | |
1057 | * procfs.c: Ditto. | |
1058 | * remote-mips.c: Ditto. | |
1059 | * remote.c: Ditto. | |
1060 | * rs6000-nat.c: Ditto. | |
1061 | * rs6000-tdep.c: Ditto. | |
1062 | * target.c: Ditto. | |
1063 | * valops.c: Ditto. | |
1064 | * value.c: Ditto. | |
1065 | * xml-support.c: Ditto. | |
1066 | * mi/mi-cmd-break.c: Ditto. | |
1067 | * mi/mi-cmd-var.c: Ditto. | |
1068 | * mi/mi-interp.c: Ditto. | |
1069 | * mi/mi-main.c: Ditto. | |
1070 | ||
dae477fe AB |
1071 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
1072 | ||
1073 | * remote-sim.c (gdbsim_store_register): Update API to | |
1074 | sim_store_register to check more error conditions. | |
1075 | ||
0df8b418 MS |
1076 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
1077 | ||
1078 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
1079 | * nto-tdep.c: Ditto. | |
1080 | * nto-tdep.h: Ditto. | |
1081 | * objc-exp.y: Ditto. | |
1082 | * objc-lang.c: Ditto. | |
1083 | * objfiles.c: Ditto. | |
1084 | * objfiles.h: Ditto. | |
1085 | * observer.c: Ditto. | |
1086 | * opencl-lang.c: Ditto. | |
1087 | * osabi.c: Ditto. | |
1088 | * parse.c: Ditto. | |
1089 | * parser-defs.h: Ditto. | |
1090 | * p-exp.y: Ditto. | |
1091 | * p-lang.c: Ditto. | |
1092 | * posix-hdep.c: Ditto. | |
1093 | * ppcbug-rom.c: Ditto. | |
1094 | * ppc-linux-nat.c: Ditto. | |
1095 | * ppc-linux-tdep.c: Ditto. | |
1096 | * ppc-linux-tdep.h: Ditto. | |
1097 | * ppcnbsd-tdep.c: Ditto. | |
1098 | * ppcobsd-tdep.c: Ditto. | |
1099 | * ppcobsd-tdep.h: Ditto. | |
1100 | * ppc-sysv-tdep.c: Ditto. | |
1101 | * ppc-tdep.h: Ditto. | |
1102 | * printcmd.c: Ditto. | |
1103 | * proc-abi.c: Ditto. | |
1104 | * proc-flags.c: Ditto. | |
1105 | * procfs.c: Ditto. | |
1106 | * proc-utils.h: Ditto. | |
1107 | * progspace.h: Ditto. | |
1108 | * prologue-value.c: Ditto. | |
1109 | * prologue-value.h: Ditto. | |
1110 | * psympriv.h: Ditto. | |
1111 | * psymtab.c: Ditto. | |
1112 | * p-typeprint.c: Ditto. | |
1113 | * p-valprint.c: Ditto. | |
1114 | * ravenscar-sparc-thread.c: Ditto. | |
1115 | * ravenscar-thread.c: Ditto. | |
1116 | * ravenscar-thread.h: Ditto. | |
1117 | * record.c: Ditto. | |
1118 | * regcache.c: Ditto. | |
1119 | * regcache.h: Ditto. | |
1120 | * remote.c: Ditto. | |
1121 | * remote-fileio.c: Ditto. | |
1122 | * remote-fileio.h: Ditto. | |
1123 | * remote.h: Ditto. | |
1124 | * remote-m32r-sdi.c: Ditto. | |
1125 | * remote-mips.c: Ditto. | |
1126 | * remote-sim.c: Ditto. | |
1127 | * rs6000-aix-tdep.c: Ditto. | |
1128 | * rs6000-nat.c: Ditto. | |
1129 | * rs6000-tdep.c: Ditto. | |
1130 | ||
0d7a18f7 MS |
1131 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
1132 | ||
1133 | * charset.c (validate): Internationalization. | |
1134 | * coffread.c (read_one_sym): Ditto. | |
1135 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
1136 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
1137 | * inflow.c (new_tty): Ditto. | |
1138 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
1139 | * m32c-tdep.c (m32c_return_value): Ditto. | |
1140 | * mep-tdep.c (mep_store_return_value): Ditto. | |
1141 | * score-tdep.c (score7_fetch_insn): Ditto. | |
1142 | * ser-mingw.c (pipe_windows_open): Ditto. | |
1143 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
1144 | * spu-tdep.c (spu_register_type): Ditto. | |
1145 | * tracepoint.c (trace_find_command): Ditto. | |
1146 | * valarith.c (value_pos): Ditto. | |
1147 | ||
9a153e0b JB |
1148 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
1149 | ||
1150 | * ada-valprint.c (printstr): Minor comment reformatting. | |
1151 | ||
35ecd2d6 MS |
1152 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
1153 | ||
1154 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
1155 | markup. | |
1156 | ||
1777feb0 MS |
1157 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
1158 | ||
1159 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
1160 | * hppa-hpux-tdep.c: Ditto. | |
1161 | * hppa-linux-nat.c: Ditto. | |
1162 | * hppa-linux-tdep.c: Ditto. | |
1163 | * hppanbsd-tdep.c: Ditto. | |
1164 | * hppa-tdep.c: Ditto. | |
1165 | * hppa-tdep.h: Ditto. | |
1166 | * hpux-thread.c: Ditto. | |
1167 | * i386-cygwin-tdep.c: Ditto. | |
1168 | * i386-darwin-nat.c: Ditto. | |
1169 | * i386gnu-nat.c: Ditto. | |
1170 | * i386-linux-nat.c: Ditto. | |
1171 | * i386-linux-tdep.c: Ditto. | |
1172 | * i386-nat.c: Ditto. | |
1173 | * i386-nat.h: Ditto. | |
1174 | * i386nbsd-tdep.c: Ditto. | |
1175 | * i386-sol2-nat.c: Ditto. | |
1176 | * i386-stub.c: Ditto. | |
1177 | * i386-tdep.c: Ditto. | |
1178 | * i386-tdep.h: Ditto. | |
1179 | * i387-tdep.c: Ditto. | |
1180 | * ia64-linux-nat.c: Ditto. | |
1181 | * ia64-linux-tdep.c: Ditto. | |
1182 | * ia64-tdep.c: Ditto. | |
1183 | * infcall.c: Ditto. | |
1184 | * infcall.h: Ditto. | |
1185 | * infcmd.c: Ditto. | |
1186 | * inferior.c: Ditto. | |
1187 | * inferior.h: Ditto. | |
1188 | * infloop.c: Ditto. | |
1189 | * inflow.c: Ditto. | |
1190 | * infrun.c: Ditto. | |
1191 | * interps.c: Ditto. | |
1192 | * interps.h: Ditto. | |
1193 | * iq2000-tdep.c: Ditto. | |
1194 | * irix5-nat.c: Ditto. | |
1195 | * jit.c: Ditto. | |
1196 | * jit.h: Ditto. | |
1197 | * jv-exp.y: Ditto. | |
1198 | * jv-lang.c: Ditto. | |
1199 | * jv-lang.h: Ditto. | |
1200 | * jv-typeprint.c: Ditto. | |
1201 | * jv-valprint.c: Ditto. | |
1202 | * language.c: Ditto. | |
1203 | * language.h: Ditto. | |
1204 | * linespec.c: Ditto. | |
1205 | * linux-fork.c: Ditto. | |
1206 | * linux-nat.c: Ditto. | |
1207 | * linux-thread-db.c: Ditto. | |
1208 | * lm32-tdep.c: Ditto. | |
1209 | ||
025bb325 MS |
1210 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
1211 | ||
1212 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
1213 | * m2-lang.c: Ditto. | |
1214 | * m2-typeprint.c: Ditto. | |
1215 | * m2-valprint.c: Ditto. | |
1216 | * m32c-tdep.c: Ditto. | |
1217 | * m32r-linux-nat.c: Ditto. | |
1218 | * m32r-rom.c: Ditto. | |
1219 | * m32r-tdep.c: Ditto. | |
1220 | * m32r-tdep.h: Ditto. | |
1221 | * m68hc11-tdep.c: Ditto. | |
1222 | * m58klinux-nat.c: Ditto. | |
1223 | * m68k-tdep.c: Ditto. | |
1224 | * m88k-tdep.c: Ditto. | |
1225 | * m88k-tdep.h: Ditto. | |
1226 | * machoread.c: Ditto. | |
1227 | * macrocmd.c: Ditto. | |
1228 | * macroexp.c: Ditto. | |
1229 | * macrotab.c: Ditto. | |
1230 | * main.c: Ditto. | |
1231 | * maint.c: Ditto. | |
1232 | * mdebugread.c: Ditto. | |
1233 | * mdebugread.h: Ditto. | |
1234 | * memattr.c: Ditto. | |
1235 | * memattr.h: Ditto. | |
1236 | * memory-map.h: Ditto. | |
1237 | * mep-tdep.c: Ditto. | |
1238 | * microblaze-rom.c: Ditto. | |
1239 | * microblaze-tdep.c: Ditto. | |
1240 | * minsyms.c: Ditto. | |
1241 | * mips-irix-tdep.c: Ditto. | |
1242 | * mips-linux-nat.c: Ditto. | |
1243 | * mips-linux-tdep.c: Ditto. | |
1244 | * mips-linux-tdep.h: Ditto. | |
1245 | * mipsnbsd-nat.c: Ditto. | |
1246 | * mipsnbsd-tdep.c: Ditto. | |
1247 | * mipsread.c: Ditto. | |
1248 | * mips-tdep.c: Ditto. | |
1249 | * mips-tdep.h: Ditto. | |
1250 | * mn10300-linux-tdep.c: Ditto. | |
1251 | * mn10300-tdep.c: Ditto. | |
1252 | * mn10300-tdep.h: Ditto. | |
1253 | * monitor.c: Ditto. | |
1254 | * monitor.h: Ditto. | |
1255 | * moxie-tdep.c: Ditto. | |
1256 | * moxie-tdep.h: Ditto. | |
1257 | * mt-tdep.c: Ditto. | |
1258 | ||
1642781b MF |
1259 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
1260 | ||
1261 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
1262 | ||
394b0adb JB |
1263 | 2011-01-08 Robert Millan <rmh@gnu.org> |
1264 | ||
1265 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
1266 | ||
b670013c MS |
1267 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
1268 | ||
1269 | * charset.c (_initialize_charset): Fix typo in string. | |
1270 | ||
a743e542 MS |
1271 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
1272 | ||
1273 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
1274 | for i18n. | |
1275 | * tui/tui-layout.c (tui_set_layout_for_display_command): | |
1276 | Split line so that operator goes to beginning of line. | |
1277 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
1278 | assignment out of if statement. | |
1279 | ||
0963b4bd MS |
1280 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
1281 | ||
1282 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
1283 | * ada-lang.h: Ditto. | |
1284 | * ada-tasks.c: Ditto. | |
1285 | * ada-valprint.c: Ditto. | |
1286 | * aix-threads.c: Ditto. | |
1287 | * alpha-linux-nat.c: Ditto. | |
1288 | * alpha-linux-tdep.c: Ditto. | |
1289 | * alpha-mdebug-tdep.c: Ditto. | |
1290 | * alpha-nat.c: Ditto. | |
1291 | * alpha-osf1-tdep.c: Ditto. | |
1292 | * alpha-tdep.c: Ditto. | |
1293 | * alphabsd-nat.c: Ditto. | |
1294 | * alphabsd-tdep.c: Ditto. | |
1295 | * amd64-darwin-tdep.c: Ditto. | |
1296 | * amd64-linux-nat.c: Ditto. | |
1297 | * amd64-linux-tdep.c: Ditto. | |
1298 | * amd64-sol2-tdep.c: Ditto. | |
1299 | * amd64-tdep.c: Ditto. | |
1300 | * amd64-fbsd-tdep.c: Ditto. | |
1301 | * amd64-nbsd-tdep.c: Ditto. | |
1302 | * amd64-obsd-tdep.c: Ditto. | |
1303 | * amd64-linux-nat.c: Ditto. | |
1304 | * amd64-linux-tdep.c: Ditto. | |
1305 | * arm-tdep.c: Ditto. | |
1306 | * arm-tdep.h: Ditto. | |
1307 | * armnbsd-nat.c: Ditto. | |
1308 | * avr-tdep.c: Ditto. | |
1309 | * bfin-tdep.c: Ditto. | |
1310 | * bsd-kvm.c: Ditto. | |
1311 | * c-typeprintc: Ditto. | |
1312 | * c-valprint.c: Ditto. | |
1313 | * coff-pe-read.h: Ditto. | |
1314 | * coffreead.c: Ditto. | |
1315 | * cris-tdep.c: Ditto. | |
1316 | * d-lang.c: Ditto. | |
1317 | * darwin-nat-info.c: Ditto. | |
1318 | * darwin-nat.c: Ditto. | |
1319 | * dbug-rom.c: Ditto. | |
1320 | * dbxread.c: Ditto. | |
1321 | * dcache.c: Ditto. | |
1322 | * dcache.h: Ditto. | |
1323 | * dec-thread.c: Ditto. | |
1324 | * defs.h: Ditto. | |
1325 | * demangle.c: Ditto. | |
1326 | * dicos-tdep.c: Ditto. | |
1327 | * dictionary.c: Ditto. | |
1328 | * dictionary.h: Ditto. | |
1329 | * dink32-rom.c: Ditto. | |
1330 | * disasm.c: Ditto. | |
1331 | * doublest.c: Ditto. | |
1332 | * dsrec.c: Ditto. | |
1333 | * dummy-frame.c: Ditto. | |
1334 | * dwarf2-frame.c: Ditto. | |
1335 | * dwarf2expr.c: Ditto. | |
1336 | * dwarf2loc.c: Ditto. | |
1337 | * dwarf2read.c: Ditto. | |
1338 | * elfread.c: Ditto. | |
1339 | * environ.c: Ditto. | |
1340 | * eval.c: Ditto. | |
1341 | * event-top.h: Ditto. | |
1342 | * exceptions.c: Ditto. | |
1343 | * exceptions.h: Ditto. | |
1344 | * exec.c: Ditto. | |
1345 | * expprint.c: Ditto. | |
1346 | * expression.h: Ditto. | |
1347 | * f-exp.y: Ditto. | |
1348 | * f-lang.c: Ditto. | |
1349 | * f-lang.h: Ditto. | |
1350 | * f-typeprint.c: Ditto. | |
1351 | * f-valprint.c: Ditto. | |
1352 | * fbsd-nat.c: Ditto. | |
1353 | * findvar.c: Ditto. | |
1354 | * fork-child.c: Ditto. | |
1355 | * frame.c: Ditto. | |
1356 | * frame.h: Ditto. | |
1357 | * frv-linux-tdep.c: Ditto. | |
1358 | * frv-tdep.c: Ditto. | |
1359 | * gcore.c: Ditto. | |
1360 | * gdb-stabs.h: Ditto. | |
1361 | * gdb_assert.h: Ditto. | |
1362 | * gdb_string.h: Ditto. | |
1363 | * gdb_thread_db.h: Ditto. | |
1364 | * gdb_wait.h: Ditto. | |
1365 | * gdbarch.sh: Ditto. | |
1366 | * gdbcore.h: Ditto. | |
1367 | * gdbthread.h: Ditto. | |
1368 | * gdbtypes.c: Ditto. | |
1369 | * gdbtypes.h: Ditto. | |
1370 | * gnu-nat.c: Ditto. | |
1371 | * gnu-nat.h: Ditto. | |
1372 | * gnu-v2-abi.c: Ditto. | |
1373 | * gnu-v3-abi.c: Ditto. | |
1374 | * go32-nat.c: Ditto. | |
1375 | * gdbarch.c: Regenerate. | |
1376 | * gdbarch.h: Regenerate. | |
1377 | ||
ac74f770 MS |
1378 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
1379 | ||
1380 | * ax-gdb.c: Adjust some long output strings. | |
1381 | * breakpoint.c: Ditto. | |
1382 | * charset.c: Ditto. | |
1383 | * cp-abi.c: Ditto. | |
1384 | * infcall.c: Ditto. | |
1385 | * infrun.c: Ditto. | |
1386 | * linux-nat.c: Ditto. | |
1387 | * solib-pa64.c: Ditto. | |
1388 | * solib-som.c: Ditto. | |
1389 | ||
d8e22779 TT |
1390 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
1391 | ||
1392 | PR python/12367: | |
1393 | * NEWS: Add item. | |
1394 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
1395 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
1396 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
1397 | ||
a255712f PP |
1398 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
1399 | ||
1400 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
1401 | * jit.c (jit_debug): New variable. | |
1402 | (show_jit_debug): New function. | |
1403 | (struct target_buffer): Use ULONGEST. | |
1404 | (bfd_open_from_target_memory): Likewise. | |
1405 | (jit_register_code, jit_inferior_init): Add debug output. | |
1406 | (_initialize_jit): Register "debug jit" command. | |
1407 | ||
ccfc3d6e TT |
1408 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
1409 | ||
1410 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
1411 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
1412 | and ARCH_FRAME. | |
1413 | ||
57126e4a TT |
1414 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
1415 | ||
1416 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
1417 | ||
16dfc9ce JB |
1418 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
1419 | ||
1420 | Do not stop on SIGPRIO signals by default | |
1421 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
1422 | signal_print for TARGET_SIGNAL_PRIO. | |
1423 | ||
b1ce2347 JB |
1424 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
1425 | ||
1426 | * ada-tasks.c: Fix style violation in comment. | |
1427 | ||
8f7e195f JB |
1428 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
1429 | ||
1430 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
1431 | at end of error string. | |
1432 | * solib-irix.c (irix_current_sos): Likewise. | |
1433 | * varobj.c (uninstall_variable): Likewise. | |
1434 | ||
e9bdf92c JB |
1435 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
1436 | ||
1437 | * copyright.py: New script. | |
1438 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
1439 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
1440 | ||
3e43a32a MS |
1441 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
1442 | ||
1443 | * addrmap.c: Shorten lines of >= 80 columns. | |
1444 | * arch-utils.c: Ditto. | |
1445 | * arch-utils.h: Ditto. | |
1446 | * ax-gdb.c: Ditto. | |
1447 | * ax-general.c: Ditto. | |
1448 | * bcache.c: Ditto. | |
1449 | * blockframe.c: Ditto. | |
1450 | * breakpoint.c: Ditto. | |
1451 | * buildsym.c: Ditto. | |
1452 | * c-lang.c: Ditto. | |
1453 | * c-typeprint.c: Ditto. | |
1454 | * charset.c: Ditto. | |
1455 | * coffread.c: Ditto. | |
1456 | * command.h: Ditto. | |
1457 | * corelow.c: Ditto. | |
1458 | * cp-abi.c: Ditto. | |
1459 | * cp-namespace.c: Ditto. | |
1460 | * cp-support.c: Ditto. | |
1461 | * dbug-rom.c: Ditto. | |
1462 | * dbxread.c: Ditto. | |
1463 | * defs.h: Ditto. | |
1464 | * dfp.c: Ditto. | |
1465 | * dfp.h: Ditto. | |
1466 | * dictionary.c: Ditto. | |
1467 | * disasm.c: Ditto. | |
1468 | * doublest.c: Ditto. | |
1469 | * dwarf2-frame.c: Ditto. | |
1470 | * dwarf2expr.c: Ditto. | |
1471 | * dwarf2loc.c: Ditto. | |
1472 | * dwarf2read.c: Ditto. | |
1473 | * elfread.c: Ditto. | |
1474 | * eval.c: Ditto. | |
1475 | * event-loop.c: Ditto. | |
1476 | * event-loop.h: Ditto. | |
1477 | * exceptions.h: Ditto. | |
1478 | * exec.c: Ditto. | |
1479 | * expprint.c: Ditto. | |
1480 | * expression.h: Ditto. | |
1481 | * f-lang.c: Ditto. | |
1482 | * f-valprint.c: Ditto. | |
1483 | * findcmd.c: Ditto. | |
1484 | * frame-base.c: Ditto. | |
1485 | * frame-unwind.c: Ditto. | |
1486 | * frame-unwind.h: Ditto. | |
1487 | * frame.c: Ditto. | |
1488 | * frame.h: Ditto. | |
1489 | * gcore.c: Ditto. | |
1490 | * gdb-stabs.h: Ditto. | |
1491 | * gdb_assert.h: Ditto. | |
1492 | * gdb_dirent.h: Ditto. | |
1493 | * gdb_obstack.h: Ditto. | |
1494 | * gdbcore.h: Ditto. | |
1495 | * gdbtypes.c: Ditto. | |
1496 | * gdbtypes.h: Ditto. | |
1497 | * inf-ttrace.c: Ditto. | |
1498 | * infcall.c: Ditto. | |
1499 | * infcmd.c: Ditto. | |
1500 | * inflow.c: Ditto. | |
1501 | * infrun.c: Ditto. | |
1502 | * inline-frame.h: Ditto. | |
1503 | * language.c: Ditto. | |
1504 | * language.h: Ditto. | |
1505 | * libunwind-frame.c: Ditto. | |
1506 | * libunwind-frame.h: Ditto. | |
1507 | * linespec.c: Ditto. | |
1508 | * linux-nat.c: Ditto. | |
1509 | * linux-nat.h: Ditto. | |
1510 | * linux-thread-db.c: Ditto. | |
1511 | * machoread.c: Ditto. | |
1512 | * macroexp.c: Ditto. | |
1513 | * macrotab.c: Ditto. | |
1514 | * main.c: Ditto. | |
1515 | * maint.c: Ditto. | |
1516 | * mdebugread.c: Ditto. | |
1517 | * memattr.c: Ditto. | |
1518 | * minsyms.c: Ditto. | |
1519 | * monitor.c: Ditto. | |
1520 | * monitor.h: Ditto. | |
1521 | * objfiles.c: Ditto. | |
1522 | * objfiles.h: Ditto. | |
1523 | * osabi.c: Ditto. | |
1524 | * p-typeprint.c: Ditto. | |
1525 | * p-valprint.c: Ditto. | |
1526 | * parse.c: Ditto. | |
1527 | * printcmd.c: Ditto. | |
1528 | * proc-events.c: Ditto. | |
1529 | * procfs.c: Ditto. | |
1530 | * progspace.c: Ditto. | |
1531 | * progspace.h: Ditto. | |
1532 | * psympriv.h: Ditto. | |
1533 | * psymtab.c: Ditto. | |
1534 | * record.c: Ditto. | |
1535 | * regcache.c: Ditto. | |
1536 | * regcache.h: Ditto. | |
1537 | * remote-fileio.c: Ditto. | |
1538 | * remote.c: Ditto. | |
1539 | * ser-mingw.c: Ditto. | |
1540 | * ser-tcp.c: Ditto. | |
1541 | * ser-unix.c: Ditto. | |
1542 | * serial.c: Ditto. | |
1543 | * serial.h: Ditto. | |
1544 | * solib-frv.c: Ditto. | |
1545 | * solib-irix.c: Ditto. | |
1546 | * solib-osf.c: Ditto. | |
1547 | * solib-pa64.c: Ditto. | |
1548 | * solib-som.c: Ditto. | |
1549 | * solib-sunos.c: Ditto. | |
1550 | * solib-svr4.c: Ditto. | |
1551 | * solib-target.c: Ditto. | |
1552 | * solib.c: Ditto. | |
1553 | * somread.c: Ditto. | |
1554 | * source.c: Ditto. | |
1555 | * stabsread.c: Ditto. | |
1556 | * stabsread.c: Ditto. | |
1557 | * stack.c: Ditto. | |
1558 | * stack.h: Ditto. | |
1559 | * symfile-mem.c: Ditto. | |
1560 | * symfile.c: Ditto. | |
1561 | * symfile.h: Ditto. | |
1562 | * symmisc.c: Ditto. | |
1563 | * symtab.c: Ditto. | |
1564 | * symtab.h: Ditto. | |
1565 | * target-descriptions.c: Ditto. | |
1566 | * target-memory.c: Ditto. | |
1567 | * target.c: Ditto. | |
1568 | * target.h: Ditto. | |
1569 | * terminal.h: Ditto. | |
1570 | * thread.c: Ditto. | |
1571 | * top.c: Ditto. | |
1572 | * tracepoint.c: Ditto. | |
1573 | * tracepoint.h: Ditto. | |
1574 | * ui-file.c: Ditto. | |
1575 | * ui-file.h: Ditto. | |
1576 | * ui-out.h: Ditto. | |
1577 | * user-regs.c: Ditto. | |
1578 | * user-regs.h: Ditto. | |
1579 | * utils.c: Ditto. | |
1580 | * valarith.c: Ditto. | |
1581 | * valops.c: Ditto. | |
1582 | * valprint.c: Ditto. | |
1583 | * valprint.h: Ditto. | |
1584 | * value.c: Ditto. | |
1585 | * varobj.c: Ditto. | |
1586 | * varobj.h: Ditto. | |
1587 | * vec.h: Ditto. | |
1588 | * xcoffread.c: Ditto. | |
1589 | * xcoffsolib.c: Ditto. | |
1590 | * xcoffsolib.h: Ditto. | |
1591 | * xml-syscall.c: Ditto. | |
1592 | * xml-tdesc.c: Ditto. | |
1593 | ||
9a2b4c1b MS |
1594 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
1595 | ||
1596 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
1597 | * cli/cli-decode.c: Ditto. | |
1598 | * cli/cli-dump.c: Ditto. | |
1599 | * cli/cli-logging.c: Ditto. | |
1600 | * cli/cli-script.c: Ditto. | |
1601 | * cli/cli-setshow.c: Ditto. | |
1602 | * common/signals.c: Ditto. | |
1603 | * mi/mi-cmd-break.c: Ditto. | |
1604 | * mi/mi-cmd-disas.c: Ditto. | |
1605 | * mi/mi-cmd-stack.c: Ditto. | |
1606 | * mi/mi-cmd-var.c: Ditto. | |
1607 | * mi/mi-cmds.c: Ditto. | |
1608 | * mi/mi-common.h: Ditto. | |
1609 | * mi/mi-console.c: Ditto. | |
1610 | * mi/mi-interp.c: Ditto. | |
1611 | * mi/mi-main.c: Ditto. | |
1612 | * osf-share/cma_attr.c: Ditto. | |
1613 | * osf-share/cma_deb_core.h: Ditto. | |
1614 | * osf-share/cma_debug_client.h: Ditto. | |
1615 | * osf-share/cma_handle.h: Ditto. | |
1616 | * osf-share/cma_mutex.h: Ditto. | |
1617 | * osf-share/cma_stack_int.h: Ditto. | |
1618 | * osf-share/cma_tcb_defs.h: Ditto. | |
1619 | * python/py-auto-load.c: Ditto. | |
1620 | * python/py-breakpoint.c: Ditto. | |
1621 | * python/py-cmd.c: Ditto. | |
1622 | * python/py-frame.c: Ditto. | |
1623 | * python/py-objfile.c: Ditto. | |
1624 | * python/py-param.c: Ditto. | |
1625 | * python/py-progspace.c: Ditto. | |
1626 | * python/py-symbol.c: Ditto. | |
1627 | * python/py-value.c: Ditto. | |
1628 | * python/python-internal.h: Ditto. | |
1629 | * python/python.c: Ditto. | |
1630 | * tui/tui-data.c: Ditto. | |
1631 | * tui/tui-disasm.c: Ditto. | |
1632 | * tui/tui-hooks.c: Ditto. | |
1633 | * tui/tui-io.c: Ditto. | |
1634 | * tui/tui-layout.c: Ditto. | |
1635 | * tui/tui-regs.c: Ditto. | |
1636 | * tui/tui-source.c: Ditto. | |
1637 | * tui/tui-stack.c: Ditto. | |
1638 | * tui/tui-win.c: Ditto. | |
1639 | * tui/tui-windata.c: Ditto. | |
1640 | * tui/tui-winsource.c: Ditto. | |
1641 | ||
44944448 JB |
1642 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
1643 | ||
1644 | * configure.ac, gdb.1: Copyright year update. | |
1645 | ||
ebedcab5 JK |
1646 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
1647 | ||
1648 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
1649 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
1650 | "__morestack" minimal symbol there. | |
1651 | ||
e5cc9f32 JB |
1652 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
1653 | ||
1654 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
1655 | ||
7b6bb8da JB |
1656 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
1657 | ||
1658 | Copyright year update in most files (performed by copyright.sh). | |
1659 | ||
71ce852c JB |
1660 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
1661 | ||
1662 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 1663 | |
c3c1ebe8 | 1664 | For older changes see ChangeLog-2010. |
c906108c SS |
1665 | \f |
1666 | Local Variables: | |
1667 | mode: change-log | |
1668 | left-margin: 8 | |
1669 | fill-column: 74 | |
1670 | version-control: never | |
57da7796 | 1671 | coding: utf-8 |
c906108c | 1672 | End: |