This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/8] gdb.trace: Use manually-defined start labels in unavailable-dwarf-piece.exp


Marcin KoÅ?cielnicki wrote:

> On powerpc64, foo/bar point to a function descriptor, not to function code.
> Since there are no global labels pointing at the actual function code,
> let's make our own.

>  with_test_prefix "tracing foo" {
> -    gdb_test "trace foo" ".*"
> +    gdb_test "trace *foo_start_lbl" ".*"

Well, I'd have thought that "trace foo" should simply work as-is,
otherwise, this isn't particularly user-friedly ...

Is there a call to gdbarch_convert_from_func_ptr_addr missing
somewhere in the trace code, maybe?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]