import gdb-1999-07-07 post reformat

This commit is contained in:
Jason Molenda 1999-07-07 20:11:14 +00:00
parent 103186c62b
commit 3a4b77d8be
1 changed files with 146 additions and 142 deletions

View File

@ -16,7 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
/* by Steve Chamberlain, sac@cygnus.com */
@ -91,9 +92,11 @@ typedef struct thread_info_struct
char *name;
int suspend_count;
CONTEXT context;
} thread_info;
}
thread_info;
static thread_info thread_head = {NULL};
static thread_info thread_head =
{NULL};
/* The process and thread handles for the above context. */
@ -332,7 +335,8 @@ handle_load_dll (PTR dummy)
#ifdef DOESNT_WORK
memset (&minfo, 0, sizeof minfo);
if (VirtualQueryEx (current_process_handle, (LPCVOID) event->lpBaseOfDll,
&minfo, sizeof(minfo)) && minfo.BaseAddress) {
&minfo, sizeof (minfo)) && minfo.BaseAddress)
{
DWORD len;
IMAGE_DOS_HEADER *hmm0 = (IMAGE_DOS_HEADER *) minfo.BaseAddress;
HMODULE hmm = (HMODULE) (((DWORD) hmm0) + hmm0->e_lfanew);