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