This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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]

Locals window empty with version 5.2.1 for MIPS


I'm running Insight version 5.2.1 under Cygwin targeted for MIPS.

When I open the Locals window, nothing is displayed even though the gdb
command "info locals" command does display the locals.

I've compared the behavior with version 5.1 and discovered that the
difference is in the function gdb_block_vars in the file
gdb/gdbtk/generic/gdbtk-stack.c

With version 5.1, the function parse_and_eval_address is used to set the
variables "start" and "end"; parse_and_eval_address returns values like
0xffffffff81000d2c.

With version 5.2.1 the function string_to_core_addr is used to set the
variables "start" and "end"; string_to_core_addr returns values like
0x0000000081000d2c, so that the line
      if (BLOCK_START (block) == start && BLOCK_END (block) == end)
always fails.

Fred Young
NNG Canada Inc.
519 880-8089


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