Persuading dbx to use recompiled object files

When loading a core file, I get:

dbx: warning: Object file is not the same one that was linked into executable.

Skipping stabs. (see `help finding-files')

because I recompiled the object files as the originally compiled object files are no longer available. How can I force dbx to use the newly compiled object files -- they should be identical to the original as I have used the exact same source C++ code?

The core files are hard to replicate, so I can't just recompile and rerun the program.

Thanks

[540 byte] By [WilliamFultona] at [2007-11-27 11:06:25]
# 1

Classic, I worked it out, but for the record, the module command can be used to reload the symbols:

(dbx) module -f myfile.o

WilliamFultona at 2007-7-29 13:15:19 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

To reload all modules:

(dbx) modules -f -a

WilliamFultona at 2007-7-29 13:15:19 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

And you can also start dbx with -f option like this:

dbx -f new_executable old_core

MaximKartasheva at 2007-7-29 13:15:19 > top of Java-index,Development Tools,Solaris and Linux Development Tools...