diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-03-24 04:10:01 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-03-24 04:10:01 +0000 |
commit | c4b3a45944f0638c35b7f94c94c0ebf73d16c194 (patch) | |
tree | ffc265f78503e66b9decc8bee3f7d8515d0df045 /gdb/gdbtk/library/help/target.html | |
parent | 51771d455eee6505ad7ab5999cad8c9dc7a97d84 (diff) | |
download | gdb-ezannoni_pie-20040323-branch.tar.gz |
2004-03-23 Elena Zannoni <ezannoni@redhat.com>ezannoni_pie-20040323-branchcvs/ezannoni_pie-20040323-branch
* solib-svr4.c (svr4_solib_create_inferior_hook): Disable
breakpoints at startup.
(elf_locate_base): Find out where the entry point for the program
is, using the auxv vector, if possible. Compute the address of
.dynamic using it.
(svr4_current_sos): Don't ignore the first entry if we have PIE,
it's our main program. Delete code that was skipping over the
solib entry for main executable.
* solist.h (struct so_list): Add fields main and main_relocated.
(add_to_target_sections): Export.
* solib.c (symbol_add_stub): Handle main executable in shared
library list. Ignore it if it has been relocated already. Add it
as the main symbol file, otherwise.
* infrun.c (handle_inferior_event): Re-enable startup breakpoints.
* solib-svr4.c (elf_locate_base, first_link_map_member)
svr4_current_sos, enable_break): Add debugging output.
* solist.h (debug_solib): Export.
* solib.c (debug_solib): New variable to enable debugging output.
(symbol_add_stub, update_solib_list, update_solib_list)
(add_to_target_sections): Add debugging output.
(_initialize_solib): Add new comand to enable printing of
debugging output.
(add_to_target_sections): New function. Factored out from
update_solib_list.
(update_solib_list): Call add_to_target_sections.
* varobj.h (varobj_refresh): New prototype.
* varobj.c (varobj_refresh): New function.
* symfile.c (reread_symbols): Make sure that we recompute the
entry point for the program.
(symbol_file_clear): Clear the solibs as well, if we change symbol
files.
(clear_symtab_users): Refresh the varobjs that depend on the symtabs
we are clearing.
* objfiles.c (entry_point_address): Rewrite, to fetch entry point
from auxv vector, if possible.
Add include of elf/common.h.
* breakpoint.h (enum bptype): Add bp type bp_startup_disabled.
(re_enable_breakpoints_at_startup)
(disable_breakpoints_at_startup): Add prototypes
* breakpoint.c (re_enable_breakpoints_at_startup)
(disable_breakpoints_at_startup): New functions.
(describe_other_breakpoints, delete_breakpoint)
(breakpoint_re_set_one): Handle new bp type.
* auxv.h (target_auxv_parse, target_auxv_search): Update.
* auxv.c (target_auxv_parse, target_auxv_search)
(fprint_target_auxv): Use ULONGEST instead of CORE_ADDR for
variable. Change variable name to at_type.
Diffstat (limited to 'gdb/gdbtk/library/help/target.html')
-rw-r--r-- | gdb/gdbtk/library/help/target.html | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/gdb/gdbtk/library/help/target.html b/gdb/gdbtk/library/help/target.html deleted file mode 100644 index c60ed47a251..00000000000 --- a/gdb/gdbtk/library/help/target.html +++ /dev/null @@ -1,102 +0,0 @@ -<HTML> -<HEAD> -<TITLE>Target Selection Help</TITLE> -</HEAD> -<BODY> -<H1>The Target Selection Dialog</H1> -<h2>Overview</h2> -<P>The Target Selection Dialog allows users to specify the debug target, -the interface used to connect to the target, and some useful run -options.</P> - -<P> -<h3><A HREF="#select">Selecting a Target</A></h3> -<UL> -<LI><A HREF="#select">Specifying a Target</A></LI> -<LI><A HREF="#select_int">Choosing a Connection Interface</A></LI> -</UL> - -<h3><A HREF="#options">Options</A></h3> -<UL> -<LI><A HREF="#options_run_until_main">Run until 'main'</A></LI> -<LI><A HREF="#options_bp_at_exit">Set breakpoint at 'exit'</A></LI> -<LI><A HREF="#options_download_dialog">Display Download Dialog</A></LI> -</UL> - -<h3><A HREF="#more_options">More Options</A></h3> -<UL> -<LI><A HREF="#more_options_attach">Attach to Target</A></LI> -<LI><A HREF="#more_options_load">Download Program</A></LI> -<LI><A HREF="#more_options_run">Run Program</A></LI> -<LI><A HREF="#more_options_cont">Continue from Last Stop</A></LI> -</UL></P> - -<H3><A NAME="select">Selecting a Target</A></H3> -Selecting a target involves choosing a target for debugging and setting connection -interface options for the target. - -<P>Common targets include: "Exec" for native debuggers, "Remote/Serial" for establishing -a connection to a target board via a serial line, "Remote/TCP" for TCP connections, -and "Simulator" for connections to the simulator. There may be more depending on the -configuration of the debugger being used.</P> - -<P>In general, "remote" targets are always serial connections which require the user -to specify the serial port and baud rate to be used for the connection and -"remote/tcp" targets are always TCP connections which require specifying the hostname -and port number of the machine to which to connect. Depending upon configuration, -there may be numerous serial- and TCP-based connections. These always follow the -naming convention <I>target</I>/Serial and <I>target</I>/TCP.</P> - -<P>To select a target, choose one of the available targets -from the dropdown menu in the Connection Frame. Then <A NAME="#select_int">specify -the interface options</A> for this target: selecting the baudrate and serial port -from the dropdown menus (serial targets only) or entering the hostname and port number -(TCP targets only).</P> - -<H3><A NAME="options">Options</A></H3> -Three run options which may be selected include: -<DL> - <DT><A NAME="options_run_until_main">Run until 'main'</A> - <DD>Sets a breakpoint at main() - <DT><A NAME="options_bp_at_exit">Set breakpoint at 'exit'</A> - <DD>Sets a breakpoint at exit() - <DT><A NAME="options_download_dialog">Display Download Dialog</A> - <DD>Displays a dialog showing the progress of the download to - the target section by section -</DL> -<BR> -<H3><A NAME="more_options">More Options</A></H3> -Several additional run options may be set for each target from the Target Selection -Dialog. These options govern the behavior of the debugger's -<A NAME="source.html#run_button">Run Button</A>. The debugger automatically selects -default values for these options whenever a target is selected with the dropdown menu -in the Connection Frame. To modify this default behavior, click the small triangle -next to "More Options" at the bottom of the dialog. The Run Options for the current -target are displayed, allowing modification of the actions for the target. When the -"OK" button is selected, these settings are saved and will be used as the default -for the target in future sessions. - -<DL> - <DT><A NAME="more_options_attach">Attach to Target</A> - <DD>Establish a connection to the target board. - <DT><A NAME="more_options_load">Download Program</A> - <DD>Download the program to the target board. - <DT><A NAME="more_options_run">Run Program</A> - <DD>Run the program on the target board, creating a new - "process". This option may not be specified along with - the continue option. See note below. - <DT><A NAME="more_options_cont">Continue from Last Stop</A> - <DD>Continue the program on the target board from where - it last stopped. This option may not be specified - along with the "run" option. See note below. -</DL> - -<P>Note that all remote targets typically do not "run" programs. Since target -boards are usually incapable of creating a new "process", these targets -seldom "Run". The defaults for all remote targets reflect this distinction: they -are all set to "Continue".</P> - -<P>Only one of the options "Run Program" and "Continue from Last Stop" may be used. -Typically, the default behavior of this setting should not be altered.</P> -</BODY> -</HTML> |