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