Andreas Schwab | 1 Nov 2005 01:27
Picon

Re: [PATCH] allow gdb to access altivec registers - OK to commit?

Paul Gilliam <pgilliam <at> us.ibm.com> writes:

> +      /* FIXME: pgilliam/2005-10-21: Assume all PowerPC 64-bit linux systems
> +         have altivec registers.  If not, ptrace will fail the first time it's
> +         called to access one and will not be called again.  This wart will
> +         be removed when Daniel Jacobowitz's proposal for autodetecting target
> +         registers is implimented. */

Typo: implemented.

Andreas.

--

-- 
Andreas Schwab, SuSE Labs, schwab <at> suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Qunying Pan | 1 Nov 2005 02:09

Patch: Fix ftag error when it is restored from fxsave in gdbserver on x86

Hello,

This patch fixes ftag error when it is restored from fxsave in gdbserver
on x86. Acceptable? 

Thanks,

Qunying

--------------------

The testcase is:

	typedef long double doublest;

	doublest
	add_doublest (doublest u, doublest v)
	{
	  return u + v;
	}

	int
	main ()
	{
	  doublest z = 0.0;
	  doublest x=1.0,y=2.0;
	  z = add_doublest(x, y);
	  printf("%Lf, %Lf %Lf\n", x, y, z);
	  return 0;
	}
(Continue reading)

Christopher Faylor | 1 Nov 2005 06:08

[commit] more cygwin shared library cleanup

I have more to do to consolidate cygwin's handling of shared libraries
with gdb but this is a step along the way.

I ended up putting back some of the functions I'd previously deleted
because they were really needed for core file handling.

cgf

2005-10-31  Christopher Faylor  <cgf <at> timesys.com>

	* win32-nat.c (get_relocated_section_addrs): Reinstate.
	(solib_symbols_add): New function.
	(lm_info): Remove end_addr field.
	(register_loaded_dll): Don't try to find end_addr since gdb will do
	this automatically now.  Make so_original_name == so_name for now.
	Eliminate strcpy by using so_name directly.  Read in symbols if new
	paramater "readsyms" is true.
	(handle_load_dll): Pass auto_solib_add to register_loaded_dll to
	control when symbols should be read.
	(win32_free_so): Don't free objfile here.
	(win32_create_inferior_hook): New function.
	(handle_unload_dll): Remove left-over cruft.
	(win32_special_symbol_handling): New (dummy) function.
	(map_single_dll_code_section): Reinstate.
	(dll_code_sections_add): Reinstate.
	(core_section_load_dll_symbols): Reinstate.  Don't issue an error on
	duplicate attempts to read same dll.  Make sure that UNIX-like name is
	used to register DLL.
	(win32_current_sos): Handle core files.  Reset private list before
	passing start of list pointer to gdb.
(Continue reading)

Daniel Jacobowitz | 1 Nov 2005 06:28

Re: [commit] more cygwin shared library cleanup

On Tue, Nov 01, 2005 at 12:08:45AM -0500, Christopher Faylor wrote:
> I have more to do to consolidate cygwin's handling of shared libraries
> with gdb but this is a step along the way.
> 
> I ended up putting back some of the functions I'd previously deleted
> because they were really needed for core file handling.

As usual, thanks!  It's great to see the Cygwin port getting attention.

--

-- 
Daniel Jacobowitz
CodeSourcery, LLC

Mark Kettenis | 1 Nov 2005 08:31
Picon
Picon
Favicon

[commit] Mention VAX floating-point support in NEWS

Thought this was worth mentioning.

Committed,

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis <at> gnu.org>

	* NEWS: Mention VAX floating point support.

Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.175
diff -u -p -r1.175 NEWS
--- NEWS 4 Oct 2005 00:16:07 -0000 1.175
+++ NEWS 1 Nov 2005 07:27:10 -0000
 <at>  <at>  -56,6 +56,10  <at>  <at>  After turning this setting "on", GDB pri
 when displaying arrays.  The default is "off" to preserve the previous
 behavior.

