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