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