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