Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-21-2010, 05:24 AM   #1
LQ Newbie
Registered: Dec 2009
Posts: 14

Rep: Reputation: 0
Does core dump analysis require program arguments?

I was analysing a core dump using KDevelop/GDB. I specified the executable name in Project Options. My program requires some arguments at launch. But I realised that I need not specify the program arguments during coredump analysis. When I load the core file, the program doesn't launch. So, I removed the environment variable settings also from Project Options. I want to confirm if my findings are correct?
I work on C++ and JNI but these observations are common for both.


Last edited by hs_linux; 07-21-2010 at 05:29 AM.
Old 07-22-2010, 02:05 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
KDevelop/GDB is just a little GUI wrapper around GDB. Effectively, it *IS* GDB.

With the same behavior you asked about in previous links:

If you're working with JNI, I strong (strongly!) urge you to:

1. Keep your JNI layer as thin as possible (do as LITTLE as possible OUTSIDE of Java)
2. Use C (rather than C++)

Last edited by paulsm4; 07-22-2010 at 02:09 PM.
Old 07-23-2010, 03:46 AM   #3
LQ Newbie
Registered: Dec 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks paulsm4 for your reply. Yes, the diff posts relate to gdb. But since these are different, I preferred to put them separately.

At one time, I was passing program arguments but later found that the analysis work even without them and without environment variable setting. This would be because it doesn't run the program. But I just wanted to confirm it over here.



coredump, gdb, kdevelop

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Core Dump on Solaris (Question about core file) dayalan_cse Solaris / OpenSolaris 5 12-29-2014 08:56 AM
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 05:23 PM
Core dump in Ubuntu 8.04 (Empty core file) vineet7kumar Linux - Newbie 1 01-17-2009 06:52 PM
LXer: A quick overview of Linux kernel crash dump analysis LXer Syndicated Linux News 0 08-16-2007 05:11 AM
Stock analysis program? ahz Linux - Software 5 05-19-2005 07:00 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration