summaryrefslogtreecommitdiffstats
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* Make function declarators match function declarations.Kevin Buettner2001-07-092-6/+12
|
* *** empty log message ***gdbadmin2001-07-091-1/+1
|
* * gdbtypes.h (builtin_type_void_data_ptr): RenameAndrew Cagney2001-07-085-12/+25
| | | | | | | | | | builtin_type_ptr. * gdbtypes.c (builtin_type_void_data_ptr): Update. (build_gdbtypes): Update. (_initialize_gdbtypes): Update. * values.c (value_as_pointer): Update. * utils.c (host_pointer_to_address): Update. (address_to_host_pointer): Update.
* * remote-udi.c (udi_wait): Make type, instead of name, of firstAndrew Cagney2001-07-082-1/+6
| | | | parameter a ptid_t.
* * ser-mac.c: Make obsolete.Andrew Cagney2001-07-083-387/+392
| | | | * Makefile.in (ser-mac.o): Ditto.
* * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)Eli Zaretskii2001-07-082-1/+758
| | | | | | | | | | (read_memory_region, get_descriptor, display_descriptor) (go32_sldt, go32_sgdt, go32_sidt): New functions. (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef away `disable' from dos.h, since breakpoint.h defines an enum member of the same name, and GCC 2.7.2 barfs. (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt, dos-gdt, and dos-idt, all of them in the "info" class
* *** empty log message ***gdbadmin2001-07-081-1/+1
|
* Allocate/free space associated with saved_entryset and saved_exitset.Kevin Buettner2001-07-071-0/+7
|
* Allocate/free space associated with saved_entryset and saved_exitset.Kevin Buettner2001-07-071-0/+5
|
* Updates.Andrew Cagney2001-07-072-35/+4
|
* * symtab.c (main_name): New function.Andrew Cagney2001-07-0710-24/+71
| | | | | | | | | | | | | | | | (set_main_name): New function. * symtab.h: Declare. * TODO: Update From 2000-03-05 Anthony Green <green@redhat.com>: * dbxread.c (process_one_symbol): Handle the N_MAIN stab by setting main_name. * blockframe.c (inside_main_func): Use main_name instead of "main". * symtab.c (find_main_psymtab): Ditto. * source.c (select_source_symtab): Ditto. * nlmread.c (nlm_symfile_read): Ditto. * rs6000-tdep.c (skip_prologue): Ditto.
* * gdbint.texinfo (User Interface): Update ui-out documentation toAndrew Cagney2001-07-072-123/+165
| | | | refelect recent UI/MI updates.
* TODO: Convert most items into PRs.Andrew Cagney2001-07-072-1582/+19
|
* * lin-lwp.c (status_to_str): New function.Mark Kettenis2001-07-072-13/+33
| | | | (lin_lwp_wait): Use it to print debug messages where appropriate.
* I'm using the obvious fix rule to commit this.Michael Chastain2001-07-072-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing: I tested on native Red Hat Linux 7 using gcc 3.0. The "info float" command exercises print_i387_value. 2001-07-06 Michael Chastain <chastain@redhat.com> * i387-tdep.c (print_i387_value): Fix pointer glitch. === Index: i387-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i387-tdep.c,v retrieving revision 1.11 diff -c -1 -0 -p -r1.11 i387-tdep.c *** gdb/i387-tdep.c 2001/07/04 21:14:05 1.11 --- gdb/i387-tdep.c 2001/07/06 12:47:00 *************** print_i387_value (char *raw) *** 163,184 **** DOUBLEST value; int len = TARGET_LONG_DOUBLE_BIT / TARGET_CHAR_BIT; char *tmp = alloca (len); /* This code only works on targets where ... */ gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext); /* Take care of the padding. FP reg is 80 bits. The same value in memory is 96 bits. */ gdb_assert (FPU_REG_RAW_SIZE < len); ! memcpy (&tmp, raw, FPU_REG_RAW_SIZE); ! memset (&tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE); /* Extract the value as a DOUBLEST. */ /* Use extract_floating() rather than floatformat_to_doublest(). The latter is lossy in nature. Once GDB gets a host/target independent and non-lossy FP it will become possible to bypass extract_floating() and call floatformat*() directly. Note also the assumptions about TARGET_LONG_DOUBLE above. */ value = extract_floating (tmp, len); /* We try to print 19 digits. The last digit may or may not contain --- 163,184 ---- DOUBLEST value; int len = TARGET_LONG_DOUBLE_BIT / TARGET_CHAR_BIT; char *tmp = alloca (len); /* This code only works on targets where ... */ gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext); /* Take care of the padding. FP reg is 80 bits. The same value in memory is 96 bits. */ gdb_assert (FPU_REG_RAW_SIZE < len); ! memcpy (tmp, raw, FPU_REG_RAW_SIZE); ! memset (tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE); /* Extract the value as a DOUBLEST. */ /* Use extract_floating() rather than floatformat_to_doublest(). The latter is lossy in nature. Once GDB gets a host/target independent and non-lossy FP it will become possible to bypass extract_floating() and call floatformat*() directly. Note also the assumptions about TARGET_LONG_DOUBLE above. */ value = extract_floating (tmp, len); /* We try to print 19 digits. The last digit may or may not contain
* *** empty log message ***gdbadmin2001-07-071-1/+1
|
* 2001-07-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-062-1/+3
| | | | | * gdb.base/completion.exp: Don't assume that break.c is the only source file that may contain functions named "marker".
* * lin-lwp.c (count_events_callback): Fix formatting. Turn checkMark Kettenis2001-07-062-68/+87
| | | | | | | | | | | | | | commented with "paranoia" into gdb_assert. (select_event_lwp_callback): Likewise. (cancel_breakpoints_callback): Bail out early if LP is the event LWP. Add comment about backup up breakpoints. Fix formatting and debug message. (select_event_lwp): Make solely repsonsible for switching event LWP. Fix formatting and remove bogus "ERROR" debug message. Don't backup breakpoints from here. (lin_lwp_wait): Don't touch LP->status, let select_event_lwp handle that. Only call select_event_lwp if we're not waiting for a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
* 2001-07-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-062-4/+5
| | | | * procfs.c (procfs_resume): Silence noisy warning.
* 2001-06-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-062-40/+234
| | | | | | | | | | | | | | | | | | | | | * lin-lwp.c: Prevent thread starvation by using a monte carlo method to choose which of several event threads to handle next. (stop_wait_callback): Defer pushback of breakpoint events until later; add SIGTRAP events to the queue of unhandled events. Keep calling waitpid until SIGSTOP retrieved. If more than one non-SIGSTOP event is retrieved, push them back onto the process queue using kill. (count_events_callback, select_singlestep_lwp_callback, select_event_lwp_callback, cancel_breakpoints_callback, select_event_lwp): New functions. Implement monte carlo method for selecting which of several SIGTRAP threads to handle next. Push back the breakpoint event for all threads other than the selected one. (lin_lwp_wait): Call select_event_lwp to decide which of several sigtrapped lwps to handle next. (resume_callback): Disable code that attempts to handle step_resume breakpoints. Let core gdb handle this.
* * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.Jim Blandy2001-07-063-3/+49
| | | | | | * gdbtypes.c (builtin_type_void_func_ptr): Define the variable. (build_gdbtypes): Initialize it. (_initialize_gdbtypes): Swap it.
* Branch prediction code cleanupDaniel Jacobowitz2001-07-062-40/+72
|
* Mention mi0 and mi1 as --interpreter options.Andrew Cagney2001-07-062-3/+11
|
* Replace:Andrew Cagney2001-07-068-21/+53
| | | | | | if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0) with: if (ui_out_is_mi_like_p (uiout))
* *** empty log message ***gdbadmin2001-07-061-1/+1
|
* * mips-tdep.c (mips_software_single_step): New function.Daniel Jacobowitz2001-07-053-0/+36
| | | | | * config/mips/tm-mips.h: Add prototype for mips_software_single_step.
* * ppc-linux-nat.c (supply_gregset): Use elf_greg_t insteadDaniel Jacobowitz2001-07-052-2/+8
| | | | | of greg_t. (fill_gregset): Likewise.
* s/basename/lbasename/Andrew Cagney2001-07-052-2/+7
|
* * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,Jim Blandy2001-07-052-17/+26
| | | | | | | | | | show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp, d10v_push_return_address): Call the functions d10v_make_daddr, d10v_make_iaddr, d10v_convert_iaddr_to_raw, and d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and D10V_CONVERT_DADDR_TO_RAW.
* * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.Jim Blandy2001-07-052-0/+17
|
* * config/i386/xm-go32.h (HOST_I386): Removed.Mark Kettenis2001-07-053-4/+5
| | | | * config/i386/xm-linux.h (HOST_I386): Removed.
* *** empty log message ***gdbadmin2001-07-051-1/+1
|
* * i387-tdep.c (print_i387_value): Add extra space after final fullMark Kettenis2001-07-042-1/+6
| | | | stop in comment.
* * gdbint.texinfo (Target Architecture Definition): GDBARCH is a CAndrew Cagney2001-07-044-96/+273
| | | | | | | | structure and not macros. (Host Definition): Document that much of this chapter is obsolete. (Target Architecture Definition): Update list of files that make up a target architecture. (Coding): Update.
* * config/arm/tm-arm.h: Include "floatformat.h".Andrew Cagney2001-07-042-0/+5
|
* * i387-tdep.c: Include "gdb_assert.h".Andrew Cagney2001-07-042-14/+24
| | | | | (print_i387_value): Use extract_floating to extract the FP value from a zero padded local buffer.
* * TODO: Delete all thread items. The thread code was overhauled.Andrew Cagney2001-07-042-57/+4
|
* 2001-07-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-07-042-0/+4
| | | | | * memattr.c (create_mem_region): Move n to next memory region, to avoid infinite loop.
* 2001-07-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-07-043-2/+45
| | | | | * memattr.h: Add copyright statement. * memattr.c: Ditto.
* * dwarf2read.c (struct partial_die_info): New member: has_pc_info.Jim Blandy2001-07-042-13/+16
| | | | | | | | (read_partial_die): Delete fourth argument; we return this info in the struct partial_die_info object itself now. (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the has_pc_info field of the partial die struct, rather than passing a variable by reference to read_partial_die.
* Doc fix.Jim Blandy2001-07-041-4/+1
|
* * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneousJim Blandy2001-07-042-2/+9
| | | | | | | code in loop condition. This seemed to be trying to round info_ptr up to the next four-byte boundary, but that's not what it actually did. If we discover the problem the old code was really trying to address, we can fix it properly.
* *** empty log message ***gdbadmin2001-07-041-1/+1
|
* 2001-07-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-032-3/+8
| | | | | * thread_db (find_new_threads_callback, thread_db_thread_alive, attach_thread): Update comments.
* 2001-06-29 Ken Whaley <ken@believe.com>Michael Snyder2001-07-032-3/+14
| | | | | | | * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition to TD_THR_UNKNOWN when looking for defunct zombie threads. (thread_db_thread_alive): Ditto. (find_new_threads_callback): Ditto.
* 2001-07-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-032-13/+18
| | | | | * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in the output of the ptype command.
* *** empty log message ***gdbadmin2001-07-031-1/+1
|
* 2001-07-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-022-1/+5
| | | | * gdb.base/corefile.exp: Quote the curly braces in regexp.
* MAINTAINERS: Add myself to the write-after-approval listDaniel Jacobowitz2001-07-022-1/+6
|
* 2001-07-02 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2001-07-022-2/+5
| | | | | * solib-svr4.c: Include "elf/mips.h". (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
OpenPOWER on IntegriCloud