473,473 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

gdb on AIX with Xlc generated 64 bit executables

11 New Member
I have built my gdb-6.7.1 yesterday on my AIX 5.3 64 bit machine.

my gcc is gcc3.3.2

and tried debugging 64 bit executables generated by gcc, working fine. debugging session ends successfully.

But I am facing a problem when it comes 64 bit executables generated by xlc compiler.

The session ends like this:

$>gdb
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.3.0.0".
(gdb) file a.out
Reading symbols from /home/tools/ravit/a.out...done.
(gdb) b main
Breakpoint 1 at 0x5b4
(gdb) r
Starting program: /home/tools/ravit/a.out
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x5b4: I/O error.



any body faced this problem ?
What might be the solution for this?

thanks for the replies if any.

--
Regards,
Ravi.T
Nov 1 '07 #1
4 5225
ravit
11 New Member
Any body is using gdb on AIX 5.3 64 bit executables?

--
Regards,
Ravi.T
Nov 2 '07 #2
ravit
11 New Member
Any body is using gdb on AIX 5.3 64 bit executables?

--
Regards,
Ravi.T
Guys not body is using gdb on AIX for 64 bit executables?
Nov 21 '07 #3
fisch371
1 New Member
I'd like to know how you have compile gdb?
I'm still struggeling to get over the compile errors.
Which pre-compile/settings flags have you used?

Thanks in advance
Jan 29 '08 #4
ravit
11 New Member
I'd like to know how you have compile gdb?
I'm still struggeling to get over the compile errors.
Which pre-compile/settings flags have you used?

Thanks in advance
Hi fisch,

I have compiled it normally with
CC=gcc
CPP=cpp
CXX=g++

by the way, Are you using the gdb on AIX 5.3 for 64 executables generated by xlc??

Or
You wanted one for such ??

I have been trying to get gdb working for my 64 bit executables generated by Xlc , but no success hopes yet.
If you have any ideas , hope we share.

--
Regards,
Ravi.Thati
Feb 29 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Hemanth | last post by:
Hello there, I'm new to PHP. I'm trying to run a simple php script (on a Red hat linux machine with apache web server ) through a windows web browser (IE). I'm using an exec() function in my...
2
by: Jubril Oyesiji | last post by:
Does anyone have an idea about how to convert Java Class files into Windows Executables (.Exe) except writing a Batch file
9
by: mac | last post by:
when a c program is compiled using 'gcc test.c' 'cannot create c executables is thrown' I cannot able to figure out the problem could anyone help me. Thanks.
20
by: | last post by:
Back in the Old days, I compile a C++ executable, copy the dll's used by this executable to the same folder. Go to another computer, copy that folder locally, double click on the exe file and off...
2
by: ven | last post by:
I have used C# binary formatter to serialize and deserialize a data structure. However, for the same data format( used by the first executable, the same *.CS files), the second executable gives an...
5
by: VJ | last post by:
I have one VB.NET project, that outputs a "Mycomapny.exe" everytime I do a build. But I need it to output 4 different executables everytime I build. How do I archive this. I am looking at the...
1
by: Water Cooler v2 | last post by:
I have a Windows Service I am writing in C# and a set of, let us say three, other executables written in C# (mostly console applications). I want that the Windows Service must do so every few...
0
by: A W | last post by:
Hello, I am encountering the following scenario while compiling a project under Visual Studio 2005 with the floating point model set as precise. Two executables A and B share a common dll C. ...
6
by: =?Utf-8?B?Q2hhcmxlcyBS?= | last post by:
I have two different executables that I want to build w/ the same source but in 2 different compilers, vs60 and vs2008. I have 2 different configurations w/ different options etc, but I want one...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.