|
|
Sponsor |
[RFA/RFC] blockframe.c Fix errorneous addr check: msg#00556gdb.patches
Hi, This patch fix wrong detection of belonging addr to startup file: if call main is last instuction in crt0, then inside_entry_file erroneously return false. Ok to commit? Andrey P.S. Possible this bug not in this func, but in symbol reader. 2002-06-27 Andrey Volkov <avolkov@xxxxxxxxxxx> *blockframe.c (inside_entry_file): Fixed erroneous check that addr is in startup file. Index: blockframe.c =================================================================== RCS file: /cvs/src/src/gdb/blockframe.c,v retrieving revision 1.30 diff -u -r1.30 blockframe.c --- blockframe.c 26 Jun 2002 15:28:46 -0000 1.30 +++ blockframe.c 27 Jun 2002 16:33:10 -0000 @@ -113,7 +113,7 @@ return 0; } return (addr >= symfile_objfile->ei.entry_file_lowpc && - addr < symfile_objfile->ei.entry_file_highpc); + addr <= symfile_objfile->ei.entry_file_highpc); } /* Test a specified PC value to see if it is in the range of addresses
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [patch] /bin/grep -e and solaris, Andrew Cagney |
|---|---|
| Next by Date: | Re: [RFA/RFC] blockframe.c Fix errorneous addr check, Daniel Jacobowitz |
| Previous by Thread: | [patch] /bin/grep -e and solaris, Andrew Cagney |
| Next by Thread: | Re: [RFA/RFC] blockframe.c Fix errorneous addr check, Daniel Jacobowitz |
| 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.
|