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