Search Results

Search: Posts Made By: rimon
Forum: Programming 10-12-2008
14,471
Posted By rimon
gdb - loading symbols of shared library
I am debugging in gdb a program that dynamically loads libodbcinst.so. I want to debug the code from libodbcinst - I can break in it, see the source and step through it, but whenever I try printing...
16,944
Posted By rimon
In the ouput $? is evaluated to 0. I'm not sure...
In the ouput $? is evaluated to 0. I'm not sure at what point its evaluated, but I've tried this with a function as well, something like:

function err_handler
{
echo The child exited ...
16,944
Posted By rimon
Thanks for your reply! I see that the 'exit...
Thanks for your reply!

I see that the 'exit 0' is indeed not executed, but I'm afraid this is still not enough.
I need to run the child script in the background so that while it is running and...
16,944
Posted By rimon
Getting exit status of child in trap handler
Hi,

I have a trap problem when calling a child script in the background.
I know there are a lot of threads here on the issue of traps and signals, I think I have read all the relevant ones, but...
Forum: Programming 01-29-2008
1,958
Posted By rimon
Problem resolution – for anyone interested. The...
Problem resolution – for anyone interested.
The problem was finally solved by -Bsymbolic, but it was in a roundabout way.
We are working on HP and when we ran into the problem we were compiling...
Forum: Programming 01-08-2008
1,958
Posted By rimon
Dynamic loader taking function from wrong lib
Hi,

I have two dynamically loaded libraries (shared objects), both of which include functions of the same name - foo. When I call 'foo' from libA, it takes it from libB, although it is...
Forum: HP-UX 11-21-2007
6,243
Posted By rimon
gdb problem viewing variables
Hi,

I don't know if this is HP-UX specific, but I'll take my chances with this forum. ;)

I'm using WDB 5.7 on HP Itanium 11.23.
'file' on my executable shows:
ELF-32 executable object file -...
Forum: Programming 11-14-2007
3,719
Posted By rimon
First of all the line of code I wrote is: ...
First of all the line of code I wrote is:
fprintf( stderr, "alignof : %d\n", alignof(UINT) );


Where UINT is defined as 'unsigned int'. This gives me the compilation error I mentioned....
Forum: Programming 11-13-2007
3,719
Posted By rimon
I am beginning to appreciate my pickled...
I am beginning to appreciate my pickled situation...

I'm intrigued about the macros. I understand that in 'alignof' x is a type, correct?
I tried it but my compiler says:
error: types may not...
Forum: Programming 11-12-2007
3,719
Posted By rimon
Array alignment on HPUX
Hi,

I'm porting code from Windows to HP-UX 11.23, using gcc (I'm begining to suspect this might not be the best choice, but I thought it would be most compatible since we've already compiled on...
Forum: HP-UX 11-11-2007
9,589
Posted By rimon
gdb for HPUX 11.23
Hi,

I'm trying to debug my gcc compiled code on my HPUX 11.23 (Itanium).
I searched the machine to find something that looks like a compiler, and what I found was :
adb (a bit unfriendly for...
Forum: Programming 11-04-2007
11,792
Posted By rimon
Thanks for your reply! Before I even read it I...
Thanks for your reply!
Before I even read it I found my problem and I'm quite ashamed to admit I didn't see it before.

I must say to my defense that I have inherited the makefiles I am using from...
Forum: Programming 11-01-2007
11,792
Posted By rimon
Compilation error on namespaces in system header debug.h
Hi,

I'm porting code from Windows to HP-UX 11, compiling with g++.
I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of...
Forum: Programming 11-01-2007
4,790
Posted By rimon
The relevant portion of the code I am porting...
The relevant portion of the code I am porting manages semphores between the threads in my application. The specific call which gives me the compliation error is:
rc =...
Forum: Programming 10-31-2007
4,790
Posted By rimon
Compilation problem with semtimedop
Hi,

I'm porting code from Windows to HP-UX 11, compiling with gcc.
I have a call to semtimedop with 4 arguments as in the definition:
int semtimedop(int, struct sembuf *, unsigned int, const...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 07:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy