diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-05-15 00:03:38 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-05-15 00:03:38 +0000 |
commit | ca6724c16a360b6297d7827cfd0173441ccd95c2 (patch) | |
tree | 3e1e58042a222bbe8532507bb67f404be5c9e80f /gdb/corelow.c | |
parent | 67a659f60e569d0938cb8ce51489514bcf0d4cca (diff) | |
download | binutils-gdb-ca6724c16a360b6297d7827cfd0173441ccd95c2.tar.gz |
Redefine ptid_t to be a struct rather than an int.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index e0a4b6a7274..5d8d3ceb972 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -248,14 +248,7 @@ add_to_thread_list (bfd *abfd, asection *asect, PTR reg_sect_arg) if (reg_sect != NULL && asect->filepos == reg_sect->filepos) /* Did we find .reg? */ -#ifdef pid_to_ptid - /* Needed to prevent regressions in ptid conversion phase 1. This - bit of code will be deleted in favor of the #else branch in - phase 3. */ - inferior_ptid = thread_id; /* Yes, make it current */ -#else inferior_ptid = pid_to_ptid (thread_id); /* Yes, make it current */ -#endif } /* This routine opens and sets up the core file bfd. */ @@ -413,16 +406,8 @@ get_core_register_section (char *name, bfd_size_type size; char *contents; -#ifdef pid_to_ptid - /* Needed to prevent regressions in ptid conversion phase 1. This - bit of code will be deleted in favor of the #else branch in - phase 3. */ - if (inferior_ptid) - sprintf (section_name, "%s/%d", name, inferior_ptid); -#else if (PIDGET (inferior_ptid)) sprintf (section_name, "%s/%d", name, PIDGET (inferior_ptid)); -#endif else strcpy (section_name, name); |