|
|
Sponsor |
Re: [RFA] New bitflags type and eflags on i386/x86-64: msg#01026gdb.patches
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> |
|---|---|---|
| Previous by Date: | Re: [RFA] New bitflags type and eflags on i386/x86-64, Michal Ludvig |
|---|---|
| Next by Date: | Re: [Jim Blandy <jimb@xxxxxxxxxx>] Re: RFA: test GDB's ability to kill threaded programs that die messily, Jim Blandy |
| Previous by Thread: | Re: [RFA] New bitflags type and eflags on i386/x86-64, Michal Ludvig |
| Next by Thread: | Re: [RFA] New bitflags type and eflags on i386/x86-64, Michal Ludvig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|