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