daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
80b23b6a
JK
12011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix crash.
4 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
5 touching TYPE_FIELD_ARTIFICIAL.
6
4cd712bd
RE
72011-01-28 Richard Earnshaw <rearnsha@arm.com>
8
9 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
10 Committers.
11
ffd5ec24
PA
122011-01-28 Pedro Alves <pedro@codesourcery.com>
13
14 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
15 selected, don't try iterating over the traceframe's blocks.
16 (tfile_has_stack): If there's no traceframe selected, then there's
17 no stack.
18 (tfile_has_registers): If there's no traceframe selected, then
19 there's no registers.
20
e8c9e0a1
PA
212011-01-28 Pedro Alves <pedro@codesourcery.com>
22
23 * target.c (memory_xfer_partial): No need to restore shadows if we
24 haven't read anything.
25
de15c4ab
PA
262011-01-28 Pedro Alves <pedro@codesourcery.com>
27
28 * mips-tdep.c (mips_print_register): Use get_frame_register_value
29 and val_print_scalar_formatted.
30
9f41c731
PA
312011-01-27 Pedro Alves <pedro@codesourcery.com>
32
33 * tracepoint.c (tfile_read): New.
34 (tfile_open): Use it.
35 (tfile_get_traceframe_address): Use it.
36 (tfile_trace_find): Use it.
37 (walk_blocks_callback_func): New typedef.
38 (match_blocktype): New function.
39 (traceframe_walk_blocks): New function.
40 (traceframe_find_block_type): New function.
41 (tfile_fetch_registers, tfile_xfer_partial)
42 (tfile_get_trace_state_variable_value): Use
43 traceframe_find_block_type and tfile_read.
44
cdefc55d
KB
452011-01-26 Kevin Buettner <kevinb@redhat.com>
46
47 * remote-mips.c: Add internationalization mark ups. Remove
48 trailing \n from already marked up strings.
49
a81766d8
TT
502011-01-26 Tom Tromey <tromey@redhat.com>
51
52 * python/py-prettyprint.c (print_string_repr): Clear
53 'addressprint' option when calling val_print_string.
54 (print_children): Handle Val_pretty_default. Clear 'addressprint'
55 option when calling val_print_string.
56
74aedc46
TT
572011-01-26 Tom Tromey <tromey@redhat.com>
58
59 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
60 GDB_PY_LL_ARG.
61 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
62 macros.
63 (gdb_py_longest, gdb_py_ulongest): New typedefs.
64 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
65 (gdb_py_long_as_ulongest): New defines.
66 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
67 (gdb_py_int_as_long): Declare.
68 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
69 GDB_PY_LL_ARG, gdb_py_object_from_longest.
70 (valpy_long): Add comment.
71 * python/py-utils.c (get_addr_from_python): Use
72 gdb_py_long_as_ulongest. Handle overflow properly.
73 (gdb_py_object_from_longest): New function.
74 (gdb_py_object_from_ulongest): Likewise.
75 (gdb_py_int_as_long): Likewise.
76 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
77 * python/py-symtab.c (salpy_get_pc): Use
78 gdb_py_long_from_ulongest.
79 (salpy_get_line): Use PyInt_FromLong.
80 * python/py-param.c (set_parameter_value): Use
81 gdb_py_int_as_long.
82 * python/py-lazy-string.c (stpy_get_address): Use
83 gdb_py_long_from_ulongest.
84 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
85 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
86 * python/py-breakpoint.c (bppy_set_thread): Use
87 gdb_py_int_as_long.
88 (bppy_set_task): Likewise.
89 (bppy_set_ignore_count): Likewise.
90 (bppy_set_hit_count): Likewise.
91 * python/py-block.c (blpy_get_start): Use
92 gdb_py_object_from_ulongest.
93 (blpy_get_end): Likewise.
94 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
95
e4f6d2ec
TJB
962011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
97
98 PR/symtab 11766:
99 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
100 * gdb/solib.c (solib_read_symbols): Check for addr_low in
101 equality test for objfile, initialize addr_low if needed.
102
b30aa278
PA
1032011-01-25 Pedro Alves <pedro@codesourcery.com>
104
105 * tui/tui-regs.c (tui_register_format): Remove dead code.
106
ab2188aa
PA
1072011-01-25 Pedro Alves <pedro@codesourcery.com>
108
109 * printcmd.c (print_formatted): Use val_print_scalar_formatted
110 instead of print_scalar_formatted.
111 (print_scalar_formatted): Don't handle 's' format strings here,
112 and add an assertion that we never see such format here.
113 * valprint.h (val_print_scalar_formatted): Declare.
114 * valprint.c (val_print_scalar_formatted): New.
115 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
116 instead of print_scalar_formatted.
117 * jv-valprint.c (java_val_print): Ditto.
118 * p-valprint.c (pascal_val_print): Ditto.
119 * ada-valprint.c (ada_val_print_1): Ditto.
120 * f-valprint.c (f_val_print): Ditto.
121 * infcmd.c (registers_info): Ditto.
122 * m2-valprint.c (m2_val_print): Ditto.
123
66d61a4c
PA
1242011-01-25 Pedro Alves <pedro@codesourcery.com>
125
126 * m2-valprint.c (print_unbounded_array): Pass
127 value_contents_for_printing rather than value_contents, to
128 m2_print_array_contents. Also pass in the value.
129
831adc1f
JK
1302011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
133 (save_gdb_index_command): Switch to .gdb_index version 4.
134
20622269
PA
1352011-01-25 Pedro Alves <pedro@codesourcery.com>
136
137 * mi/mi-main.c (get_register): Use get_frame_register_value rather
138 than frame_register, and always pass a valid value to val_print.
139
585fdaa1
PA
1402011-01-25 Pedro Alves <pedro@codesourcery.com>
141
142 Centralize printing "<optimized out>".
143
144 * valprint.h (val_print_optimized_out): Declare.
145 * cp-valprint.c (cp_print_value_fields): Use
146 val_print_optimized_out.
147 * jv-valprint.c (java_print_value_fields): Ditto.
148 * p-valprint.c (pascal_object_print_value_fields): Ditto.
149 * printcmd.c (print_formatted): Ditto.
150 * valprint.c (valprint_check_validity): Ditto.
151 (value_check_printable): Ditto.
152 (val_print_optimized_out): New.
153
29ec5263
PA
1542011-01-25 Pedro Alves <pedro@codesourcery.com>
155
156 * infcmd.c (default_print_registers_info): Allocate values so to
157 never pass a NULL value to val_print.
158
de4127a3
PA
1592011-01-25 Pedro Alves <pedro@codesourcery.com>
160
161 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
162 boolean. Make sure to always pass a value that matches the
163 contents buffer to callees. Preserve `address' for following
164 iterations.
165 * value.c (value_contents_for_printing_const): New.
166 (value_address): Constify value argument.
167 * value.h (value_contents_for_printing_const): Declare.
168 (value_address): Constify value argument.
169
ee99023e
PA
1702011-01-25 Pedro Alves <pedro@codesourcery.com>
171
172 * regcache.c (struct regcache_descr): Rename
173 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
174 and sizeof_cooked_register_valid_p to
175 sizeof_cooked_register_status.
176 (init_regcache_descr): Adjust.
177 (struct regcache): Rename register_valid_p field to
178 register_status.
179 (regcache_xmalloc_1, regcache_xfree, regcache_save)
180 (do_cooked_read): Adjust.
181 (regcache_valid_p): Rename to ...
182 (regcache_register_status): ... this. Adjust.
183 (regcache_invalidate): Adjust.
184 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
185 Adjust.
186 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
187 as unavailable, not valid.
188 (regcache_dump): Adjust.
189 * regcache.h (enum register_status): New.
190 (regcache_register_status): Declare.
191 (regcache_invalidate): Delete declaration.
192 * corelow.c (get_core_registers): Adjust.
193 * tracepoint.c (tfile_fetch_registers): Adjust.
194 * trad-frame.c (REG_VALUE): Rename to ...
195 (TF_REG_VALUE): ... this.
196 (REG_UNKNOWN): Rename to ...
197 (TF_REG_UNKNOWN): ... this.
198 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
199 * mi/mi-main.c (register_changed_p): Adjust.
200
99e42fd8
PA
2012011-01-25 Pedro Alves <pedro@codesourcery.com>
202
203 * regcache.c (struct regcache_descr): Remove outdated comment.
204 (init_regcache_descr): Remove sizeof_raw_register_valid_p
205 overallocate hack.
206 (regcache_xmalloc): Rename to ...
207 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
208 Allocate the regcache type accordingly.
209 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
210 (regcache_xfree): Asser the source is also readonly. Copy sizeof
211 cooked registers, not raw.
212 (regcache_dup_no_passthrough): Delete.
213 (get_thread_arch_regcache): Use regcache_xmalloc_1.
214 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
215 mention obsolete write_register_bytes.
216 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
217
f7605bc2
PA
2182011-01-25 Pedro Alves <pedro@codesourcery.com>
219
220 Stop remote_read_bytes from handling partial reads itself.
221
222 * remote-fileio.c: Include target.h.
223 (remote_fileio_write_bytes): Delete.
224 (remote_fileio_func_open, remote_fileio_func_write)
225 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
226 target_read_memory.
227 (remote_fileio_func_stat): Use target_read_memory and
228 target_write_memory.
229 (remote_fileio_func_gettimeofday): Use target_write_memory.
230 (remote_fileio_func_system): Use target_read_memory.
231 * remote.c (remote_write_bytes): Make it static.
232 (remote_read_bytes): Don't handle partial reads here.
233 * remote.h (remote_read_bytes): Delete declaration.
234
efc0eabd
PA
2352011-01-25 Pedro Alves <pedro@codesourcery.com>
236
237 Simplify XML parsing a bit.
238
239 * xml-support.h (gdb_xml_parse_quick): Declare.
240 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
241 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
242 parameter.
243 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
244 gdb_xml_create_parser_and_cleanup_1.
245 (gdb_xml_parse_quick): New.
246 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
247 * osdata.c (osdata_parse): Ditto.
248 * remote.c (remote_threads_info): Ditto.
249 * solib-target.c (solib_target_parse_libraries): Ditto.
250 * xml-syscall.c (syscall_parse_xml): Ditto.
251 * xml-tdesc.c (tdesc_parse_xml): Ditto.
252
314d366a
KB
2532011-01-24 Kevin Buettner <kevinb@redhat.com>
254
255 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
256 with remote-mips.o added to gdb_target_obs.
257 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
258
a491d753
PA
2592011-01-24 Pedro Alves <pedro@codesourcery.com>
260
261 * ada-valprint.c (val_print_packed_array_elements): Pass the
262 correct struct value to val_print.
263 (ada_val_print_1): Ditto.
264
490f124f
PA
2652011-01-24 Pedro Alves <pedro@codesourcery.com>
266
267 Don't lose embedded_offset in printing routines throughout.
268
269 * valprint.h (val_print_array_elements): Change prototype.
270 * valprint.c (val_print_array_elements): Add `embedded_offset'
271 parameter, and adjust to pass it down to val_print, while passing
272 `valaddr' or `address' unmodified. Take embedded_offset into
273 account when checking repetitions.
274 * c-valprint.c (c_val_print): Pass embedded_offset to
275 val_print_array_elements instead of adjusting `valaddr' and
276 `address'.
277 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
278 embedded_offset to val_print_array_elements instead of adjusting
279 `valaddr'.
280 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
281 * p-valprint.c (pascal_val_print): Pass embedded_offset to
282 val_print_array_elements and pascal_object_print_value_fields
283 instead of adjusting `valaddr'.
284 (pascal_object_print_value_fields): Add `offset' parameter, and
285 adjust to use it.
286 (pascal_object_print_value): Add `offset' parameter, and adjust to
287 use it.
288 (pascal_object_print_static_field): Use
289 value_contents_for_printing/value_embedded_offset, rather than
290 value_contents.
291 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
292 parameter, and adjust to use it. Use
293 value_contents_for_printing/value_embedded_offset, rather than
294 value_contents.
295 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
296 (ada_val_print_array): Add `offset' parameter, and adjust to use
297 it.
298 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
299 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
300 Instead work with offsets. Use
301 value_contents_for_printing/value_embedded_offset, rather than
302 value_contents. Change `defer_val_int' local type to CORE_ADDR,
303 and use value_from_pointer to extract a target pointer, rather
304 than value_from_longest.
305 (print_variant_part): Add `offset' parameter. Replace
306 `outer_valaddr' parameter by a new `outer_offset' parameter.
307 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
308 (ada_value_print): Use
309 value_contents_for_printing/value_embedded_offset, rather than
310 value_contents.
311 (print_record): Add `offset' parameter, and adjust to pass it
312 down.
313 (print_field_values): Add `offset' parameter. Replace
314 `outer_valaddr' parameter by a new `outer_offset' parameter.
315 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
316 Use value_contents_for_printing/value_embedded_offset, rather than
317 value_contents.
318 * d-valprint.c (dynamic_array_type): Use
319 value_contents_for_printing/value_embedded_offset, rather than
320 value_contents.
321 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
322 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
323 (java_print_value_fields): Take `offset' into account. Don't
324 re-adjust `valaddr'. Instead pass down adjusted offsets.
325 (java_val_print): Take `embedded_offset' into account. Pass it to
326 java_print_value_fields.
327 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
328 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
329 down adjusted offsets.
330 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
331 (f_val_print): Take `embedded_offset' into account.
332
7bfc9434
JB
3332011-01-21 Joel Brobecker <brobecker@adacore.com>
334
335 * inflow.c: Include "gdbcmd.h".
336 (interactive_mode): New static global, moved here from top.c.
337 (show_interactive_mode): New function, moved here from top.c.
338 use gdb_has_a_terminal instead of input_from_terminal_p to
339 determine the current mode.
340 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
341 setting.
342 (_initialize_inflow): Add the "set/show interactive-mode"
343 commands. Moved here from top.c, after having adjusted slightly
344 the help text.
345 * top.c (interactive_mode, show_interactive_mode): Delete, moved
346 to inflow.c.
347 (input_from_terminal_p): Remove handling of "interactive-mode"
348 setting, moved to infow.c.
349 (init_main): Remove creation of the "set/show interactive-mode"
350 commands, moved to inflow.c.
351
44603653
JB
3522011-01-19 Joel Brobecker <brobecker@adacore.com>
353
354 * NEWS: Add entry for native ia64-hpux support.
355
4694da01
TT
3562011-01-19 Tom Tromey <tromey@redhat.com>
357
358 PR mi/8618:
359 * thread.c (free_thread): Free 'name'.
360 (print_thread_info): Emit thread name. Change CLI output.
361 (thread_name_command): New function.
362 (do_captured_thread_select): Emit newline.
363 (_initialize_thread): Register 'thread name' command.
364 * target.h (struct target_ops) <to_thread_name>: New field.
365 (target_thread_name): New macro.
366 * target.c (update_current_target): Handle to_thread_name.
367 * python/py-infthread.c (thpy_get_name): New function.
368 (thpy_set_name): Likewise.
369 (thread_object_getset): Add "name".
370 * linux-nat.c (linux_nat_thread_name): New function.
371 (linux_nat_add_target): Set to_thread_name.
372 * gdbthread.h (struct thread_info) <name>: New field.
373
10d44370
JB
3742011-01-18 Joel Brobecker <brobecker@adacore.com>
375
376 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
377 (ada_val_print_1): Likewise.
378
e3acb115
JB
3792011-01-18 Joel Brobecker <brobecker@adacore.com>
380
381 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
382 upper limit address is not greater than the function end address
383 when the upper limit could not be computed using the debugging
384 info.
385
dc92e161
TT
3862011-01-17 Tom Tromey <tromey@redhat.com>
387
388 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
389 get_regcomp_error.
390 * utils.c: Include gdb_regex.h.
391 (do_regfree_cleanup): New function.
392 (make_regfree_cleanup): Likewise.
393 (get_regcomp_error): Likewise.
394 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
395
f55af66d
TT
3962011-01-17 Tom Tromey <tromey@redhat.com>
397
398 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
399 re_compile_fastmap.
400
a5a44b53
PM
4012011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
402
403 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
404 for internal variables.
405 (last_was_structop): New static variable.
406 (COMPLETE): New token.
407 (field_exp): New rule to group all '.' suffix handling.
408 Add mark_struct_expression calls when approriate to be able
409 to correctly find fields for completion.
410 (yylex): Adapt to handle field completion and set INTVAR when
411 required.
412
2c291032
YQ
4132011-01-14 Yao Qi <yao@codesourcery.com>
414
415 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
416 save_reggroup, restore_reggroup and all_reggroup.
417
447b483c
JB
4182011-01-14 Joel Brobecker <brobecker@adacore.com>
419
420 * ada-valprint. (ada_printchar): Use the correct type length
421 in call to ada_emit_char.
422 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
423
7b64a93b
PM
4242011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
425
426 * solib-som.h (hpux_major_release): Declare variable here.
427 * solib-som.c: Remove <sys/utsname.h> header.
428 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
429 (hpux_major_release): Make global, change default value to
430 DEFAULT_HPUX_MAJOR_RELEASE.
431 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
432 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
433 Add "solib-som.h" header.
434 (set_hpux_major_release): New function.
435 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
436
4e18c053
MF
4372011-01-14 Mike Frysinger <vapier@gentoo.org>
438
439 * configure.tgt (*-*-uclinux*): Match more Linux os targets
440
a9df6b22
JB
4412011-01-14 Joel Brobecker <brobecker@adacore.com>
442
443 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
444 new-line at end of warning message.
445 (ia64_hpux_store_register): Remove trailing new-line at end of
446 error message.
447 * ia64-hpux-tdep.c: Rephrase comment.
448 * solib-ia64-hpux.c (struct dld_info): Change type of field
449 dld_flags from "long long" to ULONGEST.
450
ecb956dd
PA
4512011-01-14 Pedro Alves <pedro@codesourcery.com>
452
453 * target.h (deprecated_child_ops): Delete declaration.
454 * target.c (deprecated_child_ops): Delete definition.
455
76adfcae
PA
4562011-01-14 Pedro Alves <pedro@codesourcery.com>
457
458 * Makefile.in (hpux-thread.o): Delete rule.
459 * configure.ac: Don't check for HPUX DCE threads support.
460 * configure, config.in: Regenerate.
461 * hppa-hpux-nat.c (child_suppress_run): Delete.
462 (hppa_hpux_child_can_run): Delete.
463 (_initialize_hppa_hpux_nat): Don't override to_can_run.
464 * hpux-thread.c: Delete.
465
042e866e
JB
4662011-01-13 Joel Brobecker <brobecker@adacore.com>
467
468 * hpux-thread.c (hpux_pid_to_str): Delete.
469
4ffa5a33
JB
4702011-01-13 Joel Brobecker <brobecker@adacore.com>
471
472 * ada-valprint.c (ada_emit_char): Remove strange code.
473 Check that c is <= UCHAR_MAX before passing it to isascii.
474 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
475
de8fa76c
JB
4762011-01-13 Joel Brobecker <brobecker@adacore.com>
477
478 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
479 to the case where instream is stdin.
480
c4de7027
JB
4812011-01-13 Joel Brobecker <brobecker@adacore.com>
482
483 * ia64-tdep.h (struct regcache): Forward declare.
484 (struct ia64_infcall_ops): New struct type.
485 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
486 and "infcall_ops".
487 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
488 Renames ia64_find_global_pointer.
489 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
490 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
491 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
492 methods.
493 (ia64_infcall_ops): New static global constant.
494 (ia64_gdbarch_init): Set tdep->infcall_ops.
495 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
496 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
497 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
498 (ia64_hpux_dummy_code): New static global constant.
499 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
500 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
501 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
502 New function.
503 (ia64_hpux_infcall_ops): New static global constant.
504 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
505 for inferior function calls to work properly on ia64-hpux.
506
77ca787b
JB
5072011-01-13 Joel Brobecker <brobecker@adacore.com>
508
509 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
510 * ia64-tdep.h (struct frame_info): forward declaration.
511 (struct gdbarch_tdep): Add field size_of_register_frame.
512 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
513 to determine the size of the register frame.
514 (ia64_size_of_register_frame): New function.
515 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
516 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
517 (IA64_HPUX_UREG_REASON): New macro.
518 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
519 New functions.
520 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
521 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
522 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
523 objects.
524
92c9a463
JB
5252011-01-13 Joel Brobecker <brobecker@adacore.com>
526
527 Add support for ia64-hpux.
528 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
529 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
530
531 * configure.host: Add handling for ia64-hpux hosts. Add associated
532 floatformats.
533 * configure.tgt: Add handling for ia64-hpux targets.
534 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
535 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
536 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
537
f688d93f
JB
5382011-01-13 Joel Brobecker <brobecker@adacore.com>
539
540 [ttrace] Compute thread list immediately after attach.
541 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
542 New subprogram.
543 (inf_ttrace_attach): Use it.
544
1b89e62f
JB
5452011-01-13 Joel Brobecker <brobecker@adacore.com>
546
547 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
548 if we could not determine the frame's function address. Instead,
549 use the frame's PC, and then continue.
550
3e5e6e2a
JB
5512011-01-13 Joel Brobecker <brobecker@adacore.com>
552
553 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
554 not already defined.
555
825d6d8a
JB
5562011-01-13 Joel Brobecker <brobecker@adacore.com>
557
558 * ia64-tdep.c (ia64_struct_type_p): New function.
559 (ia64_extract_return_value): Handle integral values that are
560 less than 8 bytes long.
561 (ia64_push_dummy_call): Likewise.
562
7458e667
JB
5632011-01-13 Joel Brobecker <brobecker@adacore.com>
564
565 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
566 floatformat_ia64_ext.
567 (floatformat_ia64_ext_big): New static const.
568 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
569
1b05df00
TT
5702011-01-12 Tom Tromey <tromey@redhat.com>
571
572 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
573 messages.
574 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
575 (mi_cmd_thread_list_ids): Likewise.
576 (mi_cmd_data_list_changed_registers): Likewise.
577 (mi_cmd_data_list_register_values): Likewise.
578 (mi_cmd_data_write_register_values): Likewise.
579 (mi_cmd_data_evaluate_expression): Likewise.
580 (mi_cmd_data_read_memory): Likewise.
581 (mi_cmd_data_read_memory_bytes): Likewise.
582 (mi_cmd_data_write_memory): Likewise.
583 (mi_cmd_enable_timings): Likewise.
584 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
585 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
586 (mi_cmd_var_delete): Likewise.
587 (mi_cmd_var_set_format): Likewise.
588 (mi_cmd_var_show_format): Likewise.
589 (mi_cmd_var_info_num_children): Likewise.
590 (mi_cmd_var_list_children): Likewise.
591 (mi_cmd_var_info_type): Likewise.
592 (mi_cmd_var_info_expression): Likewise.
593 (mi_cmd_var_show_attributes): Likewise.
594 (mi_cmd_var_assign): Likewise.
595 (mi_cmd_var_update): Likewise.
596 (mi_cmd_enable_pretty_printing): Likewise.
597 (mi_cmd_var_set_update_range): Likewise.
598 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
599 messages.
600 (mi_cmd_target_file_put): Likewise.
601 (mi_cmd_target_file_delete): Likewise.
602 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
603 messages.
604 (mi_cmd_stack_info_depth): Likewise.
605 (mi_cmd_stack_list_locals): Likewise.
606 (mi_cmd_stack_list_args): Likewise.
607 (mi_cmd_stack_select_frame): Likewise.
608 (mi_cmd_stack_select_frame): Likewise.
609 (mi_cmd_stack_info_frame): Likewise.
610 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
611 messages.
612 (mi_cmd_file_list_exec_source_files): Likewise.
613 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
614 (mi_cmd_env_cd): Likewise.
615 (mi_cmd_env_path): Likewise.
616 (mi_cmd_env_dir): Likewise.
617 (mi_cmd_inferior_tty_show): Likewise.
618 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
619 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
620 (mi_cmd_break_watch): Likewise.
621
ad422571
TJB
6222011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
623
624 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
625 (ppc_linux_insert_hw_breakpoint): Likewise.
626 (ppc_linux_remove_hw_breakpoint): Likewise.
627 (ppc_linux_insert_watchpoint): Likewise.
628
c2ff108b
JK
6292011-01-12 Andrew Burgess <aburgess@broadcom.com>
630 Jan Kratochvil <jan.kratochvil@redhat.com>
631
632 PR fortran/11104 and DWARF unbound arrays detection.
633 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
634 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
635 unspecified upper bound.
636 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
637 variables array_size_array, tmp_type and offset_item. New variable
638 array. Remove call to f77_get_upperbound. New variables array_type
639 and index. Call value_subscripted_rvalue for each dimenasion. Remove
640 the final call to deprecated_set_value_type.
641
41e8491f
JK
6422011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
643
644 Make value allocations more lazy.
645 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
646 instead of allocate_value and set_value_lazy when possible.
647 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
648 instead of allocate_value and set_value_lazy.
649 * findvar.c (value_of_register_lazy): Likewise.
650 (read_var_value): Remove V preallocation, call just check_typedef in
651 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
652 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
653 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
654 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
655 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
656 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
657 the end, remove set_value_lazy there.
658 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
659 instead of allocate_value and set_value_lazy when possible.
660 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
661 * value.c (allocate_computed_value): Use allocate_value_lazy instead
662 of allocate_value and set_value_lazy.
663 (value_from_contents_and_address): Use allocate_value_lazy instead of
664 allocate_value and set_value_lazy when possible.
665
b716877b
AB
6662011-01-12 Andrew Burgess <aburgess@broadcom.com>
667
668 * disasm.c (dump_insns): Support dumping opcodes for MI.
669 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
670 dumping of instruction opcodes.
671
d5ae309f
JB
6722011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
673
674 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
675 appropiately.
676
98871305
TT
6772011-01-11 Tom Tromey <tromey@redhat.com>
678
679 * thread.c (do_captured_thread_select): Emit newline before
680 printing frame.
681
c378eb4e
MS
6822011-01-11 Michael Snyder <msnyder@vmware.com>
683
684 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
685 * score-tdep.c: Ditto.
686 * score-tdep.h: Ditto.
687 * ser-base.c: Ditto.
688 * ser-go32.c: Ditto.
689 * serial.c: Ditto.
690 * serial.h: Ditto.
691 * ser-mingw.c: Ditto.
692 * ser-pipe.c: Ditto.
693 * ser-tcp.c: Ditto.
694 * ser-unix.c: Ditto.
695 * sh64-tdep.c: Ditto.
696 * shnbsd-nat.c: Ditto.
697 * sh-tdep.c: Ditto.
698 * sh-tdep.h: Ditto.
699 * solib.c: Ditto.
700 * solib-darwin.c: Ditto.
701 * solib-frv.c: Ditto.
702 * solib.h: Ditto.
703 * solib-irix.c: Ditto.
704 * solib-osf.c: Ditto.
705 * solib-pa64.c: Ditto.
706 * solib-som.c: Ditto.
707 * solib-spu.c: Ditto.
708 * solib-sunos.c: Ditto.
709 * solib-svr4.c: Ditto.
710 * solist.h: Ditto.
711 * sol-thread.c: Ditto.
712 * somread.c: Ditto.
713 * source.c: Ditto.
714 * source.h: Ditto.
715 * sparc64-linux-tdep.c: Ditto.
716 * sparc64-tdep.c: Ditto.
717 * sparc-linux-nat.c: Ditto.
718 * sparc-linux-tdep.c: Ditto.
719 * sparc-sol2-nat.c: Ditto.
720 * sparc-sol2-tdep.c: Ditto.
721 * sparc-tdep.c: Ditto.
722 * sparc-tdep.h: Ditto.
723 * spu-tdep.c: Ditto.
724 * stabsread.c: Ditto.
725 * stabsread.h: Ditto.
726 * stack.c: Ditto.
727 * symfile.c: Ditto.
728 * symfile.h: Ditto.
729 * symmisc.c: Ditto.
730 * symtab.c: Ditto.
731 * symtab.h: Ditto.
732 * target.c: Ditto.
733 * target-descriptions.c: Ditto.
734 * target-descriptions.h: Ditto.
735 * target.h: Ditto.
736 * target-memory.c: Ditto.
737 * terminal.h: Ditto.
738 * thread.c: Ditto.
739 * top.c: Ditto.
740 * tracepoint.c: Ditto.
741 * tracepoint.h: Ditto.
742 * trad-frame.h: Ditto.
743 * typeprint.c: Ditto.
744
581e13c1
MS
7452011-01-11 Michael Snyder <msnyder@vmware.com>
746
747 * ui-file.c: Comment cleanup, mostly periods and spaces.
748 * ui-file.h: Ditto.
749 * ui-out.c: Ditto.
750 * ui-out.h: Ditto.
751 * utils.c: Ditto.
752 * v850-tdep.c: Ditto.
753 * valarith.c: Ditto.
754 * valops.c: Ditto.
755 * valprint.c: Ditto.
756 * valprint.h: Ditto.
757 * value.c: Ditto.
758 * value.h: Ditto.
759 * varobj.c: Ditto.
760 * varobj.h: Ditto.
761 * vax-tdep.c: Ditto.
762 * vec.c: Ditto.
763 * vec.h: Ditto.
764 * version.h: Ditto.
765 * windows-nat.c: Ditto.
766 * windows-tdep.c: Ditto.
767 * xcoffread.c: Ditto.
768 * xcoffsolib.c: Ditto.
769 * xml-support.c: Ditto.
770 * xstormy16-tdep.c: Ditto.
771 * xtensa-tdep.c: Ditto.
772 * xtensa-tdep.h: Ditto.
773
90e4670f
TJB
7742011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
775
776 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
777 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
778
e09342b5
TJB
7792011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
780 Thiago Jung Bauermann <bauerman@br.ibm.com>
781
782 Implement support for PowerPC BookE ranged watchpoints.
783 * breakpoint.h
784 (struct breakpoint_ops) <resources_needed>: New method.
785 Initialize to NULL in all existing breakpoint_ops instances.
786 (struct breakpoint) <exact>: New field.
787 (target_exact_watchpoints): Declare external global.
788 * breakpoint.c (target_exact_watchpoints): New global flag.
789 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
790 b->enable_state to bp_enabled before calling
791 hw_watchpoint_used_count.
792 (hw_watchpoint_used_count): Iterate over all bp_locations in a
793 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
794 if available.
795 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
796 if the watchpoint is exact.
797 (resources_needed_watchpoint): New function.
798 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
799 (watch_command_1): Set b->exact if the user asked for an exact
800 watchpoint and one can be set.
801 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
802 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
803 the user asks for an exact watchpoint and one can be set. Return
804 number of needed debug registers to watch the expression.
805 * gdbtypes.c (is_scalar_type): New function, based on
806 valprint.c:scalar_type_p.
807 (is_scalar_type_recursive): New function.
808 * gdbtypes.h (is_scalar_type_recursive): Declare.
809 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
810 handle regions when ranged watchpoints are available.
811 (create_watchpoint_request): New function.
812 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
813 create_watchpoint_request.
814 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
815 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
816 `set powerpc' and `show powerpc' commands.
817 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
818 Mention documentation comment in the target macro.
819 (target_region_ok_for_hw_watchpoint): Document return value.
820
9fa40276
TJB
8212011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
822
823 * breakpoint.c (update_watchpoint): Decide on using a software or
824 hardware watchpoint after the bp_locations are created.
825
77b06cd7
TJB
8262010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
827
828 Convert hardware watchpoints to use breakpoint_ops.
829 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
830 <insert_location>: ... this. Return int instead of void.
831 Accept pointer to struct bp_location instead of pointer to
832 struct breakpoint. Adapt all implementations.
833 (breakpoint_ops) <remove>: Rename to...
834 <remove_location>: ... this. Accept pointer to struct bp_location
835 instead of pointer to struct breakpoint. Adapt all implementations.
836 * breakpoint.c (insert_catchpoint): Delete function.
837 (insert_bp_location): Call the watchpoint or catchpoint's
838 breakpoint_ops.insert method.
839 (remove_breakpoint_1): Call the watchpoint or catchpoint's
840 breakpoint_ops.remove method.
841 (insert_watchpoint, remove_watchpoint): New functions.
842 (watchpoint_breakpoint_ops): New structure.
843 (watch_command_1): Initialize the OPS field.
844 * inf-child.c (inf_child_insert_fork_catchpoint)
845 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
846 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
847 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
848 Delete functions.
849 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
850 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
851 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
852 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
853 * target.c (update_current_target): Change default implementation of
854 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
855 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
856 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
857 to_set_syscall_catchpoint to return_one.
858 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
859 (debug_to_insert_exec_catchpoint): Report return value.
860 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
861 (to_insert_exec_catchpoint): Change declaration to return int instead
862 of void.
863
9b20d036
MS
8642011-01-11 Michael Snyder <msnyder@vmware.com>
865
866 * arm-tdep.c: Internationalization.
867 * c-lang.c: Ditto.
868 * charset.c: Ditto.
869 * fork-child.c: Ditto.
870 * nto-procfs.c: Ditto.
871 * ppc-sysv-tdep.c: Ditto.
872 * procfs.c: Ditto.
873 * remote-mips.c: Ditto.
874 * remote.c: Ditto.
875 * rs6000-nat.c: Ditto.
876 * rs6000-tdep.c: Ditto.
877 * target.c: Ditto.
878 * valops.c: Ditto.
879 * value.c: Ditto.
880 * xml-support.c: Ditto.
881 * mi/mi-cmd-break.c: Ditto.
882 * mi/mi-cmd-var.c: Ditto.
883 * mi/mi-interp.c: Ditto.
884 * mi/mi-main.c: Ditto.
885
dae477fe
AB
8862011-01-11 Andrew Burgess <aburgess@broadcom.com>
887
888 * remote-sim.c (gdbsim_store_register): Update API to
889 sim_store_register to check more error conditions.
890
0df8b418
MS
8912011-01-10 Michael Snyder <msnyder@vmware.com>
892
893 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
894 * nto-tdep.c: Ditto.
895 * nto-tdep.h: Ditto.
896 * objc-exp.y: Ditto.
897 * objc-lang.c: Ditto.
898 * objfiles.c: Ditto.
899 * objfiles.h: Ditto.
900 * observer.c: Ditto.
901 * opencl-lang.c: Ditto.
902 * osabi.c: Ditto.
903 * parse.c: Ditto.
904 * parser-defs.h: Ditto.
905 * p-exp.y: Ditto.
906 * p-lang.c: Ditto.
907 * posix-hdep.c: Ditto.
908 * ppcbug-rom.c: Ditto.
909 * ppc-linux-nat.c: Ditto.
910 * ppc-linux-tdep.c: Ditto.
911 * ppc-linux-tdep.h: Ditto.
912 * ppcnbsd-tdep.c: Ditto.
913 * ppcobsd-tdep.c: Ditto.
914 * ppcobsd-tdep.h: Ditto.
915 * ppc-sysv-tdep.c: Ditto.
916 * ppc-tdep.h: Ditto.
917 * printcmd.c: Ditto.
918 * proc-abi.c: Ditto.
919 * proc-flags.c: Ditto.
920 * procfs.c: Ditto.
921 * proc-utils.h: Ditto.
922 * progspace.h: Ditto.
923 * prologue-value.c: Ditto.
924 * prologue-value.h: Ditto.
925 * psympriv.h: Ditto.
926 * psymtab.c: Ditto.
927 * p-typeprint.c: Ditto.
928 * p-valprint.c: Ditto.
929 * ravenscar-sparc-thread.c: Ditto.
930 * ravenscar-thread.c: Ditto.
931 * ravenscar-thread.h: Ditto.
932 * record.c: Ditto.
933 * regcache.c: Ditto.
934 * regcache.h: Ditto.
935 * remote.c: Ditto.
936 * remote-fileio.c: Ditto.
937 * remote-fileio.h: Ditto.
938 * remote.h: Ditto.
939 * remote-m32r-sdi.c: Ditto.
940 * remote-mips.c: Ditto.
941 * remote-sim.c: Ditto.
942 * rs6000-aix-tdep.c: Ditto.
943 * rs6000-nat.c: Ditto.
944 * rs6000-tdep.c: Ditto.
945
0d7a18f7
MS
9462011-01-10 Michael Snyder <msnyder@vmware.com>
947
948 * charset.c (validate): Internationalization.
949 * coffread.c (read_one_sym): Ditto.
950 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
951 * h8300-tdep.c (H8300_extract_return_value): Ditto.
952 * inflow.c (new_tty): Ditto.
953 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
954 * m32c-tdep.c (m32c_return_value): Ditto.
955 * mep-tdep.c (mep_store_return_value): Ditto.
956 * score-tdep.c (score7_fetch_insn): Ditto.
957 * ser-mingw.c (pipe_windows_open): Ditto.
958 * sh64-tdep.c (sh64_extract_return_value): Ditto.
959 * spu-tdep.c (spu_register_type): Ditto.
960 * tracepoint.c (trace_find_command): Ditto.
961 * valarith.c (value_pos): Ditto.
962
9a153e0b
JB
9632011-01-10 Joel Brobecker <brobecker@adacore.com>
964
965 * ada-valprint.c (printstr): Minor comment reformatting.
966
35ecd2d6
MS
9672011-01-08 Michael Snyder <msnyder@vmware.com>
968
969 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
970 markup.
971
1777feb0
MS
9722011-01-08 Michael Snyder <msnyder@vmware.com>
973
974 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
975 * hppa-hpux-tdep.c: Ditto.
976 * hppa-linux-nat.c: Ditto.
977 * hppa-linux-tdep.c: Ditto.
978 * hppanbsd-tdep.c: Ditto.
979 * hppa-tdep.c: Ditto.
980 * hppa-tdep.h: Ditto.
981 * hpux-thread.c: Ditto.
982 * i386-cygwin-tdep.c: Ditto.
983 * i386-darwin-nat.c: Ditto.
984 * i386gnu-nat.c: Ditto.
985 * i386-linux-nat.c: Ditto.
986 * i386-linux-tdep.c: Ditto.
987 * i386-nat.c: Ditto.
988 * i386-nat.h: Ditto.
989 * i386nbsd-tdep.c: Ditto.
990 * i386-sol2-nat.c: Ditto.
991 * i386-stub.c: Ditto.
992 * i386-tdep.c: Ditto.
993 * i386-tdep.h: Ditto.
994 * i387-tdep.c: Ditto.
995 * ia64-linux-nat.c: Ditto.
996 * ia64-linux-tdep.c: Ditto.
997 * ia64-tdep.c: Ditto.
998 * infcall.c: Ditto.
999 * infcall.h: Ditto.
1000 * infcmd.c: Ditto.
1001 * inferior.c: Ditto.
1002 * inferior.h: Ditto.
1003 * infloop.c: Ditto.
1004 * inflow.c: Ditto.
1005 * infrun.c: Ditto.
1006 * interps.c: Ditto.
1007 * interps.h: Ditto.
1008 * iq2000-tdep.c: Ditto.
1009 * irix5-nat.c: Ditto.
1010 * jit.c: Ditto.
1011 * jit.h: Ditto.
1012 * jv-exp.y: Ditto.
1013 * jv-lang.c: Ditto.
1014 * jv-lang.h: Ditto.
1015 * jv-typeprint.c: Ditto.
1016 * jv-valprint.c: Ditto.
1017 * language.c: Ditto.
1018 * language.h: Ditto.
1019 * linespec.c: Ditto.
1020 * linux-fork.c: Ditto.
1021 * linux-nat.c: Ditto.
1022 * linux-thread-db.c: Ditto.
1023 * lm32-tdep.c: Ditto.
1024
025bb325
MS
10252011-01-08 Michael Snyder <msnyder@vmware.com>
1026
1027 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1028 * m2-lang.c: Ditto.
1029 * m2-typeprint.c: Ditto.
1030 * m2-valprint.c: Ditto.
1031 * m32c-tdep.c: Ditto.
1032 * m32r-linux-nat.c: Ditto.
1033 * m32r-rom.c: Ditto.
1034 * m32r-tdep.c: Ditto.
1035 * m32r-tdep.h: Ditto.
1036 * m68hc11-tdep.c: Ditto.
1037 * m58klinux-nat.c: Ditto.
1038 * m68k-tdep.c: Ditto.
1039 * m88k-tdep.c: Ditto.
1040 * m88k-tdep.h: Ditto.
1041 * machoread.c: Ditto.
1042 * macrocmd.c: Ditto.
1043 * macroexp.c: Ditto.
1044 * macrotab.c: Ditto.
1045 * main.c: Ditto.
1046 * maint.c: Ditto.
1047 * mdebugread.c: Ditto.
1048 * mdebugread.h: Ditto.
1049 * memattr.c: Ditto.
1050 * memattr.h: Ditto.
1051 * memory-map.h: Ditto.
1052 * mep-tdep.c: Ditto.
1053 * microblaze-rom.c: Ditto.
1054 * microblaze-tdep.c: Ditto.
1055 * minsyms.c: Ditto.
1056 * mips-irix-tdep.c: Ditto.
1057 * mips-linux-nat.c: Ditto.
1058 * mips-linux-tdep.c: Ditto.
1059 * mips-linux-tdep.h: Ditto.
1060 * mipsnbsd-nat.c: Ditto.
1061 * mipsnbsd-tdep.c: Ditto.
1062 * mipsread.c: Ditto.
1063 * mips-tdep.c: Ditto.
1064 * mips-tdep.h: Ditto.
1065 * mn10300-linux-tdep.c: Ditto.
1066 * mn10300-tdep.c: Ditto.
1067 * mn10300-tdep.h: Ditto.
1068 * monitor.c: Ditto.
1069 * monitor.h: Ditto.
1070 * moxie-tdep.c: Ditto.
1071 * moxie-tdep.h: Ditto.
1072 * mt-tdep.c: Ditto.
1073
1642781b
MF
10742011-01-08 Mike Frysinger <vapier@gentoo.org>
1075
1076 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1077
394b0adb
JB
10782011-01-08 Robert Millan <rmh@gnu.org>
1079
1080 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1081
b670013c
MS
10822011-01-07 Michael Snyder <msnyder@vmware.com>
1083
1084 * charset.c (_initialize_charset): Fix typo in string.
1085
a743e542
MS
10862011-01-07 Michael Snyder <msnyder@vmware.com>
1087
1088 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1089 for i18n.
1090 * tui/tui-layout.c (tui_set_layout_for_display_command):
1091 Split line so that operator goes to beginning of line.
1092 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1093 assignment out of if statement.
1094
0963b4bd
MS
10952011-01-07 Michael Snyder <msnyder@vmware.com>
1096
1097 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1098 * ada-lang.h: Ditto.
1099 * ada-tasks.c: Ditto.
1100 * ada-valprint.c: Ditto.
1101 * aix-threads.c: Ditto.
1102 * alpha-linux-nat.c: Ditto.
1103 * alpha-linux-tdep.c: Ditto.
1104 * alpha-mdebug-tdep.c: Ditto.
1105 * alpha-nat.c: Ditto.
1106 * alpha-osf1-tdep.c: Ditto.
1107 * alpha-tdep.c: Ditto.
1108 * alphabsd-nat.c: Ditto.
1109 * alphabsd-tdep.c: Ditto.
1110 * amd64-darwin-tdep.c: Ditto.
1111 * amd64-linux-nat.c: Ditto.
1112 * amd64-linux-tdep.c: Ditto.
1113 * amd64-sol2-tdep.c: Ditto.
1114 * amd64-tdep.c: Ditto.
1115 * amd64-fbsd-tdep.c: Ditto.
1116 * amd64-nbsd-tdep.c: Ditto.
1117 * amd64-obsd-tdep.c: Ditto.
1118 * amd64-linux-nat.c: Ditto.
1119 * amd64-linux-tdep.c: Ditto.
1120 * arm-tdep.c: Ditto.
1121 * arm-tdep.h: Ditto.
1122 * armnbsd-nat.c: Ditto.
1123 * avr-tdep.c: Ditto.
1124 * bfin-tdep.c: Ditto.
1125 * bsd-kvm.c: Ditto.
1126 * c-typeprintc: Ditto.
1127 * c-valprint.c: Ditto.
1128 * coff-pe-read.h: Ditto.
1129 * coffreead.c: Ditto.
1130 * cris-tdep.c: Ditto.
1131 * d-lang.c: Ditto.
1132 * darwin-nat-info.c: Ditto.
1133 * darwin-nat.c: Ditto.
1134 * dbug-rom.c: Ditto.
1135 * dbxread.c: Ditto.
1136 * dcache.c: Ditto.
1137 * dcache.h: Ditto.
1138 * dec-thread.c: Ditto.
1139 * defs.h: Ditto.
1140 * demangle.c: Ditto.
1141 * dicos-tdep.c: Ditto.
1142 * dictionary.c: Ditto.
1143 * dictionary.h: Ditto.
1144 * dink32-rom.c: Ditto.
1145 * disasm.c: Ditto.
1146 * doublest.c: Ditto.
1147 * dsrec.c: Ditto.
1148 * dummy-frame.c: Ditto.
1149 * dwarf2-frame.c: Ditto.
1150 * dwarf2expr.c: Ditto.
1151 * dwarf2loc.c: Ditto.
1152 * dwarf2read.c: Ditto.
1153 * elfread.c: Ditto.
1154 * environ.c: Ditto.
1155 * eval.c: Ditto.
1156 * event-top.h: Ditto.
1157 * exceptions.c: Ditto.
1158 * exceptions.h: Ditto.
1159 * exec.c: Ditto.
1160 * expprint.c: Ditto.
1161 * expression.h: Ditto.
1162 * f-exp.y: Ditto.
1163 * f-lang.c: Ditto.
1164 * f-lang.h: Ditto.
1165 * f-typeprint.c: Ditto.
1166 * f-valprint.c: Ditto.
1167 * fbsd-nat.c: Ditto.
1168 * findvar.c: Ditto.
1169 * fork-child.c: Ditto.
1170 * frame.c: Ditto.
1171 * frame.h: Ditto.
1172 * frv-linux-tdep.c: Ditto.
1173 * frv-tdep.c: Ditto.
1174 * gcore.c: Ditto.
1175 * gdb-stabs.h: Ditto.
1176 * gdb_assert.h: Ditto.
1177 * gdb_string.h: Ditto.
1178 * gdb_thread_db.h: Ditto.
1179 * gdb_wait.h: Ditto.
1180 * gdbarch.sh: Ditto.
1181 * gdbcore.h: Ditto.
1182 * gdbthread.h: Ditto.
1183 * gdbtypes.c: Ditto.
1184 * gdbtypes.h: Ditto.
1185 * gnu-nat.c: Ditto.
1186 * gnu-nat.h: Ditto.
1187 * gnu-v2-abi.c: Ditto.
1188 * gnu-v3-abi.c: Ditto.
1189 * go32-nat.c: Ditto.
1190 * gdbarch.c: Regenerate.
1191 * gdbarch.h: Regenerate.
1192
ac74f770
MS
11932011-01-07 Michael Snyder <msnyder@vmware.com>
1194
1195 * ax-gdb.c: Adjust some long output strings.
1196 * breakpoint.c: Ditto.
1197 * charset.c: Ditto.
1198 * cp-abi.c: Ditto.
1199 * infcall.c: Ditto.
1200 * infrun.c: Ditto.
1201 * linux-nat.c: Ditto.
1202 * solib-pa64.c: Ditto.
1203 * solib-som.c: Ditto.
1204
d8e22779
TT
12052011-01-06 Tom Tromey <tromey@redhat.com>
1206
1207 PR python/12367:
1208 * NEWS: Add item.
1209 * python/python.c (GdbMethods): Add "newest_frame" method.
1210 * python/python-internal.h (gdbpy_newest_frame): Declare.
1211 * python/py-frame.c (gdbpy_newest_frame): New function.
1212
a255712f
PP
12132010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1214
1215 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1216 * jit.c (jit_debug): New variable.
1217 (show_jit_debug): New function.
1218 (struct target_buffer): Use ULONGEST.
1219 (bfd_open_from_target_memory): Likewise.
1220 (jit_register_code, jit_inferior_init): Add debug output.
1221 (_initialize_jit): Register "debug jit" command.
1222
ccfc3d6e
TT
12232011-01-06 Tom Tromey <tromey@redhat.com>
1224
1225 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1226 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1227 and ARCH_FRAME.
1228
57126e4a
TT
12292011-01-06 Tom Tromey <tromey@redhat.com>
1230
1231 * python/py-frame.c (frapy_block): Use get_frame_block.
1232
16dfc9ce
JB
12332011-01-06 Joel Brobecker <brobecker@adacore.com>
1234
1235 Do not stop on SIGPRIO signals by default
1236 * infrun.c (_initialize_infrun): Unset signal_stop and
1237 signal_print for TARGET_SIGNAL_PRIO.
1238
b1ce2347
JB
12392011-01-06 Joel Brobecker <brobecker@adacore.com>
1240
1241 * ada-tasks.c: Fix style violation in comment.
1242
8f7e195f
JB
12432011-01-06 Joel Brobecker <brobecker@adacore.com>
1244
1245 * linespec.c (decode_compound, find_method): Remove trailing \n
1246 at end of error string.
1247 * solib-irix.c (irix_current_sos): Likewise.
1248 * varobj.c (uninstall_variable): Likewise.
1249
e9bdf92c
JB
12502011-01-06 Joel Brobecker <brobecker@adacore.com>
1251
1252 * copyright.py: New script.
1253 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1254 Launch emacs without exec'ing. Call copyright.py afterwards.
1255
3e43a32a
MS
12562011-01-05 Michael Snyder <msnyder@vmware.com>
1257
1258 * addrmap.c: Shorten lines of >= 80 columns.
1259 * arch-utils.c: Ditto.
1260 * arch-utils.h: Ditto.
1261 * ax-gdb.c: Ditto.
1262 * ax-general.c: Ditto.
1263 * bcache.c: Ditto.
1264 * blockframe.c: Ditto.
1265 * breakpoint.c: Ditto.
1266 * buildsym.c: Ditto.
1267 * c-lang.c: Ditto.
1268 * c-typeprint.c: Ditto.
1269 * charset.c: Ditto.
1270 * coffread.c: Ditto.
1271 * command.h: Ditto.
1272 * corelow.c: Ditto.
1273 * cp-abi.c: Ditto.
1274 * cp-namespace.c: Ditto.
1275 * cp-support.c: Ditto.
1276 * dbug-rom.c: Ditto.
1277 * dbxread.c: Ditto.
1278 * defs.h: Ditto.
1279 * dfp.c: Ditto.
1280 * dfp.h: Ditto.
1281 * dictionary.c: Ditto.
1282 * disasm.c: Ditto.
1283 * doublest.c: Ditto.
1284 * dwarf2-frame.c: Ditto.
1285 * dwarf2expr.c: Ditto.
1286 * dwarf2loc.c: Ditto.
1287 * dwarf2read.c: Ditto.
1288 * elfread.c: Ditto.
1289 * eval.c: Ditto.
1290 * event-loop.c: Ditto.
1291 * event-loop.h: Ditto.
1292 * exceptions.h: Ditto.
1293 * exec.c: Ditto.
1294 * expprint.c: Ditto.
1295 * expression.h: Ditto.
1296 * f-lang.c: Ditto.
1297 * f-valprint.c: Ditto.
1298 * findcmd.c: Ditto.
1299 * frame-base.c: Ditto.
1300 * frame-unwind.c: Ditto.
1301 * frame-unwind.h: Ditto.
1302 * frame.c: Ditto.
1303 * frame.h: Ditto.
1304 * gcore.c: Ditto.
1305 * gdb-stabs.h: Ditto.
1306 * gdb_assert.h: Ditto.
1307 * gdb_dirent.h: Ditto.
1308 * gdb_obstack.h: Ditto.
1309 * gdbcore.h: Ditto.
1310 * gdbtypes.c: Ditto.
1311 * gdbtypes.h: Ditto.
1312 * inf-ttrace.c: Ditto.
1313 * infcall.c: Ditto.
1314 * infcmd.c: Ditto.
1315 * inflow.c: Ditto.
1316 * infrun.c: Ditto.
1317 * inline-frame.h: Ditto.
1318 * language.c: Ditto.
1319 * language.h: Ditto.
1320 * libunwind-frame.c: Ditto.
1321 * libunwind-frame.h: Ditto.
1322 * linespec.c: Ditto.
1323 * linux-nat.c: Ditto.
1324 * linux-nat.h: Ditto.
1325 * linux-thread-db.c: Ditto.
1326 * machoread.c: Ditto.
1327 * macroexp.c: Ditto.
1328 * macrotab.c: Ditto.
1329 * main.c: Ditto.
1330 * maint.c: Ditto.
1331 * mdebugread.c: Ditto.
1332 * memattr.c: Ditto.
1333 * minsyms.c: Ditto.
1334 * monitor.c: Ditto.
1335 * monitor.h: Ditto.
1336 * objfiles.c: Ditto.
1337 * objfiles.h: Ditto.
1338 * osabi.c: Ditto.
1339 * p-typeprint.c: Ditto.
1340 * p-valprint.c: Ditto.
1341 * parse.c: Ditto.
1342 * printcmd.c: Ditto.
1343 * proc-events.c: Ditto.
1344 * procfs.c: Ditto.
1345 * progspace.c: Ditto.
1346 * progspace.h: Ditto.
1347 * psympriv.h: Ditto.
1348 * psymtab.c: Ditto.
1349 * record.c: Ditto.
1350 * regcache.c: Ditto.
1351 * regcache.h: Ditto.
1352 * remote-fileio.c: Ditto.
1353 * remote.c: Ditto.
1354 * ser-mingw.c: Ditto.
1355 * ser-tcp.c: Ditto.
1356 * ser-unix.c: Ditto.
1357 * serial.c: Ditto.
1358 * serial.h: Ditto.
1359 * solib-frv.c: Ditto.
1360 * solib-irix.c: Ditto.
1361 * solib-osf.c: Ditto.
1362 * solib-pa64.c: Ditto.
1363 * solib-som.c: Ditto.
1364 * solib-sunos.c: Ditto.
1365 * solib-svr4.c: Ditto.
1366 * solib-target.c: Ditto.
1367 * solib.c: Ditto.
1368 * somread.c: Ditto.
1369 * source.c: Ditto.
1370 * stabsread.c: Ditto.
1371 * stabsread.c: Ditto.
1372 * stack.c: Ditto.
1373 * stack.h: Ditto.
1374 * symfile-mem.c: Ditto.
1375 * symfile.c: Ditto.
1376 * symfile.h: Ditto.
1377 * symmisc.c: Ditto.
1378 * symtab.c: Ditto.
1379 * symtab.h: Ditto.
1380 * target-descriptions.c: Ditto.
1381 * target-memory.c: Ditto.
1382 * target.c: Ditto.
1383 * target.h: Ditto.
1384 * terminal.h: Ditto.
1385 * thread.c: Ditto.
1386 * top.c: Ditto.
1387 * tracepoint.c: Ditto.
1388 * tracepoint.h: Ditto.
1389 * ui-file.c: Ditto.
1390 * ui-file.h: Ditto.
1391 * ui-out.h: Ditto.
1392 * user-regs.c: Ditto.
1393 * user-regs.h: Ditto.
1394 * utils.c: Ditto.
1395 * valarith.c: Ditto.
1396 * valops.c: Ditto.
1397 * valprint.c: Ditto.
1398 * valprint.h: Ditto.
1399 * value.c: Ditto.
1400 * varobj.c: Ditto.
1401 * varobj.h: Ditto.
1402 * vec.h: Ditto.
1403 * xcoffread.c: Ditto.
1404 * xcoffsolib.c: Ditto.
1405 * xcoffsolib.h: Ditto.
1406 * xml-syscall.c: Ditto.
1407 * xml-tdesc.c: Ditto.
1408
9a2b4c1b
MS
14092011-01-05 Michael Snyder <msnyder@vmware.com>
1410
1411 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1412 * cli/cli-decode.c: Ditto.
1413 * cli/cli-dump.c: Ditto.
1414 * cli/cli-logging.c: Ditto.
1415 * cli/cli-script.c: Ditto.
1416 * cli/cli-setshow.c: Ditto.
1417 * common/signals.c: Ditto.
1418 * mi/mi-cmd-break.c: Ditto.
1419 * mi/mi-cmd-disas.c: Ditto.
1420 * mi/mi-cmd-stack.c: Ditto.
1421 * mi/mi-cmd-var.c: Ditto.
1422 * mi/mi-cmds.c: Ditto.
1423 * mi/mi-common.h: Ditto.
1424 * mi/mi-console.c: Ditto.
1425 * mi/mi-interp.c: Ditto.
1426 * mi/mi-main.c: Ditto.
1427 * osf-share/cma_attr.c: Ditto.
1428 * osf-share/cma_deb_core.h: Ditto.
1429 * osf-share/cma_debug_client.h: Ditto.
1430 * osf-share/cma_handle.h: Ditto.
1431 * osf-share/cma_mutex.h: Ditto.
1432 * osf-share/cma_stack_int.h: Ditto.
1433 * osf-share/cma_tcb_defs.h: Ditto.
1434 * python/py-auto-load.c: Ditto.
1435 * python/py-breakpoint.c: Ditto.
1436 * python/py-cmd.c: Ditto.
1437 * python/py-frame.c: Ditto.
1438 * python/py-objfile.c: Ditto.
1439 * python/py-param.c: Ditto.
1440 * python/py-progspace.c: Ditto.
1441 * python/py-symbol.c: Ditto.
1442 * python/py-value.c: Ditto.
1443 * python/python-internal.h: Ditto.
1444 * python/python.c: Ditto.
1445 * tui/tui-data.c: Ditto.
1446 * tui/tui-disasm.c: Ditto.
1447 * tui/tui-hooks.c: Ditto.
1448 * tui/tui-io.c: Ditto.
1449 * tui/tui-layout.c: Ditto.
1450 * tui/tui-regs.c: Ditto.
1451 * tui/tui-source.c: Ditto.
1452 * tui/tui-stack.c: Ditto.
1453 * tui/tui-win.c: Ditto.
1454 * tui/tui-windata.c: Ditto.
1455 * tui/tui-winsource.c: Ditto.
1456
44944448
JB
14572011-01-05 Joel Brobecker <brobecker@adacore.com>
1458
1459 * configure.ac, gdb.1: Copyright year update.
1460
ebedcab5
JK
14612011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1462
1463 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1464 this_pc_in_block, morestack_msym and morestack_name. Check for
1465 "__morestack" minimal symbol there.
1466
e5cc9f32
JB
14672011-01-03 Joel Brobecker <brobecker@adacore.com>
1468
1469 * symfile.c (find_sym_fns): Add call to dont_repeat.
1470
7b6bb8da
JB
14712011-01-01 Joel Brobecker <brobecker@adacore.com>
1472
1473 Copyright year update in most files (performed by copyright.sh).
1474
71ce852c
JB
14752011-01-01 Joel Brobecker <brobecker@adacore.com>
1476
1477 * top.c (print_gdb_version): Update copyright year in version output.
0e2de366 1478
c3c1ebe8 1479For older changes see ChangeLog-2010.
c906108c
SS
1480\f
1481Local Variables:
1482mode: change-log
1483left-margin: 8
1484fill-column: 74
1485version-control: never
57da7796 1486coding: utf-8
c906108c 1487End:
This page took 1.333704 seconds and 4 git commands to generate.