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