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