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 | 11bc5832a9da5c23b3df59251c230c5bcce21f2f (patch) | |
tree | 50f0f065461a8b7af6dd698436b44c709296173d /gdb/corelow.c | |
parent | 2e9e5ed6071269ff915c1caa9a9735849fd7c15b (diff) | |
download | gdb-11bc5832a9da5c23b3df59251c230c5bcce21f2f.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); |