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