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