Bug 16206 - gnu debugger ARM Android compilation
Summary: gnu debugger ARM Android compilation
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: build (show other bugs)
Version: 7.6
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-22 17:45 UTC by SFENCE
Modified: 2013-11-23 09:27 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
diff patch of changes which I have done (13.18 KB, application/x-tar)
2013-11-22 17:45 UTC, SFENCE
Details
diff path without useless informations (4.74 KB, application/x-tar)
2013-11-22 22:13 UTC, SFENCE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SFENCE 2013-11-22 17:45:52 UTC
Created attachment 7296 [details]
diff patch of changes which I have done

Here is some problems with compilation of gdb on Android by native gcc compiler 4.8.

I have fixed this problems with my knowledge.

I add path of differences I had to do to fix it.
To fix one problem, it was easier way for my to add preprocessor directive to android system header.

Feel free to ask me about everything. I can share my experiences with gdb Android compilation.
Comment 1 SFENCE 2013-11-22 22:13:46 UTC
Created attachment 7297 [details]
diff path without useless informations

For better clear arrangement...
Comment 2 Yao Qi 2013-11-23 07:21:51 UTC
(In reply to SFENCE from comment #1)
> Created attachment 7297 [details]
> diff path without useless informations
> 
> For better clear arrangement...

The changes look a little hacky and they may have some effects on other targets.

These patches work, but I am afraid they are not acceptable.  If you want to have a try, please send them to different mail lists because they belong to different projects.
 - Changes in bfd should be sent to binutils mailing list,
 - Changes in libiberty should be sent to gcc mailing list,
 - Changes in readline should be sent to list of project readline.  Once it is accepted, backport it to GDB
 - Changes in gdb should be sent to gdb mailing list.
Comment 3 SFENCE 2013-11-23 09:27:33 UTC
(In reply to Yao Qi from comment #2)
> (In reply to SFENCE from comment #1)
> > Created attachment 7297 [details]
> > diff path without useless informations
> > 
> > For better clear arrangement...
> 
> The changes look a little hacky and they may have some effects on other
> targets.
> 
> These patches work, but I am afraid they are not acceptable.  If you want to
> have a try, please send them to different mail lists because they belong to
> different projects.
>  - Changes in bfd should be sent to binutils mailing list,
>  - Changes in libiberty should be sent to gcc mailing list,
>  - Changes in readline should be sent to list of project readline.  Once it
> is accepted, backport it to GDB
>  - Changes in gdb should be sent to gdb mailing list.

I have just compiled actual release of readline projects without any problems on ARM Android. But the change I have added to readline in GDB source missed here. It is probably solved by configure.