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