Maciej W. Rozycki
5863b5d536
* mips-tdep.c (mips_n32n64_push_dummy_call): Sign-extend
...
integers and 32-bit pointers as required by the ABI.
2007-12-20 17:13:57 +00:00
Joel Brobecker
10d00faca9
* symtab.h: Remove "defs.h" #include.
...
* Makefile.in (symtab_h): Update dependencies.
2007-12-20 05:36:14 +00:00
gdbadmin
007fb11822
*** empty log message ***
2007-12-20 00:00:34 +00:00
Pierre Muller
abc8a88dc5
2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
...
* (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
and record first explicitly generated thread number.
Use that thread number for thread specific watchpoint test.
Add iteration number to repetitive tests.
2007-12-19 14:40:37 +00:00
Joel Brobecker
67cd94cafd
* symtab.h: #include "defs.h".
...
(enum language): Remove opaque declaration.
* Makefile.in (symtab_h): Update dependencies.
2007-12-19 13:21:32 +00:00
Joel Brobecker
7a188e2b3d
* language.h (enum exp_opcode): Remove commented out forward
...
declaration.
(op_error): Delete declaration.
2007-12-19 12:55:09 +00:00
Joel Brobecker
b50d744268
* infrun.c (handle_inferior_event): Fix spelling in comment.
2007-12-19 05:16:36 +00:00
gdbadmin
2353d21439
*** empty log message ***
2007-12-19 00:00:33 +00:00
Daniel Jacobowitz
b65d95c576
* linux-low.c (linux_wait_for_event): Update messages. Do not
...
reinsert auto-delete breakpoints.
* mem-break.c (struct breakpoint): Change return type of handler to
int.
(set_breakpoint_at): Update handler type.
(reinsert_breakpoint_handler): Return 1 instead of calling
delete_breakpoint.
(reinsert_breakpoint_by_bp): Check for the original breakpoint before
setting a new one.
(check_breakpoints): Delete auto-delete breakpoints and return 2.
* mem-break.h (set_breakpoint_at): Update handler type.
* thread-db.c (thread_db_create_event, thread_db_create_event): Update.
* win32-low.c (auto_delete_breakpoint): New.
(get_child_debug_event): Use it.
2007-12-18 21:58:01 +00:00
Jim Blandy
ab209b3a0d
Fix filename in ChangeLog entry.
2007-12-18 21:32:50 +00:00
Jim Blandy
d8b2a6932a
* doc/gdb.texinfo (Set Watchpoints): Integrate per-thread
...
watchpoint explanation into the main description of the watchpoint
command; update synopses of 'watch', 'rwatch', and 'awatch'
commands.
2007-12-18 18:11:09 +00:00
Daniel Jacobowitz
56e3f43cb6
* minsyms.c (lookup_minimal_symbol): Also check the separate
...
debug objfile.
(lookup_minimal_symbol_text): Likewise.
(lookup_minimal_symbol_solib_trampoline): Likewise.
* symtab.c (lookup_global_symbol_from_objfile): Likewise.
2007-12-18 16:02:54 +00:00
Vladimir Prus
8b4ed4273f
* mi/mi-main.c (mi_cmd_list_features): Announce
...
the 'pending-breakpoints' feature.
2007-12-18 11:06:12 +00:00
gdbadmin
3d372cd7a1
*** empty log message ***
2007-12-18 00:00:03 +00:00
Jim Blandy
c6a0999f0f
* dwarf2read.c (dwarf2_add_field): Correctly scale all byte
...
offsets obtained from DW_AT_data_member_location before recording
them in FIELD_BITPOS (*fp).
* dwarf2read.c (attr_form_is_section_offset): Doc fixes.
2007-12-17 18:38:30 +00:00
Maciej W. Rozycki
9544c605b6
* utils.c (string_to_core_addr): If the executable format
...
indicates that addresses should be sign-extended and there are
only 8 hex digits in the address, then do so.
* Makefile.in (utils.o): Depend on $(gdbcore_h).
2007-12-17 17:49:29 +00:00
Maciej W. Rozycki
aa707ed0e5
* symfile.c (init_filename_language_table): Recognise .sx as
...
an assembler file.
2007-12-17 17:20:15 +00:00
Carlos Eduardo Seo
5158f3e312
* gdb.base/expand-psymtabs.c: New testcase
...
source file.
* gdb.base/expand-psymtabs.exp: New testcase
expect file.
2007-12-17 14:56:33 +00:00
Joel Brobecker
62dfaa9c0d
* language.h (enum exp_opcode): Comment out this declaration,
...
undoing the previous change.
2007-12-17 14:06:34 +00:00
Luis Machado
37e4754d76
* breakpoint.c: (watch_command_1): Parse additional optional
...
"thread" parameter to the watchpoint command and set the
"thread" member of the breakpoint struct.
* doc/gdb.texinfo: Add new parameter's description.
* testsuite/gdb.base/watch_thread_num.c: New testcase source file.
* testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
2007-12-17 12:32:23 +00:00
Luis Machado
28e78778f5
* breakpoint.c (bpstat_stop_status): Check an additional
...
condition before evaluating an expression value.
2007-12-17 11:34:45 +00:00
Joel Brobecker
551e5d04d1
* gdb.ada/frame_args/foo.adb: New file.
...
* gdb.ada/frame_args/pck.ads: New file.
* gdb.ada/frame_args/pck.adb: New file.
* gdb.ada/frame_args.exp: New testcase.
2007-12-17 07:26:08 +00:00
Joel Brobecker
a05ee09706
* gdb.base/frame-args.c: New file.
...
* gdb.base/frame-args.exp: New testcase.
2007-12-17 07:18:03 +00:00
Joel Brobecker
b62f344344
* language.h (enum exp_opcode): Add forward declaration.
...
(language_string_char_type, language_lookup_primitive_type_by_name):
Move declaration past declaration of language_defn.
2007-12-17 07:00:49 +00:00
gdbadmin
4c3bffcb0d
*** empty log message ***
2007-12-17 00:00:03 +00:00
Daniel Jacobowitz
1d3811f649
* gdb.texinfo (Overview): Clarify run-length encoding
...
example. Remove the restriction on "+" and "-" characters.
2007-12-16 22:57:06 +00:00
Joseph Myers
c162e8c9a4
2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
...
Joseph Myers <joseph@codesourcery.com>
* configure.ac: Check for *-*-solaris2.1[[0-9]]* instead of
*-*-solaris2.1[[0-9]].
* configure: Regenerate.
* procfs.c (proc_set_current_signal): If redelivering a signal,
reuse the current siginfo if possible.
testsuite:
* gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
2007-12-16 22:19:21 +00:00
Daniel Jacobowitz
4e79934594
* configure.ac: Check for pread and pwrite.
...
* hostio.c (handle_pread): Fall back to lseek and read.
(handle_pwrite): Fall back to lseek and write.
* config.in, configure: Regenerated.
2007-12-16 21:50:05 +00:00
Daniel Jacobowitz
c244f7a6ff
* f-typeprint.c (print_equivalent_f77_float_type): Remove function.
...
(f_type_print_base): Output the type names directly for real and
complex types.
2007-12-16 21:27:26 +00:00
Vladimir Prus
b5447a83ac
* breakpoint.c (bpstat_have_active_hw_watchpoints):
...
Remove
(bpstat_stop_status): Remove unused variable
real_breakpoint.
* breakpoint.h (bpstat_have_active_hw_watchpoints):
Remove prototype.
2007-12-16 19:15:48 +00:00
Vladimir Prus
c95310c6b8
* target.h (target_pid_or_tid_to_str): Remove.
...
* infrun.c (handle_inferior_event):
Use target_pid_to_str instead of
target_pid_or_tid_to_str.
(normal_stop): Likewise.
2007-12-16 19:14:23 +00:00
Jan Kratochvil
09fa0d7cfd
* dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
...
DWARF3 equivalent `DW_AT_bit_stride'.
Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.
2007-12-16 16:06:29 +00:00
Joel Brobecker
41bbea1ac5
* mi/mi-main.c: Remove code that was commented out in 1999.
2007-12-16 13:37:26 +00:00
Joel Brobecker
7f7f83e8b1
* expression.h (parse_expression_in_context): Delete prototype.
...
* parse.c (parse_expression_in_context): Delete.
2007-12-16 13:31:46 +00:00
gdbadmin
606bc03a5d
*** empty log message ***
2007-12-16 00:00:04 +00:00
Eli Zaretskii
c1c25a1a66
* gdb.texinfo (Host I/O Packets): Fix xref syntax.
2007-12-15 13:13:12 +00:00
gdbadmin
46da5588d0
*** empty log message ***
2007-12-15 00:00:02 +00:00
Vladimir Prus
afe8ab2206
Add support for pending breakpoints in MI.
...
* gdb.h (gdb_breakpoint): Add parameter pending.
* breakpoint.c (gdb_breakpoint): Add parameter pending.
* mi/mi-cmd-break.c (mi_break_insert): Change
comment to refer to manual. Add support for
the -f flag, for pending breakpoint.
2007-12-14 18:15:47 +00:00
Vladimir Prus
72b2ff0e02
* breakpoint.c (break_command_really): New, copied
...
from break_command_1. New parameters COND_STRING, THREAD
PARSE_CONDITITION_AND_THREAD and PENDING_BREAK_SUPPORT.
The previous FLAG parameter split into TEMPFLAG and
HARDWAREFLAG.
When PARSE_CONDITION_AND_THREAD is not set, duplicate
the passed condition string.
(struct captured_breakpoint_args): Remove
(do_captured_breakpoint): Remove.
(break_command_1): Relay to break_command_really.
(gdb_breakpoint): Relay to break_command_really.
2007-12-14 17:54:48 +00:00
gdbadmin
1ba2ab661d
*** empty log message ***
2007-12-14 00:00:33 +00:00
Michael Snyder
2ba9393420
2007-12-13 Michael Snyder <msnyder@specifix.com>
...
* mips-linux-tdep.c (mips64_fill_gregset): Remove unused variable.
2007-12-13 19:28:26 +00:00
Jim Blandy
3690dd376b
* dwarf2read.c (attr_form_is_constant): New function.
...
(dwarf2_add_field): Use it and attr_form_is_section_offset to
recognize DW_AT_data_member_location attributes. Use
dwarf2_get_attr_constant_value when the attribute is a constant.
* dwarf2read.c (attr_form_is_section_offset): New function.
(dwarf_add_member_fn, read_common_block, read_partial_die)
(dwarf2_symbol_mark_computed): Use it, instead of writing it out.
2007-12-13 19:02:51 +00:00
Jim Blandy
dfdfb3ca98
Remove unused support for target-based exception catching.
...
* target.h (struct target_ops): Delete
to_enable_exception_callback and to_get_current_exception_event
members.
(target_enable_exception_callback)
(target_get_current_exception_event): Delete macros.
* target.c (update_current_target): Remove code to inherit and
default those members.
(debug_to_enable_exception_callback)
(debug_to_get_current_exception_event): Delete functions.
(setup_target_debug): Don't install those methods.
* inf-child.c (inf_child_enable_exception_callback)
(inf_child_get_current_exception_event): Delete dummy functions.
(inf_child_target): Don't install them in the target vector.
* breakpoint.h (enum bptype): Delete bp_catch_catch,
bp_catch_throw.
* breakpoint.c (cover_target_enable_exception_callback)
(ep_is_exception_catchpoint, create_exception_catchpoint): Delete
functions.
(insert_bp_location, update_breakpoints_after_exec)
(remove_breakpoint, ep_is_catchpoint, print_it_typical)
(bpstat_stop_status, bpstat_what)
(bpstat_get_triggered_catchpoints, print_one_breakpoint_location)
(user_settable_breakpoint, allocate_bp_location)
(disable_watchpoints_before_interactive_call_start)
(enable_watchpoints_after_interactive_call_stop, mention)
(delete_breakpoint, breakpoint_re_set_one, disable_command)
(enable_command): Remove exception catchpoint cases.
(catch_exception_command_1): Don't try target-based exception
handling.
* stack.c (catch_info): Call print_frame_label_vars
unconditionally.
2007-12-13 02:00:09 +00:00
gdbadmin
ee951a0b34
*** empty log message ***
2007-12-13 00:00:33 +00:00
Maciej W. Rozycki
b71c0d47ee
* remote-mips.c (mips_load): Use regcache_set_valid_p() instead
...
of setting deprecated_register_valid array directly.
2007-12-12 17:14:52 +00:00
gdbadmin
48ffab1c27
*** empty log message ***
2007-12-12 00:00:33 +00:00
gdbadmin
5828e9cfab
*** empty log message ***
2007-12-11 00:00:33 +00:00
Jan Kratochvil
b7fca99000
* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
...
must be set to binary.
2007-12-10 14:32:50 +00:00
gdbadmin
62cf9b51b4
*** empty log message ***
2007-12-10 00:00:03 +00:00
Pedro Alves
6a1afc1e2a
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
2007-12-09 11:21:21 +00:00