+* VAX floating point support
+
+GDB now supports the not-quite-ieee VAX F and D floating point formats.
+
 *** Changes in GDB 6.3:

 * New command line option

(Continue reading)

Mark Kettenis | 1 Nov 2005 08:39
Picon
Picon
Favicon

Re: [commit] Use -e instead of --entry for as in testsuite

> Date: Mon, 31 Oct 2005 15:35:53 -0500
> From: Daniel Jacobowitz <drow <at> false.org>
> 
> > Index: ChangeLog
> > from  Mark Kettenis  <kettenis <at> gnu.org>
> > 
> > 	* gdb.asm/asm-source.exp: Use -e instead of --entry.
> 
> Is this more portable to any one system, in particular?  If so could
> you write down in the test which one?

No system in particular.  Quite a few linkers have the -e option,
including Solaris, HP-UX, IRIX and of course GNU ld.  The --entry
option is really specific to GNU ld (but really old versions seem to
lack it too).

Mark

Wu Zhou | 1 Nov 2005 10:47
Picon
Favicon

Re: [commit] Properly anchor gdb_test_multiple in bfp-test.exp

Thanks, Kettenis.  I had one question though.

On Mon, 31 Oct 2005, kettenis <at> gnu.org wrote:

[snip]

> -    -re "Invalid number" {
> +    -re "Invalid number.*$gdb_prompt $" {

Could this used in gdb_test?  When I used it in gdb_test, it always report 
FAIL.

Regards
- Wu Zhou

Daniel Jacobowitz | 1 Nov 2005 14:54

Re: [commit] Properly anchor gdb_test_multiple in bfp-test.exp

On Tue, Nov 01, 2005 at 05:47:49PM +0800, Wu Zhou wrote:
> Thanks, Kettenis.  I had one question though.
> 
> On Mon, 31 Oct 2005, kettenis <at> gnu.org wrote:
> 
> [snip]
> 
> > -    -re "Invalid number" {
> > +    -re "Invalid number.*$gdb_prompt $" {
> 
> Could this used in gdb_test?  When I used it in gdb_test, it always report 
> FAIL.

Correct.  You have to anchor for gdb_expect and gdb_test_multiple, but
not gdb_test.

--

-- 
Daniel Jacobowitz
CodeSourcery, LLC

Christopher Faylor | 1 Nov 2005 15:10
Favicon

[commit] cygwin shared library cleanup, round 3

Random fixes, the most thrilling of which is the addition of solib_add
in a couple of places to properly catch dll load and unload.  Hopefully
this will be fixed "the right way" by the implementation of solib
breakpoints sometime soon, unless I run out of steam.

I also added the beginnings of cygwin signal handling (not to be confused
with the anemic Windows signal handling).

cgf

2005-11-01  Christopher Faylor  <cgf <at> timesys.com>

	* win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
	(_CYGWIN_SIGNAL_STRING): Define if not already defined in cygwin.h.
	(win32_add_thread): Use XZALLOC rather than xmalloc/memset.
	(register_loaded_dll): Ditto.
	(handle_load_dll): Call solib_add here.
	(handle_unload_dll): Ditto.
	(info_dll_command): Delete.
	(handle_output_debug_string): Use official _CYGWIN_SIGNAL_STRING.
	(win32_current_sos): Duplicate table to pass off to caller rather than
	deleting our version.
	(set_win32_aliases): New function.
	(_initialize_win32_nat): Remove local handling of "info shared".  Set
	deprecated_init_ui_hook to allow late setting of "info dll" alias.

Index: win32-nat.c
===================================================================
RCS file: /cvs/uberbaum/gdb/win32-nat.c,v
retrieving revision 1.115
(Continue reading)

Andrew STUBBS | 1 Nov 2005 17:22

Re: PATCH: Problem union comparision in TUI

Eli Zaretskii wrote:
> Thanks, I'm happy now.
> 
> Does anyone object to this be committed?

No objections yet. May I go ahead and commit it?

Andrew Stubbs


Gmane