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