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