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