]> Git Repo - binutils.git/blame - gdb/ChangeLog
2011-02-14 Pedro Alves <[email protected]>
[binutils.git] / gdb / ChangeLog
CommitLineData
2a7498d8
PA
12011-02-14 Pedro Alves <[email protected]>
2
3 * Makefile.in (SFILES): Add memrange.c.
4 (HFILES_NO_SRCDIR): Add memrange.h.
5 (COMMON_OBS): Add memrange.o.
6 * memrange.c: New file.
7 * memrange.h: New file.
8 * tracepoint.c: Include memrange.h.
9 (struct mem_range): Delete.
10 (mem_range_s): Delete.
11 (traceframe_available_memory): New function.
12 * tracepoint.h (traceframe_available_memory): Declare.
13
b3b9301e
PA
142011-02-14 Pedro Alves <[email protected]>
15
16 * target.h (struct traceframe_info): Forward declare.
17 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
18 (struct target_ops) <to_traceframe_info>: New field.
19 (target_traceframe_info): New.
20 * target.c (update_current_target): Inherit and default
21 to_traceframe_info.
22 * remote.c (PACKET_qXfer_traceframe_info): New.
23 (remote_protocol_features): Register qXfer:traceframe-info:read.
24 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
25 (remote_traceframe_info): New.
26 (init_remote_ops): Install it.
27 (_initialize_remote): Install "set/show remote traceframe-info"
28 commands.
29 * tracepoint.h (parse_traceframe_info): Declare.
30 * tracepoint.c (struct mem_range): New.
31 (mem_range_s): New typedef.
32 (struct traceframe_info): New.
33 (traceframe_info): New global.
34 (free_traceframe_info): New function.
35 (clear_traceframe_info): New function.
36 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
37 info.
38 (build_traceframe_info): New function.
39 (tfile_traceframe_info): New function.
40 (init_tfile_ops): Install tfile_traceframe_info.
41 (traceframe_info_start_memory, free_result): New functions.
42 (memory_attributes, traceframe_info_elements): New globals.
43 (parse_traceframe_info, get_traceframe_info): New functions.
44 * features/traceframe-info.dtd: New file.
45 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
46
4e07d55f
PA
472011-02-14 Pedro Alves <[email protected]>
48
49 Base support for <unavailable> value contents.
50
4e07d55f
PA
51 * value.h (value_bytes_available): Declare.
52 (mark_value_bytes_unavailable): Declare.
53 * value.c (struct range): New struct.
54 (range_s): New typedef.
55 (ranges_overlap): New function.
56 (range_lessthan): New function.
57 (ranges_contain_p): New function.
58 (struct value) <unavailable>: New field.
59 (value_bytes_available): New function.
60 (mark_value_bytes_unavailable): New function.
61 (require_not_optimized_out): Constify parameter.
62 (require_available): New function.
63 (value_contents_all, value_contents): Require all bytes be
64 available.
65 (value_free): Free `unavailable'.
66 (value_copy): Copy `unavailable'.
67 * valprint.h (val_print_unavailable): Declare.
68 * valprint.c (valprint_check_validity): Rename `offset' parameter
69 to `embedded_offset'. If printing a scalar, check whether the
70 value chunk is available.
71 (val_print_unavailable): New.
72 (val_print_scalar_formatted): Check whether the value is
73 available.
74 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
75 pretty-printing unavailable values.
76
bc9a5551
JK
772011-02-13 Jan Kratochvil <[email protected]>
78
79 Fix const/volatile qualifiers of C++ types, PR c++/12328.
80 * c-typeprint.c (c_type_print_args): Update the function comment. New
81 variable param_type, initialize it. Remove const/volatile qualifiers
82 for language_cplus and !show_artificial. Use param_type.
83
93b55aa1
JK
842011-02-13 Jan Kratochvil <[email protected]>
85
86 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
87 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
88 * symtab.h (struct symtab) <next>: Comment extension.
89
181d9476
YQ
902011-02-12 Yao Qi <[email protected]>
91
92 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
93
c5187ac6
PA
942011-02-11 Pedro Alves <[email protected]>
95
96 * infrun.c (proceed): Move switching out and in of tfind mode from
97 here ...
98 (fetch_inferior_event): ... to here.
99
4f3e6fb7
YQ
1002011-02-11 Yao Qi <[email protected]>
101
102 * Makefile.in: Remove signals.o from COMMON_OBS. Link
103 libcommon.a.
104 * configure.ac: Add common to sub dir.
105 * configure: Regenerate.
106
2287cc7e
PA
1072011-02-10 Pedro Alves <[email protected]>
108
109 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
110 side of the parenthesis.
111
112 Merge from GCC:
113 2010-07-13 Jakub Jelinek <[email protected]>
fc013618 114 * vec.h (VEC_block_remove): Fix comment.
2287cc7e 115
fd62cb89
MS
1162011-02-08 Michael Snyder <[email protected]>
117
118 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
119
56d2815c
JK
1202011-02-08 Jan Kratochvil <[email protected]>
121
122 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
123 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
124 psubd and paddd.
125
4f7d61a8
JK
1262011-02-08 Jan Kratochvil <[email protected]>
127
128 PR 12361.
129 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
130 phsubsw.
131 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
132 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
133
54fcddd0
UW
1342011-02-08 Ulrich Weigand <[email protected]>
135
136 * dwarf2read.c (read_subroutine_type): Set special calling
137 convention flag for functions compiled by IBM XL C for OpenCL.
138 * ppc-sysv-tdep.c: Include "dwarf2.h"
139 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
140 calling convention.
141 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
142 IBM OpenCL vector types calling convention.
143 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
144 (ppc_sysv_abi_broken_return_value): Likewise.
145 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
146 types calling convention.
147 (ppc64_sysv_abi_return_value): Likewise.
148 * spu-tdep.c: Include "dwarf2.h"
149 (spu_return_value): Implement IBM OpenCL vector types calling
150 convention.
151
d6dafb7c
UW
1522011-02-08 Ulrich Weigand <[email protected]>
153
154 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
155 correct ABI for AltiVec vector arguments.
156
32b72a42
PA
1572011-02-07 Pedro Alves <[email protected]>
158
159 * valprint.c (val_print): Extend comment.
160 * ada-valprint.c (ada_valprint): Rewrite comment deferring
161 interface explanation to val_print.
162 (ada_val_print_array): Adjust comment to current interface.
163 (print_field_values): Adjust comment to current interface.
164 * c-valprint.c (c_val_print): Rewrite comment deferring interface
165 explanation to val_print.
166 * f-valprint.c (f_val_print): Ditto.
167 * jv-valprint.c (java_val_print): Ditto.
168 * m2-valprint.c (m2_val_print): Ditto.
169 * p-valprint.c (pascal_val_print): Ditto.
170
9998af43
TJB
1712011-02-07 Thiago Jung Bauermann <[email protected]>
172
173 * breakpoint.c (parse_breakpoint_sals): Fix description.
174
505500db 1752011-02-04 Sami Wagiaalla <[email protected]>
9998af43 176 Oguz Kayral <[email protected]>
505500db
SW
177
178 * python/py-inferior.c (python_on_normal_stop): New function.
179 (python_on_resume): New function.
180 (python_inferior_exit): New function.
181 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
182 inferior_exit observers.
183 * python/py-evtregistry.c: New file.
184 * python/py-threadevent.c : New file.
185 * python/py-event.c: New file.
186 * python/py-evts.c: New file.
187 * python/py-continueevent.c: New file.
188 * python/py-bpevent.c: New file.
189 * python/py-signalevent.c: New file.
190 * python/py-exetiedevent.c: New file.
191 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
192 Move struct breakpoint_object from here...
193 * python/python-internal.h: ... to here.
194 * python/py-event.h: New file.
195 * python/py-events.h: New file.
196 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
197 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
198 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
199 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
200 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
201 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
202 Add build rules for all the above.
203
9e0ac564
TT
2042011-02-04 Tom Tromey <[email protected]>
205
206 * dwarf2read.c (dwarf2_section_empty_p): New function.
207 (dwarf2_read_section): Use dwarf2_section_empty_p.
208 (dwarf2_section_size): New function.
209 (dwarf2_get_section_info): Unconditionally read section.
210 (dwarf2_read_index): Use dwarf2_section_empty_p.
211 (partial_read_comp_unit_head): Use dwarf2_section_size.
212 (dwarf2_symbol_mark_computed): Likewise.
213
eee5b35e
DD
2142011-02-04 David Daney <[email protected]>
215
216 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
217
385203ed
DD
2182011-02-04 David Daney <[email protected]>
219
220 * mips-linux-tdep.c: Include xml-syscall.h.
221 (mips_linux_get_syscall_number): New function.
222 (mips_linux_init_abi): Add calls to
223 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
224 * data-directory/Makefile.in (SYSCALLS_FILES): Add
225 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
226 * syscalls/mips-n32-linux.xml: New file.
227 * syscalls/mips-n64-linux.xml: New file.
228 * syscalls/mips-o32-linux.xml: New file.
229
9277c30c
UW
2302011-02-04 Ulrich Weigand <[email protected]>
231
232 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
233 Complain about inverted range entries.
234 (dwarf2_record_block_ranges): Likewise.
235
a3be7890
TJB
2362011-02-04 Thiago Jung Bauermann <[email protected]>
237
238 Fix some typos.
239 * breakpoint.c (update_watchpoint): Fix name of the
240 update_global_location_list function.
241 (print_one_breakpoint): Fix typo.
242 (_initialize_breakpoint): Remove extra space in hbreak help
243 string.
244 * breakpoint.h (struct bp_location) <length>: Fix field
245 description.
246
041274d8
PA
2472011-02-04 Pedro Alves <[email protected]>
248
249 * regcache.c (registers_changed_ptid): Don't explictly always
250 clear `current_regcache'. Only clear current_thread_ptid and
251 current_thread_arch when PTID matches. Only reinit the frame
252 cache if PTID matches the current inferior_ptid. Move alloca(0)
253 call to ...
254 (registers_changed): ... here.
255
c1c2ab58
UW
2562011-02-03 Ulrich Weigand <[email protected]>
257
258 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
259 starts with __stack_chk_guard as stack guard symbol.
260
9011945e
AB
2612011-02-03 Andrew Burgess <[email protected]>
262
263 * disasm.c (compare_lines): Handle the end of sequence markers
264 within the line table to better support disassembling over
265 compilation unit boundaries.
266
e0634ccf
UW
2672011-02-02 Ulrich Weigand <[email protected]>
268
269 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
270 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
271 implementation even if no symbols are available.
272 (thumb_analyze_prologue): Update call to skip_prologue_function.
273 (arm_analyze_prologue): Likewise.
274
0e9e9abd
UW
2752011-02-02 Ulrich Weigand <[email protected]>
276
277 * arm-tdep.c: Include "observer.h".
278 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
279 (arm_exidx_data_key): New static variable.
280 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
281 (struct arm_exidx_data): Likewise.
282 (arm_exidx_data_free): New function.
283 (arm_compare_exidx_entries): Likewise.
284 (arm_obj_section_from_vma): Likewise.
285 (arm_exidx_new_objfile): Likewise.
286 (arm_find_exidx_entry): Likewise.
287 (arm_exidx_fill_cache): Likewise.
288 (arm_exidx_unwind_sniffer): Likewise.
289 (arm_exidx_unwind): New global variable.
290 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
291 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
292 observer. Register arm_exidx_data_key as objfile data.
293
2e9e421f
UW
2942011-02-02 Ulrich Weigand <[email protected]>
295
296 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
297 due to accessing uninitialized variable. Fix indentation.
298
580688f3
PA
2992011-02-02 Pedro Alves <[email protected]>
300
301 * c-valprint.c (c_value_print): When doing virtual base pointer
302 adjustment, create a new value with adjusted contents rather than
303 changing the contents of the value being printed (and getting it
304 wrong).
305
3d2c1d41
PA
3062011-02-02 Pedro Alves <[email protected]>
307
308 * xml-support.c (xml_find_attribute): New.
309 (xinclude_start_include): Use it.
310 * xml-support.h (xml_find_attribute): Declare.
311 * memory-map.c (memory_map_start_memory)
312 (memory_map_start_property): Use xml_find_attribute.
313 * osdata.c (osdata_start_osdata, osdata_start_column): Use
314 xml_find_attribute.
315 * remote.c (start_thread): Use xml_find_attribute.
316 * solib-target.c (library_list_start_segment)
317 (library_list_start_section, library_list_start_library)
318 (library_list_start_list): Use xml_find_attribute.
319 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
320 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
321 (tdesc_start_field): Use xml_find_attribute.
322
0af3e2db
UW
3232011-02-02 Ulrich Weigand <[email protected]>
324
325 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
326 (BUILD_OCL_VTYPES): Update.
327
c1039e3c
JB
3282011-02-02 Joel Brobecker <[email protected]>
329
330 * configure.ac: Work around non-GNU sed limitation when computing
331 python version number.
332 * configure: Regenerate.
333
600ea1be
JK
3342011-02-01 Jan Kratochvil <[email protected]>
335
336 Fix debug printing of TYPE_INSTANCE.
337 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
338 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
339
56c12414
JK
3402011-02-01 Jan Kratochvil <[email protected]>
341
342 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
343 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
344 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
345 * ada-operator.inc: Rename the file to ...
346 * ada-operator.def: ... here, wrap all the entries by macro OP.
347 * expprint.c (op_name_standard): Remove all the entries. Include
348 "std-operator.def" instead.
349 * expression.h (enum exp_opcode): Include "std-operator.def" and
350 "ada-operator.def". Move all the entries ...
351 * std-operator.def: ... here, wrap all the entries by macro OP.
352
c52b559d
PP
3532011-01-31 Paul Pluzhnikov <[email protected]>
354
355 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
356 * breakpoint.c (remove_jit_event_breakpoints): New function.
357 * jit.c (jit_descriptor_addr): Delete.
358 (registering_code): Delete.
359 (clear_int): Delete.
360 (jit_inferior_data): New variable.
361 (struct jit_inferior_data): New type.
362 (get_jit_inferior_data): New function.
363 (jit_inferior_data_cleanup): New function.
364 (jit_read_descriptor): Adjust.
365 (jit_register_code): Adjust.
366 (jit_breakpoint_re_set_internal): New function; move code here ...
367 (jit_inferior_init): ... from here.
368 (jit_breakpoint_re_set): Adjust.
369 (jit_reset_inferior_data_and_breakpoints): New function.
370 (jit_inferior_created_observer): Adjust.
371 (jit_inferior_exit_hook): Adjust.
372 (jit_executable_changed_observer): New function.
373 (jit_event_handler): Adjust.
374 (_initialize_jit): Adjust.
375
e839132d
MS
3762011-01-31 Michael Snyder <[email protected]>
377
378 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
379 line.
380
47a80e90
TT
3812011-01-31 Tom Tromey <[email protected]>
382
383 PR python/12216:
384 * python/python.c (execute_gdb_command): Call
385 prevent_dont_repeat.
386 * top.c (suppress_dont_repeat): New global.
387 (dont_repeat): Use it.
388 (prevent_dont_repeat): New function.
389 * command.h (prevent_dont_repeat): Declare.
390
45a43567
TT
3912011-01-31 Tom Tromey <[email protected]>
392
393 * infcmd.c (finish_backward): Use breakpoint_set_silent.
394 * python/py-breakpoint.c (bppy_set_silent): Use
395 breakpoint_set_silent.
396 (bppy_set_thread): Use breakpoint_set_thread.
397 (bppy_set_task): Use breakpoint_set_task.
398 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
399 (breakpoint_set_task): Declare.
400 (make_breakpoint_silent): Remove.
401 * breakpoint.c (breakpoint_set_silent): New function.
402 (breakpoint_set_thread): Likewise.
403 (breakpoint_set_task): Likewise.
404 (make_breakpoint_silent): Remove.
405
09d682a4
TT
4062011-01-31 Tom Tromey <[email protected]>
407
408 * breakpoint.h (user_breakpoint_p): Declare.
409 * breakpoint.c (user_breakpoint_p): New function.
410 (breakpoint_1): Use it.
411 (save_breakpoints): Likewise.
412
9c4ea6c5
JB
4132011-01-31 Joel Brobecker <[email protected]>
414
415 * configure.ac: Add handling of Python distribution on Windows.
416 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
417 sysconfig variables are not defined, then do not use them.
418 On Windows, if LIBPL is not defined, then use prefix + '/libs'
419 instead. On Windows, return all paths using forward-slashes
420 rather than backslashes.
421
ac534cba
JB
4222011-01-31 Joel Brobecker <[email protected]>
423
424 * configure.ac: Remove fallback behavior for building
425 against Python. Remove tweaking of Python include path.
426 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
427 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
428 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
429 Always restore CPPFLAGS and LIBS after linking test.
430 * configure: Regenerated.
431 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
432 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
433 * python/python-internal.h: Adjust includes of Python .h files.
434
c2f0d045
JB
4352011-01-31 Joel Brobecker <[email protected]>
436
437 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
438 in error message.
439
6b0c4c1f
JB
4402011-01-31 Joel Brobecker <[email protected]>
441
442 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
443 value test.
444
672c9795
YQ
4452011-01-31 Yao Qi <[email protected]>
446
447 * arm-linux-nat.c: Update calls to regcache_register_status
448 instead of regcache_valid_p.
449 * aix-thread.c: Likewise.
450 * i386gnu-nat.c: Likewise.
451
80b23b6a
JK
4522011-01-29 Jan Kratochvil <[email protected]>
453
454 Fix crash.
455 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
456 touching TYPE_FIELD_ARTIFICIAL.
457
4cd712bd
RE
4582011-01-28 Richard Earnshaw <[email protected]>
459
460 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
461 Committers.
462
ffd5ec24
PA
4632011-01-28 Pedro Alves <[email protected]>
464
465 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
466 selected, don't try iterating over the traceframe's blocks.
467 (tfile_has_stack): If there's no traceframe selected, then there's
468 no stack.
469 (tfile_has_registers): If there's no traceframe selected, then
470 there's no registers.
471
e8c9e0a1
PA
4722011-01-28 Pedro Alves <[email protected]>
473
474 * target.c (memory_xfer_partial): No need to restore shadows if we
475 haven't read anything.
476
de15c4ab
PA
4772011-01-28 Pedro Alves <[email protected]>
478
479 * mips-tdep.c (mips_print_register): Use get_frame_register_value
480 and val_print_scalar_formatted.
481
9f41c731
PA
4822011-01-27 Pedro Alves <[email protected]>
483
484 * tracepoint.c (tfile_read): New.
485 (tfile_open): Use it.
486 (tfile_get_traceframe_address): Use it.
487 (tfile_trace_find): Use it.
488 (walk_blocks_callback_func): New typedef.
489 (match_blocktype): New function.
490 (traceframe_walk_blocks): New function.
491 (traceframe_find_block_type): New function.
492 (tfile_fetch_registers, tfile_xfer_partial)
493 (tfile_get_trace_state_variable_value): Use
494 traceframe_find_block_type and tfile_read.
495
cdefc55d
KB
4962011-01-26 Kevin Buettner <[email protected]>
497
498 * remote-mips.c: Add internationalization mark ups. Remove
499 trailing \n from already marked up strings.
500
a81766d8
TT
5012011-01-26 Tom Tromey <[email protected]>
502
503 * python/py-prettyprint.c (print_string_repr): Clear
504 'addressprint' option when calling val_print_string.
505 (print_children): Handle Val_pretty_default. Clear 'addressprint'
506 option when calling val_print_string.
507
74aedc46
TT
5082011-01-26 Tom Tromey <[email protected]>
509
510 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
511 GDB_PY_LL_ARG.
512 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
513 macros.
514 (gdb_py_longest, gdb_py_ulongest): New typedefs.
515 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
516 (gdb_py_long_as_ulongest): New defines.
517 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
518 (gdb_py_int_as_long): Declare.
519 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
520 GDB_PY_LL_ARG, gdb_py_object_from_longest.
521 (valpy_long): Add comment.
522 * python/py-utils.c (get_addr_from_python): Use
523 gdb_py_long_as_ulongest. Handle overflow properly.
524 (gdb_py_object_from_longest): New function.
525 (gdb_py_object_from_ulongest): Likewise.
526 (gdb_py_int_as_long): Likewise.
527 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
528 * python/py-symtab.c (salpy_get_pc): Use
529 gdb_py_long_from_ulongest.
530 (salpy_get_line): Use PyInt_FromLong.
531 * python/py-param.c (set_parameter_value): Use
532 gdb_py_int_as_long.
533 * python/py-lazy-string.c (stpy_get_address): Use
534 gdb_py_long_from_ulongest.
535 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
536 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
537 * python/py-breakpoint.c (bppy_set_thread): Use
538 gdb_py_int_as_long.
539 (bppy_set_task): Likewise.
540 (bppy_set_ignore_count): Likewise.
541 (bppy_set_hit_count): Likewise.
542 * python/py-block.c (blpy_get_start): Use
543 gdb_py_object_from_ulongest.
544 (blpy_get_end): Likewise.
545 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
546
e4f6d2ec
TJB
5472011-01-25 Mathieu Lacage <[email protected]>
548
549 PR/symtab 11766:
550 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
551 * gdb/solib.c (solib_read_symbols): Check for addr_low in
552 equality test for objfile, initialize addr_low if needed.
553
b30aa278
PA
5542011-01-25 Pedro Alves <[email protected]>
555
556 * tui/tui-regs.c (tui_register_format): Remove dead code.
557
ab2188aa
PA
5582011-01-25 Pedro Alves <[email protected]>
559
560 * printcmd.c (print_formatted): Use val_print_scalar_formatted
561 instead of print_scalar_formatted.
562 (print_scalar_formatted): Don't handle 's' format strings here,
563 and add an assertion that we never see such format here.
564 * valprint.h (val_print_scalar_formatted): Declare.
565 * valprint.c (val_print_scalar_formatted): New.
566 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
567 instead of print_scalar_formatted.
568 * jv-valprint.c (java_val_print): Ditto.
569 * p-valprint.c (pascal_val_print): Ditto.
570 * ada-valprint.c (ada_val_print_1): Ditto.
571 * f-valprint.c (f_val_print): Ditto.
572 * infcmd.c (registers_info): Ditto.
573 * m2-valprint.c (m2_val_print): Ditto.
574
66d61a4c
PA
5752011-01-25 Pedro Alves <[email protected]>
576
577 * m2-valprint.c (print_unbounded_array): Pass
578 value_contents_for_printing rather than value_contents, to
579 m2_print_array_contents. Also pass in the value.
580
831adc1f
JK
5812011-01-25 Jan Kratochvil <[email protected]>
582
583 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
584 (save_gdb_index_command): Switch to .gdb_index version 4.
585
20622269
PA
5862011-01-25 Pedro Alves <[email protected]>
587
588 * mi/mi-main.c (get_register): Use get_frame_register_value rather
589 than frame_register, and always pass a valid value to val_print.
590
585fdaa1
PA
5912011-01-25 Pedro Alves <[email protected]>
592
593 Centralize printing "<optimized out>".
594
595 * valprint.h (val_print_optimized_out): Declare.
596 * cp-valprint.c (cp_print_value_fields): Use
597 val_print_optimized_out.
598 * jv-valprint.c (java_print_value_fields): Ditto.
599 * p-valprint.c (pascal_object_print_value_fields): Ditto.
600 * printcmd.c (print_formatted): Ditto.
601 * valprint.c (valprint_check_validity): Ditto.
602 (value_check_printable): Ditto.
603 (val_print_optimized_out): New.
604
29ec5263
PA
6052011-01-25 Pedro Alves <[email protected]>
606
607 * infcmd.c (default_print_registers_info): Allocate values so to
608 never pass a NULL value to val_print.
609
de4127a3
PA
6102011-01-25 Pedro Alves <[email protected]>
611
612 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
613 boolean. Make sure to always pass a value that matches the
614 contents buffer to callees. Preserve `address' for following
615 iterations.
616 * value.c (value_contents_for_printing_const): New.
617 (value_address): Constify value argument.
618 * value.h (value_contents_for_printing_const): Declare.
619 (value_address): Constify value argument.
620
ee99023e
PA
6212011-01-25 Pedro Alves <[email protected]>
622
623 * regcache.c (struct regcache_descr): Rename
624 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
625 and sizeof_cooked_register_valid_p to
626 sizeof_cooked_register_status.
627 (init_regcache_descr): Adjust.
628 (struct regcache): Rename register_valid_p field to
629 register_status.
630 (regcache_xmalloc_1, regcache_xfree, regcache_save)
631 (do_cooked_read): Adjust.
632 (regcache_valid_p): Rename to ...
633 (regcache_register_status): ... this. Adjust.
634 (regcache_invalidate): Adjust.
635 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
636 Adjust.
637 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
638 as unavailable, not valid.
639 (regcache_dump): Adjust.
640 * regcache.h (enum register_status): New.
641 (regcache_register_status): Declare.
642 (regcache_invalidate): Delete declaration.
643 * corelow.c (get_core_registers): Adjust.
644 * tracepoint.c (tfile_fetch_registers): Adjust.
645 * trad-frame.c (REG_VALUE): Rename to ...
646 (TF_REG_VALUE): ... this.
647 (REG_UNKNOWN): Rename to ...
648 (TF_REG_UNKNOWN): ... this.
649 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
650 * mi/mi-main.c (register_changed_p): Adjust.
651
99e42fd8
PA
6522011-01-25 Pedro Alves <[email protected]>
653
654 * regcache.c (struct regcache_descr): Remove outdated comment.
655 (init_regcache_descr): Remove sizeof_raw_register_valid_p
656 overallocate hack.
657 (regcache_xmalloc): Rename to ...
658 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
659 Allocate the regcache type accordingly.
660 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
661 (regcache_xfree): Asser the source is also readonly. Copy sizeof
662 cooked registers, not raw.
663 (regcache_dup_no_passthrough): Delete.
664 (get_thread_arch_regcache): Use regcache_xmalloc_1.
665 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
666 mention obsolete write_register_bytes.
667 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
668
f7605bc2
PA
6692011-01-25 Pedro Alves <[email protected]>
670
671 Stop remote_read_bytes from handling partial reads itself.
672
673 * remote-fileio.c: Include target.h.
674 (remote_fileio_write_bytes): Delete.
675 (remote_fileio_func_open, remote_fileio_func_write)
676 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
677 target_read_memory.
678 (remote_fileio_func_stat): Use target_read_memory and
679 target_write_memory.
680 (remote_fileio_func_gettimeofday): Use target_write_memory.
681 (remote_fileio_func_system): Use target_read_memory.
682 * remote.c (remote_write_bytes): Make it static.
683 (remote_read_bytes): Don't handle partial reads here.
684 * remote.h (remote_read_bytes): Delete declaration.
685
efc0eabd
PA
6862011-01-25 Pedro Alves <[email protected]>
687
688 Simplify XML parsing a bit.
689
690 * xml-support.h (gdb_xml_parse_quick): Declare.
691 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
692 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
693 parameter.
694 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
695 gdb_xml_create_parser_and_cleanup_1.
696 (gdb_xml_parse_quick): New.
697 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
698 * osdata.c (osdata_parse): Ditto.
699 * remote.c (remote_threads_info): Ditto.
700 * solib-target.c (solib_target_parse_libraries): Ditto.
701 * xml-syscall.c (syscall_parse_xml): Ditto.
702 * xml-tdesc.c (tdesc_parse_xml): Ditto.
703
314d366a
KB
7042011-01-24 Kevin Buettner <[email protected]>
705
706 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
707 with remote-mips.o added to gdb_target_obs.
708 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
709
a491d753
PA
7102011-01-24 Pedro Alves <[email protected]>
711
712 * ada-valprint.c (val_print_packed_array_elements): Pass the
713 correct struct value to val_print.
714 (ada_val_print_1): Ditto.
715
490f124f
PA
7162011-01-24 Pedro Alves <[email protected]>
717
718 Don't lose embedded_offset in printing routines throughout.
719
720 * valprint.h (val_print_array_elements): Change prototype.
721 * valprint.c (val_print_array_elements): Add `embedded_offset'
722 parameter, and adjust to pass it down to val_print, while passing
723 `valaddr' or `address' unmodified. Take embedded_offset into
724 account when checking repetitions.
725 * c-valprint.c (c_val_print): Pass embedded_offset to
726 val_print_array_elements instead of adjusting `valaddr' and
727 `address'.
728 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
729 embedded_offset to val_print_array_elements instead of adjusting
730 `valaddr'.
731 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
732 * p-valprint.c (pascal_val_print): Pass embedded_offset to
733 val_print_array_elements and pascal_object_print_value_fields
734 instead of adjusting `valaddr'.
735 (pascal_object_print_value_fields): Add `offset' parameter, and
736 adjust to use it.
737 (pascal_object_print_value): Add `offset' parameter, and adjust to
738 use it.
739 (pascal_object_print_static_field): Use
740 value_contents_for_printing/value_embedded_offset, rather than
741 value_contents.
742 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
743 parameter, and adjust to use it. Use
744 value_contents_for_printing/value_embedded_offset, rather than
745 value_contents.
746 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
747 (ada_val_print_array): Add `offset' parameter, and adjust to use
748 it.
749 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
750 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
751 Instead work with offsets. Use
752 value_contents_for_printing/value_embedded_offset, rather than
753 value_contents. Change `defer_val_int' local type to CORE_ADDR,
754 and use value_from_pointer to extract a target pointer, rather
755 than value_from_longest.
756 (print_variant_part): Add `offset' parameter. Replace
757 `outer_valaddr' parameter by a new `outer_offset' parameter.
758 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
759 (ada_value_print): Use
760 value_contents_for_printing/value_embedded_offset, rather than
761 value_contents.
762 (print_record): Add `offset' parameter, and adjust to pass it
763 down.
764 (print_field_values): Add `offset' parameter. Replace
765 `outer_valaddr' parameter by a new `outer_offset' parameter.
766 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
767 Use value_contents_for_printing/value_embedded_offset, rather than
768 value_contents.
769 * d-valprint.c (dynamic_array_type): Use
770 value_contents_for_printing/value_embedded_offset, rather than
771 value_contents.
772 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
773 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
774 (java_print_value_fields): Take `offset' into account. Don't
775 re-adjust `valaddr'. Instead pass down adjusted offsets.
776 (java_val_print): Take `embedded_offset' into account. Pass it to
777 java_print_value_fields.
778 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
779 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
780 down adjusted offsets.
781 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
782 (f_val_print): Take `embedded_offset' into account.
783
7bfc9434
JB
7842011-01-21 Joel Brobecker <[email protected]>
785
786 * inflow.c: Include "gdbcmd.h".
787 (interactive_mode): New static global, moved here from top.c.
788 (show_interactive_mode): New function, moved here from top.c.
789 use gdb_has_a_terminal instead of input_from_terminal_p to
790 determine the current mode.
791 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
792 setting.
793 (_initialize_inflow): Add the "set/show interactive-mode"
794 commands. Moved here from top.c, after having adjusted slightly
795 the help text.
796 * top.c (interactive_mode, show_interactive_mode): Delete, moved
797 to inflow.c.
798 (input_from_terminal_p): Remove handling of "interactive-mode"
799 setting, moved to infow.c.
800 (init_main): Remove creation of the "set/show interactive-mode"
801 commands, moved to inflow.c.
802
44603653
JB
8032011-01-19 Joel Brobecker <[email protected]>
804
805 * NEWS: Add entry for native ia64-hpux support.
806
4694da01
TT
8072011-01-19 Tom Tromey <[email protected]>
808
809 PR mi/8618:
810 * thread.c (free_thread): Free 'name'.
811 (print_thread_info): Emit thread name. Change CLI output.
812 (thread_name_command): New function.
813 (do_captured_thread_select): Emit newline.
814 (_initialize_thread): Register 'thread name' command.
815 * target.h (struct target_ops) <to_thread_name>: New field.
816 (target_thread_name): New macro.
817 * target.c (update_current_target): Handle to_thread_name.
818 * python/py-infthread.c (thpy_get_name): New function.
819 (thpy_set_name): Likewise.
820 (thread_object_getset): Add "name".
821 * linux-nat.c (linux_nat_thread_name): New function.
822 (linux_nat_add_target): Set to_thread_name.
823 * gdbthread.h (struct thread_info) <name>: New field.
824
10d44370
JB
8252011-01-18 Joel Brobecker <[email protected]>
826
827 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
828 (ada_val_print_1): Likewise.
829
e3acb115
JB
8302011-01-18 Joel Brobecker <[email protected]>
831
832 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
833 upper limit address is not greater than the function end address
834 when the upper limit could not be computed using the debugging
835 info.
836
dc92e161
TT
8372011-01-17 Tom Tromey <[email protected]>
838
839 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
840 get_regcomp_error.
841 * utils.c: Include gdb_regex.h.
842 (do_regfree_cleanup): New function.
843 (make_regfree_cleanup): Likewise.
844 (get_regcomp_error): Likewise.
845 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
846
f55af66d
TT
8472011-01-17 Tom Tromey <[email protected]>
848
849 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
850 re_compile_fastmap.
851
a5a44b53
PM
8522011-01-17 Pierre Muller <[email protected]>
853
854 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
855 for internal variables.
856 (last_was_structop): New static variable.
857 (COMPLETE): New token.
858 (field_exp): New rule to group all '.' suffix handling.
859 Add mark_struct_expression calls when approriate to be able
860 to correctly find fields for completion.
861 (yylex): Adapt to handle field completion and set INTVAR when
862 required.
863
2c291032
YQ
8642011-01-14 Yao Qi <[email protected]>
865
866 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
867 save_reggroup, restore_reggroup and all_reggroup.
868
447b483c
JB
8692011-01-14 Joel Brobecker <[email protected]>
870
871 * ada-valprint. (ada_printchar): Use the correct type length
872 in call to ada_emit_char.
873 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
874
7b64a93b
PM
8752011-01-14 Pierre Muller <[email protected]>
876
877 * solib-som.h (hpux_major_release): Declare variable here.
878 * solib-som.c: Remove <sys/utsname.h> header.
879 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
880 (hpux_major_release): Make global, change default value to
881 DEFAULT_HPUX_MAJOR_RELEASE.
882 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
883 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
884 Add "solib-som.h" header.
885 (set_hpux_major_release): New function.
886 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
887
4e18c053
MF
8882011-01-14 Mike Frysinger <[email protected]>
889
890 * configure.tgt (*-*-uclinux*): Match more Linux os targets
891
a9df6b22
JB
8922011-01-14 Joel Brobecker <[email protected]>
893
894 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
895 new-line at end of warning message.
896 (ia64_hpux_store_register): Remove trailing new-line at end of
897 error message.
898 * ia64-hpux-tdep.c: Rephrase comment.
899 * solib-ia64-hpux.c (struct dld_info): Change type of field
900 dld_flags from "long long" to ULONGEST.
901
ecb956dd
PA
9022011-01-14 Pedro Alves <[email protected]>
903
904 * target.h (deprecated_child_ops): Delete declaration.
905 * target.c (deprecated_child_ops): Delete definition.
906
76adfcae
PA
9072011-01-14 Pedro Alves <[email protected]>
908
909 * Makefile.in (hpux-thread.o): Delete rule.
910 * configure.ac: Don't check for HPUX DCE threads support.
911 * configure, config.in: Regenerate.
912 * hppa-hpux-nat.c (child_suppress_run): Delete.
913 (hppa_hpux_child_can_run): Delete.
914 (_initialize_hppa_hpux_nat): Don't override to_can_run.
915 * hpux-thread.c: Delete.
916
042e866e
JB
9172011-01-13 Joel Brobecker <[email protected]>
918
919 * hpux-thread.c (hpux_pid_to_str): Delete.
920
4ffa5a33
JB
9212011-01-13 Joel Brobecker <[email protected]>
922
923 * ada-valprint.c (ada_emit_char): Remove strange code.
924 Check that c is <= UCHAR_MAX before passing it to isascii.
925 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
926
de8fa76c
JB
9272011-01-13 Joel Brobecker <[email protected]>
928
929 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
930 to the case where instream is stdin.
931
c4de7027
JB
9322011-01-13 Joel Brobecker <[email protected]>
933
934 * ia64-tdep.h (struct regcache): Forward declare.
935 (struct ia64_infcall_ops): New struct type.
936 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
937 and "infcall_ops".
938 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
939 Renames ia64_find_global_pointer.
940 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
941 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
942 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
943 methods.
944 (ia64_infcall_ops): New static global constant.
945 (ia64_gdbarch_init): Set tdep->infcall_ops.
946 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
947 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
948 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
949 (ia64_hpux_dummy_code): New static global constant.
950 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
951 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
952 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
953 New function.
954 (ia64_hpux_infcall_ops): New static global constant.
955 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
956 for inferior function calls to work properly on ia64-hpux.
957
77ca787b
JB
9582011-01-13 Joel Brobecker <[email protected]>
959
960 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
961 * ia64-tdep.h (struct frame_info): forward declaration.
962 (struct gdbarch_tdep): Add field size_of_register_frame.
963 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
964 to determine the size of the register frame.
965 (ia64_size_of_register_frame): New function.
966 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
967 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
968 (IA64_HPUX_UREG_REASON): New macro.
969 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
970 New functions.
971 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
972 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
973 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
974 objects.
975
92c9a463
JB
9762011-01-13 Joel Brobecker <[email protected]>
977
978 Add support for ia64-hpux.
979 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
980 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
981
982 * configure.host: Add handling for ia64-hpux hosts. Add associated
983 floatformats.
984 * configure.tgt: Add handling for ia64-hpux targets.
985 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
986 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
987 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
988
f688d93f
JB
9892011-01-13 Joel Brobecker <[email protected]>
990
991 [ttrace] Compute thread list immediately after attach.
992 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
993 New subprogram.
994 (inf_ttrace_attach): Use it.
995
1b89e62f
JB
9962011-01-13 Joel Brobecker <[email protected]>
997
998 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
999 if we could not determine the frame's function address. Instead,
1000 use the frame's PC, and then continue.
1001
3e5e6e2a
JB
10022011-01-13 Joel Brobecker <[email protected]>
1003
1004 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1005 not already defined.
1006
825d6d8a
JB
10072011-01-13 Joel Brobecker <[email protected]>
1008
1009 * ia64-tdep.c (ia64_struct_type_p): New function.
1010 (ia64_extract_return_value): Handle integral values that are
1011 less than 8 bytes long.
1012 (ia64_push_dummy_call): Likewise.
1013
7458e667
JB
10142011-01-13 Joel Brobecker <[email protected]>
1015
1016 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1017 floatformat_ia64_ext.
1018 (floatformat_ia64_ext_big): New static const.
1019 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1020
1b05df00
TT
10212011-01-12 Tom Tromey <[email protected]>
1022
1023 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1024 messages.
1025 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1026 (mi_cmd_thread_list_ids): Likewise.
1027 (mi_cmd_data_list_changed_registers): Likewise.
1028 (mi_cmd_data_list_register_values): Likewise.
1029 (mi_cmd_data_write_register_values): Likewise.
1030 (mi_cmd_data_evaluate_expression): Likewise.
1031 (mi_cmd_data_read_memory): Likewise.
1032 (mi_cmd_data_read_memory_bytes): Likewise.
1033 (mi_cmd_data_write_memory): Likewise.
1034 (mi_cmd_enable_timings): Likewise.
1035 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1036 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1037 (mi_cmd_var_delete): Likewise.
1038 (mi_cmd_var_set_format): Likewise.
1039 (mi_cmd_var_show_format): Likewise.
1040 (mi_cmd_var_info_num_children): Likewise.
1041 (mi_cmd_var_list_children): Likewise.
1042 (mi_cmd_var_info_type): Likewise.
1043 (mi_cmd_var_info_expression): Likewise.
1044 (mi_cmd_var_show_attributes): Likewise.
1045 (mi_cmd_var_assign): Likewise.
1046 (mi_cmd_var_update): Likewise.
1047 (mi_cmd_enable_pretty_printing): Likewise.
1048 (mi_cmd_var_set_update_range): Likewise.
1049 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1050 messages.
1051 (mi_cmd_target_file_put): Likewise.
1052 (mi_cmd_target_file_delete): Likewise.
1053 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1054 messages.
1055 (mi_cmd_stack_info_depth): Likewise.
1056 (mi_cmd_stack_list_locals): Likewise.
1057 (mi_cmd_stack_list_args): Likewise.
1058 (mi_cmd_stack_select_frame): Likewise.
1059 (mi_cmd_stack_select_frame): Likewise.
1060 (mi_cmd_stack_info_frame): Likewise.
1061 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1062 messages.
1063 (mi_cmd_file_list_exec_source_files): Likewise.
1064 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1065 (mi_cmd_env_cd): Likewise.
1066 (mi_cmd_env_path): Likewise.
1067 (mi_cmd_env_dir): Likewise.
1068 (mi_cmd_inferior_tty_show): Likewise.
1069 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1070 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1071 (mi_cmd_break_watch): Likewise.
1072
ad422571
TJB
10732011-01-12 Thiago Jung Bauermann <[email protected]>
1074
1075 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1076 (ppc_linux_insert_hw_breakpoint): Likewise.
1077 (ppc_linux_remove_hw_breakpoint): Likewise.
1078 (ppc_linux_insert_watchpoint): Likewise.
1079
c2ff108b
JK
10802011-01-12 Andrew Burgess <[email protected]>
1081 Jan Kratochvil <[email protected]>
1082
1083 PR fortran/11104 and DWARF unbound arrays detection.
1084 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1085 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1086 unspecified upper bound.
1087 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1088 variables array_size_array, tmp_type and offset_item. New variable
1089 array. Remove call to f77_get_upperbound. New variables array_type
1090 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1091 the final call to deprecated_set_value_type.
1092
41e8491f
JK
10932011-01-12 Jan Kratochvil <[email protected]>
1094
1095 Make value allocations more lazy.
1096 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1097 instead of allocate_value and set_value_lazy when possible.
1098 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1099 instead of allocate_value and set_value_lazy.
1100 * findvar.c (value_of_register_lazy): Likewise.
1101 (read_var_value): Remove V preallocation, call just check_typedef in
1102 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1103 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1104 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1105 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1106 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1107 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1108 the end, remove set_value_lazy there.
1109 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1110 instead of allocate_value and set_value_lazy when possible.
1111 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1112 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1113 of allocate_value and set_value_lazy.
1114 (value_from_contents_and_address): Use allocate_value_lazy instead of
1115 allocate_value and set_value_lazy when possible.
1116
b716877b
AB
11172011-01-12 Andrew Burgess <[email protected]>
1118
1119 * disasm.c (dump_insns): Support dumping opcodes for MI.
1120 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1121 dumping of instruction opcodes.
1122
d5ae309f
JB
11232011-01-09 Robert Millan <[email protected]> (tiny patch)
1124
1125 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1126 appropiately.
1127
98871305
TT
11282011-01-11 Tom Tromey <[email protected]>
1129
1130 * thread.c (do_captured_thread_select): Emit newline before
1131 printing frame.
1132
c378eb4e
MS
11332011-01-11 Michael Snyder <[email protected]>
1134
1135 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1136 * score-tdep.c: Ditto.
1137 * score-tdep.h: Ditto.
1138 * ser-base.c: Ditto.
1139 * ser-go32.c: Ditto.
1140 * serial.c: Ditto.
1141 * serial.h: Ditto.
1142 * ser-mingw.c: Ditto.
1143 * ser-pipe.c: Ditto.
1144 * ser-tcp.c: Ditto.
1145 * ser-unix.c: Ditto.
1146 * sh64-tdep.c: Ditto.
1147 * shnbsd-nat.c: Ditto.
1148 * sh-tdep.c: Ditto.
1149 * sh-tdep.h: Ditto.
1150 * solib.c: Ditto.
1151 * solib-darwin.c: Ditto.
1152 * solib-frv.c: Ditto.
1153 * solib.h: Ditto.
1154 * solib-irix.c: Ditto.
1155 * solib-osf.c: Ditto.
1156 * solib-pa64.c: Ditto.
1157 * solib-som.c: Ditto.
1158 * solib-spu.c: Ditto.
1159 * solib-sunos.c: Ditto.
1160 * solib-svr4.c: Ditto.
1161 * solist.h: Ditto.
1162 * sol-thread.c: Ditto.
1163 * somread.c: Ditto.
1164 * source.c: Ditto.
1165 * source.h: Ditto.
1166 * sparc64-linux-tdep.c: Ditto.
1167 * sparc64-tdep.c: Ditto.
1168 * sparc-linux-nat.c: Ditto.
1169 * sparc-linux-tdep.c: Ditto.
1170 * sparc-sol2-nat.c: Ditto.
1171 * sparc-sol2-tdep.c: Ditto.
1172 * sparc-tdep.c: Ditto.
1173 * sparc-tdep.h: Ditto.
1174 * spu-tdep.c: Ditto.
1175 * stabsread.c: Ditto.
1176 * stabsread.h: Ditto.
1177 * stack.c: Ditto.
1178 * symfile.c: Ditto.
1179 * symfile.h: Ditto.
1180 * symmisc.c: Ditto.
1181 * symtab.c: Ditto.
1182 * symtab.h: Ditto.
1183 * target.c: Ditto.
1184 * target-descriptions.c: Ditto.
1185 * target-descriptions.h: Ditto.
1186 * target.h: Ditto.
1187 * target-memory.c: Ditto.
1188 * terminal.h: Ditto.
1189 * thread.c: Ditto.
1190 * top.c: Ditto.
1191 * tracepoint.c: Ditto.
1192 * tracepoint.h: Ditto.
1193 * trad-frame.h: Ditto.
1194 * typeprint.c: Ditto.
1195
581e13c1
MS
11962011-01-11 Michael Snyder <[email protected]>
1197
1198 * ui-file.c: Comment cleanup, mostly periods and spaces.
1199 * ui-file.h: Ditto.
1200 * ui-out.c: Ditto.
1201 * ui-out.h: Ditto.
1202 * utils.c: Ditto.
1203 * v850-tdep.c: Ditto.
1204 * valarith.c: Ditto.
1205 * valops.c: Ditto.
1206 * valprint.c: Ditto.
1207 * valprint.h: Ditto.
1208 * value.c: Ditto.
1209 * value.h: Ditto.
1210 * varobj.c: Ditto.
1211 * varobj.h: Ditto.
1212 * vax-tdep.c: Ditto.
1213 * vec.c: Ditto.
1214 * vec.h: Ditto.
1215 * version.h: Ditto.
1216 * windows-nat.c: Ditto.
1217 * windows-tdep.c: Ditto.
1218 * xcoffread.c: Ditto.
1219 * xcoffsolib.c: Ditto.
1220 * xml-support.c: Ditto.
1221 * xstormy16-tdep.c: Ditto.
1222 * xtensa-tdep.c: Ditto.
1223 * xtensa-tdep.h: Ditto.
1224
90e4670f
TJB
12252011-01-11 Thiago Jung Bauermann <[email protected]>
1226
1227 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1228 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1229
e09342b5
TJB
12302011-01-11 Sergio Durigan Junior <[email protected]>
1231 Thiago Jung Bauermann <[email protected]>
1232
1233 Implement support for PowerPC BookE ranged watchpoints.
1234 * breakpoint.h
1235 (struct breakpoint_ops) <resources_needed>: New method.
1236 Initialize to NULL in all existing breakpoint_ops instances.
1237 (struct breakpoint) <exact>: New field.
1238 (target_exact_watchpoints): Declare external global.
1239 * breakpoint.c (target_exact_watchpoints): New global flag.
1240 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1241 b->enable_state to bp_enabled before calling
1242 hw_watchpoint_used_count.
1243 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1244 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1245 if available.
1246 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1247 if the watchpoint is exact.
1248 (resources_needed_watchpoint): New function.
1249 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1250 (watch_command_1): Set b->exact if the user asked for an exact
1251 watchpoint and one can be set.
1252 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1253 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1254 the user asks for an exact watchpoint and one can be set. Return
1255 number of needed debug registers to watch the expression.
1256 * gdbtypes.c (is_scalar_type): New function, based on
1257 valprint.c:scalar_type_p.
1258 (is_scalar_type_recursive): New function.
1259 * gdbtypes.h (is_scalar_type_recursive): Declare.
1260 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1261 handle regions when ranged watchpoints are available.
1262 (create_watchpoint_request): New function.
1263 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1264 create_watchpoint_request.
1265 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1266 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1267 `set powerpc' and `show powerpc' commands.
1268 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1269 Mention documentation comment in the target macro.
1270 (target_region_ok_for_hw_watchpoint): Document return value.
1271
9fa40276
TJB
12722011-01-11 Thiago Jung Bauermann <[email protected]>
1273
1274 * breakpoint.c (update_watchpoint): Decide on using a software or
1275 hardware watchpoint after the bp_locations are created.
1276
77b06cd7
TJB
12772010-01-11 Thiago Jung Bauermann <[email protected]>
1278
1279 Convert hardware watchpoints to use breakpoint_ops.
1280 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1281 <insert_location>: ... this. Return int instead of void.
1282 Accept pointer to struct bp_location instead of pointer to
1283 struct breakpoint. Adapt all implementations.
1284 (breakpoint_ops) <remove>: Rename to...
1285 <remove_location>: ... this. Accept pointer to struct bp_location
1286 instead of pointer to struct breakpoint. Adapt all implementations.
1287 * breakpoint.c (insert_catchpoint): Delete function.
1288 (insert_bp_location): Call the watchpoint or catchpoint's
1289 breakpoint_ops.insert method.
1290 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1291 breakpoint_ops.remove method.
1292 (insert_watchpoint, remove_watchpoint): New functions.
1293 (watchpoint_breakpoint_ops): New structure.
1294 (watch_command_1): Initialize the OPS field.
1295 * inf-child.c (inf_child_insert_fork_catchpoint)
1296 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1297 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1298 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1299 Delete functions.
1300 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1301 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1302 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1303 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1304 * target.c (update_current_target): Change default implementation of
1305 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1306 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1307 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1308 to_set_syscall_catchpoint to return_one.
1309 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1310 (debug_to_insert_exec_catchpoint): Report return value.
1311 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1312 (to_insert_exec_catchpoint): Change declaration to return int instead
1313 of void.
1314
9b20d036
MS
13152011-01-11 Michael Snyder <[email protected]>
1316
1317 * arm-tdep.c: Internationalization.
1318 * c-lang.c: Ditto.
1319 * charset.c: Ditto.
1320 * fork-child.c: Ditto.
1321 * nto-procfs.c: Ditto.
1322 * ppc-sysv-tdep.c: Ditto.
1323 * procfs.c: Ditto.
1324 * remote-mips.c: Ditto.
1325 * remote.c: Ditto.
1326 * rs6000-nat.c: Ditto.
1327 * rs6000-tdep.c: Ditto.
1328 * target.c: Ditto.
1329 * valops.c: Ditto.
1330 * value.c: Ditto.
1331 * xml-support.c: Ditto.
1332 * mi/mi-cmd-break.c: Ditto.
1333 * mi/mi-cmd-var.c: Ditto.
1334 * mi/mi-interp.c: Ditto.
1335 * mi/mi-main.c: Ditto.
1336
dae477fe
AB
13372011-01-11 Andrew Burgess <[email protected]>
1338
1339 * remote-sim.c (gdbsim_store_register): Update API to
1340 sim_store_register to check more error conditions.
1341
0df8b418
MS
13422011-01-10 Michael Snyder <[email protected]>
1343
1344 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1345 * nto-tdep.c: Ditto.
1346 * nto-tdep.h: Ditto.
1347 * objc-exp.y: Ditto.
1348 * objc-lang.c: Ditto.
1349 * objfiles.c: Ditto.
1350 * objfiles.h: Ditto.
1351 * observer.c: Ditto.
1352 * opencl-lang.c: Ditto.
1353 * osabi.c: Ditto.
1354 * parse.c: Ditto.
1355 * parser-defs.h: Ditto.
1356 * p-exp.y: Ditto.
1357 * p-lang.c: Ditto.
1358 * posix-hdep.c: Ditto.
1359 * ppcbug-rom.c: Ditto.
1360 * ppc-linux-nat.c: Ditto.
1361 * ppc-linux-tdep.c: Ditto.
1362 * ppc-linux-tdep.h: Ditto.
1363 * ppcnbsd-tdep.c: Ditto.
1364 * ppcobsd-tdep.c: Ditto.
1365 * ppcobsd-tdep.h: Ditto.
1366 * ppc-sysv-tdep.c: Ditto.
1367 * ppc-tdep.h: Ditto.
1368 * printcmd.c: Ditto.
1369 * proc-abi.c: Ditto.
1370 * proc-flags.c: Ditto.
1371 * procfs.c: Ditto.
1372 * proc-utils.h: Ditto.
1373 * progspace.h: Ditto.
1374 * prologue-value.c: Ditto.
1375 * prologue-value.h: Ditto.
1376 * psympriv.h: Ditto.
1377 * psymtab.c: Ditto.
1378 * p-typeprint.c: Ditto.
1379 * p-valprint.c: Ditto.
1380 * ravenscar-sparc-thread.c: Ditto.
1381 * ravenscar-thread.c: Ditto.
1382 * ravenscar-thread.h: Ditto.
1383 * record.c: Ditto.
1384 * regcache.c: Ditto.
1385 * regcache.h: Ditto.
1386 * remote.c: Ditto.
1387 * remote-fileio.c: Ditto.
1388 * remote-fileio.h: Ditto.
1389 * remote.h: Ditto.
1390 * remote-m32r-sdi.c: Ditto.
1391 * remote-mips.c: Ditto.
1392 * remote-sim.c: Ditto.
1393 * rs6000-aix-tdep.c: Ditto.
1394 * rs6000-nat.c: Ditto.
1395 * rs6000-tdep.c: Ditto.
1396
0d7a18f7
MS
13972011-01-10 Michael Snyder <[email protected]>
1398
1399 * charset.c (validate): Internationalization.
1400 * coffread.c (read_one_sym): Ditto.
1401 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1402 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1403 * inflow.c (new_tty): Ditto.
1404 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1405 * m32c-tdep.c (m32c_return_value): Ditto.
1406 * mep-tdep.c (mep_store_return_value): Ditto.
1407 * score-tdep.c (score7_fetch_insn): Ditto.
1408 * ser-mingw.c (pipe_windows_open): Ditto.
1409 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1410 * spu-tdep.c (spu_register_type): Ditto.
1411 * tracepoint.c (trace_find_command): Ditto.
1412 * valarith.c (value_pos): Ditto.
1413
9a153e0b
JB
14142011-01-10 Joel Brobecker <[email protected]>
1415
1416 * ada-valprint.c (printstr): Minor comment reformatting.
1417
35ecd2d6
MS
14182011-01-08 Michael Snyder <[email protected]>
1419
1420 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1421 markup.
1422
1777feb0
MS
14232011-01-08 Michael Snyder <[email protected]>
1424
1425 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1426 * hppa-hpux-tdep.c: Ditto.
1427 * hppa-linux-nat.c: Ditto.
1428 * hppa-linux-tdep.c: Ditto.
1429 * hppanbsd-tdep.c: Ditto.
1430 * hppa-tdep.c: Ditto.
1431 * hppa-tdep.h: Ditto.
1432 * hpux-thread.c: Ditto.
1433 * i386-cygwin-tdep.c: Ditto.
1434 * i386-darwin-nat.c: Ditto.
1435 * i386gnu-nat.c: Ditto.
1436 * i386-linux-nat.c: Ditto.
1437 * i386-linux-tdep.c: Ditto.
1438 * i386-nat.c: Ditto.
1439 * i386-nat.h: Ditto.
1440 * i386nbsd-tdep.c: Ditto.
1441 * i386-sol2-nat.c: Ditto.
1442 * i386-stub.c: Ditto.
1443 * i386-tdep.c: Ditto.
1444 * i386-tdep.h: Ditto.
1445 * i387-tdep.c: Ditto.
1446 * ia64-linux-nat.c: Ditto.
1447 * ia64-linux-tdep.c: Ditto.
1448 * ia64-tdep.c: Ditto.
1449 * infcall.c: Ditto.
1450 * infcall.h: Ditto.
1451 * infcmd.c: Ditto.
1452 * inferior.c: Ditto.
1453 * inferior.h: Ditto.
1454 * infloop.c: Ditto.
1455 * inflow.c: Ditto.
1456 * infrun.c: Ditto.
1457 * interps.c: Ditto.
1458 * interps.h: Ditto.
1459 * iq2000-tdep.c: Ditto.
1460 * irix5-nat.c: Ditto.
1461 * jit.c: Ditto.
1462 * jit.h: Ditto.
1463 * jv-exp.y: Ditto.
1464 * jv-lang.c: Ditto.
1465 * jv-lang.h: Ditto.
1466 * jv-typeprint.c: Ditto.
1467 * jv-valprint.c: Ditto.
1468 * language.c: Ditto.
1469 * language.h: Ditto.
1470 * linespec.c: Ditto.
1471 * linux-fork.c: Ditto.
1472 * linux-nat.c: Ditto.
1473 * linux-thread-db.c: Ditto.
1474 * lm32-tdep.c: Ditto.
1475
025bb325
MS
14762011-01-08 Michael Snyder <[email protected]>
1477
1478 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1479 * m2-lang.c: Ditto.
1480 * m2-typeprint.c: Ditto.
1481 * m2-valprint.c: Ditto.
1482 * m32c-tdep.c: Ditto.
1483 * m32r-linux-nat.c: Ditto.
1484 * m32r-rom.c: Ditto.
1485 * m32r-tdep.c: Ditto.
1486 * m32r-tdep.h: Ditto.
1487 * m68hc11-tdep.c: Ditto.
1488 * m58klinux-nat.c: Ditto.
1489 * m68k-tdep.c: Ditto.
1490 * m88k-tdep.c: Ditto.
1491 * m88k-tdep.h: Ditto.
1492 * machoread.c: Ditto.
1493 * macrocmd.c: Ditto.
1494 * macroexp.c: Ditto.
1495 * macrotab.c: Ditto.
1496 * main.c: Ditto.
1497 * maint.c: Ditto.
1498 * mdebugread.c: Ditto.
1499 * mdebugread.h: Ditto.
1500 * memattr.c: Ditto.
1501 * memattr.h: Ditto.
1502 * memory-map.h: Ditto.
1503 * mep-tdep.c: Ditto.
1504 * microblaze-rom.c: Ditto.
1505 * microblaze-tdep.c: Ditto.
1506 * minsyms.c: Ditto.
1507 * mips-irix-tdep.c: Ditto.
1508 * mips-linux-nat.c: Ditto.
1509 * mips-linux-tdep.c: Ditto.
1510 * mips-linux-tdep.h: Ditto.
1511 * mipsnbsd-nat.c: Ditto.
1512 * mipsnbsd-tdep.c: Ditto.
1513 * mipsread.c: Ditto.
1514 * mips-tdep.c: Ditto.
1515 * mips-tdep.h: Ditto.
1516 * mn10300-linux-tdep.c: Ditto.
1517 * mn10300-tdep.c: Ditto.
1518 * mn10300-tdep.h: Ditto.
1519 * monitor.c: Ditto.
1520 * monitor.h: Ditto.
1521 * moxie-tdep.c: Ditto.
1522 * moxie-tdep.h: Ditto.
1523 * mt-tdep.c: Ditto.
1524
1642781b
MF
15252011-01-08 Mike Frysinger <[email protected]>
1526
1527 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1528
394b0adb
JB
15292011-01-08 Robert Millan <[email protected]>
1530
1531 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1532
b670013c
MS
15332011-01-07 Michael Snyder <[email protected]>
1534
1535 * charset.c (_initialize_charset): Fix typo in string.
1536
a743e542
MS
15372011-01-07 Michael Snyder <[email protected]>
1538
1539 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1540 for i18n.
1541 * tui/tui-layout.c (tui_set_layout_for_display_command):
1542 Split line so that operator goes to beginning of line.
1543 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1544 assignment out of if statement.
1545
0963b4bd
MS
15462011-01-07 Michael Snyder <[email protected]>
1547
1548 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1549 * ada-lang.h: Ditto.
1550 * ada-tasks.c: Ditto.
1551 * ada-valprint.c: Ditto.
1552 * aix-threads.c: Ditto.
1553 * alpha-linux-nat.c: Ditto.
1554 * alpha-linux-tdep.c: Ditto.
1555 * alpha-mdebug-tdep.c: Ditto.
1556 * alpha-nat.c: Ditto.
1557 * alpha-osf1-tdep.c: Ditto.
1558 * alpha-tdep.c: Ditto.
1559 * alphabsd-nat.c: Ditto.
1560 * alphabsd-tdep.c: Ditto.
1561 * amd64-darwin-tdep.c: Ditto.
1562 * amd64-linux-nat.c: Ditto.
1563 * amd64-linux-tdep.c: Ditto.
1564 * amd64-sol2-tdep.c: Ditto.
1565 * amd64-tdep.c: Ditto.
1566 * amd64-fbsd-tdep.c: Ditto.
1567 * amd64-nbsd-tdep.c: Ditto.
1568 * amd64-obsd-tdep.c: Ditto.
1569 * amd64-linux-nat.c: Ditto.
1570 * amd64-linux-tdep.c: Ditto.
1571 * arm-tdep.c: Ditto.
1572 * arm-tdep.h: Ditto.
1573 * armnbsd-nat.c: Ditto.
1574 * avr-tdep.c: Ditto.
1575 * bfin-tdep.c: Ditto.
1576 * bsd-kvm.c: Ditto.
1577 * c-typeprintc: Ditto.
1578 * c-valprint.c: Ditto.
1579 * coff-pe-read.h: Ditto.
1580 * coffreead.c: Ditto.
1581 * cris-tdep.c: Ditto.
1582 * d-lang.c: Ditto.
1583 * darwin-nat-info.c: Ditto.
1584 * darwin-nat.c: Ditto.
1585 * dbug-rom.c: Ditto.
1586 * dbxread.c: Ditto.
1587 * dcache.c: Ditto.
1588 * dcache.h: Ditto.
1589 * dec-thread.c: Ditto.
1590 * defs.h: Ditto.
1591 * demangle.c: Ditto.
1592 * dicos-tdep.c: Ditto.
1593 * dictionary.c: Ditto.
1594 * dictionary.h: Ditto.
1595 * dink32-rom.c: Ditto.
1596 * disasm.c: Ditto.
1597 * doublest.c: Ditto.
1598 * dsrec.c: Ditto.
1599 * dummy-frame.c: Ditto.
1600 * dwarf2-frame.c: Ditto.
1601 * dwarf2expr.c: Ditto.
1602 * dwarf2loc.c: Ditto.
1603 * dwarf2read.c: Ditto.
1604 * elfread.c: Ditto.
1605 * environ.c: Ditto.
1606 * eval.c: Ditto.
1607 * event-top.h: Ditto.
1608 * exceptions.c: Ditto.
1609 * exceptions.h: Ditto.
1610 * exec.c: Ditto.
1611 * expprint.c: Ditto.
1612 * expression.h: Ditto.
1613 * f-exp.y: Ditto.
1614 * f-lang.c: Ditto.
1615 * f-lang.h: Ditto.
1616 * f-typeprint.c: Ditto.
1617 * f-valprint.c: Ditto.
1618 * fbsd-nat.c: Ditto.
1619 * findvar.c: Ditto.
1620 * fork-child.c: Ditto.
1621 * frame.c: Ditto.
1622 * frame.h: Ditto.
1623 * frv-linux-tdep.c: Ditto.
1624 * frv-tdep.c: Ditto.
1625 * gcore.c: Ditto.
1626 * gdb-stabs.h: Ditto.
1627 * gdb_assert.h: Ditto.
1628 * gdb_string.h: Ditto.
1629 * gdb_thread_db.h: Ditto.
1630 * gdb_wait.h: Ditto.
1631 * gdbarch.sh: Ditto.
1632 * gdbcore.h: Ditto.
1633 * gdbthread.h: Ditto.
1634 * gdbtypes.c: Ditto.
1635 * gdbtypes.h: Ditto.
1636 * gnu-nat.c: Ditto.
1637 * gnu-nat.h: Ditto.
1638 * gnu-v2-abi.c: Ditto.
1639 * gnu-v3-abi.c: Ditto.
1640 * go32-nat.c: Ditto.
1641 * gdbarch.c: Regenerate.
1642 * gdbarch.h: Regenerate.
1643
ac74f770
MS
16442011-01-07 Michael Snyder <[email protected]>
1645
1646 * ax-gdb.c: Adjust some long output strings.
1647 * breakpoint.c: Ditto.
1648 * charset.c: Ditto.
1649 * cp-abi.c: Ditto.
1650 * infcall.c: Ditto.
1651 * infrun.c: Ditto.
1652 * linux-nat.c: Ditto.
1653 * solib-pa64.c: Ditto.
1654 * solib-som.c: Ditto.
1655
d8e22779
TT
16562011-01-06 Tom Tromey <[email protected]>
1657
1658 PR python/12367:
1659 * NEWS: Add item.
1660 * python/python.c (GdbMethods): Add "newest_frame" method.
1661 * python/python-internal.h (gdbpy_newest_frame): Declare.
1662 * python/py-frame.c (gdbpy_newest_frame): New function.
1663
a255712f
PP
16642010-01-06 Paul Pluzhnikov <[email protected]>
1665
1666 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1667 * jit.c (jit_debug): New variable.
1668 (show_jit_debug): New function.
1669 (struct target_buffer): Use ULONGEST.
1670 (bfd_open_from_target_memory): Likewise.
1671 (jit_register_code, jit_inferior_init): Add debug output.
1672 (_initialize_jit): Register "debug jit" command.
1673
ccfc3d6e
TT
16742011-01-06 Tom Tromey <[email protected]>
1675
1676 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1677 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1678 and ARCH_FRAME.
1679
57126e4a
TT
16802011-01-06 Tom Tromey <[email protected]>
1681
1682 * python/py-frame.c (frapy_block): Use get_frame_block.
1683
16dfc9ce
JB
16842011-01-06 Joel Brobecker <[email protected]>
1685
1686 Do not stop on SIGPRIO signals by default
1687 * infrun.c (_initialize_infrun): Unset signal_stop and
1688 signal_print for TARGET_SIGNAL_PRIO.
1689
b1ce2347
JB
16902011-01-06 Joel Brobecker <[email protected]>
1691
1692 * ada-tasks.c: Fix style violation in comment.
1693
8f7e195f
JB
16942011-01-06 Joel Brobecker <[email protected]>
1695
1696 * linespec.c (decode_compound, find_method): Remove trailing \n
1697 at end of error string.
1698 * solib-irix.c (irix_current_sos): Likewise.
1699 * varobj.c (uninstall_variable): Likewise.
1700
e9bdf92c
JB
17012011-01-06 Joel Brobecker <[email protected]>
1702
1703 * copyright.py: New script.
1704 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1705 Launch emacs without exec'ing. Call copyright.py afterwards.
1706
3e43a32a
MS
17072011-01-05 Michael Snyder <[email protected]>
1708
1709 * addrmap.c: Shorten lines of >= 80 columns.
1710 * arch-utils.c: Ditto.
1711 * arch-utils.h: Ditto.
1712 * ax-gdb.c: Ditto.
1713 * ax-general.c: Ditto.
1714 * bcache.c: Ditto.
1715 * blockframe.c: Ditto.
1716 * breakpoint.c: Ditto.
1717 * buildsym.c: Ditto.
1718 * c-lang.c: Ditto.
1719 * c-typeprint.c: Ditto.
1720 * charset.c: Ditto.
1721 * coffread.c: Ditto.
1722 * command.h: Ditto.
1723 * corelow.c: Ditto.
1724 * cp-abi.c: Ditto.
1725 * cp-namespace.c: Ditto.
1726 * cp-support.c: Ditto.
1727 * dbug-rom.c: Ditto.
1728 * dbxread.c: Ditto.
1729 * defs.h: Ditto.
1730 * dfp.c: Ditto.
1731 * dfp.h: Ditto.
1732 * dictionary.c: Ditto.
1733 * disasm.c: Ditto.
1734 * doublest.c: Ditto.
1735 * dwarf2-frame.c: Ditto.
1736 * dwarf2expr.c: Ditto.
1737 * dwarf2loc.c: Ditto.
1738 * dwarf2read.c: Ditto.
1739 * elfread.c: Ditto.
1740 * eval.c: Ditto.
1741 * event-loop.c: Ditto.
1742 * event-loop.h: Ditto.
1743 * exceptions.h: Ditto.
1744 * exec.c: Ditto.
1745 * expprint.c: Ditto.
1746 * expression.h: Ditto.
1747 * f-lang.c: Ditto.
1748 * f-valprint.c: Ditto.
1749 * findcmd.c: Ditto.
1750 * frame-base.c: Ditto.
1751 * frame-unwind.c: Ditto.
1752 * frame-unwind.h: Ditto.
1753 * frame.c: Ditto.
1754 * frame.h: Ditto.
1755 * gcore.c: Ditto.
1756 * gdb-stabs.h: Ditto.
1757 * gdb_assert.h: Ditto.
1758 * gdb_dirent.h: Ditto.
1759 * gdb_obstack.h: Ditto.
1760 * gdbcore.h: Ditto.
1761 * gdbtypes.c: Ditto.
1762 * gdbtypes.h: Ditto.
1763 * inf-ttrace.c: Ditto.
1764 * infcall.c: Ditto.
1765 * infcmd.c: Ditto.
1766 * inflow.c: Ditto.
1767 * infrun.c: Ditto.
1768 * inline-frame.h: Ditto.
1769 * language.c: Ditto.
1770 * language.h: Ditto.
1771 * libunwind-frame.c: Ditto.
1772 * libunwind-frame.h: Ditto.
1773 * linespec.c: Ditto.
1774 * linux-nat.c: Ditto.
1775 * linux-nat.h: Ditto.
1776 * linux-thread-db.c: Ditto.
1777 * machoread.c: Ditto.
1778 * macroexp.c: Ditto.
1779 * macrotab.c: Ditto.
1780 * main.c: Ditto.
1781 * maint.c: Ditto.
1782 * mdebugread.c: Ditto.
1783 * memattr.c: Ditto.
1784 * minsyms.c: Ditto.
1785 * monitor.c: Ditto.
1786 * monitor.h: Ditto.
1787 * objfiles.c: Ditto.
1788 * objfiles.h: Ditto.
1789 * osabi.c: Ditto.
1790 * p-typeprint.c: Ditto.
1791 * p-valprint.c: Ditto.
1792 * parse.c: Ditto.
1793 * printcmd.c: Ditto.
1794 * proc-events.c: Ditto.
1795 * procfs.c: Ditto.
1796 * progspace.c: Ditto.
1797 * progspace.h: Ditto.
1798 * psympriv.h: Ditto.
1799 * psymtab.c: Ditto.
1800 * record.c: Ditto.
1801 * regcache.c: Ditto.
1802 * regcache.h: Ditto.
1803 * remote-fileio.c: Ditto.
1804 * remote.c: Ditto.
1805 * ser-mingw.c: Ditto.
1806 * ser-tcp.c: Ditto.
1807 * ser-unix.c: Ditto.
1808 * serial.c: Ditto.
1809 * serial.h: Ditto.
1810 * solib-frv.c: Ditto.
1811 * solib-irix.c: Ditto.
1812 * solib-osf.c: Ditto.
1813 * solib-pa64.c: Ditto.
1814 * solib-som.c: Ditto.
1815 * solib-sunos.c: Ditto.
1816 * solib-svr4.c: Ditto.
1817 * solib-target.c: Ditto.
1818 * solib.c: Ditto.
1819 * somread.c: Ditto.
1820 * source.c: Ditto.
1821 * stabsread.c: Ditto.
1822 * stabsread.c: Ditto.
1823 * stack.c: Ditto.
1824 * stack.h: Ditto.
1825 * symfile-mem.c: Ditto.
1826 * symfile.c: Ditto.
1827 * symfile.h: Ditto.
1828 * symmisc.c: Ditto.
1829 * symtab.c: Ditto.
1830 * symtab.h: Ditto.
1831 * target-descriptions.c: Ditto.
1832 * target-memory.c: Ditto.
1833 * target.c: Ditto.
1834 * target.h: Ditto.
1835 * terminal.h: Ditto.
1836 * thread.c: Ditto.
1837 * top.c: Ditto.
1838 * tracepoint.c: Ditto.
1839 * tracepoint.h: Ditto.
1840 * ui-file.c: Ditto.
1841 * ui-file.h: Ditto.
1842 * ui-out.h: Ditto.
1843 * user-regs.c: Ditto.
1844 * user-regs.h: Ditto.
1845 * utils.c: Ditto.
1846 * valarith.c: Ditto.
1847 * valops.c: Ditto.
1848 * valprint.c: Ditto.
1849 * valprint.h: Ditto.
1850 * value.c: Ditto.
1851 * varobj.c: Ditto.
1852 * varobj.h: Ditto.
1853 * vec.h: Ditto.
1854 * xcoffread.c: Ditto.
1855 * xcoffsolib.c: Ditto.
1856 * xcoffsolib.h: Ditto.
1857 * xml-syscall.c: Ditto.
1858 * xml-tdesc.c: Ditto.
1859
9a2b4c1b
MS
18602011-01-05 Michael Snyder <[email protected]>
1861
1862 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1863 * cli/cli-decode.c: Ditto.
1864 * cli/cli-dump.c: Ditto.
1865 * cli/cli-logging.c: Ditto.
1866 * cli/cli-script.c: Ditto.
1867 * cli/cli-setshow.c: Ditto.
1868 * common/signals.c: Ditto.
1869 * mi/mi-cmd-break.c: Ditto.
1870 * mi/mi-cmd-disas.c: Ditto.
1871 * mi/mi-cmd-stack.c: Ditto.
1872 * mi/mi-cmd-var.c: Ditto.
1873 * mi/mi-cmds.c: Ditto.
1874 * mi/mi-common.h: Ditto.
1875 * mi/mi-console.c: Ditto.
1876 * mi/mi-interp.c: Ditto.
1877 * mi/mi-main.c: Ditto.
1878 * osf-share/cma_attr.c: Ditto.
1879 * osf-share/cma_deb_core.h: Ditto.
1880 * osf-share/cma_debug_client.h: Ditto.
1881 * osf-share/cma_handle.h: Ditto.
1882 * osf-share/cma_mutex.h: Ditto.
1883 * osf-share/cma_stack_int.h: Ditto.
1884 * osf-share/cma_tcb_defs.h: Ditto.
1885 * python/py-auto-load.c: Ditto.
1886 * python/py-breakpoint.c: Ditto.
1887 * python/py-cmd.c: Ditto.
1888 * python/py-frame.c: Ditto.
1889 * python/py-objfile.c: Ditto.
1890 * python/py-param.c: Ditto.
1891 * python/py-progspace.c: Ditto.
1892 * python/py-symbol.c: Ditto.
1893 * python/py-value.c: Ditto.
1894 * python/python-internal.h: Ditto.
1895 * python/python.c: Ditto.
1896 * tui/tui-data.c: Ditto.
1897 * tui/tui-disasm.c: Ditto.
1898 * tui/tui-hooks.c: Ditto.
1899 * tui/tui-io.c: Ditto.
1900 * tui/tui-layout.c: Ditto.
1901 * tui/tui-regs.c: Ditto.
1902 * tui/tui-source.c: Ditto.
1903 * tui/tui-stack.c: Ditto.
1904 * tui/tui-win.c: Ditto.
1905 * tui/tui-windata.c: Ditto.
1906 * tui/tui-winsource.c: Ditto.
1907
44944448
JB
19082011-01-05 Joel Brobecker <[email protected]>
1909
1910 * configure.ac, gdb.1: Copyright year update.
1911
ebedcab5
JK
19122011-01-03 Jan Kratochvil <[email protected]>
1913
1914 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1915 this_pc_in_block, morestack_msym and morestack_name. Check for
1916 "__morestack" minimal symbol there.
1917
e5cc9f32
JB
19182011-01-03 Joel Brobecker <[email protected]>
1919
1920 * symfile.c (find_sym_fns): Add call to dont_repeat.
1921
7b6bb8da
JB
19222011-01-01 Joel Brobecker <[email protected]>
1923
1924 Copyright year update in most files (performed by copyright.sh).
1925
71ce852c
JB
19262011-01-01 Joel Brobecker <[email protected]>
1927
1928 * top.c (print_gdb_version): Update copyright year in version output.
0e2de366 1929
c3c1ebe8 1930For older changes see ChangeLog-2010.
c906108c
SS
1931\f
1932Local Variables:
1933mode: change-log
1934left-margin: 8
1935fill-column: 74
1936version-control: never
57da7796 1937coding: utf-8
c906108c 1938End:
This page took 2.822023 seconds and 4 git commands to generate.