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