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