forked from Imagelibrary/binutils-gdb
2004-01-18 Andrew Cagney <cagney@redhat.com>
* remote-sds.c (tohex): Delete unused function. Update copyright. * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. * v850-tdep.c (v850_register_virtual_size): Ditto. * target.c (normal_target_post_startup_inferior): Ditto. * source.c (ambiguous_line_spec): Ditto. * remote.c (adapt_remote_get_threadinfo): Ditto. * mi/mi-out.c (out_field_fmt): Ditto. * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. (output_control_change_notification): Ditto. * m68k-tdep.c (m68k_register_byte): Ditto. (m68k_remote_breakpoint_from_pc): Ditto. * ui-out.c (init_ui_out_state): Delete unused declaration. * stabsread.c (search_value): Ditto. * mi/mi-cmd-env.c (env_cli_command): Ditto. * maint.c (print_section_table): Ditto. * infrun.c (set_follow_fork_mode_command): Ditto.
This commit is contained in:
22
gdb/target.c
22
gdb/target.c
@@ -1,7 +1,7 @@
|
||||
/* Select target systems and architectures at runtime for GDB.
|
||||
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
Contributed by Cygnus Support.
|
||||
|
||||
@@ -71,8 +71,6 @@ static struct target_ops *find_default_run_target (char *);
|
||||
|
||||
static void nosupport_runtime (void);
|
||||
|
||||
static void normal_target_post_startup_inferior (ptid_t ptid);
|
||||
|
||||
static LONGEST default_xfer_partial (struct target_ops *ops,
|
||||
enum target_object object,
|
||||
const char *annex, void *readbuf,
|
||||
@@ -1603,24 +1601,6 @@ normal_pid_to_str (ptid_t ptid)
|
||||
return buf;
|
||||
}
|
||||
|
||||
/* Some targets (such as ttrace-based HPUX) don't allow us to request
|
||||
notification of inferior events such as fork and vork immediately
|
||||
after the inferior is created. (This because of how gdb gets an
|
||||
inferior created via invoking a shell to do it. In such a scenario,
|
||||
if the shell init file has commands in it, the shell will fork and
|
||||
exec for each of those commands, and we will see each such fork
|
||||
event. Very bad.)
|
||||
|
||||
This function is used by all targets that allow us to request
|
||||
notification of forks, etc at inferior creation time; e.g., in
|
||||
target_acknowledge_forked_child.
|
||||
*/
|
||||
static void
|
||||
normal_target_post_startup_inferior (ptid_t ptid)
|
||||
{
|
||||
/* This space intentionally left blank. */
|
||||
}
|
||||
|
||||
/* Error-catcher for target_find_memory_regions */
|
||||
static int dummy_find_memory_regions (int (*ignore1) (), void *ignore2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user