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