logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: [RFA] New bitflags type and eflags on i386/x86-64: msg#01026

gdb.patches

Subject: Re: [RFA] New bitflags type and eflags on i386/x86-64

At 15:52 30/08/2002 , vous avez écrit:
>Andrew Cagney wrote:
>>Is there any immediate technical problem stopping x86-64 linking in
>>i386-tdep.c? (Yes scary, multi-arch).
>
>Yes, if both are linked, the gdbarch initialisation is attempted to be done
>twice and gdb crashes. I could add an #ifdef to optionally ignore some parts
>of i386-tdep, but IMHO it's better to introduce a new file as DanielJ
>proposed. See the patch. I've moved both new builtin types and their
>initialisation to i386-common-tdep.c and modified all config/i386/*.mt files
>to require it. This approach shouldn't harm MarkK's effort at all.
>Any objections or can I commit it?

This looks quite good in general,
but I don't have the time to test the patch myself...

I was just afraid of one thing :

will it still be possible to do arithmetics
on those registers ?

say that you want to clear on flag
in the $eflags registers

before your patch you could do

set $eflags &=0xfffe
if you wanted to clear the flag at position zero.
Will this still be possible without typecasting the flag register ?
or willsomething like
set $eflags = $eflags | [ZF]
be possible ?





Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@xxxxxxxxxxxxxxxx
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo