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